]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Consolidate sin/cos computation for large inputs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5eea0404
SP
12013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
6cce25f8
SP
3 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4 function.
5 (__sin): Use it.
6 (__cos): Likewise.
7
5eea0404
SP
8 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9 gotos.
10 (__cos): Likewise.
11
9c21573c
MR
122013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13
14 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19 * elf/cache.c (print_entry): Handle the new cache flags.
20
24d22e65
JM
212013-09-18 Joseph Myers <joseph@codesourcery.com>
22 Aldy Hernandez <aldyh@redhat.com>
23
24 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25 Change condition to [_SOFT_FLOAT].
26 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
34 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42 declaration.
43
d13ef066
JM
442013-09-18 Joseph Myers <joseph@codesourcery.com>
45
2e071de0
JM
46 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48 (__longjmp): Use LOAD_GP to load saved GPRs.
49 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51 (__sigsetjmp): Use SAVE_GP to save GPRs.
52
d13ef066
JM
53 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54 Do not append -msoft-float.
55 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56
97a0650b
SP
572013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
58
59 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60
11ca09e9
JM
612013-09-17 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #15966]
64 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
65 (_FPU_GETCW): Use initial "__" on variable and field names but not
66 on macro parameter name.
67 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
68 parentheses around reference to macro parameter.
69
08ffcf34
RS
702013-09-13 Richard Sandiford <richard@codesourcery.com>
71
72 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
73 prototype.
74 (ctype_startup): Use uint32_t in cast and sizeof for
75 ctype->charnames.
76
ae7080d3
JL
772013-09-11 Jia Liu <proljc@gmail.com>
78
79 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
80 __daddr_t_defined.
81 [__FreeBSD__]: Likewise.
82
5905e7b3
OB
832013-09-11 Ondřej Bílka <neleai@seznam.cz>
84
85 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
86 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
87 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
88 (strchr): Remove __strchr_sse42 ifunc selection.
89 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
90 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
91
b987c776
WN
922013-09-11 Will Newton <will.newton@linaro.org>
93
94 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
95 parameter to RES. Remove hardcoded 1000 value.
96 * benchtests/bench-skeleton.c (main): Pass RES parameter
97 to TIMING_INIT and multiply result by 1000.
98
ddf985af
AZ
992013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
100
101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
102
ffdd3181
AS
1032013-09-11 Andreas Schwab <schwab@suse.de>
104
105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
106 if not defined.
107 (O_TMPFILE) [__USE_GNU]: Define.
108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
109 Define.
110
b73ed247
WN
1112013-09-11 Will Newton <will.newton@linaro.org>
112
113 [BZ #15857]
114 * malloc/malloc.c (__libc_memalign): Check the value of bytes
115 does not overflow.
116
55e17aad
WN
1172013-09-11 Will Newton <will.newton@linaro.org>
118
119 [BZ #15856]
120 * malloc/malloc.c (__libc_valloc): Check the value of bytes
121 does not overflow.
122
1159a193
WN
1232013-09-11 Will Newton <will.newton@linaro.org>
124
125 [BZ #15855]
126 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
127 does not overflow.
128
5905e7b3 1292013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
130
131 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
133 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
134 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
135 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
136
cdfc721b
AM
1372013-09-10 Allan McRae <allan@archlinux.org>
138
aa04af00
AM
139 [BZ #15748]
140 * manual/arith.texi (Parsing of Floats): Clarify
141 cross-reference.
142
cdfc721b
AM
143 [BZ #15849]
144 * manual/install.texi (Running make install): Mention
145 --enable-pt-chown.
146 * INSTALL: Regenerated.
147
95e7cf29
MR
1482013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
149
150 * csu/init-first.c (_init): Remove the !SHARED condition around
151 FPU control word initialization.
152 * elf/dl-support.c (_dl_fpu_control): New variable.
153 (_dl_aux_init) <AT_FPUCW>: Initialize it.
154 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
155 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
156 * math/test-fpucw-static.c: New file.
157 * math/test-fpucw-ieee.c: New file.
158 * math/test-fpucw-ieee-static.c: New file.
159 * math/Makefile (tests): Add `test-fpucw-ieee' and
160 `$(tests-static)'.
161 (tests-static): New variable.
162 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
163 dependency to...
164 [($(build-shared),yes)]
165 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
166 ... this.
167 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
168 New dependency.
169
83e43bf0
AM
1702013-09-09 Allan McRae <allan@archlinux.org>
171
a9f5ce09
AM
172 [BZ #15939]
173 * manual/string.texi (Collation Functions): Fix typo in
174 strcoll example.
175 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
176
34829bc2
AM
177 [BZ #15893]
178 * stdlib/isomac.c (get_null_defines): Fix memory leak.
179
3932737d
AM
180 [BZ #15892]
181 * libio/memstream.c (open_memstream): Fix memory leak.
182 * libio/wmemstream.c (open_wmemstream): Likewise.
183
83e43bf0
AM
184 [BZ #15895]
185 * nscd/netgroupcache.c: Fix nesting of ifdefs.
186
0c66b8e9
WN
1872013-09-09 Will Newton <will.newton@linaro.org>
188
189 * malloc/Makefile: Add tst-realloc to tests.
190 * malloc/tst-realloc.c: New file.
191
f6b00fd1
AM
1922013-09-09 Allan McRae <allan@archlinux.org>
193
194 [BZ #15844]
195 * COPYING: Update from GNU website to fix FSF address.
196 * COPYING.LIB: Likewise.
197
eec55e16
DM
1982013-09-06 David S. Miller <davem@davemloft.net>
199
200 * po/zh_TW.po: Update Chinese (traditional) translation from
201 translation project.
202
1ecbb381
RS
2032013-09-06 Richard Sandiford <richard@codesourcery.com>
204 Joseph Myers <joseph@codesourcery.com>
205
206 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
207 "localeinfo.h".
208 (obstack_chunk_alloc): New macro.
209 (obstack_chunk_free): Likewise.
210 (record_offset): New function.
211 (init_locale_data): Likewise.
212 (align_locale_data): Likewise.
213 (add_locale_empty): Likewise.
214 (add_locale_raw_data): Likewise.
215 (add_locale_raw_obstack): Likewise.
216 (add_locale_string): Likewise.
217 (add_locale_wstring): Likewise.
218 (add_locale_uint32): Likewise.
219 (add_locale_uint32_array): Likewise.
220 (add_locale_char): Likewise.
221 (start_locale_structure): Likewise.
222 (end_locale_structure): Likewise.
223 (start_locale_prelude): Likewise.
224 (end_locale_prelude): Likewise.
225 (write_locale_data): Take locale_file structure rather than an
226 iovec.
227 * locale/programs/locfile.h: Include "obstack.h".
228 (struct locale_file): Change to store locale file contents instead
229 of header.
230 (init_locale_data): New prototype.
231 (align_locale_data): Likewise.
232 (add_locale_empty): Likewise.
233 (add_locale_raw_data): Likewise.
234 (add_locale_raw_obstack): Likewise.
235 (add_locale_string): Likewise.
236 (add_locale_wstring): Likewise.
237 (add_locale_uint32): Likewise.
238 (add_locale_uint32_array): Likewise.
239 (add_locale_char): Likewise.
240 (start_locale_structure): Likewise.
241 (end_locale_structure): Likewise.
242 (start_locale_prelude): Likewise.
243 (end_locale_prelude): Likewise.
244 (write_locale_data): Update prototype.
245 * locale/programs/3level.h (struct TABLE): Remove result field.
246 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
247 Use new locale_file interface.
248 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
249 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
250 * locale/programs/ld-address.c (address_output): Use new
251 locale_file interface.
252 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
253 NO_ADD_LOCALE.
254 (collate_finish): Don't call collseq_table_finalize.
255 (collate_output): Use new locale_file interface.
256 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
257 in file.
258 (NO_FINALIZE): Change to NO_ADD_LOCALE.
259 (TABLE): Move defines earlier in file.
260 (ELEMENT): Likewise.
261 (DEFAULT): Likewise.
262 (wctrans_table_add): Move macro and inline function earlier in
263 file.
264 (struct wctype_table): Move type earlier in file.
265 (add_locale_wctype_table): New static prototype.
266 (struct locale_ctype_t): Use logical types instead of struct iovec
267 pointers for members.
268 (ctype_output): Use new locale_file interface.
269 (wctype_table_finalize): Change to add_locale_wctype_table. Use
270 new locale_file interface.
271 (allocate_arrays): Update for use of new locale_file interface.
272 * locale/programs/ld-identification.c (identification_output): Use
273 new locale_file interface.
274 * locale/programs/ld-measurement.c (measurement_output): Likewise.
275 * locale/programs/ld-messages.c (messages_output): Likewise.
276 * locale/programs/ld-monetary.c (monetary_output): Likewise.
277 * locale/programs/ld-name.c (name_output): Likewise.
278 * locale/programs/ld-numeric.c (numeric_output): Likewise.
279 * locale/programs/ld-paper.c (paper_output): Likewise.
280 * locale/programs/ld-telephone.c (telephone_output): Likewise.
281 * locale/programs/ld-time.c (time_output): Likewise.
282
e029e2e5
AZ
2832013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284
285 * benchtests/Makefile: Add memrchr benchmark.
286 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
287 benchmark as memrchr.
288 * benchtests/bench-memrchr-ifunc.c: New file.
289 * benchtests/bench-memrchr.c: New file.
290
bbf6e8e4
WN
2912013-09-06 Will Newton <will.newton@linaro.org>
292
293 * benchtests/Makefile (string-bench): Add memcpy.
294
6c82a2f8
CD
2952013-09-05 Carlos O'Donell <carlos@redhat.com>
296 Cong Wang <amwang@redhat.com>
297
298 * sysdeps/unix/sysv/linux/bits/in.h
299 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
300 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
301 before __USE_KERNEL_IPV6_DEFS uses.
302 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
303 IPPROTO_BEETPH.
304 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
305 sockaddr_in6, or ipv6_mreq.
306
5430fc65
AZ
3072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
309 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
310 memory access for final bytes in some large inputs.
311 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
312
4660856c
AZ
3132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 * string/test-memrchr.c: New file.
316 * string/test-memrchr-ifunc.c: New file.
317 * string/Makefile: Add new memrchr testcase.
318
bb8ea713
MF
3192013-09-05 Mike Frysinger <vapier@gentoo.org>
320
321 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
322 fanotify_init returns EPERM.
323
b92a20b5
JM
3242013-09-04 Joseph Myers <joseph@codesourcery.com>
325
326 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
327 errors.
328 (top level): Treat second token from macro or constant entries for
329 allowed headers as allowed.
330 * include/complex.h: Condition internal declarations on
331 [!_ISOMAC].
332 * include/fenv.h: Condition include of <stdbool.h> and internal
333 declarations on [!_ISOMAC].
7447ccd9
CL
334
3352013-09-04 Chris Leonard <cjl@sugarlabs,.org>
336
337 [BZ #15923]
338 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
339
3f2e46a4
JM
3402013-09-04 Joseph Myers <joseph@codesourcery.com>
341
342 * configure.in (--enable-versioning): Remove configure option.
343 (libc_cv_asm_symver_directive): Remove configure test.
344 (libc_cv_ld_version_script_option): Likewise.
345 (VERSIONING): Remove variable and AC_SUBST.
346 (DO_VERSIONING): Remove AC_DEFINE.
347 * configure: Regenerated.
348 * config.h.in (DO_VERSIONING): Remove macro.
349 * Makerules [$(versioning) = yes]: Change conditionals to
350 [$(build-shared) = yes].
351 * config.make.in (versioning): Remove variable.
352 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
353 [$(build-shared) = yes].
354 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
355 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
356 * elf/Makefile [$(versioning) = yes]: Change conditionals to
357 [$(build-shared) = yes].
358 * extra-lib.mk [$(versioning) = yes]: Likewise.
359 * hurd/Makefile [$(versioning) = yes]: Likewise.
360 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
361 [SHARED].
362 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
363 [SHARED].
364 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
365 [SHARED && !NO_HIDDEN].
366 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
367 [SHARED].
368 [SHARED && DO_VERSIONING]: Likewise..
369 * libio/Makefile [$(versioning) = yes]: Change conditionals to
370 [$(build-shared) = yes].
371 * manual/install.texi (--disable-versioning): Remove
372 documentation.
373 * INSTALL: Regenerated.
374 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
375 to [SHARED].
376 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
377 [$(build-shared) = yes].
378 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
379 * sysdeps/i386/i686/multiarch/strstr-c.c
380 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
381 [SHARED && !NO_HIDDEN].
382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
383 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
384 * sysdeps/powerpc/powerpc32/dl-machine.c
385 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
386 * sysdeps/powerpc/powerpc32/sysdep.h
387 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
388 to [SHARED && PIC && !NO_HIDDEN].
389 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
390 conditional to [SHARED].
391
44558701
WN
3922013-09-04 Will Newton <will.newton@linaro.org>
393
394 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
395 * benchtests/bench-string.h: Include bench-timing.h instead
396 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
397 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
398 call to HP_TIMING_DIFF_INIT.
399 * benchtests/bench-memccpy.c: Use bench-timing.h macros
400 instead of hp-timing.h macros.
401 * benchtests/bench-memchr.c: Likewise.
402 * benchtests/bench-memcmp.c: Likewise.
403 * benchtests/bench-memcpy.c: Likewise.
404 * benchtests/bench-memmem.c: Likewise.
405 * benchtests/bench-memmove.c: Likewise.
406 * benchtests/bench-memset.c: Likewise.
407 * benchtests/bench-rawmemchr.c: Likewise.
408 * benchtests/bench-strcasecmp.c: Likewise.
409 * benchtests/bench-strcasestr.c: Likewise.
410 * benchtests/bench-strcat.c: Likewise.
411 * benchtests/bench-strchr.c: Likewise.
412 * benchtests/bench-strcmp.c: Likewise.
413 * benchtests/bench-strcpy.c: Likewise.
414 * benchtests/bench-strcpy_chk.c: Likewise.
415 * benchtests/bench-strlen.c: Likewise.
416 * benchtests/bench-strncasecmp.c: Likewise.
417 * benchtests/bench-strncat.c: Likewise.
418 * benchtests/bench-strncmp.c: Likewise.
419 * benchtests/bench-strncpy.c: Likewise.
420 * benchtests/bench-strnlen.c: Likewise.
421 * benchtests/bench-strpbrk.c: Likewise.
422 * benchtests/bench-strrchr.c: Likewise.
423 * benchtests/bench-strspn.c: Likewise.
424 * benchtests/bench-strstr.c: Likewise.
425
cae16d66
WN
4262013-09-04 Will Newton <will.newton@linaro.org>
427
428 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
429
ffa3cd7f
JM
4302013-09-03 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #15427]
433 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
434 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
435 * math/libm-test.inc (lgamma_test_data): Add more tests.
436 * sysdeps/i386/fpu/libm-test-ulps: Update.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
438
8f02859f
OB
4392013-09-03 Ondřej Bílka <neleai@seznam.cz>
440
441 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
443 Add ifunc.
444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
445 Add strcmp-sse2-unaligned
446 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
447
18d43716
MF
4482013-09-02 Mike Frysinger <vapier@gentoo.org>
449
450 * Versions.def (libc): Add GLIBC_2.19.
451
ac444012
MF
4522013-09-02 Mike Frysinger <vapier@gentoo.org>
453
454 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
455 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
456
b7835e32
JM
4572013-09-02 Joseph Myers <joseph@codesourcery.com>
458
459 [BZ #14155]
460 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
461 intermediate calculations in recurrence.
462 (__ieee754_ynf): Likewise.
463 * math/libm-test.inc (jn_test_data): Do not allow spurious
464 underflow exception. Add more tests.
465 (yn_test_data): Add more tests.
466 * sysdeps/i386/fpu/libm-test-ulps: Update.
467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
468
8220f4f0
OB
4692013-09-02 Ondřej Bílka <neleai@seznam.cz>
470
471 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
472
f24a6d08
OB
4732013-08-30 Ondřej Bílka <neleai@seznam.cz>
474
475 * csu/init-first.c: Fix then/than typos.
476 * locale/programs/ld-collate.c: Likewise.
477 * locale/programs/linereader.h: Likewise.
478 * manual/charset.texi: Likewise.
479 * manual/filesys.texi: Likewise.
480 * manual/stdio.texi: Likewise.
481 * manual/string.texi: Likewise.
482 * stdlib/fmtmsg.c: Likewise.
483 * sysdeps/i386/stpncpy.S: Likewise.
484 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
485 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
486 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
487 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
488
382466e0
OB
4892013-08-30 Ondřej Bílka <neleai@seznam.cz>
490
491 * elf/dl-open.c: Fix typos.
492 * iconvdata/gbbig5.c: Likewise.
493 * iconvdata/iso-2022-jp.c: Likewise.
494 * iconv/gconv_int.h: Likewise.
495 * iconv/loop.c: Likewise.
496 * nis/rpcsvc/nis.h: Likewise.
497 * resolv/ns_name.c: Likewise.
498 * stdio-common/vfscanf.c: Likewise.
499 * streams/stropts.h: Likewise.
500 * sunrpc/rpc_thread.c: Likewise.
501 * sysdeps/i386/strpbrk.S: Likewise.
502 * sysdeps/ieee754/k_standard.c: Likewise.
503 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
505 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
506 * sysdeps/mach/hurd/profil.c: Likewise.
507 * sysdeps/s390/dl-procinfo.h: Likewise.
508 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
510 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
511 * sysdeps/x86_64/dl-trampoline.S: Likewise.
512 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
513
0186c6e9
OB
5142013-08-30 Ondřej Bílka <neleai@seznam.cz>
515
516 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
518
d4e16af1
OB
5192013-08-29 Ondřej Bílka <neleai@seznam.cz>
520
521 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
522 aix specific files.
523 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
528 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
529 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
530 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
531
88335980
TS
5322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
533 Roland McGrath <roland@hack.frob.com>
534
535 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
536 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
537
ed479b02
ST
5382013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
539
540 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
541 __executable_start symbol instead of _start.
542
f1cc4c86
TS
5432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
544
d821f07c
TS
545 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
546 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
547 Move macros to...
548 * sysdeps/gnu/ldsodefs.h: ... this new file.
549
c54290cf
TS
550 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
551 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
552 instead of ELFOSABI_LINUX.
553
0007fc9b 554 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
555 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
556 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
557 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
558 Likewise.
559 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
560 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
561 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
562 Likewise.
563 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
564 (ibm_extended_long_double): Add ieee_nan member.
565 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
566 (do_test): New function.
567
f1cc4c86
TS
568 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
569 TEST_TRUNC.
570 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
571 functions, renamed from truncdfsf_test, trunctfsf_test,
572 trunctfdf_test.
573 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
574 functions.
575 (do_test): Run all these.
576
6f65e668
OB
5772013-08-29 Ondřej Bílka <neleai@seznam.cz>
578
579 * argp/argp-help.c: Fix typos.
580 * argp/argp-parse.c: Likewise.
581 * debug/backtracesyms.c: Likewise.
582 * elf/elf.h: Likewise.
583 * malloc/malloc.c: Likewise.
584 * nis/nis_print.c: Likewise.
585 * resolv/res_comp.c: Likewise.
586 * stdlib/stdlib.h: Likewise.
587 * sunrpc/clnt_tcp.c: Likewise.
588 * sunrpc/clnt_udp.c: Likewise.
589 * sunrpc/clnt_unix.c: Likewise.
590 * sysdeps/unix/bsd/ptsname.c: Likewise.
591 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
594 Likewise.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
596 Likewise.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
598 Likewise.
6f65e668
OB
599 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
600
3a309239
SP
6012013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
602
603 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
605
3b813b29
MF
6062013-08-27 Mike Frysinger <vapier@gentoo.org>
607
608 [BZ #15897]
609 * dlfcn/Makefile (tests): Add bug-dl-leaf.
610 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
611 ($(objpfx)bug-dl-leaf): New rule.
612 ($(objpfx)bug-dl-leaf.so): Likewise.
613 ($(objpfx)bug-dl-leaf.out): Likewise.
614 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
615 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
616 * dlfcn/bug-dl-leaf.c: New test.
617 * dlfcn/bug-dl-leaf-lib.c: Likewise.
618 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
619 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
620 (dlclose): Likewise.
621 (dlmopen): Likewise.
622
8cc3269f
RM
6232013-08-27 Roland McGrath <roland@hack.frob.com>
624
7f9d0034
RM
625 * include/netdb.h [!_ISOMAC]:
626 Don't include <tls.h>.
627 (h_errno, __libc_h_errno): Move declaration and macros out of
628 [_LIBC_REENTRANT].
629
fb431262
RM
630 * include/resolv.h [_RESOLV_H_]:
631 Don't include <tls.h>.
632 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
633 * resolv/res_libc.c: Don't include <tls.h>.
634 (_res): Use __attribute__ ((nocommon)) in place of
635 __attribute__ ((section (".bss"))).
636
bd81123a
RM
637 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
638 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
639
c4e42566
RM
640 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
641
f890a59b
RM
642 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
643 only under [SIOCGIFCONF && SIOCGIFNETMASK].
644
645 * resolv/res_mkquery.c: Include <sys/time.h>.
646
5d1f0a09
RM
647 * inet/ifreq.c: Moved to ...
648 * sysdeps/unix/ifreq.c: ... here.
649 * inet/ifreq.c: New file, true stub version.
650
6fcf28b3
RM
651 * socket/sa_len.c: New file.
652 * socket/Makefile (aux): Add it.
653 * sysdeps/unix/sysv/linux/Makefile
654 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
655 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
656 and #include <socket/sa_len.c>.
657 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
658 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
659
e041fb8b
RM
660 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
661 * bits/socket.h: ... here.
662
8cc3269f
RM
663 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
664 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
665 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
666
5d228a43
AS
6672013-08-27 Andreas Schwab <schwab@suse.de>
668
45b8accc
AS
669 [BZ #15736]
670 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
671 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
672 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
673 * string/test-strcasecmp.c (test_main): Run tests in several
674 locales.
675 * string/test-strncasecmp.c (test_main): Likewise.
676
5d228a43
AS
677 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
678 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
679 to __strcasecmp_nonascii and __strncasecmp_nonascii.
680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
681 (__strncasecmp_ssse3) [PIC]: Likewise.
682
59d112a4
RM
6832013-08-26 Roland McGrath <roland@hack.frob.com>
684
53234cc3
RM
685 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
686
59d112a4
RM
687 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
688 instead of explicitly declaring xdecrypt.
689 * nis/nss_nis/nis-publickey.c: Likewise.
690
595aba70
SP
6912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
692
693 [BZ #15890]
694 * nscd/aicache.c: Include res_hconf.h.
695 (addhstaiX): Initialize res_hconf.
696
ffabd393
AS
6972013-08-26 Andreas Schwab <schwab@suse.de>
698
699 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
700 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
701
e0a69f5c
SP
7022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
703
704 * nscd/aicache.c (addhstaiX): Fix indentation.
705
8c12f01d
MF
7062013-08-25 Mike Frysinger <vapier@gentoo.org>
707
708 * configure.ac: Quote $build_pt_chown test.
709 * configure: Regenerated.
710
8fe89494
JM
7112013-08-23 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #15532]
714 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
715 * math/s_cexpf.c (__cexpf): Likewise.
716 * math/s_cexpl.c (__cexpl): Likewise.
717 * math/libm-test.inc (cexp_test_data): Correct expected return
718 value for NaN + i0. Add another test.
719
75b181d6
DM
7202013-08-22 David S. Miller <davem@davemloft.net>
721
722 * po/ca.po: Update Catalan translation from translation project.
936241e4 723 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 724
acd06bb1
JM
7252013-08-21 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #15797]
728 * math/s_fdim.c (__fdim): Check for infinite arguments if result
729 is infinite, not alongside NaN test.
730 * math/s_fdimf.c (__fdimf): Likewise.
731 * math/s_fdiml.c (__fdiml): Likewise.
732 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
733 errno is unchanged.
734
c0c3f78a
OB
7352013-08-21 Ondřej Bílka <neleai@seznam.cz>
736
737 * argp/argp-help.c: Fix typos.
738 * crypt/speeds.c: Likewise.
739 * csu/check_fds.c: Likewise.
740 * elf/dl-load.c: Likewise.
741 * elf/dl-open.c: Likewise.
742 * elf/reldep3.c: Likewise.
743 * elf/reldep.c: Likewise.
744 * elf/sprof.c: Likewise.
745 * iconv/iconv_charmap.c: Likewise.
746 * iconv/skeleton.c: Likewise.
747 * iconv/strtab.c: Likewise.
748 * io/lockf64.c: Likewise.
749 * libio/libioP.h: Likewise.
750 * resolv/gai_notify.c: Likewise.
751 * resolv/ns_name.c: Likewise.
752 * resolv/ns_samedomain.c: Likewise.
753 * resolv/res_send.c: Likewise.
754 * stdlib/random.c: Likewise.
755 * sunrpc/rpc/xdr.h: Likewise.
756 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
757 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
758 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
759 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
760 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
761 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
764 * sysdeps/mach/hurd/check_fds.c: Likewise.
765 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
766 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
769 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
771 * sysdeps/pthread/aio_notify.c: Likewise.
772 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
773 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
774 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
776 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
777
46ed1038
LD
7782013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
779
780 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
781 version if bit_Slow_SSE4_2 is set.
782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
784
d400dcac
AZ
7852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786
787 [BZ #15867]
788 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
789 trampoline stack frame information.
790 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
792 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
793 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
794 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
795 * sysdeps/unix/sysv/linux/powerpc/init-first.c
796 (_libc_vdso_platform_setup): Initialize the signal trampolines.
797 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
798 sa_flags value.
799 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
800 interrupting a syscall and set with option SA_SIGINFO.
801
42c8fdd8
JM
8022013-08-20 Joseph Myers <joseph@codesourcery.com>
803
c980f2f4
JM
804 [BZ #15531]
805 * math/s_cproj.c (__cproj): Only return an infinity if one part of
806 argument is infinite.
807 * math/s_cprojf.c (__cprojf): Likewise.
808 * math/s_cprojl.c (__cprojl): Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
810 * math/libm-test.inc (cproj_test_data): Add more tests.
811
0716c4fc
JM
812 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
813
42c8fdd8
JM
814 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
815 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
816 size. Use __ffs to determine corresponding shift.
817
b31469d0
JM
8182013-08-20 Joseph Myers <joseph@codesourcery.com>
819 Roland McGrath <roland@hack.frob.com>
820
821 * Makefile (INSTALL): Remove trailing blank lines from output of
822 makeinfo.
823
4e39af6e
AK
8242013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
825
826 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
827 Align 32 bit compat elf_greg to 8 bytes.
828
f315524e
AA
8292013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
830
831 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
832
1326ba1a
SP
8332013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
834
835 * string/strcoll_l.c (coll_seq): New structure.
836 (get_next_seq_cached): New function.
837 (get_next_seq): New function.
838 (do_compare): New function.
839 (STRCOLL): Use GNU style definition. Simplify implementation
840 by using get_next_seq, get_next_seq_cached and do_compare.
841
91ce4085
FW
8422013-08-16 Florian Weimer <fweimer@redhat.com>
843
844 [BZ #14699]
845 CVE-2013-4237
846 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
847 member.
848 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
849 member.
850 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
851 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
852 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
853 conditional.
854 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
855 GETDENTS_64BIT_ALIGNED.
856 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
857 * manual/filesys.texi (Reading/Closing Directory): Document
858 ENAMETOOLONG return value of readdir_r. Recommend readdir more
859 strongly.
860 * manual/conf.texi (Limits for Files): Add portability note to
861 NAME_MAX, PATH_MAX.
862 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
863
ca0a6bc4
AS
8642013-08-13 Andreas Schwab <schwab@suse.de>
865
866 [BZ #15749]
867 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
868 of fabs.
869 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
870 LDBL_MAX_EXP >= 16384]: Add tests for it.
871
6c1fd795
DM
8722013-08-12 David S. Miller <davem@davemloft.net>
873
874 * version.h (RELEASE): Set to "development".
875 (VERSION): Set to "2.18.90".
876 * NEWS: Add 2.19 section.
877
31ad488d
DM
8782013-08-03 David S. Miller <davem@davemloft.net>
879
880 * po/ko.po: Update Korean translation from translation project.
881
db24e684
DM
8822013-08-01 David S. Miller <davem@davemloft.net>
883
884 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
885 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
886 Bilka.
887
f723285b
DM
8882013-07-30 David S. Miller <davem@davemloft.net>
889
890 * po/fr.po: Update French translation from translation project.
891
3cbc52db
DM
8922013-07-28 David S. Miller <davem@davemloft.net>
893
30bbc0cc
DM
894 * po/cs.po: Update Czech translation from translation project.
895
3cbc52db
DM
896 * po/sv.po: Update Swedish translation from translation project.
897
d492e6d0
DM
8982013-07-27 David S. Miller <davem@davemloft.net>
899
f1a7f492
DM
900 * po/eo.po: Update Esperanto translation from translation project.
901
90e62a4a
DM
902 * po/vi.po: Update Vietnamese translation from translation project.
903
d492e6d0
DM
904 * po/de.po: Update German translation from translation project.
905
d4baa62d
DM
9062013-07-26 David S. Miller <davem@davemloft.net>
907
641aa7b4
DM
908 * po/bg.po: Update Bulgarian translation from translation project.
909
d4baa62d
DM
910 * po/nl.po: Update Dutch translation from translation project.
911 * po/pl.po: Update Polish translation from translation project.
912 * po/ru.po: Update Russian translation from translation project.
913
61a9dcb9
DM
9142013-07-24 David S. Miller <davem@davemloft.net>
915
916 * po/libc.pot: Update.
917
7b1f8b58
AZ
9182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
921 variable page size.
922 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
924 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
925
a8fc7a03
AK
9262013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
927
928 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
929
e4608715
CD
9302013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
931 Andreas Schwab <schwab@suse.de>
932 Roland McGrath <roland@hack.frob.com>
933 Joseph Myers <joseph@codesourcery.com>
934 Carlos O'Donell <carlos@redhat.com>
935
936 [BZ #15755]
937 * config.h.in: Define HAVE_PT_CHOWN.
938 * config.make.in (build-pt-chown): New variable.
939 * configure.in (--enable-pt_chown): New configure option.
940 * configure: Regenerate.
941 * login/Makefile: Include Makeconfig. Build pt_chown only if
942 build-pt-chown is enabled.
943 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
944 pt_chown to fix pty ownership.
945 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
946 CLOSE_ALL_FDS.
947 * manual/install.texi (Configuring and compiling): Mention
948 --enable-pt_chown. Add @findex for grantpt.
949 * INSTALL: Regenerate.
950
da2d62df
DM
9512013-07-20 David S. Miller <davem@davemloft.net>
952
953 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
954 difference between 32-bit and 64-bit.
955
d7e06450
CD
9562013-07-15 Carlos O'Donell <carlos@redhat.com>
957
958 [BZ #15711]
959 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
960 Avoid system header dependency with -ffreestanding.
961 ($(objpfx)bits/syscall%d): Likewise.
962
f959cfd7
DM
9632013-07-13 David S. Miller <davem@davemloft.net>
964
965 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
966 underflows from atanl/atan2l due to bug 15319.
967 (casinh_test_data): Likewise.
968
c61f8513
DM
9692013-07-07 David S. Miller <davem@davemloft.net>
970
971 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
972
72c90ed0
JA
9732013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
974
975 * sysdeps/i386/fpu/libm-test-ulps: Update.
976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977
52dfbe13
SP
9782013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
979
980 * configure.in (--enable-lock-elision): Fix message text.
981 * INSTALL: Regenerate.
982 * configure: Regenerate.
983
3f169543
AZ
9842013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985
986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
987
521c6785
AJ
9882013-07-03 Andreas Jaeger <aj@suse.de>
989
990 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
991 define.
992 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
993 (ptrace_peeksiginfo_args): Add.
994 (__ptrace_peeksiginfo_flags): Add.
995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
998
d2cc15cb
AM
9992013-07-03 Allan McRae <allan@archlinux.org>
1000
1001 * sysdeps/i386/fpu/libm-test-ulps: Update.
1002
3aaeeca7
DM
10032013-07-02 David S. Miller <davem@davemloft.net>
1004
1005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1006
5314ed1a
MT
10072013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1008
1009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1010
67338156
JM
10112013-07-02 Joseph Myers <joseph@codesourcery.com>
1012
1013 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015
1717da59
AK
10162013-07-02 Andi Kleen <ak@linux.intel.com>
1017
1018 * config.h.in (ENABLE_LOCK_ELISION): Add.
1019 * configure.in (--enable-lock-elision): Add option.
1020 * manual/install.texi: Document --enable lock elision.
1021 * configure: Regenerate
1022 * INSTALL: Regenerate.
1023
1c81621c
L
10242013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1027 SSE4.2 strcasecmp for libc.a.
1028 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1029
77f01ab5
JM
10302013-07-02 Joseph Myers <joseph@codesourcery.com>
1031
1032 [BZ #13304]
1033 * soft-fp/op-common.h (_FP_FMA): New macro.
1034 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1035 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1036 (_FP_MUL_MEAT_1_imm): ... here.
1037 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1038 (_FP_MUL_MEAT_1_wide): ... here.
1039 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1040 (_FP_MUL_MEAT_1_hard): ... here.
1041 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1042 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1043 (_FP_MUL_MEAT_2_wide): ... here.
1044 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1045 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1046 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1047 (_FP_MUL_MEAT_2_gmp): ... here.
1048 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1049 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1050 (_FP_MUL_MEAT_4_wide): ... here.
1051 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1052 (_FP_MUL_MEAT_4_gmp): ... here.
1053 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1054 (_FP_WFRACBITS_DW_S): Likewise.
1055 (_FP_WFRACXBITS_DW_S): Likewise.
1056 (_FP_HIGHBIT_DW_S): Likewise.
1057 (FP_FMA_S): Likewise.
1058 (_FP_FRAC_HIGH_DW_S): Likewise.
1059 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1060 (_FP_WFRACBITS_DW_D): Likewise.
1061 (_FP_WFRACXBITS_DW_D): Likewise.
1062 (_FP_HIGHBIT_DW_D): Likewise.
1063 (FP_FMA_D): Likewise.
1064 (_FP_FRAC_HIGH_DW_D): Likewise.
1065 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1066 (_FP_WFRACBITS_DW_E): Likewise.
1067 (_FP_WFRACXBITS_DW_E): Likewise.
1068 (_FP_HIGHBIT_DW_E): Likewise.
1069 (FP_FMA_E): Likewise.
1070 (_FP_FRAC_HIGH_DW_E): Likewise.
1071 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1072 (_FP_WFRACBITS_DW_Q): Likewise.
1073 (_FP_WFRACXBITS_DW_Q): Likewise.
1074 (_FP_HIGHBIT_DW_Q): Likewise.
1075 (FP_FMA_Q): Likewise.
1076 (_FP_FRAC_HIGH_DW_Q): Likewise.
1077 * soft-fp/fmasf4.c: New file.
1078 * soft-fp/fmadf4.c: Likewise.
1079 * soft-fp/fmatf4.c: Likewise.
1080
6308fd9a
LD
10812013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1082
1083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1084 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1085 Silvermont.
1086 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1087 macro.
1088 (index_Slow_SSE4_2): Likewise.
1089 (index_Prefer_PMINUB_for_stringop): Likewise.
1090 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1091 bit_Slow_SSE4_2 is set.
1092 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1094
89cd9569
RA
10952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1096
1097 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1098 rtld_global._dl_hwcap2.
1099 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1100 POWER8.
1101 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1102 POWER8 feature descriptions defined in _dl_hwcap2.
1103 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1104 string handling for POWER8 feature bits.
1105 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1106 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1107 _dl_powerpc_cap_flags.
1108 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1109 * sysdeps/powerpc/rtld-global-offsets.sym
1110 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1111 _dl_hwcap2 in the rtld_global_ro structure.
1112
1ae8bfe0
RA
11132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1114
1115 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1116 hardware capabilities in support of AT_HWCAP2.
1117 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1118 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1119 GLRO(dl_hwcap2).
1120 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1121 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1122 explicitly the unknown a_type display mechanism is used.
1123 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1124 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1125 struct member.
1126 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1127 to macro prototype for AT_HWCAP2 support.
1128 * sysdeps/i386/dl-procinfo.h: Likewise.
1129 * sysdeps/s390/dl-procinfo.h: Likewise.
1130 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1131 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1132 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1133 return -1 for unknown a_type display fallback.
1134 * sysdeps/sparc/dl-procinfo.h: Likewise.
1135 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1136 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1137
8fbec010
JM
11382013-06-28 Joseph Myers <joseph@codesourcery.com>
1139
1140 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1141 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1142
0432680e
PY
11432013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1144
1145 [BZ #12492]
1146 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1147 mprotect making __stack_prot writable.
1148
ce61a2ad
NF
11492013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1150 Joseph Myers <joseph@codesourcery.com>
1151
1152 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1153 as being properly aligned.
1154
f91f1c0f
MR
11552013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1156
3d0f5d0c
MR
1157 * dlfcn/modstatic5.c: New file.
1158 * dlfcn/tststatic5.c: New file.
1159 * dlfcn/Makefile (tests): Add tststatic5.
1160 (tests-static): Likewise.
1161 (modules-names): Add modstatic5.
1162 (tststatic5-ENV): New variable.
1163 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1164
f91f1c0f
MR
1165 [BZ #15022]
1166 * elf/dl-support.c (_dl_main_map): New variable.
1167 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1168 (_dl_nns, _dl_load_adds): Set to 1.
1169 (_dl_initial_searchlist): Refer to _dl_main_map.
1170 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1171 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1172 call to _dl_get_origin.
1173 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1174 around call_map.
1175 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1176 * dlfcn/modstatic3.c: New file.
1177 * dlfcn/tststatic3.c: New file.
1178 * dlfcn/tststatic4.c: New file.
1179 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1180 (tests-static): Likewise.
1181 (modules-names): Add modstatic3.
1182 (tststatic3-ENV, tststatic4-ENV): New variables.
1183 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1184 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1185
cbe7d24b
JM
11862013-06-26 Joseph Myers <joseph@codesourcery.com>
1187
1188 * configure.in (CC): Require GCC version 4.4 or later.
1189 * configure: Regenerated.
1190 * manual/install.texi (Tools for Compilation): Update GCC version
1191 requirement.
1192 * INSTALL: Regenerated.
1193
11b8a0e1
LD
11942013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1195
1196 [BZ #15674]
bb5bb87c
L
1197 * string/test-memcmp.c (check2): New.
1198 (main): Call check2.
1199
11b8a0e1
LD
1200 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1201
b0037103
MR
12022013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1203
1204 [BZ #15022]
1205 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1206 over to...
1207 (dl_open_worker) [!SHARED]: ... here.
1208
c18c701d
RA
12092013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1210
1211 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1212
1d17fa5f
RH
12132013-06-25 Richard Henderson <rth@redhat.com>
1214
1215 * locale/programs/locarchive.c: Include <libc-internal.h>
1216
8fcb833a
JM
12172013-06-25 Joseph Myers <joseph@codesourcery.com>
1218
1219 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1220 trailing whitespace removed.
1221
17db6e8d
MF
12222013-06-24 Mike Frysinger <vapier@gentoo.org>
1223
1224 [BZ #10283]
17db6e8d
MF
1225 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1226 * locale/programs/locarchive.c: Include libc-mmap.h.
1227 (prepare_address_space): Take two new outputs (the mmap base and len).
1228 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1229 values.
1230 (create_archive): Declare new mmap base and len values for
1231 prepare_address_space, and store the result in ah.
1232 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1233 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1234 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1235 Declare new mmap base and len values for
1236 prepare_address_space, and store the result in new_ah.
1237 (open_archive): Declare new mmap base and len values for
1238 prepare_address_space, and store the result in ah.
1239 (close_archive): If ah->mmap_base is not NULL, use that and
1240 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1241 * sysdeps/generic/libc-mmap.h: New file.
1242
d605071e
MF
12432013-06-24 Mike Frysinger <vapier@gentoo.org>
1244
1245 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1246 (ALIGN_UP): Likewise.
1247 (PTR_ALIGN_DOWN): Likewise.
1248 (PTR_ALIGN_UP): Likewise.
1249
2f063a6e
RA
12502013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1251
1252 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1253 entry mapped to PPC_PLATFORM_POWER8.
1254 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1255 POWER8.
1256 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1257 (_dl_string_platform): Add case for exporting platform position for
1258 POWER8.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1260 search path to sysdeps/powerpc/powerpc32/power8 directory.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1262 search path to sysdeps/powerpc/powerpc64/power8 directory.
1263 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1264 power7 directories.
1265 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1266 power7 directories.
1267
a31ee4b3
SP
12682013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1269
a74ca98f
SP
1270 * INSTALL: Regenerate.
1271
a31ee4b3
SP
1272 * nscd/connections.c (nscd_init): Fix comment.
1273
695c378f
JM
12742013-06-22 Joseph Myers <joseph@codesourcery.com>
1275
d8412221
JM
1276 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1277
695c378f
JM
1278 [BZ #15667]
1279 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1280 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1281
d1d54715
MR
12822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1283
1284 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1285 DL_DST_REQ_STATIC.
1286 (DL_DST_REQ_STATIC): Remove macro.
1287
8fdda7af
JM
12882013-06-21 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #7006]
1291 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1292 with a shift of 0 bits.
1293
f3bc5e5a
MR
12942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1295
1296 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1297 $(tststatic-ENV).
1298
be09e8c9
KK
12992013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1300
1301 [BZ #15655]
1302 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1303
85c2e611
AZ
13042013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1307 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1308 accepts -fno-tree-loop-distribute-patterns.
1309 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1310 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1311 recursive call.
1312 * string/memset.c (memset): Likewise.
1313 * string/test-memmove.c (simple_memmove): Disable loop transformation
1314 to library calls.
1315 * string/test-memset.c (simple_memset): Likewise.
1316 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1317 * benchtests/bench-memset.c (simple_memset): Likewise.
1318 * configure: Regenerated.
1319
c91e0825
JM
13202013-06-20 Joseph Myers <joseph@codesourcery.com>
1321
b8c792af
JM
1322 * math/test-misc.c (main): Ignore fesetround failure when failures
1323 of subsequent rounding tests would be ignored.
1324
c91e0825
JM
1325 [BZ #15654]
1326 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1327 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1328 * math/fegetenv.c (__fegetenv): Return 0.
1329 * math/fegetexcept.c (fegetexcept): Return 0.
1330 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1331 FE_TONEAREST.
1332 * math/feholdexcpt.c (feholdexcept): Return 0.
1333 * math/fesetenv.c (__fesetenv): Return 0.
1334 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1335 argument FE_TONEAREST.
1336 * math/feupdateenv.c (__feupdateenv): Return 0.
1337 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1338
bfcacbde
RM
13392013-06-18 Roland McGrath <roland@hack.frob.com>
1340
1341 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1342 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1343 ($(objpfx)rtld-%.os rules): Use them.
1344
e55a9b25
AZ
13452013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1346
1347 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1348 fields.
1349
346d65b3
RM
13502013-06-17 Roland McGrath <roland@hack.frob.com>
1351
12086fb4
RM
1352 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1353 length of target pattern, then descending length of dependency pattern.
1354 * configure.in (AWK): Require gawk 3.1.2 or newer.
1355 * manual/install.texi (Tools for Compilation): Say that we do.
1356 * configure: Regenerated.
1357
346d65b3
RM
1358 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1359 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1360 * scripts/sysd-rules.awk: ... this new script.
1361 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1362 than a glob-style pattern.
1363
1a846317
JM
13642013-06-17 Joseph Myers <joseph@codesourcery.com>
1365
1366 * math/test-misc.c (main): Do not treat incorrectly rounded
1367 conversions as failure unless ROUNDING_TESTS passes.
1368
8fc75e6f
JM
13692013-06-15 Joseph Myers <joseph@codesourcery.com>
1370
3711a167
JM
1371 [BZ #15631]
1372 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1373 restore exception state around main square root computation, then
1374 check for inexactness explicitly.
1375
8fc75e6f
JM
1376 * math/libm-test.inc (fma_test_data): Add another test.
1377
61dd6208
SP
13782013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1379
adf23d2c
SP
1380 * manual/threads.texi (Non-POSIX Extensions): New document
1381 node. Document pthread_getattr_default_np and
1382 pthread_setattr_default_np.
1383
61dd6208
SP
1384 * Versions.def (libpthread): Add GLIBC_2.18.
1385 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1389 Likewise.
1390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1391 Likewise.
1392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1403 Likewise.
1404
d086fc7b
LD
14052013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1406
1407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1408 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1409
747ef469
SP
14102013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1411 H.J. Lu <hjl.tools@gmail.com>
1412
1413 [BZ #15627]
1414 * sysdeps/x86_64/rtld-memset.c: Remove file.
1415 * sysdeps/x86_64/rtld-memset.S: New file.
1416
1b2feed2
JM
14172013-06-14 Joseph Myers <joseph@codesourcery.com>
1418
1419 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1420 (test_in_one_mode): Take arguments for whether the rounding mode
1421 is supported for each floating-point type.
1422 (do_test): Pass new arguments to test_in_one_mode using
1423 ROUNDING_TESTS.
1424
a58ad3f8
RM
14252013-06-13 Roland McGrath <roland@hack.frob.com>
1426
1427 * posix/tst-waitid.c (do_test): Distinguish different instances of
1428 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1429 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1430 before entering the kernel for waitpid.
1431
c204ab28
SP
14322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1433
1434 * NEWS: Fix note on clock function precision. Text by Roland
1435 McGrath.
1436
f4a29fba
RM
14372013-06-13 Roland McGrath <roland@hack.frob.com>
1438
1439 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1440 it into place only when and if the sanity check passes.
1441
1f24b9ad
JM
14422013-06-13 Joseph Myers <joseph@codesourcery.com>
1443
1444 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1445 output for whether conversion result is exact. Take argument
1446 indicating whether type is IBM long double.
1447 (round_for_all): Change need_exact field to ibm_ld.
1448 * stdlib/tst-strtod-round.c (struct exactness): New type.
1449 (struct test): Change bool ld_ok field to struct exactness exact.
1450 (TEST): Update all definitions for change to field.
1451 (tests): Regenerate array contents.
1452 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1453 field value. Check for IBM long double here.
1454 (do_test): Update calls to test_in_one_mode.
1455
58206c68
SP
14562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 [BZ #12515]
1459 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1460 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1461
2d6f4c5b 14622013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1463
1464 [BZ #15605]
1465 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1466 generated by the compiler on loop optimizations.
1467 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1468 general definitions.
1469
94f2c076
JM
14702013-06-12 Joseph Myers <joseph@codesourcery.com>
1471
1472 * math/bug-nextafter.c: Include <math-tests.h>.
1473 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1474 the relevant type.
1475 * math/bug-nexttoward.c: Include <math-tests.h>.
1476 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1477 the relevant type.
1478 * math/test-misc.c: Include <math-tests.h>.
1479 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1480 the relevant type.
1481
e0e50a0a
AJ
14822013-06-12 Andreas Jaeger <aj@suse.de>
1483
1484 * po/ia.po: Update Interlingua translation from translation
1485 project.
1486
25061094
SP
14872013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
1489 * include/fenv.h: Include stdbool.h.
1490 (struct rm_ctx): New structure.
1491 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1492 Define macro.
1493 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1494 (SET_RESTORE_ROUNDF): Likewise.
1495 (SET_RESTORE_ROUNDL): Likewise.
1496 (SET_RESTORE_ROUND_NOEX): Likewise.
1497 (SET_RESTORE_ROUND_NOEXF): Likewise.
1498 (SET_RESTORE_ROUND_NOEXL): Likewise.
1499 (SET_RESTORE_ROUND_53BIT): Likewise.
1500 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1501 (libc_feresetround_noexf_ctx): Likewise.
1502 (libc_feresetround_noexl_ctx): Likewise.
1503 (libc_feholdsetround_53bit_ctx): Likewise.
1504 (libc_feresetround_53bit_ctx): Likewise.
1505 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1506 (libc_feholdexcept_setround_sse_ctx): New function.
1507 (libc_fesetenv_sse_ctx): Likewise.
1508 (libc_feupdateenv_sse_ctx): Likewise.
1509 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1510 (libc_feholdexcept_setround_387_ctx): Likewise.
1511 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1512 (libc_feholdsetround_387_prec_ctx): Likewise.
1513 (libc_feholdsetround_387_ctx): Likewise.
1514 (libc_feholdsetround_387_53bit_ctx): Likewise.
1515 (libc_feholdsetround_sse_ctx): Likewise.
1516 (libc_feresetround_sse_ctx): Likewise.
1517 (libc_feresetround_387_ctx): Likewise.
1518 (libc_feupdateenv_387_ctx): Likewise.
1519 (libc_feholdexcept_setroundf_ctx): Define macro.
1520 (libc_fesetenvf_ctx): Likewise.
1521 (libc_feupdateenvf_ctx): Likewise.
1522 (libc_feholdsetroundf_ctx): Likewise.
1523 (libc_feresetroundf_ctx): Likewise.
1524 (libc_feholdexcept_setround_ctx): Likewise.
1525 (libc_fesetenv_ctx): Likewise.
1526 (libc_feupdateenv_ctx): Likewise.
1527 (libc_feholdsetround_ctx): Likewise.
1528 (libc_feresetround_ctx): Likewise.
1529 (libc_feholdexcept_setroundl_ctx): Likewise.
1530 (libc_feupdateenvl_ctx): Likewise.
1531 (libc_feholdsetroundl_ctx): Likewise.
1532 (libc_feresetroundl_ctx): Likewise.
1533 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1534 (libc_feresetround_53bit_ctx): Likewise.
1535
59b30555
SP
15362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
1538 * locale/iso-639.def: Convert to UTF-8.
1539
f1d73d30
JM
15402013-06-11 Joseph Myers <joseph@codesourcery.com>
1541
1542 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1543 (EXCEPTION_TESTS_double): Likewise.
1544 (EXCEPTION_TESTS_long_double): Likewise.
1545 (EXCEPTION_TESTS): Likewise.
1546 * math/libm-test.inc (test_exceptions): Only test exceptions if
1547 EXCEPTION_TESTS (FLOAT).
1548
94aca5e7
SP
15492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1550
1551 * benchtests/Makefile (string-bench): Add strcpy_chk and
1552 stpcpy_chk.
1553 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1554 * benchtests/bench-stpcpy_chk.c: New file.
1555 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1556 * benchtests/bench-strcpy_chk.c: New file.
1557 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1558 code.
1559 (do_test): Likewise.
1560
fac0c5f2
RA
15612013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1562
1563 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1564 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1565 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1566 with tabs where appropriate.
1567 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1568 dl-procinfo.h.
1569 [PPC_PLATFORM_PPC440]: Likewise.
1570 [PPC_PLATFORM_PPC464]: Likewise.
1571 [PPC_PLATFORM_PPC476]: Likewise.
1572 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1573 ppc464, and ppc476 platform strings merging from ports/
1574 dl-procinfo.h.
1575
f22bc486
AS
15762013-06-11 Andreas Schwab <schwab@suse.de>
1577
1578 [BZ #14991]
1579 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1580 (from_ucs4_idx): Regenerate.
1581 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1582 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1583 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1584 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1585 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1586 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1587 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1588 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1589 from FROM_LOOP and TO_LOOP specific macros.
1590 (BODY): Handle combining characters.
1591 * iconvdata/BIG5HKSCS.irreversible: Update.
1592 * iconvdata/BIG5HKSCS.precomposed: New file.
1593 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1594 characters.
1595 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1596
c1f75dc3
SP
15972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1598
4eacded2
SP
1599 * include/sys/time.h: Fix indentation and add copyright header.
1600
fec799f8
SP
1601 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1602 (do_test): Likewise.
1603 * string/test-memchr.c (do_one_test): Likewise.
1604 (do_test): Likewise.
1605 * string/test-memcmp.c (do_one_test): Likewise.
1606 (do_test): Likewise.
1607 * string/test-memcpy.c (do_one_test): Likewise.
1608 (do_test): Likewise.
1609 * string/test-memmem.c (do_one_test): Likewise.
1610 (do_test): Likewise.
1611 (do_random_tests): Likewise.
1612 * string/test-memmove.c (do_one_test): Likewise.
1613 (do_test): Likewise.
1614 * string/test-memset.c (do_one_test): Likewise.
1615 (do_test): Likewise.
1616 * string/test-rawmemchr.c (do_one_test): Likewise.
1617 (do_test): Likewise.
1618 * string/test-strcasecmp.c (do_one_test): Likewise.
1619 (do_test): Likewise.
1620 * string/test-strcasestr.c (do_one_test): Likewise.
1621 (do_test): Likewise.
1622 * string/test-strcat.c (do_one_test): Likewise.
1623 (do_test): Likewise.
1624 * string/test-strchr.c (do_one_test): Likewise.
1625 (do_test): Likewise.
1626 * string/test-strcmp.c (do_one_test): Likewise.
1627 (do_test): Likewise.
1628 * string/test-strcpy.c (do_one_test): Likewise.
1629 (do_test): Likewise.
1630 * string/test-string.h: Likewise.
1631 (test_init): Likewise.
1632 * string/test-strlen.c (do_one_test): Likewise.
1633 (do_test): Likewise.
1634 * string/test-strncasecmp.c (do_one_test): Likewise.
1635 (do_test): Likewise.
1636 * string/test-strncat.c (do_one_test): Likewise.
1637 (do_test): Likewise.
1638 * string/test-strncmp.c (do_one_test): Likewise.
1639 (do_test_limit): Likewise.
1640 (do_test): Likewise.
1641 * string/test-strncpy.c (do_one_test): Likewise.
1642 (do_test): Likewise.
1643 * string/test-strnlen.c (do_one_test): Likewise.
1644 (do_test): Likewise.
1645 * string/test-strpbrk.c (do_one_test): Likewise.
1646 (do_test): Likewise.
1647 * string/test-strrchr.c (do_one_test): Likewise.
1648 (do_test): Likewise.
1649 * string/test-strspn.c (do_one_test): Likewise.
1650 (do_test): Likewise.
1651 * string/test-strstr.c (do_one_test): Likewise.
1652 (do_test): Likewise.
1653
97020474
SP
1654 * benchtests/Makefile (string-bench): Add string benchmarks.
1655 * benchtests/bench-bcopy-ifunc.c: New file.
1656 * benchtests/bench-bcopy.c: New file.
1657 * benchtests/bench-bzero-ifunc.c: New file.
1658 * benchtests/bench-bzero.c: New file.
1659 * benchtests/bench-memccpy-ifunc.c: New file.
1660 * benchtests/bench-memccpy.c: New file.
1661 * benchtests/bench-memchr-ifunc.c: New file.
1662 * benchtests/bench-memchr.c: New file.
1663 * benchtests/bench-memcmp-ifunc.c: New file.
1664 * benchtests/bench-memcmp.c: New file.
1665 * benchtests/bench-memmem-ifunc.c: New file.
1666 * benchtests/bench-memmem.c: New file.
1667 * benchtests/bench-memmove-ifunc.c: New file.
1668 * benchtests/bench-memmove.c: New file.
1669 * benchtests/bench-mempcpy-ifunc.c: New file.
1670 * benchtests/bench-mempcpy.c: New file.
1671 * benchtests/bench-memset-ifunc.c: New file.
1672 * benchtests/bench-memset.c: New file.
1673 * benchtests/bench-rawmemchr-ifunc.c: New file.
1674 * benchtests/bench-rawmemchr.c: New file.
1675 * benchtests/bench-stpcpy-ifunc.c: New file.
1676 * benchtests/bench-stpcpy.c: New file.
1677 * benchtests/bench-stpncpy-ifunc.c: New file.
1678 * benchtests/bench-stpncpy.c: New file.
1679 * benchtests/bench-strcasecmp-ifunc.c: New file.
1680 * benchtests/bench-strcasecmp.c: New file.
1681 * benchtests/bench-strcasestr-ifunc.c: New file.
1682 * benchtests/bench-strcasestr.c: New file.
1683 * benchtests/bench-strcat-ifunc.c: New file.
1684 * benchtests/bench-strcat.c: New file.
1685 * benchtests/bench-strchr-ifunc.c: New file.
1686 * benchtests/bench-strchr.c: New file.
1687 * benchtests/bench-strchrnul-ifunc.c: New file.
1688 * benchtests/bench-strchrnul.c: New file.
1689 * benchtests/bench-strcmp-ifunc.c: New file.
1690 * benchtests/bench-strcmp.c: New file.
1691 * benchtests/bench-strcpy-ifunc.c: New file.
1692 * benchtests/bench-strcpy.c: New file.
1693 * benchtests/bench-strcspn-ifunc.c: New file.
1694 * benchtests/bench-strcspn.c: New file.
1695 * benchtests/bench-strlen-ifunc.c: New file.
1696 * benchtests/bench-strlen.c: New file.
1697 * benchtests/bench-strncasecmp-ifunc.c: New file.
1698 * benchtests/bench-strncasecmp.c: New file.
1699 * benchtests/bench-strncat-ifunc.c: New file.
1700 * benchtests/bench-strncat.c: New file.
1701 * benchtests/bench-strncmp-ifunc.c: New file.
1702 * benchtests/bench-strncmp.c: New file.
1703 * benchtests/bench-strncpy-ifunc.c: New file.
1704 * benchtests/bench-strncpy.c: New file.
1705 * benchtests/bench-strnlen-ifunc.c: New file.
1706 * benchtests/bench-strnlen.c: New file.
1707 * benchtests/bench-strpbrk-ifunc.c: New file.
1708 * benchtests/bench-strpbrk.c: New file.
1709 * benchtests/bench-strrchr-ifunc.c: New file.
1710 * benchtests/bench-strrchr.c: New file.
1711 * benchtests/bench-strspn-ifunc.c: New file.
1712 * benchtests/bench-strspn.c: New file.
1713 * benchtests/bench-strstr-ifunc.c: New file.
1714 * benchtests/bench-strstr.c: New file.
1715
c1f75dc3
SP
1716 * benchtests/Makefile: Disable parallel execution of targets.
1717 (string-bench): Add memcpy.
1718 (benchset): New variable to store a list of benchmark sets.
1719 (bench-func): Renamed from bench.
1720 (bench-set): New target.
1721 (bench): Depend on bench-func and bench-set.
1722 * benchtests/README: Add section on benchmark sets.
1723 * benchtests/bench-memcpy-ifunc.c: New file.
1724 * benchtests/bench-memcpy.c: New file.
1725 * benchtests/bench-string.h: New file.
1726
50fd745b
AS
17272013-06-11 Andreas Schwab <schwab@suse.de>
1728
1729 [BZ #15577]
1730 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1731 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1732 values in the triple.
1733 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1734 terminator in the group key.
1735
3ee7e9fe
AJ
17362013-06-11 Andreas Jaeger <aj@suse.de>
1737
1738 * po/zh_TW.po: Update Chinese (traditional) translation from
1739 translation project.
1740
89fb6835
SP
17412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
1743 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1744 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1745 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1747 (clock_getcpuclockid): Likewise.
1748 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1749 Add weak_alias and libc_hidden_def.
1750 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1751 * rt/clock_gettime.c (clock_gettime): Rename to
1752 __clock_gettime. Add weak_alias and libc_hidden_def.
1753 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1754 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1755 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1756 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1757 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1758 Likewise.
1759 * rt/clock_settime.c (clock_settime): Rename to
1760 __clock_settime. Add weak_alias and libc_hidden_def.
1761 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1762
0efa6f8b
JM
17632013-06-10 Joseph Myers <joseph@codesourcery.com>
1764
b8c61b4b
JM
1765 * mach/err_boot.sub: Remove trailing whitespace.
1766 * mach/err_ipc.sub: Likewise.
1767 * mach/err_mach.sub: Likewise.
1768
0efa6f8b
JM
1769 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1770 (ROUNDING_TESTS_double): Likewise.
1771 (ROUNDING_TESTS_long_double): Likewise.
1772 (ROUNDING_TESTS): Likewise.
1773 * math/libm-test.inc: Include <math-tests.h>.
1774 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1775 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1776 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1777 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1778
50b818bf
SP
17792013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
1781 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1782 of assigning.
1783
60d2f8f3
JM
17842013-06-08 Joseph Myers <joseph@codesourcery.com>
1785
4902d2c3
JM
1786 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1787 otherwise empty TRANS lines.
1788 * sysdeps/gnu/errlist.c: Regenerated.
1789
60d2f8f3
JM
1790 * catgets/gencat.c (error_print): Use (void) in function
1791 definition.
1792 * crypt/crypt_util.c (__init_des): Likewise.
1793 * crypt/speeds.c (Stop): Likewise.
1794 (main): Likewise.
1795 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1796 * inet/ruserpass.c (token): Likewise.
1797 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1798 * intl/localealias.c (extend_alias_table): Likewise.
1799 * intl/plural-exp.c (init_germanic_plural): Likewise.
1800 * libio/fcloseall.c (__fcloseall): Likewise.
1801 * libio/genops.c (_IO_flush_all): Likewise.
1802 (_IO_flush_all_linebuffered): Likewise.
1803 (_IO_cleanup): Likewise.
1804 (_IO_iter_begin): Likewise.
1805 (_IO_iter_end): Likewise.
1806 (_IO_list_lock): Likewise.
1807 (_IO_list_unlock): Likewise.
1808 (_IO_list_resetlock): Likewise.
1809 * libio/getchar.c (getchar): Likewise.
1810 * libio/getchar_u.c (getchar_unlocked): Likewise.
1811 * libio/getwchar.c (getwchar): Likewise.
1812 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1813 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1814 * login/getpt.c (__getpt): Likewise.
1815 * login/tst-utmp.c (main): Likewise.
1816 * malloc/hooks.c (__malloc_check_init): Likewise.
1817 * malloc/malloc.c (__malloc_stats): Likewise.
1818 * malloc/mtrace.c (tr_break): Likewise.
1819 (mtrace): Likewise.
1820 (muntrace): Likewise.
1821 * misc/fstab.c (endfsent): Likewise.
1822 * misc/getclktck.c (__getclktck): Likewise.
1823 * misc/getdtsz.c (__getdtablesize): Likewise.
1824 * misc/gethostid.c (gethostid): Likewise.
1825 * misc/getpagesize.c (__getpagesize): Likewise.
1826 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1827 (__get_nprocs): Likewise.
1828 (__get_phys_pages): Likewise.
1829 (__get_avphys_pages): Likewise.
1830 * misc/getttyent.c (getttyent): Likewise.
1831 (setttyent): Likewise.
1832 (endttyent): Likewise.
1833 * misc/getusershell.c (getusershell): Likewise.
1834 (endusershell): Likewise.
1835 (setusershell): Likewise.
1836 (initshells): Likewise.
1837 * misc/hsearch.c (__hdestroy): Likewise.
1838 * misc/sync.c (sync): Likewise.
1839 * misc/syslog.c (closelog_internal): Likewise.
1840 (closelog): Likewise.
1841 * misc/ttyslot.c (ttyslot): Likewise.
1842 * misc/vhangup.c (vhangup): Likewise.
1843 * posix/fork.c (__fork): Likewise.
1844 * posix/getegid.c (__getegid): Likewise.
1845 * posix/geteuid.c (__geteuid): Likewise.
1846 * posix/getgid.c (__getgid): Likewise.
1847 * posix/getpid.c (__getpid): Likewise.
1848 * posix/getppid.c (__getppid): Likewise.
1849 * posix/getuid.c (__getuid): Likewise.
1850 * posix/pause.c (pause): Likewise.
1851 * posix/setpgrp.c (setpgrp): Likewise.
1852 * posix/setsid.c (__setsid): Likewise.
1853 * posix/test-vfork.c (noop): Likewise.
1854 * resolv/gethnamaddr.c (_endhtent): Likewise.
1855 (_gethtent): Likewise.
1856 (ht_endhostent): Likewise.
1857 (gethostent): Likewise.
1858 (dns_service): Likewise.
1859 * stdlib/drand48.c (drand48): Likewise.
1860 * stdlib/lrand48.c (lrand48): Likewise.
1861 * stdlib/mrand48.c (mrand48): Likewise.
1862 * stdlib/rand.c (rand): Likewise.
1863 * stdlib/random.c (__random): Likewise.
1864 * stdlib/setenv.c (clearenv): Likewise.
1865 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1866 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1867 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1868 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1869 (__get_nprocs): Likewise.
1870 (__get_phys_pages): Likewise.
1871 (__get_avphys_pages): Likewise.
1872 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1873 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1874 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1875 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1876 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1877 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1878 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1879 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1880 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1881 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1882 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1883 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1884 * sysdeps/posix/clock.c (clock): Likewise.
1885 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1886 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1887 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1888 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1889 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1891 (__get_nprocs_conf): Likewise.
1892 (__get_phys_pages): Likewise.
1893 (__get_avphys_pages): Likewise.
1894 * time/clock.c (clock): Likewise.
1895 * time/tzset.c (__tzname_max): Likewise.
1896
2e09a79a
JM
18972013-06-07 Joseph Myers <joseph@codesourcery.com>
1898
1899 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1900 (__bswap_32): Do not use "register".
1901 * crypt/crypt.c (_ufc_doit_r): Likewise.
1902 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1903 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1904 * gmon/gmon.c (__monstartup): Likewise.
1905 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1906 * hurd/hurdmalloc.c (more_memory): Likewise.
1907 (malloc): Likewise.
1908 (free): Likewise.
1909 (realloc): Likewise.
1910 (malloc_fork_prepare): Likewise.
1911 (malloc_fork_parent): Likewise.
1912 (malloc_fork_child): Likewise.
1913 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1914 (_svcauth_des): Likewise.
1915 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1916 * inet/inet_net.c (inet_network): Likewise.
1917 * inet/inet_netof.c (inet_netof): Likewise.
1918 * inet/rcmd.c (__validuser2_sa): Likewise.
1919 * io/fts.c (fts_open): Likewise.
1920 (fts_load): Likewise.
1921 (fts_close): Likewise.
1922 (fts_read): Likewise.
1923 (fts_children): Likewise.
1924 (fts_build): Likewise.
1925 (fts_stat): Likewise.
1926 (fts_sort): Likewise.
1927 (fts_alloc): Likewise.
1928 (fts_lfree): Likewise.
1929 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1930 (_IO_file_xsgetn): Likewise.
1931 (_IO_file_xsgetn_mmap): Likewise.
1932 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1933 (_IO_cookie_write): Likewise.
1934 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1935 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1936 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1937 * malloc/obstack.c (_obstack_begin): Likewise.
1938 (_obstack_begin_1): Likewise.
1939 (_obstack_newchunk): Likewise.
1940 (_obstack_allocated_p): Likewise.
1941 (obstack_free): Likewise.
1942 (_obstack_memory_used): Likewise.
1943 * misc/getttyent.c (getttynam): Likewise.
1944 (getttyent): Likewise.
1945 (skip): Likewise.
1946 (value): Likewise.
1947 * misc/getusershell.c (initshells): Likewise.
1948 * misc/syslog.c (__vsyslog_chk): Likewise.
1949 * misc/ttyslot.c (ttyslot): Likewise.
1950 * nis/nis_hash.c (__nis_hash): Likewise.
1951 * posix/fnmatch_loop.c (FCT): Likewise.
1952 * posix/getconf.c (print_all): Likewise.
1953 (main): Likewise.
1954 * posix/getopt.c (exchange): Likewise.
1955 * posix/glob.c (globfree): Likewise.
1956 (prefix_array): Likewise.
1957 (__glob_pattern_type): Likewise.
1958 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1959 (NS_GET32): Likewise.
1960 (NS_PUT16): Likewise.
1961 (NS_PUT32): Likewise.
1962 * resolv/gethnamaddr.c (getanswer): Likewise.
1963 (gethostbyname2): Likewise.
1964 (gethostbyaddr): Likewise.
1965 (_gethtent): Likewise.
1966 (_gethtbyname2): Likewise.
1967 (_gethtbyaddr): Likewise.
1968 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1969 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1970 * resolv/res_init.c (__res_vinit): Likewise.
1971 (net_mask): Likewise.
1972 * resolv/res_mkquery.c (outchar): Likewise.
1973 (PRINT): Likewise.
1974 * stdio-common/printf_fp.c (outchar): Likewise.
1975 (PRINT): Likewise.
1976 * stdio-common/printf_fphex.c (outchar): Likewise.
1977 (PRINT): Likewise.
1978 * stdio-common/printf_size.c (outchar): Likewise.
1979 (PRINT): Likewise.
1980 * stdio-common/test_rdwr.c (main): Likewise.
1981 * stdio-common/tfformat.c (matches): Likewise.
1982 * stdio-common/vfprintf.c (outchar): Likewise.
1983 (printf_unknown): Likewise.
1984 (buffered_vfprintf): Likewise.
1985 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1986 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1987 (ReadFile): Likewise.
1988 * stdlib/qsort.c (SWAP): Likewise.
1989 (_quicksort): Likewise.
1990 * stdlib/setenv.c (__add_to_environ): Likewise.
1991 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1992 * stdlib/strtol_l.c (__strtol_l): Likewise.
1993 * stdlib/tst-strtod.c (main): Likewise.
1994 * stdlib/tst-strtol.c (main): Likewise.
1995 * stdlib/tst-strtoll.c (main): Likewise.
1996 * string/bits/string2.h (__strcmp_cc): Likewise.
1997 (__strcmp_cg): Likewise.
1998 (__strcspn_c1): Likewise.
1999 (__strcspn_c2): Likewise.
2000 (__strcspn_c3): Likewise.
2001 (__strspn_c1): Likewise.
2002 (__strspn_c2): Likewise.
2003 (__strspn_c3): Likewise.
2004 (__strsep_1c): Likewise.
2005 (__strsep_2c): Likewise.
2006 (__strsep_3c): Likewise.
2007 * string/memccpy.c (__memccpy): Likewise.
2008 * string/stpcpy.c (__stpcpy): Likewise.
2009 * string/strcmp.c (strcmp): Likewise.
2010 * string/strrchr.c (strrchr): Likewise.
2011 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2012 Likewise.
2013 * sysdeps/mach/hurd/getcwd.c
2014 (_hurd_canonicalize_directory_name_internal): Likewise.
2015 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2016 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2017 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2018 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2019 Likewise, in both definitions.
2020 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2021 definitions.
2022 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2023 64] (__bswap_64): Likewise.
2024 * time/test_time.c (main): Likewise.
2025 * time/tzfile.c (__tzfile_read): Likewise.
2026 (__tzfile_compute): Likewise.
2027 * time/tzset.c (__tzset_parse_tz): Likewise.
2028 (tzset_internal): Likewise.
2029 (compute_change): Likewise.
2030 * wcsmbs/wcscat.c (__wcscat): Likewise.
2031 * wcsmbs/wcschr.c (wcschr): Likewise.
2032 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2033 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2034 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2035 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2036 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2037 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2038 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2039 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2040 * wcsmbs/wmemset.c (wmemset): Likewise.
2041
9e54314b
JM
20422013-06-06 Joseph Myers <joseph@codesourcery.com>
2043
2044 * scripts/config.guess: Update to version 2013-05-16.
2045 * scripts/config.sub: Update to version 2013-04-24.
2046 * scripts/install-sh: Update to version 2011-11-20.07.
2047 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2048 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2049
350635a5
OB
20502013-06-06 Ondřej Bílka <neleai@seznam.cz>
2051
2052 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2053 * elf/sln.c: Likewise.
2054 * hurd/hurd/ioctl.h: Likewise.
2055 * hurd/hurdmalloc.c: Likewise.
2056 * hurd/xattr.c: Likewise.
2057 * include/shlib-compat.h: Likewise.
2058 * inet/ruserpass.c: Likewise.
2059 * libio/iofgets_u.c: Likewise.
2060 * libio/iofgetws_u.c: Likewise.
2061 * locale/programs/ld-identification.c: Likewise.
2062 * locale/programs/ld-time.c: Likewise.
2063 * mach/msg-destroy.c: Likewise.
2064 * nss/nss_files/files-netgrp.c: Likewise.
2065 * resolv/res_data.c: Likewise.
2066 * soft-fp/op-1.h: Likewise.
2067 * soft-fp/op-2.h: Likewise.
2068 * soft-fp/op-4.h: Likewise.
2069 * soft-fp/op-common.h: Likewise.
2070 * stdio-common/printf_fphex.c: Likewise.
2071 * stdlib/strtod_l.c: Likewise.
2072 * sunrpc/rpc/clnt.h: Likewise.
2073 * sysdeps/generic/framestate.c: Likewise.
2074 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2075 * sysdeps/i386/bsd-setjmp.S: Likewise.
2076 * sysdeps/i386/__longjmp.S: Likewise.
2077 * sysdeps/i386/setjmp.S: Likewise.
2078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2096 * sysdeps/ieee754/support.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2099 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2100 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2103 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2104 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2105 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2106 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2107 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2108 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2109 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2110 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2111 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2112 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2113 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2115
44a988af
OB
21162013-06-05 Ondřej Bílka <neleai@seznam.cz>
2117
25506f09 2118 * posix/transbug.c: Remove executable mode.
44a988af 2119
9c84384c
JM
21202013-06-05 Joseph Myers <joseph@codesourcery.com>
2121
2122 * crypt/speeds.c: Remove trailing whitespace.
2123 * dlfcn/default.c: Likewise.
2124 * elf/ifuncdep2.c: Likewise.
2125 * elf/ifuncmain1.c: Likewise.
2126 * elf/ifuncmain1vis.c: Likewise.
2127 * elf/testobj.h: Likewise.
2128 * elf/tst-stackguard1.c: Likewise.
2129 * gmon/sys/gmon.h: Likewise.
2130 * hurd/hurdmsg.c: Likewise.
2131 * hurd/new-fd.c: Likewise.
2132 * hurd/ports-get.c: Likewise.
2133 * iconvdata/ibm1008_420.c: Likewise.
2134 * inet/tst-getni1.c: Likewise.
2135 * inet/tst-getni2.c: Likewise.
2136 * libio/ioungetc.c: Likewise.
2137 * libio/wfiledoalloc.c: Likewise.
2138 * manual/libm-err-tab.pl: Likewise.
2139 * math/w_dremf.c: Likewise.
2140 * misc/ftruncate.c: Likewise.
2141 * posix/bug-glob2.c: Likewise.
2142 * posix/tst-pcre.c: Likewise.
2143 * posix/wait4.c: Likewise.
2144 * resolv/README: Likewise.
2145 * resolv/res_debug.h: Likewise.
2146 * resolv/tst-inet_ntop.c: Likewise.
2147 * setjmp/bug269-setjmp.c: Likewise.
2148 * soft-fp/extended.h: Likewise.
2149 * soft-fp/op-1.h: Likewise.
2150 * soft-fp/op-2.h: Likewise.
2151 * soft-fp/op-4.h: Likewise.
2152 * soft-fp/op-8.h: Likewise.
2153 * soft-fp/testit.c: Likewise.
2154 * stdio-common/bug16.c: Likewise.
2155 * stdlib/random.c: Likewise.
2156 * sunrpc/rpcsvc/rquota.x: Likewise.
2157 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2165 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2166 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2186 * sysdeps/ieee754/s_lib_version.c: Likewise.
2187 * sysdeps/mach/hurd/check_fds.c: Likewise.
2188 * sysdeps/mach/hurd/getsockname.c: Likewise.
2189 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2190 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2191 * sysdeps/powerpc/bits/link.h: Likewise.
2192 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2193 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2194 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2195 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2196 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2197 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2198 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2199 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2200 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2201 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2202 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2203 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2204 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2205 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2206 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2207 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2209 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2211 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2212 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2213 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2215 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2216 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2220 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2223 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2224 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2226 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2227 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2228 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2229 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2230 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2231 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2232 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2233 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2234 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2235 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2236 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2237 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2238 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2239 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2240 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2241 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2244 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2251 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2252 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2254 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2255 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2256 * sysdeps/powerpc/sysdep.h: Likewise.
2257 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2258 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2259 * sysdeps/sh/dl-trampoline.S: Likewise.
2260 * sysdeps/sh/memset.S: Likewise.
2261 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2262 * sysdeps/sh/strlen.S: Likewise.
2263 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2264 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2265 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2266 * sysdeps/sparc/sparc32/rem.S: Likewise.
2267 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2268 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2269 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2270 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2271 * sysdeps/sparc/sparc32/urem.S: Likewise.
2272 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2273 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2274 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2275 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2276 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2277 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2278 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2279 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2280 * sysdeps/unix/bsd/times.c: Likewise.
2281 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2282 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2289 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2291 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2293 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2294 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2296 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2297 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2298 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2299 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2300 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2301 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2302 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2303 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2304 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2305 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2306 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2309 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2310 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2311 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2312 * sysdeps/x86_64/strcspn.S: Likewise.
2313
869378a5
RA
23142013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2315
2316 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2317 generated file. Regenerate properly from gen-translit.pl.
2318 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2319 locale/C-translit.h.
2320
840e2943
AS
23212013-06-05 Andreas Schwab <schwab@suse.de>
2322
2323 [BZ #15100]
2324 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2325 week as 6 instead of -1.
2326 * time/tst-strptime.c (day_tests): Add test case.
2327
4c60cb0c
SP
23282013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2329
2330 * sysdeps/generic/math_private.h
2331 (libc_feholdexcept_setround_53bit): Replace with
2332 libc_feholdsetround_53bit.
2333 (libc_feupdateenv_53bit): Replace with
2334 libc_feresetround_53bit.
2335 (SET_RESTORE_ROUND_53BIT): Adjust.
2336
d180203e
SP
23372013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2338
96df079a
SP
2339 * string/test-strchrnul.c: Add copyright header.
2340
d180203e
SP
2341 * posix/tst-getaddrinfo4.c: Increase test timeout.
2342
8b0ccb2d
CD
23432013-06-03 Carlos O'Donell <carlos@redhat.com>
2344
2345 [BZ #15536]
2346 * math/libm-test.inc (MAX_EXP): Remove
2347 (MIN_EXP): Define.
2348 (ulp): Use MIN_EXP - MANT_DIG.
2349 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2350
3b3c4d40
CD
23512013-05-31 Carlos O'Donell <carlos@redhat.com>
2352
2353 * po/be.po: Revert last change.
2354 * po/zh_CN.po: Likewise.
2355 * po/header.pot: Likewise.
2356
fab7ce3f
JM
23572013-05-31 Joseph Myers <joseph@codesourcery.com>
2358
2359 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2360 link-libc-deps to empty as target-specific variable.
2361 * Makerules (link-libc-args): New variable.
2362 (libc-for-link): Likewise.
2363 (link-libc-deps): Likewise.
2364 (lib%.so): Depend on $(link-libc-deps). Link with
2365 $(link-libc-args).
2366 (build-module): Link with $(link-libc-args).
2367 (build-module-asneeded): Likewise.
2368 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2369 list of objects.
2370 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2371 target-specific variable.
2372 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2373 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2374 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2375 libc.
2376 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2377 libc and ld.so.
2378 ($(objpfx)libpcprofile.so): Likewise.
2379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2380 libc_nonshared.a.
2381 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2382 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2383 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2384 $(link-libc-deps).
2385 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2386 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2387 * login/Makefile ($(objpfx)libutil.so): Likewise.
2388 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2389 * math/Makefile ($(objpfx)libm.so): Likewise.
2390 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2391 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2392 variable instead of depending directly on libc.
2393 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2394 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2395 $(link-libc-deps).
2396 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2397 libc.
2398 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2399 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2400 ($(objpfx)libanl.so): Likewise.
2401 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2402 ld.so.
2403 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2404 $(link-libc-deps).
2405 * sysdeps/i386/fpu/Makefile: Remove file.
2406 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2407 ($(objpfx)libm.so): Remove dependency on ld.so.
2408
eca5920c
PF
24092013-05-30 Patsy Franklin <pfrankli@redhat.com>
2410
2411 [BZ # 15553]
2412 * nis/yp_xdr.c (XDRMAXNAME): Define.
2413 (XDRMAXRECORD): Define.
2414 (xdr_domainname): Use XDRMAXNAME.
2415 (xdr_mapname): Likewise.
2416 (xdr_peername): Likewise.
2417 (xdr_keydat): Use XDRMAXRECORD.
2418 (xdr_valdat): Likewise.
2419
24202013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2421
2422 [BZ #14256]
2423 * manual/errno.texi (ESTALE): Update to account for more than
2424 just NFS file systems.
2425 * sysdeps/gnu/errlist.c: Regenerated.
2426
b9375348
SP
24272013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2428
2429 [BZ #15465]
2430 * elf/Makefile (tests): Add tst-null-argv.
2431 (modules-names): Add tst-null-argv-lib.
2432 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2433 (tst-null-argv-ENV): Set environment for tst-null-argv.
2434 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2435 (RTLD_PROGNAME): New macro.
2436 * elf/tst-null-argv.c: New test case.
2437 * elf/tst-null-argv-lib.c: Library for test case.
2438 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2439 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2440 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2441 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2442 * elf/dl-init.c (call_init): Likewise.
2443 (_dl_init): Likewise.
2444 * elf/dl-load.c (print_search_path): Likewise.
2445 (_dl_map_object): Likewise.
2446 * elf/dl-lookup.c (do_lookup_x): Likewise.
2447 (add_dependency): Likewise.
2448 (_dl_lookup_symbol_x): Likewise.
2449 (_dl_debug_bindings): Likewise.
2450 * elf/dl-open.c (_dl_show_scope): Likewise.
2451 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2452 * elf/dl-version.c (match_symbol): Likewise.
2453 (_dl_check_map_versions): Likewise.
2454 * elf/rtld.c (dl_main): Likewise.
2455 (print_unresolved): Use RTLD_PROGNAME.
2456 (print_missing_version): Likewise.
2457 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2458 (elf_machine_rela): Likewise.
2459 * sysdeps/powerpc/powerpc32/dl-machine.c
2460 (__process_machine_rela): Likewise.
2461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2462 Likewise.
2463 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2464 Likewise.
2465 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2466 Likewise.
2467 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2469 Likewise.
2470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2471 Likewise.
2472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2473
8a9f20c8
CD
24742013-05-28 Carlos O'Donell <carlos@redhat.com>
2475
2476 * po/be.po: Add descriptive title.
2477 * po/zh_CN.po: Likewise.
2478 * po/header.pot: Likewise.
2479
0e60d68e
MF
24802013-05-28 Mike Frysinger <vapier@gentoo.org>
2481
2482 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2483 error message.
2484 (enlarge_archive): Likewise.
2485
56b672e9
BN
24862013-05-28 Ben North <ben@redfrontdoor.org>
2487
2488 * manual/arith.texi (frexp): It is the magnitude of the return
2489 value which lies in [0.5, 1), not the return value itself.
2490
5e056687
AZ
24912013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2494
2b66ef5d
TS
24952013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2496
528c2405
TS
2497 * stdio-common/bug26.c (main): Correct fscanf template.
2498
07b4c13d
TS
2499 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2500 declare _dl_skip_args.
2501
ec9dd97c
TS
2502 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2503 Don't declare.
2504
2b66ef5d
TS
2505 * manual/platform.texi: Add missing @end deftypefun.
2506
4f8dfe27
JM
25072013-05-24 Joseph Myers <joseph@codesourcery.com>
2508
0323d086
JM
2509 [BZ #15529]
2510 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2511 bit of mantissa of 2^16382.
2512 * math/libm-test.inc (hypot_test_data): Add more tests.
2513
dd4259b9
JM
2514 * math/libm-test.inc: Add drem and pow10 to list of tested
2515 functions.
2516 (pow10_test): New function.
2517 (drem_test): Likewise.
2518 (drem_test_tonearest): Likewise.
2519 (drem_test_towardzero): Likewise.
2520 (drem_test_downward): Likewise.
2521 (drem_test_upward): Likewise.
2522 (main): Call the new functions.
2523
4f8dfe27
JM
2524 * math/libm-test.inc (finite_test_data): Remove.
2525 (finite_test): Run tests from isfinite_test_data.
2526 (gamma_test_data): Remove.
2527 (gamma_test): Run tests from lgamma_test_data.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
d116b7c4
AZ
25312013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
2533 * manual/platform.texi: Add PowerPC PPR function set documentation.
2534 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2535 implementation.
2536
e96e3767
CD
25372013-05-24 Carlos O'Donell <carlos@redhat.com>
2538
2539 * math/libm-test.inc (MAX_EXP): Define.
2540 (ULPDIFF): Define.
2541 (ulp): New function.
2542 (check_float_internal): Use ULPDIFF.
2543 (cpow_test): Disable failing test.
2544 (check_ulp): Test ulp() implemetnation.
2545 (main): Call check_ulp before starting tests.
2546
b679a606
JM
25472013-05-24 Joseph Myers <joseph@codesourcery.com>
2548
e8bdba36
JM
2549 * math/gen-libm-test.pl (generate_testfile): Do not handle
2550 START_DATA and END_DATA.
2551 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2552 END_DATA.
2553 (acos_tonearest_test_data): Likewise.
2554 (acos_towardzero_test_data): Likewise.
2555 (acos_downward_test_data): Likewise.
2556 (acos_upward_test_data): Likewise.
2557 (acosh_test_data): Likewise.
2558 (asin_test_data): Likewise.
2559 (asin_tonearest_test_data): Likewise.
2560 (asin_towardzero_test_data): Likewise.
2561 (asin_downward_test_data): Likewise.
2562 (asin_upward_test_data): Likewise.
2563 (asinh_test_data): Likewise.
2564 (atan_test_data): Likewise.
2565 (atanh_test_data): Likewise.
2566 (atan2_test_data): Likewise.
2567 (cabs_test_data): Likewise.
2568 (cacos_test_data): Likewise.
2569 (cacosh_test_data): Likewise.
2570 (carg_test_data): Likewise.
2571 (casin_test_data): Likewise.
2572 (casinh_test_data): Likewise.
2573 (catan_test_data): Likewise.
2574 (catanh_test_data): Likewise.
2575 (cbrt_test_data): Likewise.
2576 (ccos_test_data): Likewise.
2577 (ccosh_test_data): Likewise.
2578 (ceil_test_data): Likewise.
2579 (cexp_test_data): Likewise.
2580 (cimag_test_data): Likewise.
2581 (clog_test_data): Likewise.
2582 (clog10_test_data): Likewise.
2583 (conj_test_data): Likewise.
2584 (copysign_test_data): Likewise.
2585 (cos_test_data): Likewise.
2586 (cos_tonearest_test_data): Likewise.
2587 (cos_towardzero_test_data): Likewise.
2588 (cos_downward_test_data): Likewise.
2589 (cos_upward_test_data): Likewise.
2590 (cosh_test_data): Likewise.
2591 (cosh_tonearest_test_data): Likewise.
2592 (cosh_towardzero_test_data): Likewise.
2593 (cosh_downward_test_data): Likewise.
2594 (cosh_upward_test_data): Likewise.
2595 (cpow_test_data): Likewise.
2596 (cproj_test_data): Likewise.
2597 (creal_test_data): Likewise.
2598 (csin_test_data): Likewise.
2599 (csinh_test_data): Likewise.
2600 (csqrt_test_data): Likewise.
2601 (ctan_test_data): Likewise.
2602 (ctan_tonearest_test_data): Likewise.
2603 (ctan_towardzero_test_data): Likewise.
2604 (ctan_downward_test_data): Likewise.
2605 (ctan_upward_test_data): Likewise.
2606 (ctanh_test_data): Likewise.
2607 (ctanh_tonearest_test_data): Likewise.
2608 (ctanh_towardzero_test_data): Likewise.
2609 (ctanh_downward_test_data): Likewise.
2610 (ctanh_upward_test_data): Likewise.
2611 (erf_test_data): Likewise.
2612 (erfc_test_data): Likewise.
2613 (exp_test_data): Likewise.
2614 (exp_tonearest_test_data): Likewise.
2615 (exp_towardzero_test_data): Likewise.
2616 (exp_downward_test_data): Likewise.
2617 (exp_upward_test_data): Likewise.
2618 (exp10_test_data): Likewise.
2619 (exp2_test_data): Likewise.
2620 (expm1_test_data): Likewise.
2621 (fabs_test_data): Likewise.
2622 (fdim_test_data): Likewise.
2623 (finite_test_data): Likewise.
2624 (floor_test_data): Likewise.
2625 (fma_test_data): Likewise.
2626 (fma_towardzero_test_data): Likewise.
2627 (fma_downward_test_data): Likewise.
2628 (fma_upward_test_data): Likewise.
2629 (fmax_test_data): Likewise.
2630 (fmin_test_data): Likewise.
2631 (fmod_test_data): Likewise.
2632 (fpclassify_test_data): Likewise.
2633 (frexp_test_data): Likewise.
2634 (gamma_test_data): Likewise.
2635 (hypot_test_data): Likewise.
2636 (ilogb_test_data): Likewise.
2637 (isfinite_test_data): Likewise.
2638 (isgreater_test_data): Likewise.
2639 (isgreaterequal_test_data): Likewise.
2640 (isinf_test_data): Likewise.
2641 (isless_test_data): Likewise.
2642 (islessequal_test_data): Likewise.
2643 (islessgreater_test_data): Likewise.
2644 (isnan_test_data): Likewise.
2645 (isnormal_test_data): Likewise.
2646 (issignaling_test_data): Likewise.
2647 (isunordered_test_data): Likewise.
2648 (j0_test_data): Likewise.
2649 (j1_test_data): Likewise.
2650 (jn_test_data): Likewise.
2651 (ldexp_test_data): Likewise.
2652 (lgamma_test_data): Likewise.
2653 (lrint_test_data): Likewise.
2654 (lrint_tonearest_test_data): Likewise.
2655 (lrint_towardzero_test_data): Likewise.
2656 (lrint_downward_test_data): Likewise.
2657 (lrint_upward_test_data): Likewise.
2658 (llrint_test_data): Likewise.
2659 (llrint_tonearest_test_data): Likewise.
2660 (llrint_towardzero_test_data): Likewise.
2661 (llrint_downward_test_data): Likewise.
2662 (llrint_upward_test_data): Likewise.
2663 (log_test_data): Likewise.
2664 (log10_test_data): Likewise.
2665 (log1p_test_data): Likewise.
2666 (log2_test_data): Likewise.
2667 (logb_test_data): Likewise.
2668 (logb_downward_test_data): Likewise.
2669 (lround_test_data): Likewise.
2670 (llround_test_data): Likewise.
2671 (modf_test_data): Likewise.
2672 (nearbyint_test_data): Likewise.
2673 (nextafter_test_data): Likewise.
2674 (nexttoward_test_data): Likewise.
2675 (pow_test_data): Likewise.
2676 (pow_tonearest_test_data): Likewise.
2677 (pow_towardzero_test_data): Likewise.
2678 (pow_downward_test_data): Likewise.
2679 (pow_upward_test_data): Likewise.
2680 (remainder_test_data): Likewise.
2681 (remainder_tonearest_test_data): Likewise.
2682 (remainder_towardzero_test_data): Likewise.
2683 (remainder_downward_test_data): Likewise.
2684 (remainder_upward_test_data): Likewise.
2685 (remquo_test_data): Likewise.
2686 (rint_test_data): Likewise.
2687 (rint_tonearest_test_data): Likewise.
2688 (rint_towardzero_test_data): Likewise.
2689 (rint_downward_test_data): Likewise.
2690 (rint_upward_test_data): Likewise.
2691 (round_test_data): Likewise.
2692 (scalb_test_data): Likewise.
2693 (scalbn_test_data): Likewise.
2694 (scalbln_test_data): Likewise.
2695 (signbit_test_data): Likewise.
2696 (sin_test_data): Likewise.
2697 (sin_tonearest_test_data): Likewise.
2698 (sin_towardzero_test_data): Likewise.
2699 (sin_downward_test_data): Likewise.
2700 (sin_upward_test_data): Likewise.
2701 (sincos_test_data): Likewise.
2702 (sinh_test_data): Likewise.
2703 (sinh_tonearest_test_data): Likewise.
2704 (sinh_towardzero_test_data): Likewise.
2705 (sinh_downward_test_data): Likewise.
2706 (sinh_upward_test_data): Likewise.
2707 (sqrt_test_data): Likewise.
2708 (tan_test_data): Likewise.
2709 (tan_tonearest_test_data): Likewise.
2710 (tan_towardzero_test_data): Likewise.
2711 (tan_downward_test_data): Likewise.
2712 (tan_upward_test_data): Likewise.
2713 (tanh_test_data): Likewise.
2714 (tgamma_test_data): Likewise.
2715 (trunc_test_data): Likewise.
2716 (y0_test_data): Likewise.
2717 (y1_test_data): Likewise.
2718 (yn_test_data): Likewise.
2719 (significand_test_data): Likewise.
2720
b679a606
JM
2721 * math/gen-libm-test.pl (@functions): Remove variable.
2722 (generate_testfile): Don't handle START and END lines.
2723 * math/libm-test.inc (START): New macro.
2724 (END): Likewise.
2725 (END_COMPLEX): Likewise.
2726 (acos_test): Use END macro without arguments.
2727 (acos_test_tonearest): Likewise.
2728 (acos_test_towardzero): Likewise.
2729 (acos_test_downward): Likewise.
2730 (acos_test_upward): Likewise.
2731 (acosh_test): Likewise.
2732 (asin_test): Likewise.
2733 (asin_test_tonearest): Likewise.
2734 (asin_test_towardzero): Likewise.
2735 (asin_test_downward): Likewise.
2736 (asin_test_upward): Likewise.
2737 (asinh_test): Likewise.
2738 (atan_test): Likewise.
2739 (atanh_test): Likewise.
2740 (atan2_test): Likewise.
2741 (cabs_test): Likewise.
2742 (cacos_test): Use END_COMPLEX macro without arguments.
2743 (cacosh_test): Likewise.
2744 (carg_test): Use END macro without arguments.
2745 (casin_test): Use END_COMPLEX macro without arguments.
2746 (casinh_test): Likewise.
2747 (catan_test): Likewise.
2748 (catanh_test): Likewise.
2749 (cbrt_test): Use END macro without arguments.
2750 (ccos_test): Use END_COMPLEX macro without arguments.
2751 (ccosh_test): Likewise.
2752 (ceil_test): Use END macro without arguments.
2753 (cexp_test): Use END_COMPLEX macro without arguments.
2754 (cimag_test): Use END macro without arguments.
2755 (clog_test): Use END_COMPLEX macro without arguments.
2756 (clog10_test): Likewise.
2757 (conj_test): Likewise.
2758 (copysign_test): Use END macro without arguments.
2759 (cos_test): Likewise.
2760 (cos_test_tonearest): Likewise.
2761 (cos_test_towardzero): Likewise.
2762 (cos_test_downward): Likewise.
2763 (cos_test_upward): Likewise.
2764 (cosh_test): Likewise.
2765 (cosh_test_tonearest): Likewise.
2766 (cosh_test_towardzero): Likewise.
2767 (cosh_test_downward): Likewise.
2768 (cosh_test_upward): Likewise.
2769 (cpow_test): Use END_COMPLEX macro without arguments.
2770 (cproj_test): Likewise.
2771 (creal_test): Use END macro without arguments.
2772 (csin_test): Use END_COMPLEX macro without arguments.
2773 (csinh_test): Likewise.
2774 (csqrt_test): Likewise.
2775 (ctan_test): Likewise.
2776 (ctan_test_tonearest): Likewise.
2777 (ctan_test_towardzero): Likewise.
2778 (ctan_test_downward): Likewise.
2779 (ctan_test_upward): Likewise.
2780 (ctanh_test): Likewise.
2781 (ctanh_test_tonearest): Likewise.
2782 (ctanh_test_towardzero): Likewise.
2783 (ctanh_test_downward): Likewise.
2784 (ctanh_test_upward): Likewise.
2785 (erf_test): Use END macro without arguments.
2786 (erfc_test): Likewise.
2787 (exp_test): Likewise.
2788 (exp_test_tonearest): Likewise.
2789 (exp_test_towardzero): Likewise.
2790 (exp_test_downward): Likewise.
2791 (exp_test_upward): Likewise.
2792 (exp10_test): Likewise.
2793 (exp2_test): Likewise.
2794 (expm1_test): Likewise.
2795 (fabs_test): Likewise.
2796 (fdim_test): Likewise.
2797 (finite_test): Likewise.
2798 (floor_test): Likewise.
2799 (fma_test): Likewise.
2800 (fma_test_towardzero): Likewise.
2801 (fma_test_downward): Likewise.
2802 (fma_test_upward): Likewise.
2803 (fmax_test): Likewise.
2804 (fmin_test): Likewise.
2805 (fmod_test): Likewise.
2806 (fpclassify_test): Likewise.
2807 (frexp_test): Likewise.
2808 (gamma_test): Likewise.
2809 (hypot_test): Likewise.
2810 (ilogb_test): Likewise.
2811 (isfinite_test): Likewise.
2812 (isgreater_test): Likewise.
2813 (isgreaterequal_test): Likewise.
2814 (isinf_test): Likewise.
2815 (isless_test): Likewise.
2816 (islessequal_test): Likewise.
2817 (islessgreater_test): Likewise.
2818 (isnan_test): Likewise.
2819 (isnormal_test): Likewise.
2820 (issignaling_test): Likewise.
2821 (isunordered_test): Likewise.
2822 (j0_test): Likewise.
2823 (j1_test): Likewise.
2824 (jn_test): Likewise.
2825 (ldexp_test): Likewise.
2826 (lgamma_test): Likewise.
2827 (lrint_test): Likewise.
2828 (lrint_test_tonearest): Likewise.
2829 (lrint_test_towardzero): Likewise.
2830 (lrint_test_downward): Likewise.
2831 (lrint_test_upward): Likewise.
2832 (llrint_test): Likewise.
2833 (llrint_test_tonearest): Likewise.
2834 (llrint_test_towardzero): Likewise.
2835 (llrint_test_downward): Likewise.
2836 (llrint_test_upward): Likewise.
2837 (log_test): Likewise.
2838 (log10_test): Likewise.
2839 (log1p_test): Likewise.
2840 (log2_test): Likewise.
2841 (logb_test): Likewise.
2842 (logb_test_downward): Likewise.
2843 (lround_test): Likewise.
2844 (llround_test): Likewise.
2845 (modf_test): Likewise.
2846 (nearbyint_test): Likewise.
2847 (nextafter_test): Likewise.
2848 (nexttoward_test): Likewise.
2849 (pow_test): Likewise.
2850 (pow_test_tonearest): Likewise.
2851 (pow_test_towardzero): Likewise.
2852 (pow_test_downward): Likewise.
2853 (pow_test_upward): Likewise.
2854 (remainder_test): Likewise.
2855 (remainder_test_tonearest): Likewise.
2856 (remainder_test_towardzero): Likewise.
2857 (remainder_test_downward): Likewise.
2858 (remainder_test_upward): Likewise.
2859 (remquo_test): Likewise.
2860 (rint_test): Likewise.
2861 (rint_test_tonearest): Likewise.
2862 (rint_test_towardzero): Likewise.
2863 (rint_test_downward): Likewise.
2864 (rint_test_upward): Likewise.
2865 (round_test): Likewise.
2866 (scalb_test): Likewise.
2867 (scalbn_test): Likewise.
2868 (scalbln_test): Likewise.
2869 (signbit_test): Likewise.
2870 (sin_test): Likewise.
2871 (sin_test_tonearest): Likewise.
2872 (sin_test_towardzero): Likewise.
2873 (sin_test_downward): Likewise.
2874 (sin_test_upward): Likewise.
2875 (sincos_test): Likewise.
2876 (sinh_test): Likewise.
2877 (sinh_test_tonearest): Likewise.
2878 (sinh_test_towardzero): Likewise.
2879 (sinh_test_downward): Likewise.
2880 (sinh_test_upward): Likewise.
2881 (sqrt_test): Likewise.
2882 (tan_test): Likewise.
2883 (tan_test_tonearest): Likewise.
2884 (tan_test_towardzero): Likewise.
2885 (tan_test_downward): Likewise.
2886 (tan_test_upward): Likewise.
2887 (tanh_test): Likewise.
2888 (tgamma_test): Likewise.
2889 (trunc_test): Likewise.
2890 (y0_test): Likewise.
2891 (y1_test): Likewise.
2892 (yn_test): Likewise.
2893 (significand_test): Likewise.
2894
bae143d2
OB
28952013-05-24 Ondřej Bílka <neleai@seznam.cz>
2896
2897 [BZ #15381]
2898 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2899
9323d39b
EM
29002013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2901
d4ea44a0 2902 [BZ #14894]
9323d39b
EM
2903 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2904 __ppc_mdoio and __ppc_mdoom.
2905 * manual/platform.texi: Document new functions __ppc_yield,
2906 __ppc_mdoio and __ppc_mdoom.
2907
13e23af7
CD
29082013-05-22 Carlos O'Donell <carlos@redhat.com>
2909
2910 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2911 (main): Mention "tls" pseudo-hwcap is legacy.
2912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2913
351fe550
JM
29142013-05-22 Joseph Myers <joseph@codesourcery.com>
2915
2916 * math/gen-libm-test.pl (parse_args): Output only string of
2917 arguments as text for test name, not full call or descriptions of
2918 tests for extra outputs.
2919 (generate_testfile): Do not pass function name to parse_args.
2920 Generate this_func variable from START.
2921 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2922 field to arg_str.
2923 (struct test_ff_f_data): Likewise.
2924 (test_ff_f_data_nexttoward): Likewise.
2925 (struct test_fi_f_data): Likewise.
2926 (struct test_fl_f_data): Likewise.
2927 (struct test_if_f_data): Likewise.
2928 (struct test_fff_f_data): Likewise.
2929 (struct test_c_f_data): Likewise.
2930 (struct test_f_f1_data): Likewise. Remove field extra_name.
2931 (struct test_fF_f1_data): Likewise.
2932 (struct test_ffI_f1_data): Likewise.
2933 (struct test_c_c_data): Rename test_name field to arg_str.
2934 (struct test_cc_c_data): Likewise.
2935 (struct test_f_i_data): Likewise.
2936 (struct test_ff_i_data): Likewise.
2937 (struct test_f_l_data): Likewise.
2938 (struct test_f_L_data): Likewise.
2939 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2940 and extra2_name.
2941 (COMMON_TEST_SETUP): New macro.
2942 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2943 (COMMON_TEST_CLEANUP): Likewise.
2944 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2945 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2946 macros.
2947 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2948 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2949 macros.
2950 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2951 (RUN_TEST_fff_f): Take argument string. Call new setup and
2952 cleanup macros.
2953 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2954 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2955 macros.
2956 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2957 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2958 macros.
2959 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2960 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2961 cleanup macros.
2962 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2963 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2964 cleanup macros.
2965 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2966 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2967 cleanup macros.
2968 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2969 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2970 macros.
2971 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2972 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2973 macros.
2974 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2975 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2976 macros.
2977 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2978 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2979 cleanup macros.
2980 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2981 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2982 cleanup macros.
2983 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2984 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2985 macros.
2986 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2987 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2988 cleanup macros.
2989 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2990 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2991 macros.
2992 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2993 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2994 macros.
2995 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2996 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2997 cleanup macros.
2998 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2999
85118d4d
EBM
30002013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3001
3002 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3003 to _sifields.sigfault.
3004 (si_addr_lsb): Define new macro.
3005 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3007 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3008
7a44c18f
CD
30092013-05-03 Carlos O'Donell <carlos at redhat.com>
3010
3011 [BZ #15441]
3012 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3013 returns -1.
3014 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3015 null return -1.
3016 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3017 loading the domain.
3018
b50a7181
JM
30192013-05-22 Joseph Myers <joseph@codesourcery.com>
3020
3021 * math/gen-libm-test.pl (parse_args): Do not include expected
3022 result in test name.
3023 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3025 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3027 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3029
051063c8
SP
30302013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3031
3ce9e010
SP
3032 * benchtests/Makefile: Sort function entries.
3033
051063c8
SP
3034 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3035 tanh, asinh, acosh, atanh.
3036 * benchtests/acos-inputs: New file.
3037 * benchtests/acosh-inputs: New file.
3038 * benchtests/asin-inputs: New file.
3039 * benchtests/asinh-inputs: New file.
3040 * benchtests/atanh-inputs: New file.
3041 * benchtests/cosh-inputs: New file.
3042 * benchtests/log-inputs: New file.
3043 * benchtests/sinh-inputs: New file.
3044 * benchtests/tanh-inputs: New file.
3045
47c22455
DL
30462013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3047
3048 [BZ #15339]
3049 * posix/tst-getaddrinfo4.c: New test.
3050 * posix/Makefile (tests): Add it.
3051
3d04f5db
SP
30522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3053
3054 [BZ #15339]
3055 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3056 when no services were used.
3057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3058 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3059
d5dd6189
AS
30602013-05-21 Andreas Schwab <schwab@suse.de>
3061
3062 [BZ #15014]
3063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3064 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3065 successful.
3066 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3067 redundant variable declarations and reallocation of buffer when
3068 parsing as IPv6 address. Always set NSS status when called from
3069 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3070 buffer too small. Correct computation of needed size.
3071 * nss/Makefile (tests): Add test-digits-dots.
3072 * nss/test-digits-dots.c: New test.
3073
fef94eab
SP
30742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3075
3076 * benchtests/Makefile: Remove instructions for adding
3077 benchmark tests.
3078 * benchtests/README: New file to explain how to execute and
3079 enhance the benchmark tests.
3080
e39adf43
AS
30812013-05-21 Andreas Schwab <schwab@suse.de>
3082
3083 [BZ #15493]
3084 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3085 * setjmp/tst-sigsetjmp.c: New test.
3086
b2b671b6
OB
30872013-05-20 Ondřej Bílka <neleai@seznam.cz>
3088
3089 * sysdeps/x86_64/memset.S (memset): New implementation.
3090 (__bzero): Likewise.
3091 (__memset_tail): New function.
3092
2d48b41c
OB
30932013-05-20 Ondřej Bílka <neleai@seznam.cz>
3094
3095 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3096 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3097 __memcpy_sse2_unaligned ifunc selection.
3098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3099 Add memcpy-sse2-unaligned.S.
3100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3101 Add: __memcpy_sse2_unaligned.
3102
f16cc3eb
JM
31032013-05-19 Joseph Myers <joseph@codesourcery.com>
3104
3e694268
JM
3105 [BZ #15490]
3106 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3107 math_force_eval before restoring floating-point envrionment.
3108 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3110 Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3112 <math_private.h>.
3113 (__nearbyintl): Use math_force_eval before restoring
3114 floating-point environment.
3115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3116
db62a907
JM
3117 * math/gen-libm-test.pl (special_functions): Remove.
3118 (parse_args): Don't handle TEST_extra. Handle functions with no
3119 return value.
3120 * math/libm-test.inc (struct test_sincos_data): Replace with
3121 struct test_fFF_11_data.
3122 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3123 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3124 (sincos_test_data): Change element type to struct
3125 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3126 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3127 RUN_TEST_LOOP_sincos.
3128 * math/README.libm-test: Don't mention special handling of
3129 individual functions.
3130 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3131 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3132 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3133 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3134 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3136
f16cc3eb
JM
3137 * math/gen-libm-test.pl (get_variable): Remove function.
3138 (parse_args): Don't show pointer parameters to call in test
3139 names. Use "extra output N" in test names for extra outputs
3140 rather than naming variables.
3141
3779b5b6
JM
31422013-05-18 Joseph Myers <joseph@codesourcery.com>
3143
2ee094ff
JM
3144 [BZ #15488]
3145 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3146 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3147 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3148 double tests.
3149 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3150 disable.
3151 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3152 check_long_double.
3153
3779b5b6
JM
3154 * math/gen-libm-test.pl (@tests): Remove variable.
3155 ($count): Likewise.
3156 (new_test): Remove function.
3157 (show_exceptions): New function.
3158 (special_functions): Use show_exceptions instead of new_test.
3159 (parse_args): Likewise.
3160 (generate_testfile): Pass only function name in generated call to
3161 print_max_error or print_complex_max_error.
3162 (get_ulps): Do not handle complex tests specially.
3163 (output_test): Rename to ...
3164 (get_all_ulps_for_test): ... this. Return a string rather than
3165 printing to a file. Require ulps to be present.
3166 (output_ulps): Generate arrays rather than #defines.
3167 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3168 (struct ulp_data): New type.
3169 (BUILD_COMPLEX_ULP): Remove macro.
3170 (compare_ulp_data): New function.
3171 (find_ulps): Likewise.
3172 (find_test_ulps): Likewise.
3173 (find_function_ulps): Likewise.
3174 (find_complex_function_ulps): Likewise.
3175 (print_max_error): Determine allowed ulps using
3176 find_function_ulps.
3177 (print_complex_max_error): Determine allowed ulps using
3178 find_complex_function_ulps.
3179 (check_float_internal): Determine max ulps using find_test_ulps.
3180 (check_float): Do not take max_ulp parameter. Update call to
3181 check_float_internal.
3182 (check_complex): Likewise.
3183 (check_int): Do not take max_ulp parameter.
3184 (check_long): Likewise.
3185 (check_bool): Likewise.
3186 (check_longlong): Likewise.
3187 (struct test_f_f_data): Remove max_ulp field.
3188 (struct test_ff_f_data): Likewise.
3189 (struct test_ff_f_data_nexttoward): Likewise.
3190 (struct test_fi_f_data): Likewise.
3191 (struct test_fl_f_data): Likewise.
3192 (struct test_if_f_data): Likewise.
3193 (struct test_fff_f_data): Likewise.
3194 (struct test_c_f_data): Likewise.
3195 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3196 (struct test_fF_f1_data): Likewise.
3197 (struct test_ffI_f1_data): Likewise.
3198 (struct test_c_c_data): Remove max_ulp field.
3199 (struct test_cc_c_data): Likewise.
3200 (struct test_f_i_data): Likewise.
3201 (struct test_ff_i_data): Likewise.
3202 (struct test_f_l_data): Likewise.
3203 (struct test_f_L_data): Likewise.
3204 (struct test_sincos_data): Likewise.
3205 (RUN_TEST_f_f): Do not handle ulps.
3206 (RUN_TEST_LOOP_f_f): Likewise.
3207 (RUN_TEST_2_f): Likewise.
3208 (RUN_TEST_LOOP_2_f): Likewise.
3209 (RUN_TEST_fff_f): Likewise.
3210 (RUN_TEST_LOOP_fff_f): Likewise.
3211 (RUN_TEST_c_f): Likewise.
3212 (RUN_TEST_LOOP_c_f): Likewise.
3213 (RUN_TEST_f_f1): Likewise.
3214 (RUN_TEST_LOOP_f_f1): Likewise.
3215 (RUN_TEST_fF_f1): Likewise.
3216 (RUN_TEST_LOOP_fF_f1): Likewise.
3217 (RUN_TEST_fI_f1): Likewise.
3218 (RUN_TEST_LOOP_fI_f1): Likewise.
3219 (RUN_TEST_ffI_f1): Likewise.
3220 (RUN_TEST_LOOP_ffI_f1): Likewise.
3221 (RUN_TEST_c_c): Likewise.
3222 (RUN_TEST_LOOP_c_c): Likewise.
3223 (RUN_TEST_cc_c): Likewise.
3224 (RUN_TEST_LOOP_cc_c): Likewise.
3225 (RUN_TEST_f_i): Likewise.
3226 (RUN_TEST_LOOP_f_i): Likewise.
3227 (RUN_TEST_f_i_tg): Likewise.
3228 (RUN_TEST_LOOP_f_i_tg): Likewise.
3229 (RUN_TEST_ff_i_tg): Likewise.
3230 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3231 (RUN_TEST_f_b): Likewise.
3232 (RUN_TEST_LOOP_f_b): Likewise.
3233 (RUN_TEST_f_b_tg): Likewise.
3234 (RUN_TEST_LOOP_f_b_tg): Likewise.
3235 (RUN_TEST_f_l): Likewise.
3236 (RUN_TEST_LOOP_f_l): Likewise.
3237 (RUN_TEST_f_L): Likewise.
3238 (RUN_TEST_LOOP_f_L): Likewise.
3239 (RUN_TEST_sincos): Likewise.
3240 (RUN_TEST_LOOP_sincos): Likewise.
3241
8269107f
JM
32422013-05-17 Joseph Myers <joseph@codesourcery.com>
3243
bb38759d
JM
3244 [BZ #15480]
3245 [BZ #15485]
3246 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3247 main case of finite arguments, set rounding mode to FE_TONEAREST
3248 and discard exceptions.
3249 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3250 exceptions.
3251 (remainder_tonearest_test_data): New variable.
3252 (remainder_test_tonearest): New function.
3253 (remainder_towardzero_test_data): New variable.
3254 (remainder_test_towardzero): New function.
3255 (remainder_downward_test_data): New variable.
3256 (remainder_test_downward): New function.
3257 (remainder_upward_test_data): New variable.
3258 (remainder_test_upward): New function.
3259 (main): Call the new test functions.
3260
a00bdcf0
JM
3261 * math/libm-test.inc (struct test_f_f1_data): Remove field
3262 extra_init.
3263 (struct test_fF_f1_data): Likewise.
3264 (struct test_ffI_f1_data): Likewise.
3265 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3266 based on value of EXTRA_EXPECTED.
3267 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3268 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3269 EXTRA_VAR based on value of EXTRA_EXPECTED.
3270 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3271 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3272 EXTRA_VAR based on value of EXTRA_EXPECTED.
3273 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3274 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3275 EXTRA_VAR based on value of EXTRA_EXPECTED.
3276 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3277 * math/gen-libm-test.pl (parse_args): Don't output initializers
3278 for extra output values.
3279
de407f79
JM
3280 * math/libm-test.inc (check_int): Expect result to be exactly
3281 equal to expected value and do not handle ulps.
3282 (check_long): Likewise.
3283 (check_longlong): Likewise.
3284
8269107f
JM
3285 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3286 exceptions.
3287 (cimag_test_data): Likewise.
3288 (conj_test_data): Likewise.
3289 (copysign_test_data): Likewise.
3290 (cproj_test_data): Likewise.
3291 (creal_test_data): Likewise.
3292 (fabs_test_data): Likewise.
3293 (fdim_test_data): Likewise.
3294 (finite_test_data): Likewise.
3295 (floor_test_data): Likewise.
3296 (fmax_test_data): Likewise.
3297 (fmin_test_data): Likewise.
3298 (fmod_test_data): Likewise.
3299 (fpclassify_test_data): Likewise.
3300 (frexp_test_data): Likewise.
3301 (ilogb_test_data): Likewise.
3302 (isfinite_test_data): Likewise.
3303 (isgreater_test_data): Likewise.
3304 (isgreaterequal_test_data): Likewise.
3305 (isinf_test_data): Likewise.
3306 (isless_test_data): Likewise.
3307 (islessequal_test_data): Likewise.
3308 (islessgreater_test_data): Likewise.
3309 (isnan_test_data): Likewise.
3310 (isnormal_test_data): Likewise.
3311 (issignaling_test_data): Likewise.
3312 (isunordered_test_data): Likewise.
3313 (ldexp_test_data): Likewise.
3314 (lrint_test_data): Likewise.
3315 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3316 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3317 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3318 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3319 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3320 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3321 test input.
3322 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3323 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3324 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3325 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3326 that test input.
3327 (lrint_downward_test_data): Test for "inexact" exceptions.
3328 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3329 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3330 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3331 test input.
3332 (lrint_upward_test_data): Test for "inexact" exceptions.
3333 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3334 test input.
3335 (llrint_test_data): Test for "inexact" exceptions.
3336 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3337 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3338 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3339 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3340 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3341 (llrint_downward_test_data): Test for "inexact" exceptions.
3342 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3343 (llrint_upward_test_data): Test for "inexact" exceptions.
3344 (logb_test_data): Likewise.
3345 (logb_downward_test_data): Likewise.
3346 (nextafter_test_data): Likewise.
3347 (nexttoward_test_data): Likewise.
3348 (remainder_test_data): Likewise.
3349 (remquo_test_data): Likewise.
3350 (scalbn_test_data): Likewise.
3351 (scalbln_test_data): Likewise.
3352 (signbit_test_data): Likewise.
3353 (sqrt_test_data): Likewise.
3354 (significand_test_data): Likewise.
3355
48a18de1
SP
33562013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3357
3358 [BZ #15424]
3359 * benchtests/bench-modf.c (struct args): Mark arg0 as
3360 volatile.
3361 * scripts/bench.pl: Mark members of struct args as volatile.
3362
13d3b41a
AZ
33632013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3364
68191c1d 3365 [BZ # 15497]
13d3b41a
AZ
3366 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3367 negative infinity on POWER6 or lower.
3368 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3369
2848b105
MR
33702013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3371
3372 [BZ #15442]
3373 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3374 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3375 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3376 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3377 (_FP_SETQNAN): New macro.
3378 (_FP_SETQNAN_SEMIRAW): Likewise.
3379 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3380 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3381 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3382 (FP_EXTEND): Use _FP_FRAC_SNANP.
3383 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3384 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3385 into account.
3386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3387 New macro.
3388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3389 Likewise.
3390
323e5cb7
JM
33912013-05-16 Joseph Myers <joseph@codesourcery.com>
3392
c58b274f
JM
3393 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3394 with DIVIDE_BY_ZERO_EXCEPTION.
3395 (gamma_test_data): Likewise.
3396 (lgamma_test_data): Likewise.
3397 (log_test_data): Likewise.
3398 (log10_test_data): Likewise.
3399 (log2_test_data): Likewise.
3400 (tgamma_test_data): Likewise.
3401
0ab34904
JM
3402 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3403 (acos_test_tonearest): Likewise.
3404 (acos_test_towardzero): Likewise.
3405 (acos_test_downward): Likewise.
3406 (acos_test_upward): Likewise.
3407 (acosh_test): Likewise.
3408 (asin_test): Likewise.
3409 (asin_test_tonearest): Likewise.
3410 (asin_test_towardzero): Likewise.
3411 (asin_test_downward): Likewise.
3412 (asin_test_upward): Likewise.
3413 (asinh_test): Likewise.
3414 (atan_test): Likewise.
3415 (atanh_test): Likewise.
3416 (atan2_test): Likewise.
3417 (cabs_test): Likewise.
3418 (cacos_test): Likewise.
3419 (cacosh_test): Likewise.
3420 (casin_test): Likewise.
3421 (casinh_test): Likewise.
3422 (catan_test): Likewise.
3423 (catanh_test): Likewise.
3424 (cbrt_test): Likewise.
3425 (ccos_test): Likewise.
3426 (ccosh_test): Likewise.
3427 (cexp_test): Likewise.
3428 (clog_test): Likewise.
3429 (clog10_test): Likewise.
3430 (cos_test): Likewise.
3431 (cos_test_tonearest): Likewise.
3432 (cos_test_towardzero): Likewise.
3433 (cos_test_downward): Likewise.
3434 (cos_test_upward): Likewise.
3435 (cosh_test): Likewise.
3436 (cosh_test_tonearest): Likewise.
3437 (cosh_test_towardzero): Likewise.
3438 (cosh_test_downward): Likewise.
3439 (cosh_test_upward): Likewise.
3440 (cpow_test): Likewise.
3441 (csin_test): Likewise.
3442 (csinh_test): Likewise.
3443 (csqrt_test): Likewise.
3444 (ctan_test): Likewise.
3445 (ctan_test_tonearest): Likewise.
3446 (ctan_test_towardzero): Likewise.
3447 (ctan_test_downward): Likewise.
3448 (ctan_test_upward): Likewise.
3449 (ctanh_test): Likewise.
3450 (ctanh_test_tonearest): Likewise.
3451 (ctanh_test_towardzero): Likewise.
3452 (ctanh_test_downward): Likewise.
3453 (ctanh_test_upward): Likewise.
3454 (erf_test): Likewise.
3455 (erfc_test): Likewise.
3456 (exp_test): Likewise.
3457 (exp_test_tonearest): Likewise.
3458 (exp_test_towardzero): Likewise.
3459 (exp_test_downward): Likewise.
3460 (exp_test_upward): Likewise.
3461 (exp10_test): Likewise.
3462 (exp2_test): Likewise.
3463 (expm1_test): Likewise.
3464 (fmod_test): Likewise.
3465 (gamma_test): Likewise.
3466 (hypot_test): Likewise.
3467 (j0_test): Likewise.
3468 (j1_test): Likewise.
3469 (jn_test): Likewise.
3470 (lgamma_test): Likewise.
3471 (log_test): Likewise.
3472 (log10_test): Likewise.
3473 (log1p_test): Likewise.
3474 (log2_test): Likewise.
3475 (logb_test_downward): Likewise.
3476 (pow_test): Likewise.
3477 (pow_test_tonearest): Likewise.
3478 (pow_test_towardzero): Likewise.
3479 (pow_test_downward): Likewise.
3480 (pow_test_upward): Likewise.
3481 (remainder_test): Likewise.
3482 (remquo_test): Likewise.
3483 (sin_test): Likewise.
3484 (sin_test_tonearest): Likewise.
3485 (sin_test_towardzero): Likewise.
3486 (sin_test_downward): Likewise.
3487 (sin_test_upward): Likewise.
3488 (sincos_test): Likewise.
3489 (sinh_test): Likewise.
3490 (sinh_test_tonearest): Likewise.
3491 (sinh_test_towardzero): Likewise.
3492 (sinh_test_downward): Likewise.
3493 (sinh_test_upward): Likewise.
3494 (sqrt_test): Likewise.
3495 (tan_test): Likewise.
3496 (tan_test_tonearest): Likewise.
3497 (tan_test_towardzero): Likewise.
3498 (tan_test_downward): Likewise.
3499 (tan_test_upward): Likewise.
3500 (tanh_test): Likewise.
3501 (tgamma_test): Likewise.
3502 (y0_test): Likewise.
3503 (y1_test): Likewise.
3504 (yn_test): Likewise.
3505
323e5cb7
JM
3506 * math/gen-libm-test.pl (adjust_arg): Remove function.
3507 (special_function): Remove argument $in_func. Only handle
3508 generating output for tables of tests, not inside functions.
3509 (parse_args): Likewise.
3510 (generate_testfile): Remove variable $in_func. Update call to
3511 parse_args.
3512 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3513 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3514 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3515 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3516 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3517 (MAX_VALUE_INIT): Rename macro to max_value.
3518 (MIN_VALUE_INIT): Rename macro to min_value.
3519 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3520 (plus_zero): Remove variable.
3521 (minus_zero): Likewise.
3522 (plus_infty): Likewise.
3523 (minus_infty): Likewise.
3524 (qnan_value): Likewise.
3525 (max_value): Likewise.
3526 (min_value): Likewise.
3527 (min_subnorm_value): Likewise.
3528
e054f494
RA
35292013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3530
3531 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3532 uint64_t or uint32_t usage.
3533 * crypt/sha256-block.c: Likewise.
3534 * crypt/sha256-crypt.c: Likewise.
3535 * crypt/sha256.c: Likewise.
3536 * crypt/sha512-block.c: Likewise.
3537 * crypt/sha512-crypt.c: Likewise.
3538 * crypt/sha512.c: Likewise.
3539 * debug/backtrace-tst.c: Likewise.
3540 * debug/pcprofiledump.c: Likewise.
3541 * elf/cache.c: Likewise.
3542 * elf/dl-cache.c: Likewise.
3543 * elf/dl-misc.c: Likewise.
3544 * elf/dl-profile.c: Likewise.
3545 * elf/dl-support.c: Likewise.
3546 * elf/ldconfig.c: Likewise.
3547 * elf/sprof.c: Likewise.
3548 * iconv/dummy-repertoire.c: Likewise.
3549 * iconv/iconv_charmap.c: Likewise.
3550 * iconv/skeleton.c: Likewise.
3551 * iconvdata/8bit-generic.c: Likewise.
3552 * iconvdata/cp737.h: Likewise.
3553 * iconvdata/cp775.h: Likewise.
3554 * iconvdata/ibm1008.h: Likewise.
3555 * iconvdata/ibm1025.h: Likewise.
3556 * iconvdata/ibm1046.h: Likewise.
3557 * iconvdata/ibm1097.h: Likewise.
3558 * iconvdata/ibm1112.h: Likewise.
3559 * iconvdata/ibm1122.h: Likewise.
3560 * iconvdata/ibm1123.h: Likewise.
3561 * iconvdata/ibm1124.h: Likewise.
3562 * iconvdata/ibm1129.h: Likewise.
3563 * iconvdata/ibm1130.h: Likewise.
3564 * iconvdata/ibm1132.h: Likewise.
3565 * iconvdata/ibm1133.h: Likewise.
3566 * iconvdata/ibm1137.h: Likewise.
3567 * iconvdata/ibm1140.h: Likewise.
3568 * iconvdata/ibm1141.h: Likewise.
3569 * iconvdata/ibm1142.h: Likewise.
3570 * iconvdata/ibm1143.h: Likewise.
3571 * iconvdata/ibm1144.h: Likewise.
3572 * iconvdata/ibm1145.h: Likewise.
3573 * iconvdata/ibm1146.h: Likewise.
3574 * iconvdata/ibm1147.h: Likewise.
3575 * iconvdata/ibm1148.h: Likewise.
3576 * iconvdata/ibm1149.h: Likewise.
3577 * iconvdata/ibm1153.h: Likewise.
3578 * iconvdata/ibm1154.h: Likewise.
3579 * iconvdata/ibm1155.h: Likewise.
3580 * iconvdata/ibm1156.h: Likewise.
3581 * iconvdata/ibm1157.h: Likewise.
3582 * iconvdata/ibm1158.h: Likewise.
3583 * iconvdata/ibm1160.h: Likewise.
3584 * iconvdata/ibm1161.h: Likewise.
3585 * iconvdata/ibm1162.h: Likewise.
3586 * iconvdata/ibm1163.h: Likewise.
3587 * iconvdata/ibm1164.h: Likewise.
3588 * iconvdata/ibm1166.h: Likewise.
3589 * iconvdata/ibm1167.h: Likewise.
3590 * iconvdata/ibm12712.h: Likewise.
3591 * iconvdata/ibm1390.h: Likewise.
3592 * iconvdata/ibm1399.h: Likewise.
3593 * iconvdata/ibm16804.h: Likewise.
3594 * iconvdata/ibm4517.h: Likewise.
3595 * iconvdata/ibm4899.h: Likewise.
3596 * iconvdata/ibm4909.h: Likewise.
3597 * iconvdata/ibm4971.h: Likewise.
3598 * iconvdata/ibm5347.h: Likewise.
3599 * iconvdata/ibm803.h: Likewise.
3600 * iconvdata/ibm856.h: Likewise.
3601 * iconvdata/ibm901.h: Likewise.
3602 * iconvdata/ibm902.h: Likewise.
3603 * iconvdata/ibm9030.h: Likewise.
3604 * iconvdata/ibm9066.h: Likewise.
3605 * iconvdata/ibm921.h: Likewise.
3606 * iconvdata/ibm922.h: Likewise.
3607 * iconvdata/ibm9448.h: Likewise.
3608 * iconvdata/isiri-3342.h: Likewise.
3609 * iconvdata/jis0201.h: Likewise.
3610 * include/link.h: Likewise.
3611 * include/netdb.h: Likewise.
3612 * inet/check_native.c: Likewise.
3613 * inet/check_pf.c: Likewise.
3614 * inet/getipv4sourcefilter.c: Likewise.
3615 * inet/getnameinfo.c: Likewise.
3616 * inet/getsourcefilter.c: Likewise.
3617 * inet/htonl.c: Likewise.
3618 * inet/setipv4sourcefilter.c: Likewise.
3619 * inet/setsourcefilter.c: Likewise.
3620 * inet/test-inet6_opt.c: Likewise.
3621 * inet/tst-network.c: Likewise.
3622 * locale/C-collate.c: Likewise.
3623 * locale/C-ctype.c: Likewise.
3624 * locale/C-time.c: Likewise.
3625 * locale/C-translit.h: Likewise.
3626 * locale/loadarchive.c: Likewise.
3627 * locale/programs/3level.h: Likewise.
3628 * locale/programs/charmap.c: Likewise.
3629 * locale/programs/charmap.h: Likewise.
3630 * locale/programs/ld-address.c: Likewise.
3631 * locale/programs/ld-collate.c: Likewise.
3632 * locale/programs/ld-ctype.c: Likewise.
3633 * locale/programs/ld-identification.c: Likewise.
3634 * locale/programs/ld-measurement.c: Likewise.
3635 * locale/programs/ld-messages.c: Likewise.
3636 * locale/programs/ld-monetary.c: Likewise.
3637 * locale/programs/ld-name.c: Likewise.
3638 * locale/programs/ld-numeric.c: Likewise.
3639 * locale/programs/ld-paper.c: Likewise.
3640 * locale/programs/ld-telephone.c: Likewise.
3641 * locale/programs/ld-time.c: Likewise.
3642 * locale/programs/linereader.c: Likewise.
3643 * locale/programs/locale.c: Likewise.
3644 * locale/programs/locarchive.c: Likewise.
3645 * locale/programs/locfile.h: Likewise.
3646 * locale/programs/repertoire.c: Likewise.
3647 * locale/programs/simple-hash.c: Likewise.
3648 * locale/programs/simple-hash.h: Likewise.
3649 * malloc/memusage.c: Likewise.
3650 * malloc/memusagestat.c: Likewise.
3651 * nis/nis_defaults.c: Likewise.
3652 * nis/nis_hash.c: Likewise.
3653 * nis/nis_print.c: Likewise.
3654 * nis/nis_xdr.c: Likewise.
3655 * nscd/connections.c: Likewise.
3656 * nscd/hstcache.c: Likewise.
3657 * nscd/nscd_gethst_r.c: Likewise.
3658 * nscd/nscd_getserv_r.c: Likewise.
3659 * nscd/nscd_helper.c: Likewise.
3660 * nscd/servicescache.c: Likewise.
3661 * nss/makedb.c: Likewise.
3662 * nss/nss_db/db-XXX.c: Likewise.
3663 * nss/nss_db/db-initgroups.c: Likewise.
3664 * nss/nss_db/db-netgrp.c: Likewise.
3665 * nss/nss_files/files-network.c: Likewise.
3666 * nss/nss_files/files-parse.c: Likewise.
3667 * posix/bug-regex5.c: Likewise.
3668 * posix/fnmatch_loop.c: Likewise.
3669 * posix/regcomp.c: Likewise.
3670 * posix/regexec.c: Likewise.
3671 * posix/tst-rfc3484-2.c: Likewise.
3672 * posix/tst-rfc3484-3.c: Likewise.
3673 * posix/tst-rfc3484.c: Likewise.
3674 * resolv/nss_dns/dns-canon.c: Likewise.
3675 * resolv/nss_dns/dns-network.c: Likewise.
3676 * resolv/res_init.c: Likewise.
3677 * resolv/res_mkquery.c: Likewise.
3678 * resolv/tst-aton.c: Likewise.
3679 * stdlib/cxa_atexit.c: Likewise.
3680 * stdlib/cxa_finalize.c: Likewise.
3681 * stdlib/gen-fpioconst.c: Likewise.
3682 * stdlib/strtol_l.c: Likewise.
3683 * string/tst-endian.c: Likewise.
3684 * sunrpc/auth_des.c: Likewise.
3685 * sunrpc/clnt_udp.c: Likewise.
3686 * sunrpc/rtime.c: Likewise.
3687 * sunrpc/svcauth_des.c: Likewise.
3688 * sunrpc/xdr.c: Likewise.
3689 * sunrpc/xdr_intXX_t.c: Likewise.
3690 * sunrpc/xdr_rec.c: Likewise.
3691 * sysdeps/generic/ldconfig.h: Likewise.
3692 * sysdeps/generic/ldsodefs.h: Likewise.
3693 * sysdeps/generic/memusage.h: Likewise.
3694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3704 * sysdeps/posix/getaddrinfo.c: Likewise.
3705 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3706 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3707 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3708 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3709 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3710 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3711 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3712 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3713 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3714 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3715 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3716 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3717 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3718 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3720 * sysdeps/x86_64/dl-tls.h: Likewise.
3721 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3722 * time/alt_digit.c: Likewise.
3723 * time/era.c: Likewise.
3724 * wcsmbs/tst-c16c32-1.c: Likewise.
3725
8c75f674
JM
37262013-05-16 Joseph Myers <joseph@codesourcery.com>
3727
3728 * math/libm-test.inc (struct test_sincos_data): New type.
3729 (RUN_TEST_LOOP_sincos): New macro.
3730 (sincos_test_data): New variable.
3731 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3732
e6e49e59
RH
37332013-05-16 Richard Henderson <rth@redhat.com>
3734
3735 * math/atest-exp2.c (LIMB64): New macro.
3736 (CONSTSZ): New macro.
3737 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3738 (hexdig): Move ...
3739 (print_mpn_fp): ... to function scope.
3740 (read_mpn_hex): Remove.
3741 (get_log2): Remove.
3742 (exp2_mpn): Use mp_log2.
3743 (main): Use mp_exp1.
3744
15c7c18d
JM
37452013-05-16 Joseph Myers <joseph@codesourcery.com>
3746
105a07df
JM
3747 * math/libm-test.inc: Remove comment about not testing "inexact"
3748 exceptions.
3749 (INEXACT_EXCEPTION): New macro.
3750 (NO_INEXACT_EXCEPTION): Likewise.
3751 (INVALID_EXCEPTION_OK): Update value.
3752 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3753 (OVERFLOW_EXCEPTION_OK): Likewise.
3754 (UNDERFLOW_EXCEPTION_OK): Likewise.
3755 (IGNORE_ZERO_INF_SIGN): Likewise.
3756 (ERRNO_UNCHANGED): Likewise.
3757 (ERRNO_EDOM): Likewise.
3758 (ERRNO_ERANGE): Likewise.
3759 (test_exceptions): Handle testing "inexact" exceptions.
3760 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3761 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3762 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3763 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3764 INEXACT_EXCEPTION.
3765 (rint_towardzero_test_data): Likewise.
3766 (rint_downward_test_data): Likewise.
3767 (rint_upward_test_data): Likewise.
3768
e9eee333
JM
3769 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3770 with OVERFLOW_EXCEPTION.
3771 (exp10_test_data): Likewise.
3772 (exp2_test_data): Likewise.
3773 (expm1_test_data): Likewise.
3774 (lgamma_test_data): Likewise.
3775 (pow_test_data): Likewise.
3776 (tgamma_test_data): Likewise.
3777 (yn_test_data): Remove duplicate test of overflow.
3778
1c38ff73
JM
3779 * math/libm-test.inc (struct test_cc_c_data): New type.
3780 (RUN_TEST_LOOP_cc_c): New macro.
3781 (cpow_test_data): New variable.
3782 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3783
15c7c18d
JM
3784 * math/libm-test.inc (struct test_f_L_data): New type.
3785 (RUN_TEST_LOOP_f_L): New macro.
3786 (llrint_test_data): New variable.
3787 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3788 (llrint_tonearest_test_data): New variable.
3789 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3790 (llrint_towardzero_test_data): New variable.
3791 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3792 (llrint_downward_test_data): New variable.
3793 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3794 (llrint_upward_test_data): New variable.
3795 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3796 (llround_test_data): New variable.
3797 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3798
f137ff13
PC
37992013-05-13 Peter Collingbourne <pcc@google.com>
3800
3801 * math/atest-exp2.c (get_log2): Remove const attribute.
3802
3608cb24
JM
38032013-05-15 Joseph Myers <joseph@codesourcery.com>
3804
3805 * math/libm-test.inc (struct test_f_l_data): New type.
3806 (RUN_TEST_LOOP_f_l): New macro.
3807 (lrint_test_data): New variable.
3808 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3809 (lrint_tonearest_test_data): New variable.
3810 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3811 (lrint_towardzero_test_data): New variable.
3812 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3813 (lrint_downward_test_data): New variable.
3814 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3815 (lrint_upward_test_data): New variable.
3816 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3817 (lround_test_data): New variable.
3818 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3819
39b1f617
PC
38202013-05-15 Peter Collingbourne <pcc@google.com>
3821
1deff3dc
PC
3822 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3823 (EXTRACT_WORDS64) Use where appropriate.
3824 (INSERT_WORDS64) Likewise.
3825
791f3ba0
PC
3826 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3827 constraints with x constraints.
3828 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3829
39b1f617
PC
3830 * malloc/obstack.c (_obstack_compat): Add initializer.
3831
12fba011
EM
38322013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3833
3834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3835 si_trapno and add si_addr_lsb to _sifields.sigfault.
3836 (si_trapno): Remove macro.
3837 (si_addr_lsb): Define new macro.
3838 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3839
d369f531
JM
38402013-05-15 Joseph Myers <joseph@codesourcery.com>
3841
b861c6c4
JM
3842 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3843 instead of TEST_f_l.
3844 (llrint_test_tonearest): Likewise.
3845 (llrint_test_towardzero): Likewise.
3846 (llrint_test_downward): Likewise.
3847 (llrint_test_upward): Likewise.
3848 (llround_test): Likewise.
3849
7abeee12
JM
3850 * math/libm-test.inc (struct test_f_i_data): Add comment.
3851 (RUN_TEST_LOOP_f_b): New macro.
3852 (RUN_TEST_LOOP_f_b_tg): Likewise.
3853 (finite_test_data): New variable.
3854 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3855 (isfinite_test_data): New variable.
3856 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3857 (isinf_test_data): New variable.
3858 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3859 (isnan_test_data): New variable.
3860 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3861 (isnormal_test_data): New variable.
3862 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3863 (issignaling_test_data): New variable.
3864 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3865 (signbit_test_data): New variable.
3866 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3867
cbe8c4d3
JM
3868 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3869 with INVALID_EXCEPTION.
3870 (acosh_test_data): Likewise.
3871 (asin_test_data): Likewise.
3872 (atanh_test_data): Likewise.
3873 (fmod_test_data): Likewise.
3874 (log_test_data): Likewise.
3875 (log10_test_data): Likewise.
3876 (log2_test_data): Likewise.
3877 (pow_test_data): Likewise.
3878 (sqrt_test_data): Likewise.
3879 (y0_test_data): Likewise.
3880 (y1_test_data): Likewise.
3881 (yn_test_data): Likewise.
3882
5575c0e5
JM
3883 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3884 function contents.
3885
d369f531
JM
3886 * math/libm-test.inc (struct test_ff_i_data): New type.
3887 (RUN_TEST_LOOP_ff_i_tg): New macro.
3888 (isgreater_test_data): New variable.
3889 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3890 (isgreaterequal_test_data): New variable.
3891 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3892 (isless_test_data): New variable.
3893 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3894 (islessequal_test_data): New variable.
3895 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3896 (islessgreater_test_data): New variable.
3897 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3898 (isunordered_test_data): New variable.
3899 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3900
781fd748
DM
39012013-05-14 David S. Miller <davem@davemloft.net>
3902
3903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3904
87aa21df
JM
39052013-05-14 Joseph Myers <joseph@codesourcery.com>
3906
5e908270
JM
3907 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3908
f71172e5
JM
3909 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3910 extra_test to int.
3911 (struct test_f_i_data): Change type of max_ulp to int.
3912
8cfa635a
JM
3913 * math/libm-test.inc (test_ffI_f1_data): New type.
3914 (RUN_TEST_LOOP_ffI_f1): New macro.
3915 (remquo_test_data): New variable.
3916 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3917
2bcb36b2
JM
3918 * setjmp/tst-setjmp-fp.c: New file.
3919 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3920 (link-libm): New variable.
3921 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3922
acbd839a
JM
3923 * math/libm-test.inc (struct test_f_i_data): New type.
3924 (RUN_TEST_LOOP_f_i): New macro.
3925 (RUN_TEST_LOOP_f_i_tg): Likewise.
3926 (fpclassify_test_data): New variable.
3927 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3928 (ilogb_test_data): New variable.
3929 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3930
e414d745
JM
3931 * math/libm-test.inc (scalbln_test): Correct function name in END
3932 call.
3933
d9c2a0fd
JM
3934 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3935 (RUN_TEST_LOOP_fI_f1): New macro.
3936 (frexp_test_data): New variable.
3937 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3938
9dc9095d
JM
3939 * math/libm-test.inc (struct test_fF_f1_data): New type.
3940 (RUN_TEST_LOOP_fF_f1): New macro.
3941 (modf_test_data): New variable.
3942 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3943
87aa21df
JM
3944 * math/libm-test.inc (struct test_f_f1_data): New type.
3945 (RUN_TEST_LOOP_f_f1): New macro.
3946 (gamma_test_data): New variable.
3947 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3948 (lgamma_test_data): New variable.
3949 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3950
141af660
CD
39512013-05-13 Carlos O'Donell <carlos@redhat.com>
3952
3953 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3954 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3955 (main): Comment "tls" pseudo-hwcap.
3956
6d33265c
JM
39572013-05-13 Joseph Myers <joseph@codesourcery.com>
3958
68fc074c
JM
3959 * math/libm-test.inc (struct test_fl_f_data): New type.
3960 (RUN_TEST_LOOP_fl_f): New variable.
3961 (scalbln_test_data): New variable.
3962 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3963
243216e1
JM
3964 * math/libm-test.inc (struct test_fi_f_data): New type.
3965 (RUN_TEST_LOOP_fi_f): New macro.
3966 (ldexp_test_data): New variable.
3967 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3968 (scalbn_test_data): New variable.
3969 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3970
6a1992e2
JM
3971 * math/libm-test.inc (struct test_c_f_data): New type.
3972 (RUN_TEST_LOOP_c_f): New macro.
3973 (cabs_test_data): New variable.
3974 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3975 (carg_test_data): New variable.
3976 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3977 (cimag_test_data): New variable.
3978 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3979 (creal_test_data): New variable.
3980 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3981
0e400df5
JM
3982 * math/libm-test.inc (struct test_if_f_data): New type.
3983 (RUN_TEST_LOOP_if_f): New macro.
3984 (jn_test_data): New variable.
3985 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3986 (yn_test_data): New variable.
3987 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3988
6d33265c
JM
3989 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3990
f98ece5f
AZ
39912013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3992
3993 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3994 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3995
0f7d347b
SP
39962013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3997
43fe811b
SP
3998 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3999 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4000 (bench-deps): Add bench-timing.h.
4001 * benchtests-bench-skeleton.c: Include bench-timing.h.
4002 (main): Use TIMING_* macros instead of clock_gettime.
4003 * benchtests/bench-timing.h: New file.
4004
0f7d347b
SP
4005 [BZ #14582]
4006 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4007 Renamed from _LIB_VERSION.
4008 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4009
601a3a5f
JM
40102013-05-12 Joseph Myers <joseph@codesourcery.com>
4011
4f184d30
JM
4012 * math/libm-test.inc (struct test_fff_f_data): New type.
4013 (RUN_TEST_LOOP_fff_f): New macro.
4014 (fma_test_data): New variable.
4015 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4016 (fma_towardzero_test_data): New variable.
4017 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4018 (fma_downward_test_data): New variable.
4019 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4020 (fma_upward_test_data): New variable.
4021 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4022
08198877
JM
4023 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4024 (struct test_c_c_data): New type.
4025 (RUN_TEST_LOOP_c_c): New macro.
4026 (cacos_test_data): New variable.
4027 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4028 (cacosh_test_data): New variable.
4029 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4030 (casin_test_data): New variable.
4031 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4032 (casinh_test_data): New variable.
4033 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4034 (catan_test_data): New variable.
4035 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4036 (catanh_test_data): New variable.
4037 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4038 (ccos_test_data): New variable.
4039 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4040 (ccosh_test_data): New variable.
4041 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4042 (cexp_test_data): New variable.
4043 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4044 (clog_test_data): New variable.
4045 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4046 (clog10_test_data): New variable.
4047 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4048 (conj_test_data): New variable.
4049 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4050 (cproj_test_data): New variable.
4051 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4052 (csin_test_data): New variable.
4053 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4054 (csinh_test_data): New variable.
4055 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4056 (csqrt_test_data): New variable.
4057 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4058 (ctan_test_data): New variable.
4059 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4060 (ctan_tonearest_test_data): New variable.
4061 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4062 (ctan_towardzero_test_data): New variable.
4063 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4064 (ctan_downward_test_data): New variable.
4065 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4066 (ctan_upward_test_data): New variable.
4067 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4068 (ctanh_test_data): New variable.
4069 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4070 (ctanh_tonearest_test_data): New variable.
4071 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4072 (ctanh_towardzero_test_data): New variable.
4073 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4074 (ctanh_downward_test_data): New variable.
4075 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4076 (ctanh_upward_test_data): New variable.
4077 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4078 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4079 of BUILD_COMPLEX.
4080
601a3a5f
JM
4081 * math/libm-test.inc (struct test_ff_f_data): New type.
4082 (struct test_ff_f_data_nexttoward): Likewise.
4083 (RUN_TEST_LOOP_2_f): New macro.
4084 (RUN_TEST_LOOP_ff_f): Likewise.
4085 (atan2_test_data): New variable.
4086 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4087 (copysign_test_data): New variable.
4088 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4089 (fdim_test_data): New variable.
4090 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4091 (fmax_test_data): New variable.
4092 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4093 (fmin_test_data): New variable.
4094 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4095 (fmod_test_data): New variable.
4096 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4097 (hypot_test_data): New variable.
4098 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4099 (nextafter_test_data): New variable.
4100 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4101 (nexttoward_test_data): New variable.
4102 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4103 (pow_test_data): New variable.
4104 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4105 (pow_tonearest_test_data): New variable.
4106 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4107 (pow_towardzero_test_data): New variable.
4108 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4109 (pow_downward_test_data): New variable.
4110 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4111 (pow_upward_test_data): New variable.
4112 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4113 (remainder_test_data): New variable.
4114 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4115 (scalb_test_data): New variable.
4116 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4117 * sysdeps/i386/fpu/libm-test-ulps: Update.
4118
74c57478
JM
41192013-05-11 Joseph Myers <joseph@codesourcery.com>
4120
8329e4da
JM
4121 * math/libm-test.inc (fma_test): Use max_value instead of local
4122 variable fltmax.
4123 (nextafter_test): Likewise.
4124
74c57478
JM
4125 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4126 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4127 (acos_downward_test_data): New variable.
4128 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4129 (acos_upward_test_data): New variable.
4130 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4131 (acosh_test_data): New variable.
4132 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4133 (asin_test_data): New variable.
4134 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4135 (asin_tonearest_test_data): New variable.
4136 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4137 (asin_towardzero_test_data): New variable.
4138 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4139 (asin_downward_test_data): New variable.
4140 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4141 (asin_upward_test_data): New variable.
4142 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4143 (asinh_test_data): New variable.
4144 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4145 (atan_test_data): New variable.
4146 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4147 (atanh_test_data): New variable.
4148 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4149 (cbrt_test_data): New variable.
4150 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4151 (ceil_test_data): New variable.
4152 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4153 (cos_test_data): New variable.
4154 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4155 (cos_tonearest_test_data): New variable.
4156 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4157 (cos_towardzero_test_data): New variable.
4158 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4159 (cos_downward_test_data): New variable.
4160 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4161 (cos_upward_test_data): New variable.
4162 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4163 (cosh_test_data): New variable.
4164 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4165 (cosh_tonearest_test_data): New variable.
4166 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4167 (cosh_towardzero_test_data): New variable.
4168 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4169 (cosh_downward_test_data): New variable.
4170 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4171 (cosh_upward_test_data): New variable.
4172 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4173 (erf_test_data): New variable.
4174 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4175 (erfc_test_data): New variable.
4176 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4177 (exp_test_data): New variable.
4178 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4179 (exp_tonearest_test_data): New variable.
4180 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4181 (exp_towardzero_test_data): New variable.
4182 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4183 (exp_downward_test_data): New variable.
4184 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4185 (exp_upward_test_data): New variable.
4186 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4187 (exp10_test_data): New variable.
4188 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4189 (exp2_test_data): New variable.
4190 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4191 (expm1_test_data): New variable.
4192 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4193 (fabs_test_data): New variable.
4194 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4195 (floor_test_data): New variable.
4196 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4197 (j0_test_data): New variable.
4198 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4199 (j1_test_data): New variable.
4200 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4201 (log_test_data): New variable.
4202 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4203 (log10_test_data): New variable.
4204 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4205 (log1p_test_data): New variable.
4206 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4207 (log2_test_data): New variable.
4208 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4209 (logb_test_data): New variable.
4210 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4211 (logb_downward_test_data): New variable.
4212 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4213 (nearbyint_test_data): New variable.
4214 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4215 (rint_test_data): New variable.
4216 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4217 (rint_tonearest_test_data): New variable.
4218 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4219 (rint_towardzero_test_data): New variable.
4220 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4221 (rint_downward_test_data): New variable.
4222 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4223 (rint_upward_test_data): New variable.
4224 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4225 (round_test_data): New variable.
4226 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4227 (sin_test_data): New variable.
4228 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4229 (sin_tonearest_test_data): New variable.
4230 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4231 (sin_towardzero_test_data): New variable.
4232 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4233 (sin_downward_test_data): New variable.
4234 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4235 (sin_upward_test_data): New variable.
4236 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4237 (sinh_test_data): New variable.
4238 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4239 (sinh_tonearest_test_data): New variable.
4240 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4241 (sinh_towardzero_test_data): New variable.
4242 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4243 (sinh_downward_test_data): New variable.
4244 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4245 (sinh_upward_test_data): New variable.
4246 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4247 (sqrt_test_data): New variable.
4248 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4249 (tan_test_data): New variable.
4250 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4251 (tan_tonearest_test_data): New variable.
4252 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4253 (tan_towardzero_test_data): New variable.
4254 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4255 (tan_downward_test_data): New variable.
4256 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4257 (tan_upward_test_data): New variable.
4258 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4259 (tanh_test_data): New variable.
4260 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4261 (tgamma_test_data): New variable.
4262 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4263 (trunc_test_data): New variable.
4264 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4265 (y0_test_data): New variable.
4266 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4267 (y1_test_data): New variable.
4268 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4269 (significand_test_data): New variable.
4270 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4271
7187d844
CG
42722013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4273
4274 [BZ #12387]
4275 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4276
f63fae73
PT
42772013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4278
4279 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4280
8a67a4b3
AJ
42812013-05-10 Andreas Jaeger <aj@suse.de>
4282
4283 [BZ #15448]
4284 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4285 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4286
51df539d
JM
42872013-05-10 Joseph Myers <joseph@codesourcery.com>
4288
4289 * math/gen-libm-test.pl (adjust_arg): New function.
4290 (special_functions): Handle generating output in both functions
4291 and arrays.
4292 (parse_args): Likewise.
4293 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4294 $in_func argument to parse_args.
4295 * math/libm-test.inc (struct test_f_f_data): New type.
4296 (IF_ROUND_INIT_): New macro.
4297 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4298 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4299 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4300 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4301 (ROUND_RESTORE_): Likewise.
4302 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4303 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4304 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4305 (ROUND_RESTORE_FE_UPWARD): Likewise.
4306 (RUN_TEST_LOOP_f_f): New macro.
4307 (acos_test_data): New variable.
4308 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (acos_tonearest_test_data): New variable.
4310 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4311
5c637fe5
SP
43122013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
4314 * benchtests/bench-skeleton.c (startup): Fix coding style.
4315
ab2b9461
JM
43162013-05-10 Joseph Myers <joseph@codesourcery.com>
4317
4318 [BZ #6809]
4319 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4320 negative infinity argument.
4321 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4322 negative infinity argument.
4323 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4324 negative infinity argument.
4325 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4326 domain errors.
4327
4c0fe6fe
FW
43282013-05-10 Florian Weimer <fweimer@redhat.com>
4329
4330 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4331 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4332 * iconv/iconv_prog.c (main): Likewise.
4333 * locale/programs/charmap-dir.c (charmap_readdir)
4334 (fopen_uncompressed): Likewise.
4335 * locale/programs/locfile.c (siblings_uncached)
4336 (write_locale_data): Use lstat64 instead of lstat.
4337 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4338 stat.
4339
a3375d29
AJ
43402013-05-10 Andreas Jaeger <aj@suse.de>
4341
4342 [BZ #15395]
4343 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4344 localization.
4345 Include <locale.h>.
4346
36129722
CD
43472013-05-09 Carlos O'Donell <carlos@redhat.com>
4348
4349 * elf/dl-close.c (_dl_close_worker): Add comments.
4350
faa7f811
JM
43512013-05-09 Joseph Myers <joseph@codesourcery.com>
4352
ed41ffef
JM
4353 [BZ #15359]
4354 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4355 high part of pi/2.
4356 (__ieee754_rem_pio2l): Update comments.
4357
d0213cd0
JM
4358 [BZ #15429]
4359 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4360 high part of pi/2.
4361 (__ieee754_rem_pio2l): Update comments.
4362
0d3e777a
JM
4363 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4364 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4365
24f56066
JM
4366 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4367 M_PI_4l.
4368
faa7f811
JM
4369 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4370 (M_PI_34_LOG10El): Likewise.
4371 (M_PI2_LOG10El): Likewise.
4372 (M_PI4_LOG10El): Likewise.
4373 (M_PI_LOG10El): Likewise.
4374
e9a5e0fd
AZ
43752013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4376
4377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4378
d8cd06db
JM
43792013-05-08 Joseph Myers <joseph@codesourcery.com>
4380
a0d9f9d7
JM
4381 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4382 (MINUS_ZERO_INIT): Likewise.
4383 (PLUS_INFTY_INIT): Likewise.
4384 (MINUS_INFTY_INIT): Likewise.
4385 (QNAN_VALUE_INIT): Likewise.
4386 (MAX_VALUE_INIT): Likewise.
4387 (MIN_VALUE_INIT): Likewise.
4388 (MIN_SUBNORM_VALUE_INIT): Likewise.
4389 (plus_zero): Initialize with PLUS_ZERO_INIT.
4390 (minus_zero): Initialize with MINUS_ZERO_INIT.
4391 (plus_infty): Initialize with PLUS_INFTY_INIT.
4392 (minus_infty): Initialize with MINUS_INFTY_INIT.
4393 (qnan_value): Initialize with QNAN_VALUE_INIT.
4394 (max_value): Initialize with MAX_VALUE_INIT.
4395 (min_value): Initialize with MIN_VALUE_INIT.
4396 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4397
ae08db3b
JM
4398 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4399 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4400 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4401 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4402
f44bf14a
JM
4403 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4404 (RUN_TEST_2_f): Likewise.
4405 (RUN_TEST_ff_f): Likewise.
4406 (RUN_TEST_fi_f): Likewise.
4407 (RUN_TEST_fl_f): Likewise.
4408 (RUN_TEST_fff_f): Likewise.
4409 (RUN_TEST_c_f): Likewise.
4410 (RUN_TEST_f_f1): Likewise.
4411 (RUN_TEST_fF_f1): Likewise.
4412 (RUN_TEST_fI_f1): Likewise.
4413 (RUN_TEST_ffI_f1): Likewise.
4414 (RUN_TEST_c_c): Likewise.
4415 (RUN_TEST_cc_c): Likewise.
4416 (RUN_TEST_f_i): Likewise.
4417 (RUN_TEST_f_i_tg): Likewise.
4418 (RUN_TEST_ff_i_tg): Likewise.
4419 (RUN_TEST_f_b): Likewise.
4420 (RUN_TEST_f_b_tg): Likewise.
4421 (RUN_TEST_f_l): Likewise.
4422 (RUN_TEST_f_L): Likewise.
4423 (RUN_TEST_sincos): Likewise.
4424 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4425 whether to show exceptions. Do not include ");\n" in return
4426 value.
4427 (special_functions): Output call to RUN_TEST_sincos instead of
4428 check_float calls. Update calls to new_test.
4429 (parse_args): Output call to single RUN_TEST_* macro instead of
4430 check_* calls and other assignments. Update calls to new_test.
4431
d8cd06db
JM
4432 [BZ #2546]
4433 [BZ #2560]
4434 [BZ #5159]
4435 [BZ #15426]
4436 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4437 input to result for tgamma overflow.
4438 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4439 (gamma_coeff): New variable.
4440 (NCOEFF): New macro.
4441 (gamma_positive): New function.
4442 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4443 underflow here. Use gamma_positive instead of exp (lgamma) for
4444 other arguments.
4445 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4446 (gamma_coeff): New variable.
4447 (NCOEFF): New macro.
4448 (gammaf_positive): New function.
4449 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4450 underflow here. Use gamma_positive instead of exp (lgamma) for
4451 other arguments.
4452 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4453 (gamma_coeff): New variable.
4454 (NCOEFF): New macro.
4455 (gammal_positive): New function.
4456 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4457 underflow here. Use gamma_positive instead of exp (lgamma) for
4458 other arguments.
4459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4460 (gamma_coeff): New variable.
4461 (NCOEFF): New macro.
4462 (gammal_positive): New function.
4463 (__ieee754_gammal_r): Handle positive infinity, overflow and
4464 underflow here. Handle NaN the same as positive infinity. Remove
4465 check x < 0xffffffff for negative integers. Use gamma_positive
4466 instead of exp (lgamma) for other arguments.
4467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4468 (gamma_coeff): New variable.
4469 (NCOEFF): New macro.
4470 (gammal_positive): New function.
4471 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4472 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4477 * sysdeps/generic/math_private.h (__gamma_productf): New
4478 prototype.
4479 (__gamma_product): Likewise.
4480 (__gamma_productl): Likewise.
4481 * math/Makefile (libm-calls): Add gamma_product.
4482 * math/libm-test.inc (tgamma_test): Add more tests.
4483 * sysdeps/i386/fpu/libm-test-ulps: Update.
4484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4485
bb7cf681
OB
44862013-05-08 Ondřej Bílka <neleai@seznam.cz>
4487
4488 * benchtests/bench-skeleton.c (main): Preheat CPU.
4489
ba853947
AJ
44902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4491
4492 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4493
8347c74c
RM
44942013-05-07 Roland McGrath <roland@hack.frob.com>
4495
4496 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4497 and _dl_skip_args_internal.
4498
e8dd4791
CD
44992013-05-07 Carlos O'Donell <carlos@redhat.com>
4500
4501 * manual/message.texi (Message Translation): Talk about users.
4502 Message to key mapping impacts design.
4503
c7405830
RM
45042013-05-06 Roland McGrath <roland@hack.frob.com>
4505
a9173057
RM
4506 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4507
976e2f03
RM
4508 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4509
9723ffc5
RM
4510 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4511 * sysdeps/wordsize-64/glob64.c: ... here.
4512
962e6658
RM
4513 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4514 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4515 New macros.
4516
ee586a6d
RM
4517 * debug/getlogin_r_chk.c: Moved to ...
4518 * login/getlogin_r_chk.c: ... here.
4519 * debug/Makefile (routines): Move getlogin_r_chk to ...
4520 * login/Makefile (routines): ... here.
4521 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4522 * login/Versions (libc: GLIBC_2.4): ... here.
4523
355f9165
RM
4524 * io/poll.c (__poll): Renamed from poll.
4525 Add libc_hidden_def.
4526 (poll): Define as weak alias.
4527
bd9ffde6
RM
4528 * debug/ptsname_r_chk.c: Moved to ...
4529 * login/ptsname_r_chk.c: ... here.
4530 * debug/Makefile (routines): Move ptsname_r_chk to ...
4531 * login/Makefile (routines): ... here.
4532 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4533 * login/Versions (libc: GLIBC_2.4): ... here.
4534
8fb16a04
RM
4535 * posix/getlogin.c: Moved to ...
4536 * login/getlogin.c: ... here.
4537 * posix/getlogin_r.c: Moved to ...
4538 * login/getlogin_r.c: ... here.
4539 * posix/getlogin_r.c: Moved to ...
4540 * login/getlogin_r.c: ... here.
4541 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4542 * login/Makefile (routines): ... here.
4543 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4544 * login/Versions (libc: GLIBC_2.0): ... here.
4545
b99b892f
RM
4546 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4547 (setrlimit): Define as weak alias.
4548
c7405830
RM
4549 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4550 Call __ names for open, ftruncate, and close.
4551 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4552 (truncate): Define as weak alias.
4553
5bf96de5
JM
45542013-05-06 Joseph Myers <joseph@codesourcery.com>
4555
9ea3513c
JM
4556 * math/gen-libm-test.pl (parse_args): Initialize x before each
4557 test of frexp, modf and remquo.
4558
5bf96de5
JM
4559 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4560 test signgam value.
4561
16e616a7
AZ
45622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563
4564 [BZ #15418]
4565 [BZ #15419]
4566 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4567 internal tests.
4568 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4569
d5e82754
RM
45702013-05-06 Roland McGrath <roland@hack.frob.com>
4571
4572 * elf/dl-writev.h: New file.
4573 * elf/dl-misc.c: Include it.
4574 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4575 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4576
a7548d41
JM
45772013-05-04 Joseph Myers <joseph@codesourcery.com>
4578
b7dab1e4
JM
4579 * math/libm-test.inc (noXFails): Remove variable.
4580 (noXPasses): Likewise.
4581 (BUILD_COMPLEX_INT): Remove macro.
4582 (print_screen): Remove xfail argument.
4583 (print_screen_max_error): Likewise.
4584 (update_stats): Likewise.
4585 (print_max_error): Likewise. Update calls to other affected
4586 functions.
4587 (print_complex_max_error): Likewise.
4588 (test_single_exception): Update calls to print_screen.
4589 (test_single_errno): Likewise.
4590 (check_float_internal): Remove xfail argument. Update calls to
4591 other affected functions.
4592 (check_float): Likewise.
4593 (check_complex): Likewise.
4594 (check_int): Likewise.
4595 (check_long): Likewise.
4596 (check_bool): Likewise.
4597 (check_longlong): Likewise.
4598 (main): Don't print noXFails and noXPasses.
4599 * math/gen-libm-test.pl (top level): Don't mention expected
4600 failure handling in comment.
4601 (new_test): Don't handle expected failures.
4602 (parse_args): Don't mention expected failure handling in comment.
4603 (generate_testfile): Don't handle expected failures.
4604 (parse_ulps): Likewise.
4605 (print_ulps_file): Likewise.
4606 (get_failure): Remove function.
4607 (output_test): Don't handle expected failures.
4608 * make/README.libm-test: Don't mention expected failure handling.
4609
a7548d41
JM
4610 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4611 (minus_zero): Likewise.
4612 (plus_infty): Likewise.
4613 (minus_infty): Likewise.
4614 (qnan_value): Likewise.
4615 (max_value): Likewise.
4616 (min_value): Likewise.
4617 (min_subnorm_value): Likewise.
4618 (initialize): Do not initialize those variables dynamically.
4619
60bfd54c
RM
46202013-05-03 Roland McGrath <roland@hack.frob.com>
4621
cc0e6ed8
RM
4622 * io/open.c (__open_2): Moved to ...
4623 * io/open_2.c: ... this new file.
4624 * io/open64.c (__open64_2): Moved to ...
4625 * io/open64_2.c: ... this new file.
4626 * io/openat.c (__openat_2): Moved to ...
4627 * io/openat_2.c: ... this new file.
4628 * io/openat64.c (__openat64_2): Moved to ...
4629 * io/openat64_2.c: ... this new file.
4630 * io/Makefile (routines): Add them.
4631 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4632 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4633 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4634 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4635 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4636 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4637 (__openat64): Add hidden_ver.
4638 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4639 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4640
60bfd54c
RM
4641 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4642 Separately conditionalize setting of GLRO(dl_sysinfo) so
4643 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4644 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4645
83e7640f
AZ
46462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647
4648 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4649 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4650 definition.
4651 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4652 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4653 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4654 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4655 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4656
d5dc2af3
JM
46572013-05-03 Joseph Myers <joseph@codesourcery.com>
4658
c31a5b1e
JM
4659 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4660 test signgam value.
4661
d5dc2af3
JM
4662 * math/libm-test.inc (hypot_test): Do not use
4663 IGNORE_ZERO_INF_SIGN.
4664
164fd39d
AJ
46652013-05-03 Andreas Jaeger <aj@suse.de>
4666
4667 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4668 Linux 3.9.
4669 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4670 (PF_MAX): Adjust for VSOCK change.
4671
8237f48c
AZ
46722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4673
4674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4675
9df02941
CD
46762013-05-02 Carlos O'Donell <carlos@redhat.com>
4677
4678 [BZ #15264]
4679 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4680 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4681 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4682
d422395e
DM
46832013-05-02 David S. Miller <davem@davemloft.net>
4684
4685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4686
a07c5731
OB
46872013-05-01 Ondřej Bílka <neleai@seznam.cz>
4688
4689 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4690
1324e37f
RM
46912013-05-01 Roland McGrath <roland@hack.frob.com>
4692
4693 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4694
0695940b
RS
46952013-05-01 Richard Smith <richard@metafoo.co.uk>
4696
bb5f27ad 4697 [BZ #14952]
0695940b
RS
4698 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4699 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4700 Use __attribute__ ((__gnu_inline__)).
4701 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4702 Don't use __attribute__ ((__gnu_inline__)).
4703
10de07f5
JM
47042013-05-01 Joseph Myers <joseph@codesourcery.com>
4705
4706 [BZ #15423]
4707 * math/s_catan.c (__catan): Handle small real or imaginary part of
4708 input specially to avoid spurious underflow.
4709 * math/s_catanf.c (__catanf): Likewise.
4710 * math/s_catanh.c (__catanh): Likewise.
4711 * math/s_catanhf.c (__catanhf): Likewise.
4712 * math/s_catanhl.c (__catanhl): Likewise.
4713 * math/s_catanl.c (__catanl): Likewise.
4714 * math/libm-test.inc (catan_test): Add more tests.
4715 (catanh_test): Likewise.
4716 * sysdeps/i386/fpu/libm-test-ulps: Update.
4717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4718
cb4d5414
AZ
47192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720
4721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4722
caf84319
JM
47232013-04-30 Joseph Myers <joseph@codesourcery.com>
4724
4725 [BZ #15416]
4726 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4727 accurately for denominator in atan2.
4728 * math/s_catanf.c (__catanf): Likewise.
4729 * math/s_catanh.c (__catanh): Likewise.
4730 * math/s_catanhf.c (__catanhf): Likewise.
4731 * math/s_catanhl.c (__catanhl): Likewise.
4732 * math/s_catanl.c (__catanl): Likewise.
4733 * math/libm-test.inc (catan_test): Add more tests.
4734 (catanh_test): Likewise.
4735 * sysdeps/i386/fpu/libm-test-ulps: Update.
4736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4737
d569c6ee
SP
47382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4739
6dbe713d
SP
4740 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4741
f0ee064b
SP
4742 * benchtests/Makefile (bench): Remove slow benchmarks.
4743 * benchtests/atan-inputs: Add slow benchmark inputs.
4744 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4745 (BENCH_FUNC): Accept variant offset.
4746 (VARIANT): Define.
4747 * benchtests/bench-skeleton.c (main): Run benchmark for each
4748 variant.
4749 * benchtests/cos-inputs: Add slow benchmark inputs.
4750 * benchtests/exp-inputs: Likewise.
4751 * benchtests/pow-inputs: Likewise.
4752 * benchtests/sin-inputs: Likewise.
4753 * benchtests/slowatan-inputs: Remove.
4754 * benchtests/slowatan.c: Remove.
4755 * benchtests/slowcos-inputs: Remove.
4756 * benchtests/slowcos.c: Remove.
4757 * benchtests/slowexp-inputs: Remove.
4758 * benchtests/slowexp.c: Remove.
4759 * benchtests/slowpow-inputs: Remove.
4760 * benchtests/slowpow.c: Remove.
4761 * benchtests/slowsin-inputs: Remove.
4762 * benchtests/slowsin.c: Remove.
4763 * benchtests/slowtan-inputs: Remove.
4764 * benchtests/slowtan.c: Remove.
4765 * benchtests/tan-inputs: Add slow benchmark inputs.
4766 * scripts/bench.pl: Parse comments and directives.
4767
d569c6ee
SP
4768 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4769 in CPPFLAGS.
4770 ($(objpfx)bench-%.c): Remove *-ITER.
4771 * benchtests/bench-modf.c: Remove definition of ITER.
4772 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4773 (main): Loop for DURATION seconds instead of fixed number of
4774 iterations.
4775 * scripts/bench.pl: Don't expect iterations in parameters.
4776
a6a242fe
RM
47772013-04-29 Roland McGrath <roland@hack.frob.com>
4778
4779 * io/fchdir.c (__fchdir): Renamed from fchdir.
4780 (fchdir): Define as weak alias.
4781
f2da7793
JM
47822013-04-29 Joseph Myers <joseph@codesourcery.com>
4783
4784 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4785 (ERRNO_EDOM): Likewise.
4786 (ERRNO_ERANGE): Likewise.
4787 (noErrnoTests): New variable.
4788 (init_max_error): Set errno to 0.
4789 (test_single_errno): New function.
4790 (test_errno): Likewise.
4791 (check_float_internal): Call test_errno. Set errno to 0.
4792 (check_complex): Refer to errno tests in comment.
4793 (check_int): Call test_errno. Set errno to 0.
4794 (check_long): Likewise.
4795 (check_bool): Likewise.
4796 (check_longlong): Likewise.
4797 (cos_test): Use ERRNO_* flags for errno tests instead of
4798 check_int.
4799 (expm1_test): Likewise.
4800 (fmod_test): Likewise.
4801 (ilogb_test): Likewise.
4802 (lgamma_test): Likewise.
4803 (pow_test): Likewise.
4804 (remainder_test): Likewise.
4805 (sin_test): Likewise.
4806 (tan_test): Likewise.
4807 (yn_test): Likewise.
4808 (initialize): Set errno to 0.
4809 (main): Print number of errno tests.
4810 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4811
b1a36ceb
AJ
48122013-04-29 Andreas Jaeger <aj@suse.de>
4813
c3ed8088
AJ
4814 [BZ #15084]
4815 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4816 and RES_USEVC.
4817
f1a24198
AJ
4818 [BZ #15085]
4819 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4820 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4821 unimplemented.
4822
9ce3b2cb
AJ
4823 [BZ #15380]
4824 * stdlib/random.c (__initstate): Return NULL if
4825 __initstate fails.
4826
f1a24198 4827 [BZ #15086]
b1a36ceb
AJ
4828 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4829 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4830 RES_SNGLKUPREOP.
4831
7e7b6f36
AZ
48322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833
4834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4835
4d14f449
JM
48362013-04-29 Joseph Myers <joseph@codesourcery.com>
4837
4838 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4839 of individual tests.
4840 (casin_test): Likewise.
4841 (casinh_test): Likewise.
4842
5b4217d7
JM
48432013-04-27 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #15409]
4846 * math/s_catan.c (__catan): Handle arguments with large real or
4847 imaginary part separately without squaring.
4848 * math/s_catanf.c (__catanf): Likewise.
4849 * math/s_catanh.c (__catanh): Likewise.
4850 * math/s_catanhf.c (__catanhf): Likewise.
4851 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4852 and redefine.
4853 (__catanhl): Handle arguments with large real or imaginary part
4854 separately without squaring.
4855 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4856 and redefine.
4857 (__catanl): Handle arguments with large real or imaginary part
4858 separately without squaring.
4859 * math/libm-test.inc (catan_test): Add more tests.
4860 (catanh_test): Likewise.
4861 * sysdeps/i386/fpu/libm-test-ulps: Update.
4862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863
4220c3ef
AJ
48642013-04-27 Andreas Jaeger <aj@suse.de>
4865
4866 [BZ #15007]
4867 * stdlib/stdlib.h: Update guards for qecvt.
4868 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4869 <stdlib.h>.
4870
4721b2d1
AM
48712013-04-27 Allan McRae <allan@archlinux.org>
4872
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874
f0302940
JM
48752013-04-26 Joseph Myers <joseph@codesourcery.com>
4876
9457fd95
JM
4877 [BZ #15406]
4878 * math/s_catan.c: Include <float.h>.
4879 (__catan): Ensure underflow exception occurs for underflowed
4880 result.
4881 * math/s_catanf.c: Include <float.h>.
4882 (__catanf): Ensure underflow exception occurs for underflowed
4883 result.
4884 * math/s_catanh.c: Include <float.h>.
4885 (__catanh): Ensure underflow exception occurs for underflowed
4886 result.
4887 * math/s_catanhf.c: Include <float.h>.
4888 (__catanhf): Ensure underflow exception occurs for underflowed
4889 result.
4890 * math/s_catanhl.c: Include <float.h>.
4891 (__catanhl): Ensure underflow exception occurs for underflowed
4892 result.
4893 * math/s_catanl.c: Include <float.h>.
4894 (__catanl): Ensure underflow exception occurs for underflowed
4895 result.
4896 * math/libm-test.inc (catan_test): Add more tests.
4897 (catanh_test): Likewise.
4898
f0302940
JM
4899 [BZ #15405]
4900 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4901 underflowed result.
4902 * math/s_ccoshf.c (__ccoshf): Likewise.
4903 * math/s_ccoshl.c (__ccoshl): Likewise.
4904 * math/s_csin.c (__csin): Likewise.
4905 * math/s_csinf.c (__csinf): Likewise.
4906 * math/s_csinh.c (__csinh): Likewise.
4907 * math/s_csinhf.c (__csinhf): Likewise.
4908 * math/s_csinhl.c (__csinhl): Likewise.
4909 * math/s_csinl.c (__csinl): Likewise.
4910 * math/libm-test.inc (ccos_test): Add more tests.
4911 (ccosh_test): Likewise.
4912 (csin_test): Likewise.
4913 (csinh_test): Likewise.
4914
aa630f59
AZ
49152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916
4917 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4918 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4919 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4920 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4921 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4922 powerpc/power5+/fpu folders.
4923 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4924
4925
1b835983
MT
49262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4927
4928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4929
73709b26
JM
49302013-04-25 Joseph Myers <joseph@codesourcery.com>
4931
4932 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4933 additions to variable.
4934 [$(config-machine) = x86_64] (modules-names): Likewise.
4935 ($(objpfx)tst-audit3): Remove dependency.
4936 ($(objpfx)tst-audit3.out): Likewise.
4937 ($(objpfx)tst-audit4): Likewise.
4938 ($(objpfx)tst-audit4.out): Likewise.
4939 ($(objpfx)tst-audit5): Likewise.
4940 ($(objpfx)tst-audit5.out): Likewise.
4941 ($(objpfx)tst-audit6): Likewise.
4942 ($(objpfx)tst-audit6.out): Likewise.
4943 ($(objpfx)tst-audit7): Likewise.
4944 ($(objpfx)tst-audit7.out): Likewise.
4945 (tst-audit3-ENV): Remove variable.
4946 (tst-audit4-ENV): Likewise.
4947 (tst-audit5-ENV): Likewise.
4948 (tst-audit6-ENV): Likewise.
4949 (tst-audit7-ENV): Likewise.
4950 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4951 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4952 addition to variable.
4953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4954 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4955 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4956 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4957 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4958 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4959 tst-audit3, tst-audit4 and tst-audit5.
4960 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4961 tst-audit6 and tst-audit7.
4962 [$(subdir) = elf] (modules-names): Add audit modules for those
4963 tests.
4964 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4965 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4966 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4967 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4968 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4969 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4970 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4971 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4972 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4973 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4974 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4975 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4976 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4977 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4978 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4979 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4980 Likewise.
4981 [$(subdir) = elf && $(config-cflags-avx) = yes]
4982 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4983 [$(subdir) = elf && $(config-cflags-avx) = yes]
4984 (CFLAGS-tst-auditmod4a.c): Likewise.
4985 [$(subdir) = elf && $(config-cflags-avx) = yes]
4986 (CFLAGS-tst-auditmod4b.c): Likewise.
4987 [$(subdir) = elf && $(config-cflags-avx) = yes]
4988 (CFLAGS-tst-auditmod6b.c): Likewise.
4989 [$(subdir) = elf && $(config-cflags-avx) = yes]
4990 (CFLAGS-tst-auditmod6c.c): Likewise.
4991 [$(subdir) = elf && $(config-cflags-avx) = yes]
4992 (CFLAGS-tst-auditmod7b.c): Likewise.
4993 * elf/tst-audit3.c: Move to ...
4994 * sysdeps/x86_64/tst-audit3.c: ... here.
4995 * elf/tst-audit4.c: Move to ...
4996 * sysdeps/x86_64/tst-audit4.c: ... here.
4997 * elf/tst-audit5.c: Move to ...
4998 * sysdeps/x86_64/tst-audit5.c: ... here.
4999 * elf/tst-audit6.c: Move to ...
5000 * sysdeps/x86_64/tst-audit6.c: ... here.
5001 * elf/tst-audit7.c: Move to ...
5002 * sysdeps/x86_64/tst-audit7.c: ... here.
5003 * elf/tst-auditmod3a.c: Move to ...
5004 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5005 * elf/tst-auditmod3b.c: Move to ...
5006 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5007 * elf/tst-auditmod4a.c: Move to ...
5008 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5009 * elf/tst-auditmod4b.c: Move to ...
5010 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5011 * elf/tst-auditmod5a.c: Move to ...
5012 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5013 * elf/tst-auditmod5b.c: Move to ...
5014 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5015 * elf/tst-auditmod6a.c: Move to ...
5016 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5017 * elf/tst-auditmod6b.c: Move to ...
5018 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5019 * elf/tst-auditmod6c.c: Move to ...
5020 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5021 * elf/tst-auditmod7a.c: Move to ...
5022 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5023 * elf/tst-auditmod7b.c: Move to ...
5024 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5025
1ef74943
PP
50262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5027
5028 [BZ #15366]
5029 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5030 define unconditionally.
5031 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5032 define unconditionally.
5033 (INT8_C, INT16_C, etc.): Likewise.
5034
93fd48c5
MR
50352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5036
ae9552cf
MR
5037 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5038 __ehdr_start with hidden visibility.
5039
93fd48c5
MR
5040 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5041
418601aa
CD
50422013-04-24 Carlos O'Donell <carlos@redhat.com>
5043
5044 * math/libm-test.inc (cos_test): Use accurate hex constants.
5045 (sincost_test): Likewise.
5046
2f38fbfe
JM
50472013-04-24 Joseph Myers <joseph@codesourcery.com>
5048
5e221800
JM
5049 * math/libm-test.inc (catan_test): Add more tests.
5050 (catanh_test): Likewise.
5051
77f143fd
JM
5052 * math/s_catanf.c (__catanf): Use suffixed floating-point
5053 constants.
5054 * math/s_catanhf.c (__catanhf): Likewise.
5055 * math/s_catanhl.c (__catanhl): Likewise.
5056 * math/s_catanl.c (__catanl): Likewise.
5057
2f38fbfe
JM
5058 [BZ #15394]
5059 * math/s_catan.c (__catan): Calculate imaginary part of result
5060 with log1p not log unless computing log of number close to 0.
5061 * math/s_catanf.c (__catanf): Likewise.
5062 * math/s_catanl.c (__catanl): Likewise.
5063 * math/s_catanh.c (__catanh): Calculate real part of result with
5064 log1p not log unless computing log of number close to 0.
5065 * math/s_catanhf.c (__catanhf): Likewise.
5066 * math/s_catanhl.c (__catanhl): Likewise.
5067 * math/libm-test.inc (catan_test): Add more tests.
5068 (catanh_test): Likewise.
5069 * sysdeps/i386/fpu/libm-test-ulps: Update.
5070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5071
45d69176
SP
50722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5073
5074 * benchtests/Makefile: Mention files in which fast and slow
5075 paths of math functions are implemented.
5076
87f51853
RM
50772013-04-23 Roland McGrath <roland@hack.frob.com>
5078
5079 * sysdeps/posix/timespec_get.c: New file.
5080
3c026539
AZ
50812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5084 POWER.
5085 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5086 for POWER.
5087 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5088 powerpc/power5/fpu folders.
5089 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5090 * benchtests/Makefile: Add modf testcase.
5091 * benchtests/bench-modf.c: New file: Benchmark test for mo
5092
ff491d14
SP
50932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 [BZ #14888]
5096 * time/Makefile (tests): Add tst-strptime-whitespace.
5097 * time/strptime_l.c (get_number): Use ISSPACE.
5098 (__strptime_internal): Likewise.
5099 * time/tst-strptime-whitespace.c: New test case.
5100
7ed3f4e8
AS
51012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5102
5103 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5104 member.
5105 (_nss_files_init): Set it here.
5106
5c95f7b6
HC
51072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5108
5109 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5110 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5111 unsigned.
5112
d34c9158
JBG
51132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5114
5115 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5116
2169712d
SP
51172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5118
5119 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5120 size just once.
5121
29c5de99
DM
51222013-04-21 David S. Miller <davem@davemloft.net>
5123
5124 * po/ru.po: Update Russion translation from translation project.
5125
ccdad15d
AC
51262013-04-17 Adam Conrad <adconrad@0c3.net>
5127
5128 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5129 and setfsgid.
5130
0f122b8d
CD
51312013-04-17 Carlos O'Donell <carlos@redhat.com>
5132
5c5b07da 5133 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5134 * configure: Regenerate.
5c5b07da 5135 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5136 Add example to error message.
5137 * sysdeps/i386/configure: Regenerate.
5138
037714dd
SP
51392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5140
5141 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5142 slowtan.
5143 * benchtests/cos-inputs: New file.
5144 * benchtests/slowcos-inputs: New file.
5145 * benchtests/slowcos.c: New file.
5146 * benchtests/slowtan-inputs: New file.
5147 * benchtests/slowtan.c: New file.
5148 * benchtests/tan-inputs: New file.
5149
e913141d
RM
51502013-04-16 Roland McGrath <roland@hack.frob.com>
5151
5152 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5153 considered kosher.
5154
a2964074
SP
51552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
4856bcd2
SP
5157 * benchtests/Makefile: Include cppflags-iterator.mk to add
5158 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5159
a2964074
SP
5160 * Makefile.in (bench-clean): New target.
5161 * benchtests/Makefile (bench-clean): Likewise.
5162
9fbf9aca
DH
51632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5164
5165 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5166
207d1e2a
TS
51672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5168
5169 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5170
306dfba9
AS
51712013-04-15 Andreas Schwab <schwab@suse.de>
5172
5173 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5174 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5175 * nscd/pwdcache.c (cache_addpw): Likewise.
5176 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5177 more than recsize.
5178
206a6699
SP
51792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5180
5181 * benchtests/Makefile (bench): Write all output to
5182 bench-out.tmp together.
5183
0582f6b3
AS
51842013-04-15 Andreas Schwab <schwab@suse.de>
5185
5186 * nscd/nscd.c (main): Don't fork again after closing files.
5187
acb4325f
SP
51882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5189
5cb26d0a
SP
5190 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5191
acb4325f
SP
5192 * benchtests/Rules (bench-deps): Collect dependencies into a
5193 single variable. Add Makefile to dependencies.
5194 ($(objpfx)bench-%.c): Depend on bench-deps.
5195
47792506
RM
51962013-04-12 Roland McGrath <roland@hack.frob.com>
5197 Xavier Roche <roche+kml2@exalead.com>
5198
5199 [BZ #15361]
5200 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5201 just that it's a file descriptor.
5202 * manual/llio.texi (Synchronizing AIO Operations): Update description
5203 for EBADF error from aio_fsync.
5204
8fc1bee5
SP
52052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5207 * Rules (bench): Move target definition...
5208 * benchtests/Makefile: ... here.
5209
aba5e333
CD
52102013-04-11 Carlos O'Donell <carlos@redhat.com>
5211
5212 * math/libm-test.inc (cos_test): Fix PI/2 test.
5213 (sincos_test): Likewise.
5214 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5215 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5216
273cdee8
AS
52172013-04-11 Andreas Schwab <schwab@suse.de>
5218
6ecec3b6
AS
5219 [BZ #13988]
5220 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5221 accept exponent character only when digits were seen.
5222 * stdio-common/Makefile (tests): Add bug26.
5223 * stdio-common/bug26.c: New file.
5224
273cdee8
AS
5225 [BZ #14293]
5226 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5227 non-freeable.
5228
8da491f5
SP
52292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5230
01dc6df9
SP
5231 * Makeconfig (rtld-prefix): Define built linker prefix.
5232 * Rules (run-bench): Use it.
5233 * math/Makefile (run-regen-ulps): Likewise.
5234
8da491f5
SP
5235 * Rules (bench): Remove eval.
5236
abe7f530
SP
52372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5238 Roland McGrath <roland@hack.frob.com>
5239 Ondrej Bilka <neleai@seznam.cz>
5240
5241 [BZ #15346]
5242 * time/getdate.c: Include ctype.h and alloca.h.
5243 (__getdate_r): Trim leading and trailing spaces of input.
5244 * time/tst-getdate.c (tests): Add tests with leading and
5245 trailing spaces.
5246
61c23e62
RM
52472013-04-08 Roland McGrath <roland@hack.frob.com>
5248
5249 [BZ #14280]
5250 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5251 when computing value.
5252
7208a313
CD
52532013-04-06 Carlos O'Donell <carlos@redhat.com>
5254
085b2d41
CD
5255 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5256 Use testrun.sh to run libm tests.
5257
7208a313
CD
5258 [BZ #15309]
5259 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5260
872c0acd
MM
52612013-04-06 Marko Myllynen <myllynen@redhat.com>
5262
5263 [BZ #15264]
5264 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5265
26510bdd
CD
52662013-04-06 Carlos O'Donell <carlos@redhat.com>
5267
5268 * Makefile.in (regen-ulps): New target.
5269 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5270 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5271 [ifneq (no,$(PERL)] (regen-ulps): New target.
5272 [ifeq (no,$(PERL)] (regen-ulps): New target.
5273 * math/libm-test.inc (ulps_file_name): Define.
5274 (output_dir): New variable.
5275 (options): Add "output-dir" option.
5276 (parse_opt): Handle 'o' case.
5277 (main): If output_dir is non-NULL use it as a prefix
5278 otherwise use "".
5279 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5280
a01f19c8
CD
52812013-04-06 Carlos O'Donell <carlos@redhat.com>
5282
5283 [BZ #10060, #10062]
5284 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5285 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5286 fail configure if __sync_val_compare_and_swap is not inlined.
5287 * sysdeps/i386/configure: Regenerate.
5288 * configure.in: Build for i686 when configured for i386.
5289 * configure: Regenerate.
5290 * README: Remove i386 reference.
5291
b7a329a5
CD
52922013-04-06 Carlos O'Donell <carlos@redhat.com>
5293
5294 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5295 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5296
bf0f50df
TS
52972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5298
ee091edf
TS
5299 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5300 (lmsnanval): New variables.
5301 (F): Add conversion tests.
5302 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5303 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5304
a8b792d6
TS
5305 * stdio-common/tstdiomisc.c (F): Properly collect individual
5306 tests' results.
5307
a1cbf437
TS
5308 [BZ #14686, #15336]
5309 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5310 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5311 Instead, use input NaN values or generate a qNaN by arithmetic
5312 operation. Also fix bugs to comply with the standard.
5313 * math/libm-test.inc (remainder_test): Add more tests.
5314
8b43a0c9
TS
5315 [BZ #15335, #15342]
5316 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5318 input NaN values or generate a qNaN by arithmetic operation.
5319
d91da4ce
TS
5320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5321 unreachable code.
5322
bf0f50df
TS
5323 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5324 definitions.
5325
05e166c8
JM
53262013-04-03 Joseph Myers <joseph@codesourcery.com>
5327
5328 [BZ #14478]
5329 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5330 underflowed result.
5331 * math/s_cexpf.c (__cexpf): Likewise.
5332 * math/s_cexpl.c (__cexpl): Likewise.
5333 * math/libm-test.inc (cexp_test): Add more tests.
5334
1cef1b19
AS
53352013-04-03 Andreas Schwab <schwab@suse.de>
5336
5337 [BZ #15330]
5338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5339 order arrays from heap if bigger than alloca cutoff.
5340
74d87055
TS
53412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5342
5343 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5344 (SNAN_TESTS_double): Refer to GCC PR56831.
5345 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5346 GCC PR56828.
5347
d755bba4
SP
53482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5349
90d5d5bb
SP
5350 * Rules (bench): Move bench.out after the run is complete.
5351
73e0cd5d
SP
5352 * Rules (bench): Echo currently running benchmark.
5353
64aabd4b
SP
5354 * benchtests/Makefile (bench): Add atan and slowatan.
5355 * benchtests/atan-inputs: New file.
5356 * benchtests/slowatan-inputs: New file.
5357 * benchtests/slowatan.c: New file.
5358
c871eccd
SP
5359 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5361 its value.
5362
d755bba4
SP
5363 [BZ #15305]
5364 * sysdeps/unix/sysv/linux/kernel-features.h
5365 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5366 __ASSUME_XFS_RESTRICTED_CHOWN.
5367 * sysdeps/unix/sysv/linux/pathconf.c
5368 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5369 Save and restore errno.
5370
52ce4860
JM
53712013-04-02 Joseph Myers <joseph@codesourcery.com>
5372
5373 [BZ #15327]
5374 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5375 arguments using __kernel_casinh.
5376 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5377 arguments using __kernel_casinhf.
5378 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5379 arguments using __kernel_casinhl.
5380 * math/libm-test.inc (cacosh_test): Add more tests.
5381 * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5383
81f311c2
SP
53842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
e7906a47
SP
5386 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5388
92e3664b
SP
5389 * bench/Makefile (bench): Add sin and slowsin.
5390 * benchtests/sin-inputs: New file.
5391 * benchtests/slowsin-inputs: New file.
5392 * benchtests/slowsin.c: New file.
5393
81f311c2
SP
5394 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5395 (bench): Add slowexp and slowpow.
5396 (exp-ITER): Increase iterations.
5397 (pow-ITER): Likewise.
5398 * benchtests/exp-inputs: Change input.
5399 * benchtests/pow-inputs: Likewise.
5400 * benchtests/slowexp-inputs: New file.
5401 * benchtests/slowexp.c: New file.
5402 * benchtests/slowpow-inputs: New file.
5403 * benchtests/slowpow.c: New file.
5404
ab0f1aa9
AZ
54052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5408 instructions.
5409 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5410 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5411 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5412 * benchtests/Makefile: Add rint benchtest.
5413 * benchtests/rint-inputs: Input for rint benchtest.
5414
57267616
TS
54152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5416
5417 * Versions.def (libm): Add GLIBC_2.18.
5418 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5419 hidden libm prototypes.
5420 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5421 * math/Makefile (libm-calls): Add s_issignaling.
5422 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5423 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5424 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5425 declaration.
5426 * math/math.h [__USE_GNU] (issignaling): New macro.
5427 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5428 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5430 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5433 * manual/arith.texi (issignaling): New section.
5434 * manual/libm-err-tab.pl (@all_functions): Update comment.
5435 * math/gen-libm-test.pl (parse_args): Apply special handling for
5436 issignaling.
5437 * math/libm-test.inc (print_float, issignaling_test): New
5438 functions.
5439 (check_float_internal): Add issignaling checks.
5440 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5441 default definition.
5442 * sysdeps/powerpc/math-tests.h: New file.
5443 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5444 tests.
5445 * math/test-snan.c (TEST_FUNC): Likewise.
5446
6142896d
DM
54472013-03-30 David S. Miller <davem@davemloft.net>
5448
5449 * po/de.po: Update from translation team.
5450
ccc8cadf
JM
54512013-03-30 Joseph Myers <joseph@codesourcery.com>
5452
5453 [BZ #10357]
5454 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5455 imaginary part less than 1.0 and real part less than 0.5
5456 specially.
5457 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5458 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5459 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5460 (cacos_test): Add more tests.
5461 (casin_test): Likewise.
5462 (casinh_test): Likewise.
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5465
0f6a8d4b
SP
54662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5467
0d1029de
SP
5468 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5469 ONE with its value.
5470
c2d94018
SP
5471 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5472 (__pow_mp): Replace ONE and MONE with their values.
5473 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5475 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5476 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5477 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5479
27ec37f1
SP
5480 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5481
a64d7e0e
SP
5482 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5483 (__pow_mp): Replace ZERO and MZERO with their values.
5484 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5486 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5488 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5489 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5490 (__sqr): Likewise.
5491
d26dd3eb
SP
5492 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5493
0f6a8d4b
SP
5494 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5495
e57b0c61
RM
54962013-03-28 Roland McGrath <roland@hack.frob.com>
5497
5498 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5499 Declare with __attribute__ ((weak)).
5500 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5501 Call __call_tls_dtors only if it's not NULL.
5502
356b3480
RM
55032013-03-28 Roland McGrath <roland@hack.frob.com>
5504
288f7d79
RM
5505 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5506 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5507 magic __ehdr_start linker symbol if it's defined.
5508 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5509 them up here if it was already done.
5510
dc0a0263
RM
5511 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5512 (_dl_aux_init): Use const in cast when setting it.
5513 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5514 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5515 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5516
3d3436ae
RM
5517 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5518 Declare them here.
5519 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5520 * csu/libc-tls.c: Nor here.
5521 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5522
356b3480
RM
5523 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5524 (__libc_message): Never call vsyslog.
5525
b0f1246a
AM
55262013-03-28 Alan Modra <amodra@gmail.com>
5527
5528 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5529 Define as empty.
5530 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5531 Likewise.
5532
fbbe2b9a
AZ
55332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5534
5535 [BZ #15214]
5536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5537 underflow.
5538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5539
1728ab37
SP
55402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5541
7a86be6e
SP
5542 [BZ #15304]
5543 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5544 Don't add gid passed as argument.
5545
1728ab37
SP
5546 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5547
3a7182a1
JM
55482013-03-27 Joseph Myers <joseph@codesourcery.com>
5549
5550 [BZ #15307]
5551 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5552 imaginary part between 1.0 and 1.5 and real part less than 0.5
5553 specially.
5554 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5555 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5556 * math/libm-test.inc (cacos_test): Add more tests.
5557 (casin_test): Likewise.
5558 (casinh_test): Likewise.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561
6f2e90e7
SP
55622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5563
5739f705
SP
5564 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5565 constants.
5566 (norm): Likewise.
5567 (denorm): Likewise.
5568 (__dbl_mp): Likewise.
5569 (add_magnitudes): Likewise.
5570 (sub_magnitudes): Likewise.
5571 (__add): Likewise.
5572 (__sub): Likewise.
5573 (__mul): Likewise.
5574 (__sqr): Likewise.
5575 (__inv): Likewise.
5576 (__dvd): Likewise.
5577
e375e83d
SP
5578 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5579 commented code.
5580 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5581 (__dubcos): Likewise.
5582 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5583 (__ieee754_acos): Likewise.
5584 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5585 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5586 (__exp1): Likewise.
5587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5589 (log1): Likewise.
5590 (my_log2): Likewise.
5591 (checkint): Likewise.
5592 * sysdeps/ieee754/dbl-64/e_remainder.c
5593 (__ieee754_remainder): Likewise.
5594 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5596 (bsloww): Likewise.
5597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5598
6f2e90e7
SP
5599 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5600 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5601 MANTISSA_STORE_T to store computations on mantissa. Use
5602 macros for rounding and division.
5603 (denorm): Likewise.
5604 (__dbl_mp): Likewise.
5605 (add_magnitudes): Likewise.
5606 (sub_magnitudes): Likewise.
5607 (__mul): Likewise.
5608 (__sqr): Likewise.
5609 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5610 powers of two in terms of TWOPOW macro.
5611 (mp_no): Make type of mantissa as MANTISSA_T.
5612 [!RADIXI]: Define RADIXI.
5613 [!TWO52]: Define TWO52.
5614 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5615
fce14d4e
AZ
56162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617
5618 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5619 llroundl symbol when building for PPC32.
5620
9ad027fb
MW
56212013-03-24 Mark H Weaver <mhw@netris.org>
5622
5623 * manual/arith.texi (Normalization Functions): Fix prototypes for
5624 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5625
e42a38dd
AZ
56262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627
5628 [BZ #13889]
5629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5630 high value to check if expl overflow.
5631 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5632 to check for underflow and overflow.
5633 * math/libm-test.inc: Add exp test.
5634
2e0fb521
DL
56352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5636
5637 [BZ #11120]
5638 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5639 with NOT_IN_libc.
5640
b5784d95
AZ
56412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5642
5643 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5644 symbol.
5645
5aa4a1a1
TS
56462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5647
bdef0be7
TS
5648 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5649 wrap blocks consisting of several statements.
5650
5aa4a1a1
TS
5651 * sysdeps/generic/math-tests.h: New file.
5652 * sysdeps/i386/fpu/math-tests.h: Likewise.
5653 * math/test-snan.c: Include it.
5654 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5655
98c48fe5
JM
56562013-03-21 Joseph Myers <joseph@codesourcery.com>
5657
5658 [BZ #15285]
5659 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5660 (__ieee754_j0l): Do not improve calculations using cos of twice
5661 input for inputs above LDBL_MAX / 2.0L.
5662 (__ieee754_y0l): Likewise.
5663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5664 (__ieee754_j1l): Do not improve calculations using cos of twice
5665 input for inputs above LDBL_MAX / 2.0L.
5666 (__ieee754_y1l): Likewise.
5667 * math/libm-test.inc (j0_test): Add another test.
5668 (j1_test): Likewise.
5669 (y0_test): Likewise.
5670 (y1_test): Likewise.
5671 * sysdeps/i386/fpu/libm-test-ulps: Update.
5672
3775a8bc
SP
56732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5674
5675 * Rules ($(objpfx)bench-%.c): Include code from a C source
5676 file.
5677
0a1b2ae6
JM
56782013-03-21 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #15287]
5681 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5682 imaginary part 1.0 and real part less than 0.5 specially.
5683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5685 * math/libm-test.inc (cacos_test): Add more tests.
5686 (casin_test): Likewise.
5687 (casinh_test): Likewise.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5690
b33d4ce4
SP
56912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5692
5693 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5694 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5695
bef0b507
JM
56962013-03-20 Joseph Myers <joseph@codesourcery.com>
5697
5698 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5699 * config.make.in (config-cflags-sse4): Remove variable.
5700 (config-cflags-avx): Likewise.
5701 (config-cflags-sse2avx): Likewise.
5702 (config-cflags-novzeroupper): Likewise.
5703 (config-asflags-i686): Likewise.
5704 (have-mfma4): Likewise.
5705 (have-as-vis3): Likewise.
5706 (MIG): Likewise.
5707 * configure.in (MIG): Do not AC_SUBST.
5708 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5709 (libc_cv_cc_sse4): Do not AC_SUBST.
5710 (libc_cv_cc_avx): Likewise.
5711 (libc_cv_cc_sse2avx): Likewise.
5712 (libc_cv_cc_novzeroupper): Likewise.
5713 (libc_cv_cc_fma4): Likewise.
5714 (libc_cv_as_i686): Likewise.
5715 (libc_cv_sparc_as_vis3): Likewise.
5716 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5717 LIBC_CONFIG_VAR.
5718 (config-asflags-i686): Likewise.
5719 (config-cflags-avx): Likewise.
5720 (config-cflags-sse2avx): Likewise.
5721 (have-mfma4): Likewise.
5722 (config-cflags-novzeroupper): Likewise.
5723 * sysdeps/mach/configure.in (MIG): Likewise.
5724 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5725 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5726 LIBC_CONFIG_VAR.
5727 (config-cflags-avx): Likewise.
5728 (config-cflags-sse2avx): Likewise.
5729 (have-mfma4): Likewise.
5730 (config-cflags-novzeroupper): Likewise.
5731 * configure: Regenerated.
5732 * sysdeps/i386/configure: Likewise.
5733 * sysdeps/mach/configure: Likewise.
5734 * sysdeps/sparc/configure: Likewise.
5735 * sysdeps/x86_64/configure: Likewise.
5736
912cc4b3
RM
57372013-03-20 Roland McGrath <roland@hack.frob.com>
5738
5739 [BZ #14812]
5740 * locale/programs/localedef.c (options): Put N_ translation marker
5741 on argument names, not just descriptions.
5742
04eed2b0
MS
57432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5744
5745 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5746
a065ceff
OB
57472013-03-20 Ondřej Bílka <neleai@seznam.cz>
5748
9bb2a810 5749 [BZ #14176]
a065ceff
OB
5750 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5751
a600e5ce
RM
57522013-03-19 Roland McGrath <roland@hack.frob.com>
5753
5754 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5755 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5756 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5757 [!BEFORE_ABORT] (before_abort): New function.
5758 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5759 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5760 (writev_for_fatal): New function.
5761 (WRITEV_FOR_FATAL): New macro; call that.
5762 (backtrace_and_maps): New function.
5763 (BEFORE_ABORT): New macro; call that.
5764 (struct str_list): Type removed.
5765 (__libc_message, __libc_fatal): Functions removed.
5766 Include <sysdeps/posix/libc_fatal.c> instead.
5767
6b18bea6
JM
57682013-03-19 Joseph Myers <joseph@codesourcery.com>
5769
5770 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5771 constants.
5772 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5773 double constants.
5774
aaa8cb4b
AS
57752013-03-19 Andreas Schwab <schwab@suse.de>
5776
44673770
AS
5777 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5778 * sysdeps/gnu/configure: Regenerate.
5779
aaa8cb4b
AS
5780 * configure.in: Substitute libc_cv_rtlddir.
5781 * configure: Regenerate.
5782 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5783 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5784 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5785 * elf/Makefile (install-others, CFLAGS-interp.c)
5786 (ldso_install, common-ldd-rewrite): Likewise.
5787 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5788 $(inst_slibdir)/$(rtld-installed-name).
5789 * scripts/rellns-sh: Add -p option.
5790 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5791 for source.
5792
d3cfc668
SP
57932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
5795 * manual/nptl.texi: Renamed to ...
5796 * manual/threads.texi: ... this.
5797 * manual/Makefile (chapters): Update.
5798
0e2b9cdd
RM
57992013-03-18 Roland McGrath <roland@hack.frob.com>
5800
5801 [BZ #14812]
5802 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5803 on argument names, not just descriptions.
0e2b9cdd
RM
5804 * malloc/memusagestat.c (options): Likewise.
5805 * nss/getent.c (options): Likewise.
63270c24
RM
5806
58072013-03-18 Benno Schulenberg <bensberg@justemail.net>
5808
5809 [BZ #14812]
5810 * iconv/iconv_prog.c (options): Put N_ translation marker
5811 on argument names, not just descriptions.
5812 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5813
b2e1393c
OB
58142013-03-18 Ondrej Bilka <neleai@seznam.cz>
5815
5816 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5817 implementation which is faster on all x86_64 architectures.
5818 Tested on AMD, Intel Nehalem, SNB, IVB.
5819 * sysdeps/x86_64/strnlen.S: Likewise.
5820
5821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5822 Remove all multiarch strlen and strnlen versions.
5823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5824 Remove strlen and strnlen related parts.
5825
5826 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5827 Inline strlen part.
5828 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5829
5830 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5831 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5832 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5833 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5834 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5835 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5836
ec4ff04d
CD
58372013-03-17 Carlos O'Donell <carlos@redhat.com>
5838
5839 * manual/memory.texi (Malloc Tunable Parameters):
5840 Sort parameters alphabetically. Add comments for missing entries.
5841
cd18e90a
DM
58422013-03-17 David S. Miller <davem@davemloft.net>
5843
5844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5845
2a185d32
JM
58462013-03-16 Joseph Myers <joseph@codesourcery.com>
5847
d2f9799e
JM
5848 [BZ #15283]
5849 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5850 for arguments at most half maximum finite value.
5851 * math/libm-test.inc (j0_test): Add more tests.
5852 (j1_test): Likewise.
5853 (y0_test): Likewise.
5854 (y1_test): Likewise.
5855 * sysdeps/i386/fpu/libm-test-ulps: Update.
5856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5857
2a185d32
JM
5858 [BZ #14155]
5859 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5860 1 / x and functions P and Q for arguments above 0x1p256L.
5861 (__ieee754_y0l): Likewise.
5862 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5863 (__ieee754_y1l): Likewise.
5864 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5865 (j1_test): Likewise.
5866 (y0_test): Likewise.
5867 (y1_test): Likewise.
5868
6cbec759
TS
58692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5870
5871 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5872 variable.
5873
bc16e260
RM
58742013-03-15 Roland McGrath <roland@hack.frob.com>
5875
aefc9b8c
RM
5876 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5877 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5878 zero since it's initialized to EXEC_PAGESIZE.
5879
bc16e260
RM
5880 * sysdeps/unix/sysv/linux/ldsodefs.h
5881 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5882 * sysdeps/generic/ldsodefs.h: ... here.
5883
a57da955
TS
58842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5885
af00a34d
TS
5886 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5887
495ded2c
TS
5888 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5889 math/test-snan.c.
5890 * math/test-snan.c: Renamed from
5891 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5892 * math/Makefile (tests): Add test-snan.
5893 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5894 test-powerpc-snan.
5895
777b0332
TS
5896 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5897 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5898 functions.
5899 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5900 __builtin_nan family of functions.
5901 * math/libm-test.inc (initialize): Initialize qnan_value with
5902 __builtin_nan family of functions.
5903 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5904 Remove variables.
5905 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5906 Remove functions.
5907 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5908 storage class. Initialize qNaN_var and sNaN_var with
5909 __builtin_nan and __builtin_nans families of functions,
5910 respectively.
5911
64d063b8
TS
5912 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5913 (sqrt_test): Remove duplicate test with qNaN input.
5914 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5915 (round_test, signbit_test, significand_test): Note missing +/-Inf
5916 as well as qNaN tests.
5917
67e971f1
TS
5918 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5919 qNaN_var. Fix a few strings, too.
5920 * math/libm-test.inc (nan_value): Rename to qnan_value.
5921 * math/gen-libm-test.pl (%beautify): Adjust to that.
5922 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5923 * math/test-misc.c (main): Likewise.
5924 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5925 to __qnan_bytes, and __qnan_union, respectively.
5926 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5927 Likewise.
5928 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5929 and lqnanval, respectively.
5930 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5931 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5932 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5933 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5934
64487e12
TS
5935 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5936 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5937 doubles.
5938
e015e27b
TS
5939 * math/test-misc.c (main): Fix copy'n'pastos.
5940 * misc/tst-efgcvt.c (special): Likewise.
5941
a57da955
TS
5942 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5943 Remove declarations.
5944
1e380345
SP
59452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5946
5947 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5948 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5949 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5950 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5951
ef26eece
AZ
59522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5953
5954 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5955 macro to return vdso values correctly in IFUNC implementations.
5956 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5957 Optimization by using IFUNC.
5958
8cfdb7e0
SP
59592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5960 Richard Henderson <rth@redhat.com>
5961 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5962
5963 * Makefile.in (bench): New target.
5964 * NEWS: Mention the benchmark framework.
5965 * Rules (bench): Likewise.
5966 (binaries-bench): Generate binaries for functions to
5967 benchmark.
5968 * benchtests/Makefile: New makefile for benchmark tests.
5969 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5970 programs.
5971 * benchtests/exp-inputs: New input file for EXP function.
5972 * benchtests/pow-inputs: New input file for POW function.
5973 * scripts/bench.pl: New script to generate source files for
5974 benchmark programs.
5975
bcda9880
SP
59762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5977
d22ca8cd
SP
5978 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5980 computations on mantissa. Use macros for rounding and
5981 division.
5982 (denorm): Likewise.
5983 (__dbl_mp): Likewise.
5984 (add_magnitudes): Likewise.
5985 (sub_magnitudes): Likewise.
5986 (__mul): Likewise.
5987 (__sqr): Likewise.
5988 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5989 powers of two in terms of TWOPOW macro.
5990 (mp_no): Make type of mantissa as MANTISSA_T.
5991 [!RADIXI]: Define RADIXI.
5992 [!TWO52]: Define TWO52.
5993 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5994
bcda9880
SP
5995 * manual/nptl.texi (cindex): Modify threads to pthreads.
5996
06d5adfb
JM
59972013-03-15 Joseph Myers <joseph@codesourcery.com>
5998
5999 * sysdeps/x86_64/preconfigure: Regenerated.
6000
41c7328e
JM
60012013-03-14 Joseph Myers <joseph@codesourcery.com>
6002
6003 [BZ #14155]
6004 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6005 0x1p28 and above.
6006 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6007 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6008 0x1p28 and above.
6009 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6010 * math/libm-test.inc (j0_test): Do not allow one spurious
6011 underflow exception.
6012 (y1_test): Likewise.
6013
e25cfa60
SP
60142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6015
0409959c
SP
6016 * manual/Makefile (chapters): Add nptl.
6017 * manual/debug.texi (Debugging Support): Add link to Threads
6018 chapter.
6019 * manual/nptl.texi: New file.
6020
e25cfa60
SP
6021 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6022
58a1335e
PB
60232013-03-14 Petr Baudis <pasky@ucw.cz>
6024
6025 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6026 for non-NULL pointer before the memory validity test. Pointed
6027 out by Holger Brunck <holger.brunck@keymile.com>.
6028
9dc7c64f
AS
60292013-03-13 Andreas Schwab <schwab@suse.de>
6030
6031 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6032 instead of .os.
6033
54206aa6
JM
60342013-03-13 Joseph Myers <joseph@codesourcery.com>
6035
6036 * timezone/zic.c: Update from tzcode 2013b.
6037
e98cdb38
CD
60382013-03-12 Carlos O'Donell <carlos@redhat.com>
6039
6040 * manual/install.texi (Configuring and compiling):
6041 Mention i686 and i586.
6042 * INSTALL: Regenerate.
6043
9967e003
RM
60442013-03-12 Roland McGrath <roland@hack.frob.com>
6045
6046 * sysdeps/init_array/elf-init.c: New file.
6047 * csu/elf-init.c
6048 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6049 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6050
6051 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6052 __gmon_start__ as global, but as static with a .preinit_array pointer.
6053 * sysdeps/init_array/gmon-start.c: New file. Use that.
6054 * sysdeps/init_array/crti.S: New file, empty except for comments.
6055 * sysdeps/init_array/crtn.S: Likewise.
6056
e6b5a293 60572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6058
6059 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6060 definining bcopy.
80f844c9
OB
6061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6062 Remove Prefer_SSE_for_memop.
6063 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6064 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6065 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6067 memset-x86-64.
80f844c9 6068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6069 Remove bzero, memset ifunc support.
80f844c9
OB
6070 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6071 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6072 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6073 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6074
fb6b0fcb
AS
60752013-03-11 Andreas Schwab <schwab@suse.de>
6076
6077 [BZ #15234]
6078 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6079 by SHLIB_COMPAT.
6080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6081 (GLIBC_2.16): Remove pthread_atfork.
6082
3e6bd4b1
PP
60832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6084
6085 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6086 (ptestcases.h): Likewise.
6087
222d7f00
RM
60882013-03-08 Roland McGrath <roland@hack.frob.com>
6089
6090 * Makeconfig ($(common-objpfx)config.status): Depend on
6091 sysdeps/*/preconfigure{,.in} too.
6092
1ba4f030
JM
60932013-03-08 Joseph Myers <joseph@codesourcery.com>
6094
a222d91a
JM
6095 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6096 (__free_hook): Use void * instead of __malloc_ptr_t.
6097 (__malloc_hook): Likewise.
6098 (__realloc_hook): Likewise.
6099 (__memalign_hook): Likewise.
6100 (__after_morecore_hook): Likewise.
6101 * malloc/arena.c (save_malloc_hook): Likewise.
6102 (save_free_hook): Likewise.
6103 * malloc/hooks.c (malloc_hook_ini): Likewise.
6104 (realloc_hook_ini): Likewise.
6105 (memalign_hook_ini): Likewise.
6106 * malloc/malloc.c (malloc_hook_ini): Likewise.
6107 (realloc_hook_ini): Likewise.
6108 (memalign_hook_ini): Likewise.
6109 (__free_hook): Likewise.
6110 (__malloc_hook): Likewise.
6111 (__realloc_hook): Likewise.
6112 (__memalign_hook): Likewise.
6113 (__libc_malloc): Likewise.
6114 (__libc_free): Likewise.
6115 (__libc_realloc): Likewise.
6116 (__libc_memalign): Likewise.
6117 (__libc_valloc): Likewise.
6118 (__libc_pvalloc): Likewise.
6119 (__libc_calloc): Likewise.
6120 (__posix_memalign): Likewise.
6121 * malloc/morecore.c (__sbrk): Likewise.
6122 (__default_morecore): Likewise.
6123
5cc45e10
JM
6124 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6125
dd54b864
JM
6126 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6127 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6128 __malloc_ptrdiff_t.
6129
1ba4f030
JM
6130 * malloc/malloc.h (__malloc_size_t): Remove macro.
6131 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6132 __malloc_size_t.
6133 (old_memalign_hook): Likewise.
6134 (old_realloc_hook): Likewise.
6135 (struct hdr): Likewise.
6136 (flood): Likewise.
6137 (mallochook): Likewise.
6138 (memalignhook): Likewise.
6139 (reallochook): Likewise.
6140 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6141 (tr_old_realloc_hook): Likewise.
6142 (tr_old_memalign_hook): Likewise.
6143 (tr_mallochook): Likewise.
6144 (tr_reallochook): Likewise.
6145 (tr_memalignhook): Likewise.
6146
edf66e57
AZ
61472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6148
6149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6150 default_ldbl_pack and using as default implementation.
6151 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6152 implementation.
6153 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6154 redundant definition.
6155 (ldbl_insert_mantissa): Likewise.
6156 (ldbl_canonicalize): Likewise.
6157 (ldbl_nearbyint): Likewise.
6158 (ldbl_pack): Rename to ldbl_pack_ppc.
6159 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6160 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6161 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6162
6d9145d8
SP
61632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6164
6165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6166 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6167 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6168 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6170 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6171 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6172 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6173
4dd4e157
AJ
61742013-03-07 Andreas Jaeger <aj@suse.de>
6175
6176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6177 bits/mman-linux.h.
6178
adbb8027
SP
61792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6180
ce544b5b
SP
6181 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6182 Include mpa.h and declare __MPEXP.
6183 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6184 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6185 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6186 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6187 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6188 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6189 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6190
4cc149fd
SP
6191 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6192 (__slowpow): Use long double EXPL and LOGL functions to
6193 compute POW.
6194 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6195 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6196 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6197 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6198 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6199 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6200
e6ebd4a7
SP
6201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6202 intermediate variable to calculate exponent.
6203 (__sqr): Likewise.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6205 Likewise.
6206 (__sqr): Likewise.
6207
82a9811d
SP
6208 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6209 [!NO__SQR]: Define __sqr.
6210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6211 and NO__SQR. Remove all code except __mul and __sqr. Include
6212 sysdeps/ieee754/dbl-64/mpa.c.
6213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6214
adbb8027
SP
6215 [BZ #12723]
6216 * posix/Makefile (tests): Add tst-pathconf.
6217 * posix/tst-pathconf.c: New test case.
6218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6219 _PC_PIPE_BUF.
6220 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6221
39120df9
PF
62222013-03-06 Patsy Franklin <pfrankli@redhat.com>
6223
6224 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6225
67525cb8
AJ
62262013-03-06 Andreas Jaeger <aj@suse.de>
6227
664a9ce4
AJ
6228 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6229 definition via __MAP_ANONYMOUS.
6230
8e39047d
AJ
6231 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6232 it's not part of Linux headers.
6233
67525cb8
AJ
6234 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6235 (MAP_HUGE_MASK): Define.
6236
6237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6238 Define.
6239 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6241 Define.
6242 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6243 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6244 Define.
6245 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6247 Define.
6248 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6249
6250 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6251 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6252 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6253 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6254 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6255 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6256
6257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6258 Handle f2fs.
6259
6260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6261 Handle f2fs and efivarfs.
6262
6263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6264 f2fs.
6265
6266 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6267 (EFIVARFS_MAGIC): Add.
6268 (F2FS_LINK_MAX): Add.
6269
e1b42695
PP
62702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6271
6272 * stdio-common/vfprintf.c: Replace __builtin_expect with
6273 __glibc_unlikely.
6274
2d67d91a
JM
62752013-03-06 Joseph Myers <joseph@codesourcery.com>
6276
6277 [BZ #13550]
6278 * sysdeps/generic/bp-sym.h: Remove file.
6279 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6280 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6281 <bp-sym.h> and <bp-asm.h>.
6282 (__longjmp): Don't use BP_SYM.
6283 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6284 and <bp-asm.h>.
6285 (memcpy): Don't use BP_SYM.
6286 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6287 <bp-sym.h> and <bp-asm.h>.
6288 (memcpy): Don't use BP_SYM.
6289 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6290 <bp-asm.h>.
6291 (memcpy): Don't use BP_SYM.
6292 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6293 <bp-asm.h>.
6294 (memset): Don't use BP_SYM.
6295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6297 (__bzero): Don't use BP_SYM.
6298 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6299 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6300 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6301 <bp-sym.h> and <bp-asm.h>.
6302 (memcmp): Don't use BP_SYM. Remove comment about bounded
6303 pointers.
6304 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6305 <bp-sym.h> and <bp-asm.h>.
6306 (memcpy): Don't use BP_SYM.
6307 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6308 <bp-sym.h> and <bp-asm.h>.
6309 (memset): Don't use BP_SYM.
6310 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6311 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6312 (__bzero): Don't use BP_SYM.
6313 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6314 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6315 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6316 <bp-sym.h> and <bp-asm.h>.
6317 (strncmp): Don't use BP_SYM. Remove comment about bounded
6318 pointers.
6319 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6320 <bp-sym.h> and <bp-asm.h>.
6321 (memcpy): Don't use BP_SYM.
6322 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6323 <bp-sym.h> and <bp-asm.h>.
6324 (memset): Don't use BP_SYM.
6325 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6326 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6327 (__bzero): Don't use BP_SYM.
6328 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6329 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6330 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6331 <bp-sym.h> and <bp-asm.h>.
6332 (__memchr): Don't use BP_SYM.
6333 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6334 <bp-sym.h> and <bp-asm.h>.
6335 (memcmp): Don't use BP_SYM. Remove comment about bounded
6336 pointers.
6337 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6338 <bp-sym.h> and <bp-asm.h>.
6339 (memcpy): Don't use BP_SYM.
6340 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6341 <bp-sym.h> and <bp-asm.h>.
6342 (__mempcpy): Don't use BP_SYM.
6343 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6344 <bp-sym.h> and <bp-asm.h>.
6345 (__memrchr): Don't use BP_SYM.
6346 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6347 <bp-sym.h> and <bp-asm.h>.
6348 (memset): Don't use BP_SYM.
6349 (__bzero): Likewise.
6350 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6351 <bp-sym.h> and <bp-asm.h>.
6352 (__rawmemchr): Don't use BP_SYM.
6353 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6354 <bp-sym.h> and <bp-asm.h>.
6355 (__STRCMP): Don't use BP_SYM.
6356 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6357 <bp-sym.h> and <bp-asm.h>.
6358 (strchr): Don't use BP_SYM.
6359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6360 <bp-sym.h> and <bp-asm.h>.
6361 (__strchrnul): Don't use BP_SYM.
6362 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6363 <bp-sym.h> and <bp-asm.h>.
6364 (strlen): Don't use BP_SYM.
6365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6366 <bp-sym.h> and <bp-asm.h>.
6367 (strncmp): Don't use BP_SYM. Remove comment about bounded
6368 pointers.
6369 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6370 <bp-sym.h> and <bp-asm.h>.
6371 (__strnlen): Don't use BP_SYM.
6372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6373 <bp-sym.h> and <bp-asm.h>.
6374 (__GI__setjmp): Don't use BP_SYM.
6375 (_setjmp): Likewise.
6376 (__sigsetjmp): Likewise.
6377 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6378 (L(start_addresses)): Don't use BP_SYM.
6379 (_start): Likewise.
6380 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6381 <bp-asm.h>.
6382 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6383 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6384 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6385 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6386 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6387 <bp-asm.h>.
6388 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6389 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6390 about bounded pointers.
6391 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6392 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6393 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6394 <bp-asm.h>.
6395 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6396 about bounded pointers. Remove GKM FIXME comments.
6397 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6398 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6399 <bp-asm.h>.
6400 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6401 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6402 Remove GKM FIXME comments.
6403 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6404 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6405 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6406 <bp-asm.h>.
6407 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6408 about bounded pointers. Remove GKM FIXME comment.
6409 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6410 and <bp-asm.h>.
6411 (strncmp): Don't use BP_SYM. Remove comment about bounded
6412 pointers.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6417 <bp-sym.h> and <bp-asm.h>.
6418 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6419 comment.
6420
cdcf361f
PP
64212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6422
6423 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6424 call free(NULL).
6425
3c4a2b15
DM
64262013-03-05 David S. Miller <davem@davemloft.net>
6427
6428 * po/es.po: Update from translation team.
6429
cdcf361f 64302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6431
6432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6433 <bits/mman-linux.h>.
6434 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6435 is fine.
6436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6437 <bits/mman-linux.h> to end of file.
6438 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6439 is fine.
6440 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6441 <bits/mman-linux.h> to end of file.
6442 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6443 is fine.
6444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6445 <bits/mman-linux.h> to end of file.
6446
6447 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6448 (MCL_CURRENT, MCL_FUTURE): Define here.
6449
5f67c04f
AK
64502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6451
8a4473cc 6452 [BZ #15232]
5f67c04f
AK
6453 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6454 attribute_hidden.
6455 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6456
c3e94a95
AK
64572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6458
6459 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6460 fourth parameter needed for rt_sigprocmask syscall.
6461 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6462 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6463 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6464 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6466 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6467
cfb6382a
JM
64682013-03-04 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #13550]
6471 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6472 comment about bounded pointers.
6473 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6474 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6475
539d8e01
AJ
64762013-03-04 Andreas Jaeger <aj@suse.de>
6477
6478 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6479 common definitions.
6480
6481 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6482 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6487
2e167a70 64882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6489
6490 [BZ #15055]
6491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6492 __ieee754_sqrl instead of __sqrl.
6493
68508633
JM
64942013-03-01 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6497 * sysdeps/powerpc/fpu_control.h: ... here.
6498 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6499 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6500 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6501 * sysdeps/powerpc/bits/mathinline.h: ... here.
6502
7775448e
RM
65032013-03-01 Roland McGrath <roland@hack.frob.com>
6504
6505 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6506 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6507 to just [NEED_DL_SYSINFO_DSO].
6508 * elf/dl-support.c: Likewise.
6509 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6510 * elf/rtld.c (dl_main): Likewise.
6511 * elf/setup-vdso.h (setup_vdso): Likewise.
6512 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6513 * sysdeps/unix/sysv/linux/dl-sysdep.c
6514 (_dl_discover_osversion): Likewise.
6515
4e9b5995
CD
65162013-03-01 Carlos O'Donell <carlos@redhat.com>
6517
6518 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6519 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6520
e23872c8
SP
65212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6522
e5c74c63
SP
6523 * NEWS: Mention libm performance improvements and non-x86 PI
6524 futex support.
6525
e23872c8
SP
6526 * csu/libc-start.c (__pthread_initialize_minimal): Change
6527 function arguments.
6528 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6529
b5510883
JM
65302013-02-28 Joseph Myers <joseph@codesourcery.com>
6531
6532 [BZ #13550]
6533 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6534 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6535 <bp-sym.h> and <bp-asm.h>.
6536 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6537 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6538 and <bp-asm.h>.
6539 (memcpy): Don't use BP_SYM.
6540 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6541 <bp-asm.h>.
6542 (__mpn_add_n): Don't use BP_SYM.
6543 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6544 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6545 and <bp-asm.h>.
6546 (__mpn_addmul_1): Don't use BP_SYM.
6547 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6548 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6549 <bp-sym.h>.
6550 (_setjmp): Don't use BP_SYM.
6551 (__novmx_setjmp): Likewise.
6552 (__GI__setjmp): Likewise.
6553 (__vmx_setjmp): Likewise.
6554 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6555 <bp-sym.h>.
6556 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6557 (__bzero): Don't use BP_SYM.
6558 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6560 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6561 <bp-sym.h> and <bp-asm.h>.
6562 (memcpy): Don't use BP_SYM.
6563 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6564 <bp-sym.h> and <bp-asm.h>.
6565 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6566 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6567 <bp-sym.h> and <bp-asm.h>.
6568 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6569 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6570 <bp-asm.h>.
6571 (__mpn_lshift): Don't use BP_SYM.
6572 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6573 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6574 <bp-asm.h>.
6575 (memset): Don't use BP_SYM.
6576 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6577 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6578 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6579 <bp-asm.h>.
6580 (__mpn_mul_1): Don't use BP_SYM.
6581 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6582 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6583 <bp-sym.h> and <bp-asm.h>.
6584 (memcmp): Don't use BP_SYM.
6585 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6586 <bp-sym.h> and <bp-asm.h>.
6587 (memcpy): Don't use BP_SYM.
6588 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6589 <bp-sym.h> and <bp-asm.h>.
6590 (memset): Don't use BP_SYM.
6591 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6592 <bp-sym.h> and <bp-asm.h>.
6593 (strncmp): Don't use BP_SYM.
6594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6595 <bp-sym.h> and <bp-asm.h>.
6596 (memcpy): Don't use BP_SYM.
6597 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6598 <bp-sym.h> and <bp-asm.h>.
6599 (memset): Don't use BP_SYM.
6600 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6601 <bp-sym.h> and <bp-asm.h>.
6602 (__memchr): Don't use BP_SYM.
6603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6604 <bp-sym.h> and <bp-asm.h>.
6605 (memcmp): Don't use BP_SYM.
6606 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6607 <bp-sym.h> and <bp-asm.h>.
6608 (memcpy): Don't use BP_SYM.
6609 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6610 <bp-sym.h> and <bp-asm.h>.
6611 (__mempcpy): Don't use BP_SYM.
6612 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6613 <bp-sym.h> and <bp-asm.h>.
6614 (__memrchr): Don't use BP_SYM.
6615 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6616 <bp-sym.h> and <bp-asm.h>.
6617 (memset): Don't use BP_SYM.
6618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6619 <bp-sym.h> and <bp-asm.h>.
6620 (__rawmemchr): Don't use BP_SYM.
6621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6622 <bp-sym.h> and <bp-asm.h>.
6623 (__STRCMP): Don't use BP_SYM.
6624 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6625 <bp-sym.h> and <bp-asm.h>.
6626 (strchr): Don't use BP_SYM.
6627 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6628 <bp-sym.h> and <bp-asm.h>.
6629 (__strchrnul): Don't use BP_SYM.
6630 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6631 <bp-sym.h> and <bp-asm.h>.
6632 (strlen): Don't use BP_SYM.
6633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6634 <bp-sym.h> and <bp-asm.h>.
6635 (strncmp): Don't use BP_SYM.
6636 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6637 <bp-sym.h> and <bp-asm.h>.
6638 (__strnlen): Don't use BP_SYM.
6639 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6640 <bp-asm.h>.
6641 (__mpn_rshift): Don't use BP_SYM.
6642 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6643 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6644 <bp-sym.h> and <bp-asm.h>.
6645 (__sigsetjmp): Don't use BP_SYM.
6646 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6647 (L(start_addresses)): Don't use BP_SYM.
6648 (_start): Likewise.
6649 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6650 <bp-asm.h>.
6651 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6652 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6653 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6654 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6655 <bp-asm.h>.
6656 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6657 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6658 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6659 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6660 <bp-asm.h>.
6661 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6662 comments.
6663 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6664 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6665 <bp-asm.h>.
6666 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6667 FIXME comments.
6668 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6669 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6670 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6671 <bp-asm.h>.
6672 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6673 comment.
6674 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6675 and <bp-asm.h>.
6676 (strncmp): Don't use BP_SYM,
6677 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6678 <bp-asm.h>.
6679 (__mpn_sub_n): Don't use BP_SYM.
6680 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6682 and <bp-asm.h>.
6683 (__mpn_submul_1): Don't use BP_SYM.
6684 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6686 <bp-sym.h> and <bp-asm.h>.
6687 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6689 <bp-sym.h> and <bp-asm.h>.
6690 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6691 comment.
6692
8d19fe64
SP
66932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6694
6695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6696 Use ZK to minimize writes to Z.
6697 (sub_magnitudes): Simplify code a bit.
6698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6699 Use ZK to minimize writes to Z.
6700 (sub_magnitudes): Simplify code a bit.
6701
85bd816a
RM
67022013-02-27 Roland McGrath <roland@hack.frob.com>
6703
6704 * csu/gmon-start.c: Add special exception to license text.
6705
b5977bf2
RH
67062013-02-27 Richard Henderson <rth@redhat.com>
6707
6708 * scripts/config.guess: Update from config.git.
6709 * scripts/config.sub: Likewise.
6710
11d6e2f2
SP
67112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
09c14ed2
SP
6713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6714
a688864e
SP
6715 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6716
6295157a
SP
6717 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6718
b8de2202
SP
6719 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6720
11d6e2f2
SP
6721 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6722
7e80ddb8
RM
67232013-02-26 Roland McGrath <roland@hack.frob.com>
6724
6725 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6726 [$(build-shared = yes].
7e80ddb8 6727
7da6d9ed
SP
67282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6729
45f05884
SP
6730 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6731 (__mul): Reduce iterations for calculating mantissa.
6732
2236d359
SP
6733 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6734 MPTWO.
6735 (__mpranred): Likewise.
6736
7da6d9ed
SP
6737 [BZ #15160]
6738 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6739 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6740
b7688c42
PE
67412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6742
6743 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6744 Define __attribute__.
6745
53a5c423
SP
67462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6747
6748 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6749 unused.
6750 * posix/regex_internal.h (__attribute): Remove.
6751 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6752 (re_string_context_at): Likewise.
6753 (bitset_not): Use __attribute__ and mark function as possibly
6754 unused.
6755 (bitset_merge): Likewise.
6756 (bitset_mask): Likewise.
6757 (re_string_char_size_at): Likewise.
6758 (re_string_wchar_at): Likewise.
6759 (re_string_elem_size_at): Likewise.
6760
60f5a8b5
SP
67612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6762
2a983a2e
SP
6763 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6764 code.
6765 (cc32): Likewise.
6766
e69804d1
SP
6767 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6768 (__acr): Likewise.
6769 (__cpy): Likewise.
6770 (norm): Likewise.
6771 (denorm): Likewise.
6772 (__dbl_mp): Likewise.
6773 (add_magnitudes): Likewise.
6774 (sub_magnitudes): Likewise.
6775 (__mul): Likewise.
6776 (__inv): Likewise.
6777
2f22a1e8
SP
6778 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6779 style.
6780
8930ddc7
SP
6781 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6782 style.
6783
dc60cb11
SP
6784 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6785 code.
6786
60f5a8b5
SP
6787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6788 up changes with default code.
6789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6790 Likewise.
6791
b4d1fd33
AM
67922013-02-24 Allan McRae <allan@archlinux.org>
6793
faf6f8bc
AM
6794 * manual/socket.texi (The Internet Namespace): Order menu items
6795 to match that in the file.
6796
b4d1fd33
AM
6797 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6798 node listing of the info page menu.
6799
2366713d
JM
68002013-02-21 Joseph Myers <joseph@codesourcery.com>
6801
6802 [BZ #13550]
6803 * sysdeps/i386/bp-asm.h: Remove file.
6804 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6805 (PARMS): Do not use macros from bp-asm.h.
6806 (S1): Likewise.
6807 (S2): Likewise.
6808 (SIZE): Likewise.
6809 (__mpn_add_n): Do not use BP_SYM
6810 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6811 "bp-asm.h".
6812 (PARMS): Do not use macros from bp-asm.h.
6813 (S1): Likewise.
6814 (SIZE): Likewise.
6815 (__mpn_addmul_1): Do not use BP_SYM
6816 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6817 "bp-asm.h".
6818 (PARMS): Do not use macros from bp-asm.h.
6819 (SIGMSK): Likewise.
6820 (_setjmp): Likewise. Do not use BP_SYM.
6821 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6822 "bp-asm.h".
6823 (PARMS): Do not use macros from bp-asm.h.
6824 (SIGMSK): Likewise.
6825 (setjmp): Likewise. Do not use BP_SYM.
6826 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6827 "bp-asm.h".
6828 (PARMS): Do not use macros from bp-asm.h.
6829 (__frexp): Do not use BP_SYM.
6830 (frexp): Likewise.
6831 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6832 "bp-asm.h".
6833 (PARMS): Do not use macros from bp-asm.h.
6834 (__frexpf): Do not use BP_SYM.
6835 (frexpf): Likewise.
6836 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6837 "bp-asm.h".
6838 (PARMS): Do not use macros from bp-asm.h.
6839 (__frexpl): Do not use BP_SYM.
6840 (frexpl): Likewise.
6841 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6842 "bp-asm.h".
6843 (PARMS): Do not use macros from bp-asm.h.
6844 (__remquo): Do not use BP_SYM.
6845 (remquo): Likewise.
6846 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6847 "bp-asm.h".
6848 (PARMS): Do not use macros from bp-asm.h.
6849 (__remquof): Do not use BP_SYM.
6850 (remquof): Likewise.
6851 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6852 "bp-asm.h".
6853 (PARMS): Do not use macros from bp-asm.h.
6854 (__remquol): Do not use BP_SYM.
6855 (remquol): Likewise.
6856 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6857 "bp-asm.h".
6858 (PARMS): Do not use macros from bp-asm.h.
6859 (DEST): Likewise.
6860 (SRC): Likewise.
6861 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6862 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6863 "bp-asm.h".
6864 (PARMS): Do not use macros from bp-asm.h.
6865 (strlen): Do not use BP_SYM.
6866 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6867 "bp-asm.h".
6868 (PARMS): Do not use macros from bp-asm.h.
6869 (S1): Likewise.
6870 (S2): Likewise.
6871 (SIZE): Likewise.
6872 (__mpn_add_n): Do not use BP_SYM.
6873 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6874 "bp-asm.h".
6875 (PARMS): Do not use macros from bp-asm.h.
6876 (S1): Likewise.
6877 (SIZE): Likewise.
6878 (__mpn_addmul_1): Do not use BP_SYM.
6879 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6880 weak_alias.
6881 (bzero): Likewise.
6882 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6883 "bp-asm.h".
6884 (PARMS): Do not use macros from bp-asm.h.
6885 (S): Likewise.
6886 (SIZE): Likewise.
6887 (__mpn_lshift): Do not use BP_SYM.
6888 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6889 "bp-asm.h".
6890 (PARMS): Do not use macros from bp-asm.h.
6891 (DEST): Likewise.
6892 (SRC): Likewise.
6893 (LEN): Likewise.
6894 (memcpy): Likewise. Do not use BP_SYM.
6895 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6896 libc_hidden_def and weak_alias.
6897 (mempcpy): Do not use BP_SYM in weak_alias.
6898 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6899 "bp-asm.h".
6900 (PARMS): Do not use macros from bp-asm.h.
6901 (DEST): Likewise.
6902 (LEN): Likewise.
6903 [!BZERO_P] (CHR): Likewise.
6904 (memset): Likewise. Do not use BP_SYM.
6905 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6906 "bp-asm.h".
6907 (PARMS): Do not use macros from bp-asm.h.
6908 (S1): Likewise.
6909 (SIZE): Likewise.
6910 (__mpn_mul_1): Do not use BP_SYM.
6911 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6912 "bp-asm.h".
6913 (PARMS): Do not use macros from bp-asm.h.
6914 (S): Likewise.
6915 (SIZE): Likewise.
6916 (__mpn_rshift): Do not use BP_SYM.
6917 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6918 "bp-asm.h".
6919 (PARMS): Do not use macros from bp-asm.h.
6920 (STR): Likewise.
6921 (CHR): Likewise.
6922 (strchr): Likewise. Do not use BP_SYM.
6923 (index): Do not use BP_SYM in weak_alias.
6924 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6925 "bp-asm.h".
6926 (PARMS): Do not use macros from bp-asm.h.
6927 (DEST): Likewise.
6928 (SRC): Likewise.
6929 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6930 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6931 "bp-asm.h".
6932 (PARMS): Do not use macros from bp-asm.h.
6933 (strlen): Do not use BP_SYM.
6934 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6935 "bp-asm.h".
6936 (PARMS): Do not use macros from bp-asm.h.
6937 (S1): Likewise.
6938 (S2): Likewise.
6939 (SIZE): Likewise.
6940 (__mpn_sub_n): Do not use BP_SYM.
6941 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6942 "bp-asm.h".
6943 (PARMS): Do not use macros from bp-asm.h.
6944 (S1): Likewise.
6945 (SIZE): Likewise.
6946 (__mpn_submul_1): Do not use BP_SYM.
6947 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6948 "bp-asm.h".
6949 (PARMS): Do not use macros from bp-asm.h.
6950 (S1): Likewise.
6951 (S2): Likewise.
6952 (SIZE): Likewise.
6953 (__mpn_add_n): Do not use BP_SYM.
6954 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6955 weak_alias.
6956 (bzero): Likewise.
6957 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6958 "bp-asm.h".
6959 (PARMS): Do not use macros from bp-asm.h.
6960 (BLK2): Likewise.
6961 (LEN): Likewise.
6962 (memcmp): Do not use BP_SYM.
6963 (bcmp): Do not use BP_SYM in weak_alias.
6964 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (DEST): Likewise.
6968 (SRC): Likewise.
6969 (LEN): Likewise.
6970 (memcpy): Likewise. Do not use BP_SYM.
6971 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6972 "bp-asm.h".
6973 (PARMS): Do not use macros from bp-asm.h.
6974 (DEST): Likewise.
6975 (SRC): Likewise.
6976 (LEN): Likewise.
6977 (memmove): Likewise. Do not use BP_SYM.
6978 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6979 "bp-asm.h".
6980 (PARMS): Do not use macros from bp-asm.h.
6981 (DEST): Likewise.
6982 (SRC): Likewise.
6983 (LEN): Likewise.
6984 (__mempcpy): Likewise. Do not use BP_SYM.
6985 (mempcpy): Do not use BP_SYM in weak_alias.
6986 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
6991 [!BZERO_P] (CHR): Likewise.
6992 (memset): Likewise. Do not use BP_SYM.
6993 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6994 "bp-asm.h".
6995 (PARMS): Do not use macros from bp-asm.h.
6996 (STR2): Likewise.
6997 (strcmp): Do not use BP_SYM.
6998 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6999 "bp-asm.h".
7000 (PARMS): Do not use macros from bp-asm.h.
7001 (STR): Likewise.
7002 (DELIM): Likewise.
7003 [USE_AS_STRTOK_R] (SAVE): Likewise.
7004 (FUNCTION): Likewise. Do not use BP_SYM.
7005 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7006 aliases.
7007 (strtok_r): Likewise.
7008 (__GI___strtok_r): Likewise.
7009 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7010 (PARMS): Do not use macros from bp-asm.h.
7011 (S): Likewise.
7012 (SIZE): Likewise.
7013 (__mpn_lshift): Do not use BP_SYM.
7014 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7015 (PARMS): Do not use macros from bp-asm.h.
7016 (STR): Likewise.
7017 (CHR): Likewise.
7018 (__memchr): Do not use BP_SYM.
7019 (memchr): Do not use BP_SYM in weak_alias.
7020 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7021 (PARMS): Do not use macros from bp-asm.h.
7022 (BLK2): Likewise.
7023 (LEN): Likewise.
7024 (memcmp): Do not use BP_SYM.
7025 (bcmp): Do not use BP_SYM in weak_alias.
7026 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7027 (PARMS): Do not use macros from bp-asm.h.
7028 (S1): Likewise.
7029 (SIZE): Likewise.
7030 (__mpn_mul_1): Do not use BP_SYM.
7031 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7032 "bp-asm.h".
7033 (PARMS): Do not use macros from bp-asm.h.
7034 (STR): Likewise.
7035 (CHR): Likewise.
7036 (__rawmemchr): Do not use BP_SYM.
7037 (rawmemchr): Do not use BP_SYM in weak_alias.
7038 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7039 (PARMS): Do not use macros from bp-asm.h.
7040 (S): Likewise.
7041 (SIZE): Likewise.
7042 (__mpn_rshift): Do not use BP_SYM.
7043 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7044 (PARMS): Do not use macros from bp-asm.h.
7045 (SIGMSK): Likewise.
7046 (__sigsetjmp): Likewise. Do not use BP_SYM.
7047 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7048 (_start): Do not use BP_SYM.
7049 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7050 (PARMS): Do not use macros from bp-asm.h.
7051 (DEST): Likewise.
7052 (SRC): Likewise.
7053 (__stpcpy): Likewise. Do not use BP_SYM.
7054 (stpcpy): Do not use BP_SYM in weak_alias.
7055 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7056 "bp-asm.h".
7057 (PARMS): Do not use macros from bp-asm.h.
7058 (DEST): Likewise.
7059 (SRC): Likewise.
7060 (LEN): Likewise.
7061 (__stpncpy): Likewise. Do not use BP_SYM.
7062 (stpncpy): Do not use BP_SYM in weak_alias.
7063 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (STR): Likewise.
7066 (CHR): Likewise.
7067 (strchr): Likewise. Do not use BP_SYM.
7068 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (STR): Likewise.
7072 (CHR): Likewise.
7073 (__strchrnul): Likewise. Do not use BP_SYM.
7074 (strchrnul): Do not use BP_SYM in weak_alias.
7075 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7076 "bp-asm.h".
7077 (PARMS): Do not use macros from bp-asm.h.
7078 (STOP): Likewise.
7079 (strcspn): Do not use BP_SYM.
7080 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7081 "bp-asm.h".
7082 (PARMS): Do not use macros from bp-asm.h.
7083 (STR): Likewise.
7084 (STOP): Likewise.
7085 (strpbrk): Likewise. Do not use BP_SYM.
7086 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7087 "bp-asm.h".
7088 (PARMS): Do not use macros from bp-asm.h.
7089 (STR): Likewise.
7090 (CHR): Likewise.
7091 (strrchr): Likewise. Do not use BP_SYM.
7092 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7093 (PARMS): Do not use macros from bp-asm.h.
7094 (SKIP): Likewise.
7095 (strspn): Do not use BP_SYM.
7096 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7097 (PARMS): Do not use macros from bp-asm.h.
7098 (STR): Likewise.
7099 (DELIM): Likewise.
7100 (SAVE): Likewise.
7101 (FUNCTION): Likewise. Do not use BP_SYM.
7102 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7103 aliases.
7104 (strtok_r): Likewise.
7105 (__GI___strtok_r): Likewise.
7106 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7107 (PARMS): Do not use macros from bp-asm.h.
7108 (S1): Likewise.
7109 (S2): Likewise.
7110 (SIZE): Likewise.
7111 (__mpn_sub_n): Do not use BP_SYM.
7112 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7113 "bp-asm.h".
7114 (PARMS): Do not use macros from bp-asm.h.
7115 (S1): Likewise.
7116 (SIZE): Likewise.
7117 (__mpn_submul_1): Do not use BP_SYM.
7118 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7119 <bp-sym.h>.
7120 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7121 and <bp-asm.h>.
7122 (PARMS): Do not use macros from bp-asm.h.
7123 (FLAGS): Likewise.
7124 (PTID): Likewise.
7125 (TLS): Likewise.
7126 (CTID): Likewise.
7127 (__clone): Do not use BP_SYM.
7128 (clone): Do not use BP_SYM in weak_alias.
7129 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7130 and <bp-asm.h>.
7131 (PARMS): Do not use macros from bp-asm.h.
7132 (LEN): Likewise.
7133 (__mmap64): Do not use BP_SYM.
7134 (mmap64): Do not use BP_SYM in weak_alias.
7135 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7136 <bp-sym.h> and <bp-asm.h>.
7137 (PARMS): Do not use macros from bp-asm.h.
7138 (__posix_fadvise64_l64): Do not use BP_SYM.
7139 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7140 (PARMS): Do not use macros from bp-asm.h.
7141 (NSOPS): Likewise.
7142 (semtimedop): Do not use BP_SYM.
7143 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7144 and <bp-asm.h>.
7145
582a3cff
AM
71462013-02-21 Allan McRae <allan@archlinux.org>
7147
7148 * manual/message.texi (Charset conversion in gettext):
7149 Move @end statement to beginning of line.
7150
bab8a695
SP
71512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7152
80945231
SP
7153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7154 static.
7155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7156 Likewise.
7157
bab8a695
SP
7158 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7159 (denorm): Likewise.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7162
e21d7aa7
AK
71632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7164
7165 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7166 tail-call to the resolved function if pltexit isn't needed.
7167
4c7a4263
SP
71682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7169
7170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7171 or Y being zero as being unlikely.
7172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7173 Likewise.
7174
41f49342
CD
71752013-02-20 Carlos O'Donell <carlos@redhat.com>
7176
7177 * manual/nss.texi (System Databases and Name Service Switch):
7178 Remove frobnicate @pxref.
7179
50022a93
TS
71802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7181
7182 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7183 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7184
08cbd996
PM
71852013-02-20 Petr Machata <pmachata@redhat.com>
7186
7187 * elf/elf.h (R_ARM_TARGET1): New macro.
7188 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7189 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7190 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7191 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7192 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7193 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7194 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7195 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7196 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7197 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7198 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7199 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7200 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7201 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7202 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7203 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7204 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7205 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7206 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7207 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7208 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7209 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7210 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7211 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7212 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7213 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7214 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7215 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7216 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7217 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7218 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7219 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7220 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7221 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7222 (R_ARM_THM_GOT_BREL12): Likewise.
7223 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7224 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7225 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7226 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7227 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7228 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7229 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7230 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7231 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7232
c7b275d6
TS
72332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7234
7235 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7236 __attribute_used__ to __attribute__ ((unused)).
7237
20cd7fb3
SP
72382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7239
7240 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7241 powerpc mpa.c.
7242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7243 comment formatting.
7244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7245
92945b52
JM
72462013-02-19 Joseph Myers <joseph@codesourcery.com>
7247
7248 [BZ #13550]
7249 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7250 Remove macro.
7251 (ENTER): Remove both macro definitions.
7252 (LEAVE): Likewise.
7253 (CHECK_BOUNDS_LOW): Likewise.
7254 (CHECK_BOUNDS_HIGH): Likewise.
7255 (CHECK_BOUNDS_BOTH): Likewise.
7256 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7257 (RETURN_BOUNDED_POINTER): Likewise.
7258 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7259 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7260 (POP_ERRNO_LOCATION_RETURN): Likewise.
7261 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7262 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7263 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7264 macros.
7265 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7266 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7267 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7268 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7269 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7270 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7271 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7272 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7273 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7274 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7275 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7276 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7277 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7278 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7279 removed macros.
7280 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7281 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7282 macros.
7283 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7284 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7285 * sysdeps/i386/i586/memset.S (memset): Likewise.
7286 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7287 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7288 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7289 macros.
7290 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7291 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7292 Change uses of L(2) to L(out).
7293 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7294 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7295 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7296 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7297 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7298 removed macros.
7299 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7300 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7301 macros.
7302 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7303 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7304 (RETURN): Do not use macro LEAVE.
7305 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7306 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7307 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7308 * sysdeps/i386/i686/memset.S (memset): Likewise.
7309 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7310 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7311 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7312 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7313 Likewise.
7314 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7315 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7316 L(1_2) and L(1_3) into L(1).
7317 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7318 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7319 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7321 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7322 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7323 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7324 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7325 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7326 macros.
7327 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7328 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7329 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7330 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7331 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7332 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7333 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7334 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7335 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7336 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7337 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7338 * sysdeps/i386/strspn.S (strspn): Likewise.
7339 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7340 conditional code.
7341 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7342 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7343 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7344 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7345 L(1_3) into L(1_1).
7346 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7348 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7349 macros.
7350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7351
2389741a
JJ
73522013-02-19 Jakub Jelinek <jakub@redhat.com>
7353
7354 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7355 macro.
7356
2016b3cd
SP
73572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7358
e4f22324
SP
7359 * math/atest-exp.c (exp_mpn): Remove ROUND.
7360 * math/atest-exp2.c (exp_mpn): Likewise.
7361 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7362
2016b3cd
SP
7363 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7364 * stdlib/tst-tls-atexit-lib.c: Likewise.
7365 * stdlib/tst-tls-atexit.c: Likewise.
7366
4be9b544
MF
73672013-02-18 Mike Frysinger <vapier@gentoo.org>
7368
7369 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7370 and __attribute_alloc_size__.
7371
2f62b9ee
MF
73722013-02-18 Mike Frysinger <vapier@gentoo.org>
7373
7374 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7375 __attribute_alloc_size__.
7376 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7377 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7378
6ff444c4
MF
73792013-02-18 Mike Frysinger <vapier@gentoo.org>
7380
7381 * include/programs/xmalloc.h: New file.
7382 * catgets/gencat.c: Include it.
7383 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7384 * elf/pldd.c: Likewise.
7385 * iconv/iconv_charmap.c: Likewise.
7386 * iconv/iconvconfig.c: Likewise.
7387 * iconv/strtab.c: Likewise.
7388 * locale/programs/locale.c: Likewise.
7389 * locale/programs/localedef.h: Likewise.
7390 * locale/programs/simple-hash.c: Likewise.
7391 * nscd/nscd.h: Likewise.
7392 * nss/makedb.c: Likewise.
7393 * sysdeps/generic/ldconfig.h: Likewise.
7394
be179c8a
SP
73952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7396
ba384f6e
SP
7397 * Versions.def: Add GLIBC_2.18.
7398 * include/link.h (struct link_map): New member l_tls_dtor_count.
7399 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7400 (__call_tls_dtors): Likewise.
7401 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7402 __cxa_thread_atexit_impl.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7404 Likewise.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7406 Likewise.
7407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7408 Likewise.
7409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7410 Likewise.
7411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7413 Likewise.
7414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7415 Likewise.
7416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7418 Likewise.
7419 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7420 (tests): Add test case tst-tls-atexit.
7421 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7422 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7423 (GLIBC_PRIVATE): Add __call_tls_dtors.
7424 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7425 for libstdc++.
7426 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7427 * stdlib/tst-tls-atexit.c: New test case.
7428 * stdlib/tst-tls-atexit-lib.c: New test case.
7429
ffaa74cf 7430 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7431
be179c8a
SP
7432 * elf/Versions (ld): Add _dl_find_dso_for_object.
7433 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7434 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7435 (dl_open_worker): Use _dl_find_dso_for_object.
7436 * elf/dl-sym.c (do_sym): Likewise.
7437 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7438
f78b5caa
AK
74392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7440
7441 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7442 Syntactic changes only.
7443 (_dl_runtime_profile): Do a tail-call to the resolved function.
7444
29691210
JM
74452013-02-17 Joseph Myers <joseph@codesourcery.com>
7446
7447 [BZ #13550]
7448 * sysdeps/x86_64/bp-asm.h: Remove file.
7449 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (__clone): Do not use BP_SYM.
7452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7453 <bp-sym.h> and <bp-asm.h>.
7454 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7455 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7456 "bp-asm.h".
7457 (_setjmp): Do not use BP_SYM.
7458 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7459 "bp-asm.h".
7460 (setjmp): Do not use BP_SYM.
7461 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7462 libc_hidden_def.
7463 (mempcpy): Do not use BP_SYM in weak_alias.
7464 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7465 "bp-asm.h".
7466 (strchr): Do not use BP_SYM.
7467 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7468 "bp-asm.h".
7469 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7470 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7471 (_start): Do not use BP_SYM.
7472 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7473 "bp-asm.h".
7474 (strcat): Do not use BP_SYM.
7475 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7476 "bp-asm.h".
7477 (STRCMP): Do not use BP_SYM.
7478 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7479 "bp-asm.h".
7480 (STRCPY): Do not use BP_SYM.
7481 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7482 "bp-asm.h".
7483 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7484 "bp-asm.h".
7485 (FUNCTION): Do not use BP_SYM.
7486 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7487 weak_alias.
7488 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7489
f238fd19
AJ
74902013-02-17 Andreas Jaeger <aj@suse.de>
7491
7492 * time/Versions: Sort entries.
7493 * string/Versions: Likewise.
7494 * resolv/Versions: Likewise.
7495 * posix/Versions: Likewise.
7496 * iconv/Versions: Likewise.
7497 * elf/Versions: Likewise.
7498 * wcsmbs/Versions: Likewise.
7499
bd07f23c 75002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7501
22af19f9
SP
7502 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7503 loop termination condition.
7504
4709fe76
SP
7505 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7506 variable to calculate EZ.
7507 (__sqr): Likewise.
2d0e0f29
SP
7508
7509 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7510 the lower precision input.
7511
daaa7713
JM
75122013-02-15 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #13550]
7515 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7516 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7517 (run-via-rtld-prefix): Do not handle %-bp tests.
7518 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7519 (all-object-suffixes): Remove .ob.
7520 (bppfx): Remove variable.
7521 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7522 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7523 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7524 [$(build-bounded) = yes] (libtype.ob): Likewise.
7525 * Makerules (elide-routines.ob): Remove variable.
7526 (do-tests-clean): Do not handle *-bp.out.
7527 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7528 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7529 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7530 (tests): Do not include $(tests-bp.out).
7531 (xtests): Do not include $(xtests-bp.out).
7532 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7533 [$(build-bounded) = yes] ($(addprefix
7534 $(objpfx),$(binaries-bounded))): Remove rule.
7535 ($(objpfx)%-bp.out): Remove rule.
7536 * config.make.in (build-bounded): Remove variable.
7537 * crypt/Makefile [$(build-bounded) = yes]
7538 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7539 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7540 append to variable.
7541 [$(build-bounded) = yes] (install-lib): Likewise.
7542 [$(build-bounded) = yes] (generated): Likewise.
7543 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7544 Remove rule.
7545 * intl/Makefile [$(build-bounded) = yes]
7546 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7547 * math/Makefile [$(build-bounded) = yes]
7548 ($(tests:%=$(objpfx)%-bp): Likewise.
7549 * misc/Makefile [$(build-bounded) = yes]
7550 ($(objpfx)tst-tsearch-bp): Likewise.
7551 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7552 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7553 Remove dependency.
7554 * string/Makefile (o-objects.ob): Remove variable.
7555 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7556 (CFLAGS-.ob): Remove variable.
7557 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7558 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7559 both definitions of variable.
7560 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7561 (ASFLAGS-.ob): Remove variable.
7562
e97ed6dd
JM
75632013-02-14 Joseph Myers <joseph@codesourcery.com>
7564
2bdd4ca6
JM
7565 [BZ #13550]
7566 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7567 Remove __BOUNDED_POINTERS__ from condition.
7568 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7569 * string/bits/string2.h [!__NO_STRING_INLINES &&
7570 !__BOUNDED_POINTERS__]: Likewise.
7571 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7572 Likewise.
7573 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7574 Remove conditional code.
7575 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7576 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7577 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7578 condition.
7579
e97ed6dd
JM
7580 [BZ #13550]
7581 * csu/libc-start.c: Do not include <bp-sym.h>.
7582 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7583 * elf/dl-open.c: Do not include <bp-sym.h>.
7584 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7585 * math/fegetenv.c: Do not include <bp-sym.h>.
7586 (fegetenv): Do not use BP_SYM in versioned symbols.
7587 * nptl/sysdeps/pthread/bits/libc-lockP.h
7588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7589 <bp-sym.h>.
7590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7591 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7593 (__pthread_mutex_destroy): Likewise.
7594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7595 (__pthread_mutex_lock): Likewise.
7596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7597 (__pthread_mutex_trylock): Likewise.
7598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7599 (__pthread_mutex_unlock): Likewise.
7600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7601 (__pthread_mutexattr_init): Likewise.
7602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7603 (__pthread_mutexattr_destroy): Likewise.
7604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7605 (__pthread_mutexattr_settype): Likewise.
7606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7607 (__pthread_rwlock_init): Likewise.
7608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7609 (__pthread_rwlock_destroy): Likewise.
7610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7611 (__pthread_rwlock_rdlock): Likewise.
7612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7613 (__pthread_rwlock_tryrdlock): Likewise.
7614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7615 (__pthread_rwlock_wrlock): Likewise.
7616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7617 (__pthread_rwlock_trywrlock): Likewise.
7618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7619 (__pthread_rwlock_unlock): Likewise.
7620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7621 (__pthread_key_create): Likewise.
7622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7623 (__pthread_setspecific): Likewise.
7624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7625 (__pthread_getspecific): Likewise.
7626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7627 Likewise.
7628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7629 (_pthread_cleanup_push_defer): Likewise.
7630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7631 (_pthread_cleanup_pop_restore): Likewise.
7632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7633 (pthread_setcancelstate): Likewise.
7634 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7635 <bp-sym.h>.
7636 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7637 (memchr): Do not use BP_SYM in weak_alias.
7638 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7639 (fegetenv): Do not use BP_SYM in versioned symbols.
7640 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7641 (fesetenv): Do not use BP_SYM in versioned symbols.
7642 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7643 (feupdateenv): Do not use BP_SYM in versioned symbols.
7644 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7645 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7646 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7647 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7648 (open64): Do not use BP_SYM in weak_alias.
7649 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7650 (fegetenv): Do not use BP_SYM in versioned symbols.
7651 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7652 (fesetenv): Do not use BP_SYM in versioned symbols.
7653 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7654 (feupdateenv): Do not use BP_SYM in versioned symbols.
7655 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7656 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7657 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7658 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7659 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7660 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7661 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7662 <bp-sym.h>.
7663 (__libc_start_main): Do not use BP_SYM.
7664
d6752ccd
SP
76652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7666
cb57ce60
SP
7667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7668 redundant return line.
7669 (norm): Likewise.
7670 (denorm): Likewise.
7671 (dbl_mp): Likewise.
7672 (sub_magnitudes): Likewise.
7673 (__add): Likewise.
7674 (__sub): Likewise.
7675 (__mul): Likewise.
7676 (__inv): Likewise.
7677 (__dvd): Likewise.
7678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7679 (norm): Likewise.
7680 (denorm): Likewise.
7681 (dbl_mp): Likewise.
7682 (sub_magnitudes): Likewise.
7683 (__add): Likewise.
7684 (__sub): Likewise.
7685 (__mul): Likewise.
7686 (__inv): Likewise.
7687 (__dvd): Likewise.
7688
f414520d
SP
7689 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7690 instead of __mul.
7691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7692 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7693 (cc32): Likewise.
7694
d6752ccd
SP
7695 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7696 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7698 of __mul for squares.
7699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7700 function
7701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7702 Likewise.
7703 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7705
70d9946a
JM
77062013-02-13 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #13550]
7709 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7710 code.
7711 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7712 prototype or function definition. Rename ubp_* variables and
7713 parameters. Remove argv definitions conditional on
7714 [__BOUNDED_POINTERS__].
7715 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7716 * elf/dl-runtime.c (_dl_fixup): Likewise.
7717 * include/set-hooks.h (RUN_HOOK): Likewise.
7718 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7719 definition.
7720 * string/strcpy.c (strcpy): Do not use __unbounded.
7721 * sysdeps/generic/frame.h (struct layout): Likewise.
7722 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7723 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7724 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7725 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7726 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7727 (__backtrace): Likewise.
7728 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7729 use __ptrvalue.
7730 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7731 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7732 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7733 Likewise.
7734 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7735 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7736 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7737 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7738 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7739 Do not use __unbounded.
7740 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7741 Rename __unboundedrlimits parameter to rlimits in prototype.
7742 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7743 Do not use __unbounded.
7744 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7745 not use __ptrvalue.
7746 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7747 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7748 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7749 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7750 __ptrvalue or __unbounded.
7751 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7752 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7753 use __unbounded.
7754 (__new_msgctl): Do not use __ptrvalue.
7755 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7756 __unbounded.
7757 (__libc_msgrcv): Do not use __ptrvalue.
7758 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7759 startup_info): Do not use __unbounded.
7760 (__libc_start_main): Likewise. Rename ubp_* variables and
7761 parameters. Remove argv definitions conditional on
7762 [__BOUNDED_POINTERS__].
7763 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7764 __ptrvalue.
7765 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7766 use __unbounded.
7767 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7768 or __ptrvalue.
7769 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7770 use __unbounded.
7771 (__new_shmctl): Do not use __ptrvalue.
7772 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7773 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7774 Likewise.
7775 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7777 (__libc_sigaction): Likewise.
7778 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7779 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7780 Likewise.
7781 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7782
cc7834d6
OB
77832013-02-13 Ondřej Bílka <neleai@seznam.cz>
7784
ffb1ec7b 7785 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7786
7787 * string/mempcpy.c: Implement by calling memcpy.
7788
bdf02814
SP
77892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
c2af38aa
SP
7791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7792
4e92d59e
SP
7793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7794 evaluation.
7795
909279a5
SP
7796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7797 values in the mantissa.
7798
bdf02814
SP
7799 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7800 minimize writes to Z.
7801 (sub_magnitudes): Simplify code a bit.
7802
cd525923
RM
78032013-02-12 Roland McGrath <roland@hack.frob.com>
7804
7805 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7806 from the message. The linker prefixes all warnings with that already.
7807
7e2f0d2d
AS
78082013-02-12 Andreas Schwab <schwab@suse.de>
7809
a445af0b
AS
7810 [BZ #15078]
7811 * posix/regexec.c (extend_buffers): Add parameter min_len.
7812 (check_matching): Pass minimum needed length.
7813 (clean_state_log_if_needed): Likewise.
7814 (get_subexp): Likewise.
7815 * posix/Makefile (tests): Add bug-regex34.
7816 (bug-regex34-ENV): Define.
7817 * posix/bug-regex34.c: New file.
7818
7e2f0d2d
AS
7819 [BZ #11561]
7820 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7821 elements compare against the byte sequence of it, not its name.
7822 * posix/Makefile (tests): Add bug-regex35.
7823 (bug-regex35-ENV): Define.
7824 * posix/bug-regex35.c: New file.
7825
a175b684
TV
78262013-02-11 Tom de Vries <tom@codesourcery.com>
7827
7828 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7829 comment.
7830 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7831 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7832 (CHECK_EOL): Add undef.
7833
310998fe 78342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7835
7836 * bits/stdlib-bsearch.h: New file.
7837 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7838 * stdlib/stdlib.h: Likewise.
41eda41d 7839
8ded91fb
RM
78402013-02-11 Roland McGrath <roland@hack.frob.com>
7841
7842 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7843 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7844 declaration.
7845 * manual/search.texi (Array Search Function): Add missing const in
7846 lfind prototype.
7847 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7848 declaration to use rlim_t.
7849 (Basic Scheduling Functions): Remove erroneous const from
7850 sched_getparam prototype. Remove erroneous * from
7851 sched_get_priority_max and sched_get_priority_min prototypes.
7852 (Resource Usage): Fix summary @comment on vtimes to refer to
7853 sys/vtimes.h rather than vtimes.h.
7854 Add missing *s in vtimes prototype.
7855 (Limits on Resources): Fix ulimit prototype to return long int.
7856 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7857 prototypes to use long int rather than double.
7858 (BSD Random): Fix initstate and setstate to use char *, not void *.
7859 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7860 prototype to make second argument 'struct aiocb64 *const[]'.
7861 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7862 (Status of AIO Operations): Remove erroneous const in aio_return and
7863 aio_return64 prototypes.
7864 (Synchronizing I/O): Fix sync prototype to return void.
7865 * manual/startup.texi (Suboptions): Remove an erroneous const in
7866 getsubopt prototype.
7867 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7868 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7869 use size_t rather than int.
7870 (Scanning All Users): Likewise for getpwent_r.
7871 (Setting Groups): Add missing const to setgroups prototype.
7872 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7873 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7874 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7875 'const void *' rather than 'const char *'.
7876 (Host Address Functions): Likewise for inet_ntop.
7877 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7878 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7879 ssize_t for return value.
7880 (Sending Data): Likewise for send, sendto, sendmsg.
7881 (Socket Option Functions): Add a missing const in setsockopt prototype.
7882 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7883 use wchar_t for the argument.
7884 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7885 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7886 take no arguments.
7887 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7888 double/float/long double for second argument.
7889 Fix return types of significand, significandf, significandl.
7890 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7891 argument in fchmod prototype.
7892 (File Owner): Use uid_t and gid_t in fchown prototype.
7893 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7894 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7895 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7896 use 'const struct dirent **' as argument types to CMP function pointer
7897 argument.
7898 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7899 (File Times): Fix summary magic @comment for struct utimbuf and utime
7900 to refer to utime.h, not time.h.
7901 * manual/string.texi (Argz Functions): Add missing const in
7902 argz_extract and argz_next prototypes.
7903 (Finding Tokens in a String): Likewise for basename.
7904 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7905 (Copying and Concatenation): Fix typo in wmemmove prototype.
7906 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7907 (Signal Stack): Remove erroneous const in sigstack prototype.
7908 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7909 prototype.
7910 (Simple Calendar Time): Likewise for stime.
7911 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7912 prototype.
7913 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7914 say sys/sysctl.h instead.
7915 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7916 and vsyslog prototypes.
7917
fe77fe6d
TV
79182013-02-11 Tom de Vries <tom@codesourcery.com>
7919
7920 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7921 Remove.
7922
3a09b620
RM
79232013-02-11 Roland McGrath <roland@hack.frob.com>
7924
7925 * misc/sys/mman.h: Fix typo in mremap comment.
7926
550a0b89
RM
79272013-02-08 Roland McGrath <roland@hack.frob.com>
7928
7929 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7930 the '\0' terminator.
7931
a2da1673
JM
79322013-02-08 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #13550]
7935 * debug/segfault.c: Don't include <bp-checks.h>.
7936 * sysdeps/generic/bp-checks.h: Remove file.
7937 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7938 (__GETDENTS): Don't use CHECK_N.
7939 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7940 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7941 (__getgroups): Don't use CHECK_N.
7942 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7943 (setgroups): Don't use CHECK_N.
7944 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7945 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7946 (__libc_msgrcv): Don't use CHECK_N.
7947 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7948 (__libc_msgsnd): Don't use CHECK_N.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7950 <bp-checks.h>.
7951 (__libc_pread): Don't use CHECK_N.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7953 include <bp-checks.h>.
7954 (__libc_pread64): Don't use CHECK_N.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7956 include <bp-checks.h>.
7957 (__libc_pwrite): Don't use CHECK_N.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7959 include <bp-checks.h>.
7960 (__libc_pwrite64): Don't use CHECK_N.
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7962 <bp-checks.h>.
7963 (__libc_pread): Don't use CHECK_N.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7965 include <bp-checks.h>.
7966 (__libc_pread64): Don't use CHECK_N.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7968 include <bp-checks.h>.
7969 (__libc_pwrite): Don't use CHECK_N.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7971 include <bp-checks.h>.
7972 (__libc_pwrite64): Don't use CHECK_N.
7973 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7974 (do_pread): Don't use CHECK_N.
7975 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7976 (do_pread64): Don't use CHECK_N.
7977 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7978 (do_pwrite): Don't use CHECK_N.
7979 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7980 (do_pwrite64): Don't use CHECK_N.
7981 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7982 (__libc_readv): Don't use CHECK_N.
7983 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7984 (semop): Don't use CHECK_N.
7985 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7986 <bp-checks.h>.
7987 (semtimedop): Don't use CHECK_N.
7988 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7989 (__libc_pread): Don't use CHECK_N.
7990 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7991 <bp-checks.h>.
7992 (__libc_pread64): Don't use CHECK_N.
7993 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7994 <bp-checks.h>.
7995 (__libc_pwrite): Don't use CHECK_N.
7996 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7997 <bp-checks.h>.
7998 (__libc_pwrite64): Don't use CHECK_N.
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8000 <bp-checks.h>.
8001 (__libc_msgrcv): Don't use CHECK_N.
8002 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8003 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8004 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8005 (__libc_writev): Don't use CHECK_N.
8006
b84660a8
RM
80072013-02-08 Roland McGrath <roland@hack.frob.com>
8008
7f3e75f8
RM
8009 * string/strcpy.c: Removed unused variable.
8010
b84660a8
RM
8011 * Makeconfig (+sysdep-includes): Define with := rather than =.
8012 Use an existing include/ subdir of each sysdeps dir before it.
8013
471514d3
CD
80142013-02-08 Carlos O'Donell <carlos@redhat.com>
8015
8016 * nscd/connection.c (register_traced_file): Comment function.
8017 [HAVE_INOTIFY] (union __inev): Define.
8018 [HAVE_INOTIFY] (inotify_check_files): New function.
8019 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8020 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8021 clear_db_cache.
8022 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8023
b2d3c3be
CD
80242013-02-08 Carlos O'Donell <carlos@redhat.com>
8025
8026 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8027 loaded if not already and that a failure is permanent.
8028
b39949d2
CD
80292013-02-08 Carlos O'Donell <carlos@redhat.com>
8030
ddacd1db 8031 [BZ #15006]
b39949d2
CD
8032 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8033 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8034
b2c9eff4
JM
80352013-02-08 Joseph Myers <joseph@codesourcery.com>
8036
f3aae3f3
JM
8037 [BZ #13550]
8038 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8039 (CHECK_1_NULL_OK): Likewise.
8040 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8041 (__fxstat): Do not use CHECK_1.
8042 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8043 <bp-checks.h>.
8044 (___fxstat64): Do not use CHECK_1.
8045 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8046 <bp-checks.h>.
8047 (__fxstatat): Do not use CHECK_1.
8048 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8049 <bp-checks.h>.
8050 (__fxstatat64): Do not use CHECK_1.
8051 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8052 <bp-checks.h>.
8053 (__fxstat): Do not use CHECK_1.
8054 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8055 <bp-checks.h>.
8056 (__fxstatat): Do not use CHECK_1.
8057 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8058 <bp-checks.h>.
8059 (__getresgid): Do not use CHECK_1.
8060 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8061 <bp-checks.h>.
8062 (__getresuid): Do not use CHECK_1.
8063 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8064 <bp-checks.h>.
8065 (__lxstat): Do not use CHECK_1.
8066 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8067 <bp-checks.h>.
8068 (__old_msgctl): Do not use CHECK_1.
8069 (__new_msgctl): Likewise.
8070 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8071 <bp-checks.h>.
8072 (__new_setrlimit): Do not use CHECK_1.
8073 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8074 <bp-checks.h>.
8075 (__old_shmctl): Do not use CHECK_1.
8076 (__new_shmctl): Likewise.
8077 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8078 <bp-checks.h>.
8079 (__xstat): Do not use CHECK_1.
8080 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8081 (__lxstat): Do not use CHECK_1.
8082 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8083 <bp-checks.h>.
8084 (___lxstat64): Do not use CHECK_1.
8085 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8086 (__old_msgctl): Do not use CHECK_1.
8087 (__new_msgctl): Likewise.
8088 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8089 <bp-checks.h>.
8090 (__gettimeofday): Do not use CHECK_1.
8091 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8092 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8093 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8094 <bp-checks.h>.
8095 (__gettimeofday): Do not use CHECK_1.
8096 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8097 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8098 (__new_shmctl): Do not use CHECK_1.
8099 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8100 <bp-checks.h>.
8101 (do_sigtimedwait): Do not use CHECK_1.
8102 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8103 <bp-checks.h>.
8104 (do_sigwaitinfo): Do not use CHECK_1.
8105 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8106 <bp-checks.h>.
8107 (msgctl): Do not use CHECK_1.
8108 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8109 <bp-checks.h>.
8110 (shmctl): Do not use CHECK_1.
8111 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8112 (ustat): Do not use CHECK_1.
8113 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8114 <bp-checks.h>.
8115 (__fxstat): Do not use CHECK_1.
8116 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8117 <bp-checks.h>.
8118 (__fxstatat): Do not use CHECK_1.
8119 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8120 <bp-checks.h>.
8121 (__lxstat): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8123 <bp-checks.h>.
8124 (__xstat): Do not use CHECK_1.
8125 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8126 (__xstat): Do not use CHECK_1.
8127 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8128 (___xstat64): Do not use CHECK_1.
8129
b2c9eff4
JM
8130 [BZ #13550]
8131 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8132 definitions.
8133 (CHECK_BOUNDS_HIGH): Likewise.
8134 * string/strcpy.c: Do not include <bp-checks.h>.
8135 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8136
f1d70dad
RM
81372013-02-07 Roland McGrath <roland@hack.frob.com>
8138
8139 * nscd/nscd-client.h (__nscd_drop_map_ref):
8140 Add __attribute__ ((unused)).
8141 * nis/nss-nisplus.h (niserr2nss): Likewise.
8142
8143 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8144 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8145
8146 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8147 Remove inline keyword.
8148 * include/rounding-mode.h (round_away): Likewise.
8149 * libio/wfileops.c (adjust_wide_data): Likewise.
8150 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8151 (__m128i_strloadu_tolower): Likewise.
8152 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8153 (__m128i_strloadu_tolower): Likewise.
8154 * time/mktime.c (ydhms_diff): Likewise.
8155 * locale/elem-hash.h (elem_hash): Likewise.
8156 * locale/setlocale.c (setdata): Likewise.
8157 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8158 (re_string_wchar_at): Likewise.
8159 (bitset_not, bitset_merge, bitset_mask): Likewise.
8160 [!(__GNUC__ > 3)] (inline): Remove macro.
8161 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8162 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8163 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8164 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8165 * string/memcmp.c (memcmp_bytes): Likewise.
8166 * locale/programs/locarchive.c (compute_hashval): Likewise.
8167 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8168 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8169 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8170 * nss/getent.c (print_rpc, print_protocols): Likewise.
8171 (print_passwd, print_group, print_aliases): Likewise.
8172 * nis/nss-nisplus.h (niserr2nss): Likewise.
8173 * nscd/connections.c (restart_p): Likewise.
8174 Change return type to bool.
8175
eab55bfb
RM
81762013-02-05 Roland McGrath <roland@hack.frob.com>
8177
7bd642f5
RM
8178 * Makeconfig (all-Depend-files): Add existing
8179 $(sorted-subdirs:=/Depend) files.
8180 (all-subdirs): Remove nss.
8181 * sysdeps/unix/inet/Subdirs: Add it here instead.
8182 * hesiod/Depend: New file.
8183
573c29b2
RM
8184 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8185 instead of calling alloca.
8186
b2e25af0
RM
8187 * io/lseek.c (__lseek): Rename to __libc_lseek.
8188 Define __lseek as an alias.
8189
eab55bfb
RM
8190 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8191
9a0d1941
CD
81922013-02-04 Carlos O'Donell <carlos@redhat.com>
8193
8194 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8195 else clause and remove check for non-standard endianness.
8196
b83bbec4
DM
81972013-02-04 David S. Miller <davem@davemloft.net>
8198
8199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8200
6277fdab
JM
82012013-02-04 Joseph Myers <joseph@codesourcery.com>
8202
8203 [BZ #13550]
8204 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8205 (__ubp_memchr): Remove prototype.
8206 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8207 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8208 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8209 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8210 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8211 Remove alias.
8212 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8213 (__ubp_memchr): Likewise.
8214 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8215 (__ubp_memchr): Likewise.
8216 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8217 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8218 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8219 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8220 CHECK_STRING.
8221 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8222 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8223 (__getcwd): Do not use CHECK_STRING.
8224 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8225 <bp-checks.h>.
8226 (__real_chown): Do not use CHECK_STRING.
8227 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8228 <bp-checks.h>.
8229 (fchownat): Do not use CHECK_STRING.
8230 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8231 CHECK_STRING.
8232 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8233 <bp-checks.h>.
8234 (__lchown): Do not use CHECK_STRING.
8235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8236 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8237 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8238 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8240 include <bp-checks.h>.
8241 (truncate64): Do not use CHECK_STRING.
8242 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8243 <bp-checks.h>.
8244 (__real_chown): Do not use CHECK_STRING.
8245 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8246 <bp-checks.h>.
8247 (__lchown): Do not use CHECK_STRING.
8248 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8249 <bp-checks.h>.
8250 (__chown): Do not use CHECK_STRING.
8251 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8252 <bp-checks.h>.
8253 (truncate64): Do not use CHECK_STRING.
8254 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8255 Likewise.
8256 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8257 (__xmknod): Do not use CHECK_STRING.
8258 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8259 <bp-checks.h>.
8260 (__xmknodat): Do not use CHECK_STRING.
8261 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8262 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8263
903ae060
AS
82642013-02-04 Andreas Schwab <schwab@suse.de>
8265
8266 [BZ #14142]
8267 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8268 * include/netdb.h: Likewise for h_errno.
8269 * elf/tst-stackguard1.c: Include <tls.h>.
8270
542f9466
JK
82712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8272
8273 * elf/link.h (struct link_map): Extend the l_addr comment.
8274 * include/link.h (struct link_map): Likewise.
8275
e782a927
JM
82762013-02-01 Joseph Myers <joseph@codesourcery.com>
8277
8278 [BZ #13550]
8279 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8280 (BOUNDED_1): Remove macro.
8281 * debug/backtrace.c: Don't include <bp-checks.h>.
8282 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8283 (__backtrace): Likewise.
8284 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8285 <bp-checks.h>.
8286 (__backtrace): Don't use BOUNDED_1.
8287 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8288 <bp-checks.h>.
8289 (__backtrace): Don't use BOUNDED_1.
8290 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8291 (__backtrace): Don't use BOUNDED_1.
8292 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8293 (shmat): Don't use BOUNDED_N.
8294
8cf28c5e
JM
82952013-01-31 Joseph Myers <joseph@codesourcery.com>
8296
3a7ac8a0
JM
8297 [BZ #13550]
8298 * sysdeps/generic/bp-start.h: Remove file.
8299 * csu/libc-start.c: Don't include <bp-start.h>.
8300 (LIBC_START_MAIN): Set up __environ directly instead of using
8301 INIT_ARGV_and_ENVIRON.
8302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8303 <bp-start.h>.
8304
f3499f95
JM
8305 [BZ #13550]
8306 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8307 definitions.
8308 (CHECK_FCNTL): Likewise.
8309 (CHECK_N_PAGES): Likewise.
8310
32a45bea
JM
8311 [BZ #13550]
8312 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8313 definitions.
8314 (CHECK_SIGSET_NULL_OK): Likewise.
8315 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8316 <bp-checks.h>.
8317 (sigpending): Don't use CHECK_SIGSET.
8318 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8319 <bp-checks.h>.
8320 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8321 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8322 <bp-checks.h>.
8323 (do_sigsuspend): Don't use CHECK_SIGSET.
8324 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8325 use CHECK_SIGSET.
8326 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8327 (do_sigwait): Don't use CHECK_SIGSET.
8328 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8329 use CHECK_SIGSET.
8330 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8331 include <bp-checks.h>.
8332 (sigpending): Don't use CHECK_SIGSET.
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8334 include <bp-checks.h>.
8335 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8336 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8337 <bp-checks.h>.
8338 (sigpending): Don't use CHECK_SIGSET.
8339 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8340 <bp-checks.h>.
8341 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8342
2e8a5c8c
JM
8343 [BZ #13550]
8344 * sysdeps/generic/bp-semctl.h: Remove file.
8345 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8346 <bp-checks.h> and <bp-semctl.h>.
8347 (__old_semctl): Don't use CHECK_SEMCTL.
8348 (__new_semctl): Likewise.
8349 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8350 and <bp-semctl.h>.
8351 (__old_semctl): Don't use CHECK_SEMCTL.
8352 (__new_semctl): Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8354 <bp-checks.h> and <bp-semctl.h>.
8355 (__old_semctl): Don't use CHECK_SEMCTL.
8356 (__new_semctl): Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8358 <bp-checks.h> and <bp-semctl.h>.
8359 (semctl): Don't use CHECK_SEMCTL.
8360
c2d54929
JM
8361 [BZ #13550]
8362 * Makerules (elide-bp-thunks): Remove variable.
8363 (elide-routines.oS): Don't use $(elide-bp-thunks).
8364 (elide-routines.os): Likewise.
8365 (elide-routines.o): Likewise.
8366 (elide-routines.op): Likewise.
8367 (elide-routines.og): Likewise.
8368 (objects): Don't use $(bp-thunks).
8369 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8370 include.
8371 (common-generated): Do not add s-proto-bp.d.
8372 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8373 (int): Likewise.
8374 (typ): Likewise.
8375 Do not generate makefile rules for bounded-pointer thunks.
8376 * sysdeps/generic/bp-thunks.h: Remove file.
8377 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8378 * sysdeps/unix/s-proto-bp.S: Likewise.
8379
8cf28c5e
JM
8380 [BZ #15062]
8381 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8382 parts of result separately when argument is not close to line from
8383 -i to i and one part of argument is small.
8384 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8385 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8386 * math/libm-test.inc (cacos_test): Add more tests.
8387 (casin_test): Likewise.
8388 (casinh_test): Likewise.
8389 * sysdeps/i386/fpu/libm-test-ulps: Update.
8390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8391
c4e33b8d
DM
83922013-01-31 David S. Miller <davem@davemloft.net>
8393
8394 * po/de.po: Update from translation team.
8395
3b60b421
MK
83962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8397
8398 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8399
bb931195
TS
84002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8401
b5a5da23
TS
8402 * configure.in (_AC_PROG_CC_C89): New definition.
8403 * configure: Regenerate.
8404
bb931195
TS
8405 * configure.in (AC_PROG_CPP): New definition.
8406 * configure: Regenerate.
8407
8c53a12c
JM
84082013-01-23 Joseph Myers <joseph@codesourcery.com>
8409
8410 * debug/tst-backtrace.h: New file.
8411 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8412 (ret): Remove variable.
8413 (x): Likewise.
8414 (FAIL): Remove macro.
8415 (NO_INLINE): Likewise.
8416 (fn1): Use match function instead of strstr.
8417 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8418 (ret): Remove variable.
8419 (x): Likewise.
8420 (FAIL): Remove macro.
8421 (NO_INLINE): Likewise.
8422 (fn): Use match function instead of strstr.
8423 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8424 (ret): Remove variable.
8425 (x): Likewise.
8426 (FAIL): Remove macro.
8427 (NO_INLINE): Likewise.
8428 (handle_signal): Use match function instead of strstr.
8429 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8430 (ret): Remove variable.
8431 (x): Likewise.
8432 (FAIL): Remove macro.
8433 (NO_INLINE): Likewise.
8434 (handle_signal): Use match function instead of strstr.
8435
4858fa2a
RM
84362013-01-23 Roland McGrath <roland@hack.frob.com>
8437
8438 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8439
bae8e7f5
DM
84402013-01-23 David S. Miller <davem@davemloft.net>
8441
8442 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8443 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8444 argument of CAS if possible.
8445 * sysdeps/sparc/sparc64/bits/atomic.h
8446 (__arch_compare_and_exchange_val_32_acq): Likewise.
8447 (__arch_compare_and_exchange_val_64_acq): Likewise.
8448
9cbbc4ae
PT
84492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8450
8451 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8452 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8453 Include <limits.h>.
67b3f58c 8454 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8455
5655a0b5
AC
84562013-01-23 Adam Conrad <adconrad@0c3.net>
8457
8458 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8459 (LDFLAGS-tst-array5): Likewise.
8460
052aff95
JM
84612013-01-23 Joseph Myers <joseph@codesourcery.com>
8462
8463 [BZ #15036]
8464 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8465 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8466 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8467 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8468
7c1e01aa
DM
84692013-01-21 David S. Miller <davem@davemloft.net>
8470
8471 * sysdeps/sparc/backtrace.c: New file.
8472 * sysdeps/sparc/sparc32/backtrace.h: New file.
8473 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8474 * sysdeps/sparc/sparc64/backtrace.h: New file.
8475 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8476 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8477 -funwind-tables.
8478
ab087e0a
AS
84792013-01-21 Andreas Schwab <schwab@suse.de>
8480
8481 [BZ #15020]
8482 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8483 closed its stdout.
8484
ed689c2f
AS
84852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8486
8487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8488 "mpa2.h".
8489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8490
31d470ac
JM
84912013-01-18 Joseph Myers <joseph@codesourcery.com>
8492 Mark Mitchell <mark@codesourcery.com>
8493 Tom de Vries <tom@codesourcery.com>
8494 Paul Pluzhnikov <ppluzhnikov@google.com>
8495
8496 * debug/tst-backtrace2.c: New file.
8497 * debug/tst-backtrace3.c: Likewise.
8498 * debug/tst-backtrace4.c: Likewise.
8499 * debug/tst-backtrace5.c: Likewise.
8500 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8501 (CFLAGS-tst-backtrace3.c): Likewise.
8502 (CFLAGS-tst-backtrace4.c): Likewise.
8503 (CFLAGS-tst-backtrace5.c): Likewise.
8504 (LDFLAGS-tst-backtrace2): Likewise.
8505 (LDFLAGS-tst-backtrace3): Likewise.
8506 (LDFLAGS-tst-backtrace4): Likewise.
8507 (LDFLAGS-tst-backtrace5): Likewise.
8508 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8509 tst-backtrace4 and tst-backtrace5.
8510
90567f30 85112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8512 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8513
8514 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8515 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8516 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8517 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8519 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8520 "+r" and remove output regs list as redundant. Add explicit inline
8521 asm to specify register of return val to work around compiler codegen
8522 bug. Remove (int) cast on return value. Add return type parameter to
8523 use in macro so that this macro does not truncate return value for
8524 64-bit values.
8525 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8526 pass to INTERNAL_VSYSCALL_NCS.
8527 (INLINE_VSYSCALL): Add 'long int' as return type to
8528 INTERNAL_VSYSCALL_NCS macro invocation.
8529 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8530 INTERNAL_VSYSCALL_NCS macro invocation.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8532
d3b9ea61
SP
85332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8534
0b57daeb
SP
8535 [BZ #14496]
8536 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8537 Fix application of SIMD FP exception mask.
8538
caa99d06
SP
8539 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8540 mp_no from a power of two.
8541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8542 __mpexp_twomm1. Use __pow_mp.
8543
d3b9ea61
SP
8544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8545 multiplication.
8546
1dbaee3c
DM
85472013-01-17 David S. Miller <davem@davemloft.net>
8548
8549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8550
728d7b43
JM
85512013-01-17 Joseph Myers <joseph@codesourcery.com>
8552
8553 [BZ #15023]
8554 * include/complex.h: Condition contents on [!_COMPLEX_H].
8555 (__kernel_casinhf): New prototype.
8556 (__kernel_casinh): Likewise.
8557 (__kernel_casinhl): Likewise.
8558 * math/Makefile (libm_calls): Add k_casinh.
8559 * math/k_casinh.c: New file.
8560 * math/k_casinhf.c: Likewise.
8561 * math/k_casinhl.c: Likewise.
8562 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8563 finite nonzero arguments.
8564 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8565 finite nonzero arguments.
8566 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8567 finite nonzero arguments.
8568 * math/s_casinh.c: Do not include <float.h>.
8569 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8570 * math/s_casinhf.c: Do not include <float.h>.
8571 (__casinhf): Move code for finite nonzero arguments to
8572 k_casinhf.c.
8573 * math/s_casinhl.c: Do not include <float.h>.
8574 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8575 redefine.
8576 (__casinhl): Move code for finite nonzero arguments to
8577 k_casinhl.c.
8578 * math/libm-test.inc (cacos_test): Add more tests.
8579 * sysdeps/i386/fpu/libm-test-ulps: Update.
8580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8581
2a26ef3a
PT
85822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8583
8584 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8585 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8586 [!HAVE_MREMAP]: Remove [defined linux] case.
8587 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8588
a897655d
SP
85892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8590
8591 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8592
881ebe89 85932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8594
8595 * elf/elf.h (R_386_SIZE32): New relocation.
8596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8597 R_386_SIZE32.
8598 (elf_machine_rela): Likewise.
8599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8600 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8601
59981e9b
JM
86022013-01-17 Joseph Myers <joseph@codesourcery.com>
8603
8604 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8605 (FP_FAST_FMA): Do not define.
8606 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8607 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8608 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8609 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8610 !_SOFT_FLOAT]: Likewise.
8611 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8613 value.
8614 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8615 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8616 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8617 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8618 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8619 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8620 file.
8621
cfa8054f
AS
86222013-01-16 Andreas Schwab <schwab@suse.de>
8623
8624 [BZ #14327]
8625 * include/stdlib.h (__mktemp): Add declaration.
8626 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8627 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8628
dd930cc5
SP
86292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
881ebe89
SP
8631 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8632 definitions.
8633 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8634 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8635 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8636 definitions here.
8637 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8638 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8639 definitions.
8640 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8641 and ONE.
8642 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8643 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8645 definitions.
8646 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8647 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8648 definitions.
8649 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8650
dd930cc5
SP
8651 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8652
c19a9f89
DM
86532013-01-15 David S. Miller <davem@davemloft.net>
8654
1aa61767
DM
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8656 trunc{,f} to libm-sysdep_routes.
8657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8659 file.
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8662 file.
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8664 file.
8665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8667 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8668 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8669 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8670 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8671 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8672 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8673
c42d5e98
DM
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8675 nearbyint{,f} to libm-sysdep_routes.
8676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8678 New file.
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8680 file.
8681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8682 New file.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8684 file.
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8688 file.
8689 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8691 file.
8692 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8693 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8694 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8695
c19a9f89
DM
8696 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8697 libc_feholdexcept and libc_fesetenv.
8698
357679d2
MF
86992013-01-15 Mike Frysinger <vapier@gentoo.org>
8700
8701 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8702
65a82e3d
DM
87032013-01-14 David S. Miller <davem@davemloft.net>
8704
8b954ab9
DM
8705 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8706 (SPARC_ASM_VIS2_IFUNC): Likewise.
8707 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8709 use of 'siam' instruction.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8711 Likewise.
8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8713 Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8715 Likewise.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8721 file.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8723 file.
8724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8725 file.
8726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8727 file.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8733 new VIS2 routines.
8734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8737 Likewise.
8738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8743 routines to libm-sysdep_routines.
8744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8745
65a82e3d
DM
8746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8747 fdim/fdimf to libm-sysdep_routines.
8748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8749 file.
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8752 file.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8756 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8757 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8758 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8759 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8760
e34ab705
SP
87612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8762
2a91b573
SP
8763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8764 to optimize copies.
8765
1066a534
SP
8766 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8769
e34ab705
SP
8770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8771 local variable MPTWO.
8772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8773 Likewise.
8774
aba5e596
MF
87752013-01-13 Mike Frysinger <vapier@gentoo.org>
8776
8777 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8778 GLOB_NOESCAPE.
8779
e557e9e5
MF
87802013-01-13 Mike Frysinger <vapier@gentoo.org>
8781
8782 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8783
0428cec9
MF
87842013-01-13 Mike Frysinger <vapier@gentoo.org>
8785
8786 * manual/pattern.texi (glob_t): Document gl_flags.
8787 (glob64_t): Likewise.
8788
8794a964
DM
87892013-01-11 David S. Miller <davem@davemloft.net>
8790
66438c3f
RM
8791 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8792 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8793 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8794 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8795 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8796 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8797 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8798 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8799 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8800 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8801 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8802 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8803 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8804
4ae4244d
DM
8805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8806 sparc V9 rather than using V8 code.
8807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8809
8794a964
DM
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8811 Move to...
8812 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8813 Here.
8814
6270516e
RM
88152013-01-11 Roland McGrath <roland@hack.frob.com>
8816
8817 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8818 not in the main loop.
8819 * configure: Regenerated.
8820
6a57d931
JM
88212013-01-11 Joseph Myers <joseph@codesourcery.com>
8822
8823 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8824 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8825 to just #else.
8826 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8827 [!__GLIBC_HAVE_LONG_LONG] case.
8828 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8829 condition to just #else.
8830 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8831 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8832 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8833 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8834 unconditional.
8835 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8836 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8837 #elif condition to just #else.
8838 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8839 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8840 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8841 #elif condition to just #else.
8842
0e8529e9
SE
88432013-01-11 Steve Ellcey <sellcey@mips.com>
8844
8845 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8846 (EF_MIPS_ARCH_64): Fix value.
8847 (EF_MIPS_ARCH_32R2): New.
8848 (EF_MIPS_ARCH_64R2): New.
8849
740b3dbe
L
88502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8851
8852 * Makeconfig (+link-pie-before-libc): New.
8853 (+link-pie-after-libc): Likewise.
8854 (+link-pie-tests): Likewise.
8855 (+link-pie): Rewritten.
8856 (link-before-libc): Remove $(config-LDFLAGS).
8857 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8858 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8859 (config-LDFLAGS): Renamed to ...
8860 (rtld-LDFLAGS): This.
8861 (rtld-tests-LDFLAGS): New macro.
8862 (link-libc-rpath-link): Likewise.
8863 (link-libc-tests-rpath-link): Likewise.
8864 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8865 (link-libc): Prepand $(link-libc-rpath-link).
8866 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8867 (test-program-prefix): New macro.
8868 (test-via-rtld-prefix): Likewise.
8869 (test-program-cmd): Likewise.
8870 (host-test-program-cmd): Likewise.
8871 * Makefile ($(common-objpfx)testrun.sh): Replace
8872 $(run-program-prefix) with $(test-program-prefix).
8873 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8874 $(rtld-LDFLAGS).
8875 ($(common-objpfx)shlib.lds): Likewise.
8876 (build-module-helper): Likewise.
8877 ($(common-objpfx)format.lds): Likewise.
8878 * Rules (binaries-pie-tests): New.
8879 (binaries-pie-notests): Likewise.
8880 (binaries-pie): Rewritten.
8881 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8882 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8883 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8884 (make-test-out): Replace $(host-built-program-cmd) with
8885 $(host-test-program-cmd).
8886 * config.make.in (build-hardcoded-path-in-tests): New variable.
8887 * configure.in (--enable-hardcoded-path-in-tests): New configure
8888 option.
8889 (hardcoded_path_in_tests): New AC_SUBST.
8890 * configure: Regenerated.
8891 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8892 $(built-program-cmd) with $(test-program-cmd).
8893 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8894 (test_program_cmd): This.
8895 * elf/Makefile ($(objpfx)order.out): Run test with
8896 $(test-program-prefix).
8897 ($(objpfx)order2.out): Likewise.
8898 ($(objpfx)tst-initorder.out): Likewise.
8899 ($(objpfx)tst-initorder2.out): Likewise.
8900 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8901 $(test-program-cmd).
8902 ($(objpfx)tst-array1-static.out): Likewise.
8903 ($(objpfx)tst-array2.out): Likewise.
8904 ($(objpfx)tst-array3.out): Likewise.
8905 ($(objpfx)tst-array4.out): Likewise.
8906 ($(objpfx)tst-array5.out): Likewise.
8907 ($(objpfx)tst-array5-static.out): Likewise.
8908 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8909 $(test-program-cmd).
8910 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8911 $(run-program-prefix) with $(test-program-prefix).
8912 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8913 (test_program_prefix): This.
8914 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8915 $(run-program-prefix) with $(test-program-prefix).
8916 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8917 (test_program_prefix): This.
8918 * iconvdata/tst-tables.sh: Likewise.
8919 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8920 $(run-program-prefix) with $(test-program-prefix).
8921 ($(objpfx)tst-translit.out): Likewise.
8922 ($(objpfx)tst-gettext2.out): Likewise.
8923 ($(objpfx)tst-gettext4.out): Likewise.
8924 ($(objpfx)tst-gettext6.out): Likewise.
8925 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8926 (test_program_prefix): This.
8927 * intl/tst-gettext2.sh: Likewise.
8928 * intl/tst-gettext4.sh Likewise.
8929 * intl/tst-gettext6.sh: Likewise.
8930 * intl/tst-translit.sh: Likewise.
8931 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8932 with $(test-program-cmd).
8933 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8934 $(run-program-prefix) with $(test-program-prefix).
8935 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8936 (test_program_prefix): This.
8937 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8938 $(run-program-prefix) with $(test-program-prefix).
8939 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8940 (test_program_prefix): This.
8941 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8942 * posix/Makefile ($(objpfx)globtest.out): Replace
8943 $(run-via-rtld-prefix) and $(test-wrapper) with
8944 $(test-program-prefix) and $(test-via-rtld-prefix).
8945 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8946 $(test-program-prefix).
8947 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8948 $(host-test-program-cmd).
8949 (tst-spawn-ARGS): Likewise.
8950 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8951 $(test-program-prefix).
8952 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8953 (test_via_rtld_prefix): This.
8954 (test_wrapper): Renamed to ...
8955 (test_program_prefix): This.
8956 (run_program_prefix): Replaced by test_program_prefix.
8957 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8958 (test_program_prefix): This.
8959 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8960 with $(host-test-program-cmd).
8961 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8962 $(run-program-prefix) with $(test-program-prefix).
8963 ($(objpfx)tst-printf.out): Likewise.
8964 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8965 $(test-program-cmd).
8966 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8967 (test_program_prefix): This.
8968 * stdio-common/tst-unbputc.sh: Likewise.
8969 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8970 $(run-program-prefix) with $(test-program-prefix).
8971 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8972 (test_program_prefix): This.
8973 * string/Makefile ($(objpfx)tst-svc.out): Replace
8974 $(built-program-cmd) with $(test-program-cmd).
8975
c6fe55cf
AJ
89762013-01-11 Andreas Jaeger <aj@suse.de>
8977
8978 [BZ #15003]
8979 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8980 value. Sync with Linux 3.7.
8981
9e6919c8
DM
89822013-01-10 David S. Miller <davem@davemloft.net>
8983
8984 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8985 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8986 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8987
1c9f1a02
RM
89882013-01-10 Roland McGrath <roland@hack.frob.com>
8989
8990 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8991 never set.
8992 * configure: Regenerated.
8993
b9de2dde
DM
89942013-01-10 David S. Miller <davem@davemloft.net>
8995
8996 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8997 sparc V9 rather than using V8 code.
8998 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8999 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9000
e7f68ef4
RM
90012013-01-10 Roland McGrath <roland@hack.frob.com>
9002
9003 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9004 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9005 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9006 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9007 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9008 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9009 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9010 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9011 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9012 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9013 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9014 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9015 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9016 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9017 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9018 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9019 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9020 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9021 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9022 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9023 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9024 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9025 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9026 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9027 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9028 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9029 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9030
5a47cc9c
DM
90312013-01-10 David S. Miller <davem@davemloft.net>
9032
9033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9034
4cf8f209
L
90352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9036
9037 * posix/Makefile (tests-static): New variable.
9038 (tests): Add $(tests-static).
9039 (tst-exec-static-ARGS): New variable.
9040 (tst-spawn-static-ARGS): Likewise.
9041 * posix/tst-exec-static.c: New file.
9042 * posix/tst-spawn-static.c: Likewise.
9043 * posix/tst-exec.c: Support run directly.
9044 * posix/tst-spawn.c: Likewise.
9045
fed0faa1
JM
90462013-01-10 Joseph Myers <joseph@codesourcery.com>
9047
828beb13
JM
9048 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9049 long.
9050 * math/bits/mathcalls.h (llrint): Likewise.
9051 (llround): Likewise.
9052 * stdlib/stdlib.h (struct drand48_data): Likewise.
9053 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9054 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9055 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9058 Likewise.
9059 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9060 (elf_greg_t): Likewise.
9061 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9062 (__jmp_buf): Likewise.
9063 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9064 definitions.
9065 (llrint): Likewise, for all definitions.
9066 (llrintl): Likewise.
9067
fed0faa1
JM
9068 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9069 Remove [__GNUC__] condition.
9070 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9071 condition to just [__USE_ISOC99].
9072 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9073
1a20cb20
L
90742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 [BZ #14200]
9077 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9078 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9079 defined.
9080 (_POSIX_V6_ILP32_OFF32): Likewise.
9081 (_XBS5_ILP32_OFF32): Likewise.
9082 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9083 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9084
751b85f7
SP
90852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9086
7490eb81
SP
9087 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9088
751b85f7
SP
9089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9090 doubles __mpexp_twomm1. Adjust usage.
9091 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9092 Remove.
9093
988197f0
AS
90942013-01-10 Andreas Schwab <schwab@suse.de>
9095
9096 [BZ #14964]
9097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9098 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9099
e83d7298
DM
91002013-01-09 David S. Miller <davem@davemloft.net>
9101
034ed64b 9102 [BZ #15003]
e83d7298
DM
9103 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9104 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9105 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9106 TCP_FASTOPEN): Define.
9107 (tcp_repair_opt): New structure.
9108 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9109 enum values.
9110 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9111 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9112 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9113 (tcp_cookie_transactions): New structure.
9114
d5e0b9bd
AB
91152013-01-09 Anton Blanchard <anton@samba.org>
9116
9117 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9118 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9120 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9121
0c07e3ea
JM
91222013-01-09 Joseph Myers <joseph@codesourcery.com>
9123
9124 * include/features.h (__USE_ANSI): Remove.
9125
232f7002
RM
91262013-01-09 Roland McGrath <roland@hack.frob.com>
9127
ad98e30c
RM
9128 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9129
232f7002
RM
9130 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9131
950c99ca
SP
91322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9133
b5792741
SP
9134 * sysdeps/s390/fpu/libm-test-ulps: Update.
9135
47cf2278
SP
9136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9137
950c99ca
SP
9138 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9139 (__acr): Likewise.
9140 (__cpy): Likewise.
9141 (norm): Likewise.
9142 (denorm): Likewise.
9143 (__mp_dbl): Likewise.
9144 (__dbl_mp): Likewise.
9145 (add_magnitudes): Likewise.
9146 (sub_magnitudes): Likewise.
9147 (__add): Likewise.
9148 (__sub): Likewise.
9149 (__mul): Likewise.
9150 (__inv): Likewise.
9151 (__dvd): Likewise.
9152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9153 (__acr): Likewise.
9154 (__cpy): Likewise.
9155 (norm): Likewise.
9156 (denorm): Likewise.
9157 (__mp_dbl): Likewise.
9158 (__dbl_mp): Likewise.
9159 (add_magnitudes): Likewise.
9160 (sub_magnitudes): Likewise.
9161 (__add): Likewise.
9162 (__sub): Likewise.
9163 (__mul): Likewise.
9164 (__inv): Likewise.
9165 (__dvd): Likewise.
9166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9167 (__acr): Likewise.
9168 (__cpy): Likewise.
9169 (norm): Likewise.
9170 (denorm): Likewise.
9171 (__mp_dbl): Likewise.
9172 (__dbl_mp): Likewise.
9173 (add_magnitudes): Likewise.
9174 (sub_magnitudes): Likewise.
9175 (__add): Likewise.
9176 (__sub): Likewise.
9177 (__mul): Likewise.
9178 (__inv): Likewise.
9179 (__dvd): Likewise.
9180
eede9df9
JM
91812013-01-08 Joseph Myers <joseph@codesourcery.com>
9182
9183 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9184 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9185 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9186 2 && __USE_EXTERN_INLINES]: Likewise.
9187
c40ea3d9
AJ
91882013-01-08 Andreas Jaeger <aj@suse.de>
9189
9190 [BZ# 14985]
9191 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9192 Remove.
9193 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9194 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9195
2ccdea26
AB
91962013-01-07 Anton Blanchard <anton@samba.org>
9197
9198 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9199 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9200 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9201 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9202 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9204 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9205 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9207 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9209 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9211 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9213 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9214 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9216 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9218 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9219 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9221 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9222 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9223 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9225 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9226 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9228 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9230 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9231 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9232 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9236 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9237 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9240 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9241
a9708fed
JM
92422013-01-07 Joseph Myers <joseph@codesourcery.com>
9243
375607b9
JM
9244 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9245 (__MALLOC_PMT): Likewise.
9246 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9247 [__GNUC__], only on [_LIBC].
9248 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9249 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9250 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9251 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9252 forward declaration.
9253 (realloc_hook_ini): Likewise.
9254 (memalign_hook_ini): Likewise.
9255 (__libc_memalign): Do not use __MALLOC_PMT in variable
9256 declaration.
9257 (__libc_valloc): Likewise.
9258 (__libc_pvalloc): Likewise.
9259 (__libc_calloc): Likewise.
9260 (__posix_memalign): Likewise.
9261
a9708fed
JM
9262 [BZ #14996]
9263 * math/s_casinh.c: Include <float.h>.
9264 (__casinh): Do not do computation with squaring and square root
9265 for large arguments.
9266 * math/s_casinhf.c: Include <float.h>.
9267 (__casinhf): Do not do computation with squaring and square root
9268 for large arguments.
9269 * math/s_casinhl.c: Include <float.h>.
9270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9271 (__casinhl): Do not do computation with squaring and square root
9272 for large arguments.
9273 * math/libm-test.inc (casin_test): Add more tests.
9274 (casinh_test): Likewise.
9275 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9277
afec409a
L
92782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9281 (__x86_64_raw_data_cache_size): Likewise.
9282 (__x86_64_data_cache_size_half): Likewise.
9283 (__x86_64_raw_data_cache_size_half): Likewise.
9284 (__x86_64_shared_cache_size): Likewise.
9285 (__x86_64_raw_shared_cache_size): Likewise.
9286 (__x86_64_shared_cache_size_half): Likewise.
9287 (__x86_64_raw_shared_cache_size_half): Likewise.
9288 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9289 to ...
9290 (__x86_data_cache_size): This.
9291 (__x86_64_raw_data_cache_size): Renamed to ...
9292 (__x86_raw_data_cache_size): This.
9293 (__x86_64_data_cache_size_half): Renamed to ...
9294 (__x86_data_cache_size_half): This.
9295 (__x86_64_raw_data_cache_size_half): Renamed to ...
9296 (__x86_raw_data_cache_size_half): This.
9297 (__x86_64_shared_cache_size): Renamed to ...
9298 (__x86_shared_cache_size): This.
9299 (__x86_64_raw_shared_cache_size): Renamed to ...
9300 (__x86_raw_shared_cache_size): This.
9301 (__x86_64_shared_cache_size_half): Renamed to ...
9302 (__x86_shared_cache_size_half): This.
9303 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9304 (__x86_raw_shared_cache_size_half): This.
9305 * sysdeps/x86_64/memcpy.S: Updated.
9306 * sysdeps/x86_64/memset.S: Likewise.
9307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9309 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9310
0b3986d0
DM
93112013-01-04 David S. Miller <davem@davemloft.net>
9312
9313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314
e47686e9
AS
93152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9316
d643bac1
AS
9317 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9318 1 to avoid redefinition warning.
9319 (__USE_GNU): Don't define.
9320 (init_signaling_nan): Protoize.
9321
e47686e9
AS
9322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9323
b18decba
SP
93242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9325
fffb407f
SP
9326 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9328 (__cpymn): Likewise.
9329 (norm): Remove commented code.
9330 (denorm): Likewise.
9331 (__mp_dbl): Likewise.
9332 (__inv): Likewise.
9333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9334 (__cpymn): Likewise.
9335 (norm): Remove commented code.
9336 (denorm): Likewise.
9337 (__mp_dbl): Likewise.
9338 (__inv): Likewise.
9339
b18decba
SP
9340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9341 mp_no value for 1.0 and 2.0.
9342 (norm): Use RADIXI instead of radixi.d.
9343 (denorm): Likewise.
9344 (__mul): Use 0.0 instead of zero.d.
9345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9346 mp_no value for 1.0 and 2.0.
9347 (norm): Use RADIXI instead of radixi.d.
9348 (denorm): Likewise.
9349 (__mul): Use 0.0 instead of zero.d.
9350
cdc1c96f
JM
93512013-01-04 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #14994]
9354 * math/s_casinh.c (__casinh): Reduce finite argument to first
9355 quadrant then set signs of results at the end.
9356 * math/s_casinhf.c (__casinhf): Likewise.
9357 * math/s_casinhl.c (__casinhl): Likewise.
9358 * math/libm-test.inc (casin_test): Add more tests.
9359 (casinh_test): Likewise.
9360 * sysdeps/i386/fpu/libm-test-ulps: Update.
9361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9362
302913e1
SP
93632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9364
6420d207
SP
9365 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9366
a9e48ab4
SP
9367 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9368
b7837264
SP
9369 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9370 declarations.
9371 (denorm): Likewise.
9372 (__mp_dbl): Likewise.
9373 (__inv): Likewise.
9374
f8af25d2
SP
9375 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9376 and adjust the header comment.
9377
302913e1
SP
9378 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9379 variable name from declaration.
9380
5d7dd1ca
L
93812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9384 Initialize COMMON_CPUID_INDEX_7 element.
9385 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9386 (CPUID_RTM): Likewise.
9387 (HAS_RTM): Likewise.
9388 (COMMON_CPUID_INDEX_7): New enum.
9389
2f5f40f4
AS
93902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9391
9392 [BZ #14981]
9393 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9394 size is zero, record memory as freed.
9395
4056f4a0
AJ
93962013-01-03 Andreas Jaeger <aj@suse.de>
9397
9398 * po/ia.po: Add new Interlingua translation.
9399
ab15736f 94002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9401
9402 * locale/programs/localedef.c: Fix description of '--posix' flag.
9403
568035b7
JM
94042013-01-02 Joseph Myers <joseph@codesourcery.com>
9405
e6898b8d
JM
9406 * NEWS: Update dates in second copyright notice.
9407 * README: Update copyright dates in example.
9408 * manual/libc.texinfo: Update copyright dates.
9409 * scripts/test-installation.pl: Update copyright date in --version
9410 output.
9411
0e2f9562
JM
9412 * hurd/ctty-input.c: Fix copyright notice formatting.
9413 * hurd/ctty-output.c: Likewise.
9414 * hurd/dtable.c: Likewise.
9415 * hurd/hurd-raise.c: Likewise.
9416 * hurd/hurdprio.c: Likewise.
9417 * hurd/msgportdemux.c: Likewise.
9418 * misc/sys/file.h: Likewise.
9419 * misc/sys/ioctl.h: Likewise.
9420 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9421 * sysdeps/mach/hurd/chdir.c: Likewise.
9422 * sysdeps/mach/hurd/fchdir.c: Likewise.
9423 * sysdeps/mach/hurd/rename.c: Likewise.
9424 * sysdeps/mach/hurd/rmdir.c: Likewise.
9425 * sysdeps/mach/hurd/seekdir.c: Likewise.
9426 * sysdeps/mach/hurd/setsid.c: Likewise.
9427 * sysdeps/posix/wait3.c: Likewise.
9428
568035b7
JM
9429 * All files with FSF copyright notices: Update copyright dates
9430 using scripts/update-copyrights.
9431 * intl/plural.c: Regenerated.
9432 * locale/programs/charmap-kw.h: Likewise.
9433 * locale/programs/locfile-kw.h: Likewise.
9434
da08f647
SP
94352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9436
0f5477af
SP
9437 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9438 four values.
9439
44e0d4c2
SP
9440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9441 calculation loop and add branch prediction.
9442
4d55b4e5
SP
9443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9444 check access beyond bounds of m1np.
9445
da08f647
SP
9446 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9447 MPTWO.
9448 (__inv): Remove local variable MPTWO to use the global
9449 constant.
9450 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9452 variable MPTWO.
9453 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9454 MP3HALFS static const.
9455
8e051029
DM
94562013-01-01 David S. Miller <davem@davemloft.net>
9457
9458 * po/ca.po: Update from translation team.
9459
f4cf5f2d
JM
94602013-01-01 Joseph Myers <joseph@codesourcery.com>
9461
9462 * scripts/update-copyrights: New file.
9463 * Makeconfig: Reformat copyright notice.
9464 * ctype/ctype.h: Likewise.
9465 * debug/swprintf_chk.c: Likewise.
9466 * elf/dl-cache.c: Likewise.
9467 * elf/dl-debug.c: Likewise.
9468 * elf/dl-object.c: Likewise.
9469 * grp/initgroups.c: Likewise.
9470 * hurd/Makefile: Likewise.
9471 * hurd/hurd/signal.h: Likewise.
9472 * hurd/hurdfault.c: Likewise.
9473 * hurd/hurdioctl.c: Likewise.
9474 * hurd/hurdlookup.c: Likewise.
9475 * hurd/intr-msg.c: Likewise.
9476 * iconv/gconv_open.c: Likewise.
9477 * libio/swprintf.c: Likewise.
9478 * locale/lc-ctype.c: Likewise.
9479 * locale/nl_langinfo.c: Likewise.
9480 * mach/Machrules: Likewise.
9481 * mach/Makefile: Likewise.
9482 * malloc/obstack.h: Likewise.
9483 * manual/Makefile: Likewise.
9484 * manual/tsort.awk: Likewise.
9485 * misc/bits/stab.def: Likewise.
9486 * nis/nis_print_group_entry.c: Likewise.
9487 * nis/nis_table.c: Likewise.
9488 * nis/nss_compat/compat-pwd.c: Likewise.
9489 * nis/nss_compat/compat-spwd.c: Likewise.
9490 * po/Makefile: Likewise.
9491 * posix/fnmatch.c: Likewise.
9492 * posix/regex.h: Likewise.
9493 * resolv/Makefile: Likewise.
9494 * resolv/nss_dns/dns-network.c: Likewise.
9495 * resolv/res_hconf.c: Likewise.
9496 * scripts/gen-sorted.awk: Likewise.
9497 * soft-fp/soft-fp.h: Likewise.
9498 * stdio-common/printf.h: Likewise.
9499 * stdlib/monetary.h: Likewise.
9500 * stdlib/random.c: Likewise.
9501 * stdlib/random_r.c: Likewise.
9502 * sysdeps/generic/Makefile: Likewise.
9503 * sysdeps/gnu/Makefile: Likewise.
9504 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9532 * sysdeps/mach/hurd/errnos.awk: Likewise.
9533 * sysdeps/mach/hurd/fork.c: Likewise.
9534 * sysdeps/mach/hurd/getcwd.c: Likewise.
9535 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9536 * sysdeps/mach/hurd/mmap.c: Likewise.
9537 * sysdeps/mach/hurd/utimes.c: Likewise.
9538 * sysdeps/mach/hurd/xmknod.c: Likewise.
9539 * sysdeps/posix/profil.c: Likewise.
9540 * sysdeps/posix/readdir_r.c: Likewise.
9541 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9542 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9543 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9544 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9547 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9548 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9552 * sysdeps/pthread/lio_listio.c: Likewise.
9553 * sysdeps/sparc/dl-procinfo.h: Likewise.
9554 * sysdeps/unix/i386/sysdep.S: Likewise.
9555 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9556 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9557 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9558 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9560 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9561 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9562 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9563 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9564 * sysdeps/wordsize-32/divdi3.c: Likewise.
9565 * time/sys/time.h: Likewise.
9566 * wcsmbs/Makefile: Likewise.
9567
0549fbba
DM
95682013-01-01 David S. Miller <davem@davemloft.net>
9569
a141f1a7
DM
9570 * po/fr.po: Update from translation team.
9571
0549fbba
DM
9572 * catgets/gencat.c: Update copyright year.
9573 * csu/version.c: Likewise.
9574 * debug/catchsegv.sh: Likewise.
9575 * debug/pcprofiledump.c: Likewise.
9576 * debug/xtrace.sh: Likewise.
9577 * elf/ldconfig.c: Likewise.
9578 * elf/ldd.bash.in: Likewise.
9579 * elf/pldd.c: Likewise.
9580 * elf/sotruss.ksh: Likewise.
9581 * elf/sprof.c: Likewise.
9582 * iconv/iconv_prog.c: Likewise.
9583 * iconv/iconvconfig.c: Likewise.
9584 * locale/programs/locale.c: Likewise.
9585 * locale/programs/localedef.c: Likewise.
9586 * login/programs/pt_chown.c: Likewise.
9587 * malloc/memusage.sh: Likewise.
9588 * malloc/memusagestat.c: Likewise.
9589 * malloc/mtrace.pl: Likewise.
9590 * nscd/nscd.c: Likewise.
9591 * nss/getent.c: Likewise.
9592 * nss/makedb.c: Likewise.
9593 * posix/getconf.c: Likewise.
9594
18ea052c
SP
95952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
9597 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9598 numbers.
9599
9c89fca6
MF
96002012-12-30 Mike Frysinger <vapier@gentoo.org>
9601
9602 * math/bits/mathcalls.h (modf): Use __nonnull.
9603
085ec079
SP
96042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9605
9606 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9607 (split): Use macro CN instead of the bare value.
9608 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9609 could be used.
9610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9611 instead of the bare value.
9612 (power1): Likewise.
9613
6d9f97e1
SP
96142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9615
d63f73be
SP
9616 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9617 __ATAN_TWOM.
9618 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9619
6d9f97e1
SP
9620 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9621 their values.
9622 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9624 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9625 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9626
4c4febf5
AJ
96272012-12-28 Andreas Jaeger <aj@suse.de>
9628
af5843ef
AJ
9629 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9630 values are from Linux 3.7.
9631
4c4febf5
AJ
9632 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9633 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9634
99136f82
SP
96352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9636
2f216c3c 9637 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9638 TRUE case.
9639
99136f82
SP
9640 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9641 (norm): Likewise.
9642 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9643 variables with preprocessor constants.
9644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9645 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9646 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9647
7fffbdff
BH
96482012-12-27 Bruno Haible <bruno@clisp.org>
9649
9650 [BZ #14317]
9651 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9652 only if needed.
9653
b76eb5f0
SP
96542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9655
31a7fe5c
SP
9656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9657 and use variable directly.
9658 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9659
b76eb5f0
SP
9660 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9661 MPONE.
9662 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9664 variable MPONE.
9665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9667 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9668 include directive. Remove local variable MPONE.
9669 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9670 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9671 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9672
2c8bfe7d
DM
96732012-12-25 David S. Miller <davem@davemloft.net>
9674
9675 * version.h (RELEASE): Set to "development".
9676 (VERSION): Set to "2.17.90".
9677 * NEWS: Add 2.18 section.
9678
147d03b0
DM
96792012-12-21 David S. Miller <davem@davemloft.net>
9680
9681 * po/hr.po: Update from translation team.
9682
a8ebb2b9
AK
96832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9684
9685 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9686
95b4f1b6
SE
96872012-12-19 Steve Ellcey <sellcey@mips.com>
9688
b2d94007 9689 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9690
cedb2a90
MS
96912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9692
9693 * manual/contrib.texi (Contributors): Spelling correction.
9694
bbf527d6
DM
96952012-12-15 David S. Miller <davem@davemloft.net>
9696
9697 * po/ru.po: Update from translation team.
9698
bc38c906
DM
96992012-12-13 David S. Miller <davem@davemloft.net>
9700
85429b1a
DM
9701 * NEWS: Mention IFUNC testsuite enhancements.
9702
d283e353
DM
9703 * po/pl.po: Update from translation team.
9704 * po/bg.po: Likewise.
9705
bc38c906
DM
9706 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9707 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9708
a181b0d7
DM
97092012-12-11 David S. Miller <davem@davemloft.net>
9710
4641d57e
DM
9711 * po/sv.po: Update from translation team.
9712
f7bc6495
DM
9713 * po/vi.po: Update from translation team.
9714
6fc9048f
DM
9715 * po/cs.po: Update from translation team.
9716
a181b0d7
DM
9717 * po/de.po: Update from translation team.
9718 * po/eo.po: Likewise.
9719 * po/nl.po: Likewise.
9720
f70bfe80
SP
97212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9722
3c8b4190
SP
9723 [BZ #14246]
9724 * manual/argp.texi (Argp Helper Functions): Move node to follow
9725 Argp Parsing State.
9726
f70bfe80
SP
9727 [BZ #14872]
9728 * manual/conf.texi (Limits on File System Capacity): Mention if
9729 terminating null is included in the max size.
9730
188f0adf
AJ
97312012-12-10 Andreas Jaeger <aj@suse.de>
9732
9733 * po/cs.po: Update from translation team.
9734
56e7d3ad
SP
97352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9736
9737 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9738 void pointer and cast to uintptr_t.
9739 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9740 path.
9741 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9742 * sysdeps/s390/s390-64/memset.S: Likewise.
9743
76f2d2ea 97442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9745
9746 [BZ #14833]
9747 * menual/message.texi (Message Translation): Fix typos.
9748 (Helper programs for gettext): Likewise.
9749
67cbf9a2
AS
97502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9751
9752 [BZ #14898]
9753 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9754 Change to -1.
9755
682d0e9a
DM
97562012-12-07 David S. Miller <davem@davemloft.net>
9757
9758 * po/libc.pot: Update.
9759
573cd484
RH
97602012-12-07 Richard Henderson <rth@redhat.com>
9761
7e9da188 9762 [BZ #10114]
573cd484
RH
9763 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9764 normal/normal case to before the switch.
9765 (_FP_DIV): Likewise.
9766
e933a943
MF
97672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9768 Mike Frysinger <vapier@gentoo.org>
9769
9770 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9771 check for __NR_fadvise64_64.
9772
82123268
CM
97732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9774
9775 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9776 0, not just to plain "0" as a statement.
9777 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9778 with cw.
9779
d9814526
JM
97802012-12-06 Joseph Myers <joseph@codesourcery.com>
9781
9782 * NEWS: Use sourceware.org in Bugzilla URL.
9783
7728c574
SP
97842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9785
f16946dd
SP
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9787 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9788
5704bbcb
SP
9789 * stdio-common/tst-put-error.c (do_test): Add newline to the
9790 padded test to ensure flush.
9791
17aa0516
JL
97922012-12-05 Jeff Law <law@redhat.com>
9793
9794 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9795
363313b5
JM
97962012-12-05 Joseph Myers <joseph@codesourcery.com>
9797
effbd42a
JM
9798 * README: Don't refer to ports add-on as distributed separately.
9799 Mention AArch64 in list of systems supported in the ports add-on.
9800
87600365
JM
9801 * LICENSES: Add more non-FSF copyright and license notices.
9802
a0d7066a
JM
9803 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9804 ((unused)).
9805
66ca5a5b
JM
9806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9807
363313b5
JM
9808 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9809 10000 as width of padded output.
9810
b37984ad
JM
98112012-12-04 Joseph Myers <joseph@codesourcery.com>
9812
9003570a
JM
9813 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9814
b37984ad
JM
9815 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9816 variable LX with __attribute__ ((unused)).
9817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9818 Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9822 with __attribute__ ((unused)).
9823
c8df52ec
DM
98242012-12-04 David S. Miller <davem@abraco.davemloft.net>
9825
9826 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9827
b3b099af
JM
98282012-12-04 Joseph Myers <joseph@codesourcery.com>
9829
c33aa6e3
JM
9830 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9831 (CFLAGS-nldbl-acos.c): New variable.
9832 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9833 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9834 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9835 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9836 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9837 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9838 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9839 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9840 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9841 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9842 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9843 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9844 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9845 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9846 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9847 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9848 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9849 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9850 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9851 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9852 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9853 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9854 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9855 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9856 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9857 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9858 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9859 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9860 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9861 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9862 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9863 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9864 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9865 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9866 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9867 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9868 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9869 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9929
20f0018d
JM
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9931 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9932
b3b099af
JM
9933 [BZ #14914]
9934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9935 whole low double instead of just low 47 bits when splitting values
9936 into two parts.
9937
029264d1
AM
99382012-12-03 Allan McRae <allan@archlinux.org>
9939
9940 * manual/stdio.texi (Predefined Printf Handlers): Remove
9941 @hsep and @vsep usage.
9942
c9d6789e
MF
99432012-12-03 Mike Frysinger <vapier@gentoo.org>
9944
9945 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9946 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9947
4b7634a5
JL
99482012-12-03 Jeff Law <law@redhat.com>
9949
9950 * time/sys/time.h (settimeofday): Do not mark TV argument
9951 as __nonnull.
9952
eb6cbd24
MF
99532012-12-01 Mike Frysinger <vapier@gentoo.org>
9954
9955 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9956 when currently writing and seek to current position when not.
9957 * libio/Makefile (tests): Remove bug-fclose1.
9958 * libio/bug-fclose1.c: Delete.
9959
f638872a
JM
99602012-12-01 Joseph Myers <joseph@codesourcery.com>
9961
9962 * manual/arith.texi (feenableexcept): Fix typo.
9963 (fedisableexcept): Likewise.
9964
48085d14
RM
99652012-11-30 Roland McGrath <roland@hack.frob.com>
9966
9967 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9968 second, differently-typed declaration, rather than a cast.
9969
1a538b9f
SP
99702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
9972 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9973 * include/rpc/svc.h: ... here.
9974
d07f2ff1 99752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9976
9977 [BZ #13013]
9978 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9979 depending n and resplen2 to catch cases where answer
9980 equals answerp2.
9981
c93ec1f0
CD
99822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9983
9984 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9985 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9986
37db69de
MF
99872012-11-29 Mike Frysinger <vapier@gentoo.org>
9988
9989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9990
e10c4e4f
RM
99912012-11-29 Roland McGrath <roland@hack.frob.com>
9992
9993 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9994
2af1b328
JL
99952012-11-28 Jeff Law <law@redhat.com>
9996
9997 [BZ #13761]
9998 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9999 dataset_temporary. Track alloca usage into alloca_used.
10000 If dataset is large allocate and release it via malloc/free.
10001
111db5b1
FW
100022012-06-04 Florian Weimer <fweimer@redhat.com>
10003
f06cc227 10004 [BZ #14197]
111db5b1
FW
10005 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10006
dd694abd
DM
100072012-11-28 David S. Miller <davem@davemloft.net>
10008
10009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10010
9984dd01
JM
100112012-11-28 Joseph Myers <joseph@codesourcery.com>
10012
10013 [BZ #14803]
10014 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10015 of pi/2 rounded to nearest to 64 bits.
10016 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10017 nearest to 64 bits.
10018 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10019 bits.
10020
14bc93a9
JL
100212012-11-28 Jeff Law <law@redhat.com>
10022 Martin Osvald <mosvald@redhat.com>
10023
10024 [BZ #14889]
10025 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10026 * sunrpc/svc.c: Include time.h.
10027 (__svc_accept_failed): New function.
10028 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10029 any reason other than EINTR, call __svc_accept_failed.
10030 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10031 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10032
e3c6aa3a
AS
100332012-11-28 Andreas Schwab <schwab@suse.de>
10034
10035 * scripts/abilist.awk: Also handle indirect functions in .opd
10036 section.
10037
1bead169
JM
100382012-11-28 Joseph Myers <joseph@codesourcery.com>
10039
10040 [BZ #13881]
10041 * sysdeps/x86/fpu/powl_helper.c: New file.
10042 * sysdeps/x86/fpu/Makefile: Likewise.
10043 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10044 (p3): New object.
10045 (__ieee754_powl): Use __powl_helper for finite arguments except
10046 integer exponents below 8.
10047 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10048 (p3): New object.
10049 (__ieee754_powl): Use __powl_helper for finite arguments except
10050 integer exponents below 8.
10051 * math/libm-test.inc (pow_test): Add more tests and enable some
10052 previously disabled tests.
10053 * sysdeps/i386/fpu/libm-test-ulps: Update.
10054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10055
0817d63d
SP
100562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10057 Carlos O'Donell <carlos_odonell@mentor.com>
10058
10059 * nss/makedb.c (is_prime): Assert that input is odd and greater
10060 than 4. Note that fact in a comment too.
10061 (next_prime): Add 4 to input.
10062
de2fd463
SP
100632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10064
10065 [BZ #11741]
10066 * libio/Makefile (tests): Add test case tst-fwrite-error.
10067 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10068 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10069 * libio/tst-fwrite-error.c: New test case.
10070
c515fb51
L
100712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10074 before casting to void *.
10075 * include/libc-internal.h (__pointer_type): New macro.
10076 (__integer_if_pointer_type_sub): Likewise.
10077 (__integer_if_pointer_type): Likewise.
10078 (cast_to_integer): Likewise.
10079 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10080 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10081 before casting to atomic64_t.
10082 (atomic_exchange_acq): Likewise.
10083 (__arch_exchange_and_add_body): Likewise.
10084 (__arch_add_body): Likewise.
10085 (atomic_add_negative): Likewise.
10086 (atomic_add_zero): Likewise.
10087
4cf77aa9
JM
100882012-11-26 Joseph Myers <joseph@codesourcery.com>
10089
10090 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10091 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10092 (add_fdes): Likewise.
10093 (linear_search_fdes): Likewise.
10094 (binary_search_unencoded_fdes): Likewise.
10095
d260b3b4
AS
100962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10097
10098 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10099
67060746
AC
101002012-11-24 Adam Conrad <adconrad@0c3.net>
10101
10102 * configure.in: Autodetect C++ header directories.
10103 * configure: Regenerated.
10104
800938a1
MF
101052012-11-23 Mike Frysinger <vapier@gentoo.org>
10106
10107 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10108
4e6e34e6
AS
101092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10110
10111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10112
7c7feb47
JM
101132012-11-22 Joseph Myers <joseph@codesourcery.com>
10114
7184dcdf
JM
10115 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10116 LDBL_MANT_DIG == 106]: Disable some tests.
10117 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10118 Likewise.
10119 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10120 Likewise.
10121
0a42601f
JM
10122 [BZ #14871]
10123 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10124 input for small inputs. Return +/- pi/2 for large inputs.
10125 * math/libm-test.inc (atan_test): Add more tests.
10126
79c9b9fe
JM
10127 * sysdeps/generic/unwind-dw2-fde-glibc.c
10128 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10129 __attribute__ ((unused)).
10130
c60d3bf2
JM
10131 [BZ #14645]
10132 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10133 x * y if x and y are nonzero and z is zero.
10134
ef1e0867
JM
10135 [BZ #14811]
10136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10137 nonzero exponents with absolute value below 0x1p-117 to +/-
10138 0x1p-117.
10139
1468ded3
JM
10140 [BZ #14869]
10141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10142 up arguments below 2**-450, not just those below 2**-500.
10143 * math/libm-test.inc (hypot_test): Add another test.
10144
8e27e3cc
JM
10145 [BZ #14868]
10146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10147 Return a+b for ratio over 2**120, not 2**60.
10148 * math/libm-test.inc (hypot_test): Add another test.
10149
c9c0279b
JM
10150 * math/libm-test.inc (clog_test): Use
10151 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10152 (clog10_test): Likewise.
10153
7c7feb47
JM
10154 [BZ #6778]
10155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10156
fff1530e
AS
101572012-11-22 Andreas Schwab <schwab@suse.de>
10158
10159 * sysdeps/i386/fpu/libm-test-ulps: Update.
10160
94558d30
PT
101612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10162
10163 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10164 printf output with newline.
10165
7e1be741
L
101662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10167
6bfea974
L
10168 [BZ #14865]
10169 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10170 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10171 -z nodlopen, -z initfirst and -z execstack support.
10172 * configure: Regenerated.
10173
7e1be741
L
10174 * elf/elf.h (DF_1_NODIRECT): New macro.
10175 (DF_1_IGNMULDEF): Likewise.
10176 (DF_1_NOKSYMS): Likewise.
10177 (DF_1_NOHDR): Likewise.
10178 (DF_1_EDITED): Likewise.
10179 (DF_1_NORELOC): Likewise.
10180 (DF_1_SYMINTPOSE): Likewise.
10181 (DF_1_GLOBAUDIT): Likewise.
10182 (DF_1_SINGLETON): Likewise.
10183 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10184 DT_1_SUPPORTED_MASK bits.
10185 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10186
105ce2ce
CD
101872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10188
10189 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10190
123be9de
TS
101912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10192
d072f3f7
TS
10193 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10194 macro.
10195
123be9de
TS
10196 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10197 (sendmmsg): Move declarations...
10198 * socket/sys/socket.h: ... here.
10199 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10200 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10201 include it from...
10202 * socket/recvmmsg.c: ... this new file.
10203 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10204 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10205 definition of __sendmmsg hidden.
10206 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10207 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10208 Move ENOSYS stub into and include it from...
10209 * socket/sendmmsg.c: ... this new file.
10210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10211 (sysdep_routines): Move recvmmsg and sendmmsg...
10212 * socket/Makefile (routines): ... here.
10213 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10214 (GLIBC_PRIVATE): Add __sendmmsg.
10215 * include/sys/socket.h (__sendmmsg): Add declarations.
10216 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10217 sendmmsg.
10218
cf9a5d18
JM
102192012-11-20 Joseph Myers <joseph@codesourcery.com>
10220
10221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10222 variable I1 with __attribute__ ((unused)).
10223 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10224
ecd4caf9
JM
102252012-11-19 Joseph Myers <joseph@codesourcery.com>
10226
be14d48f
JM
10227 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10228 DUMMY variables with __attribute__ ((unused)).
10229
ecd4caf9
JM
10230 * bits/byteswap.h: Include <bits/types.h>.
10231 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10232
986cab95
PT
102332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10234
10235 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10236 string_t. Do not manually set errno.
10237 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10238 length with __strnlen. Make sure to both set errno and return it on
10239 failure.
10240
6d33cc9d
DM
102412012-11-19 David S. Miller <davem@davemloft.net>
10242
10243 With help from Joseph Myers.
10244 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10245 very large arguments properly.
10246 * math/libm-test.inc (atan_test): New tests.
10247 (atan2_test): New tests.
10248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10250
ee663277
JM
102512012-11-19 Joseph Myers <joseph@codesourcery.com>
10252
877f2d8e
JM
10253 [BZ #14856]
10254 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10255 Define to 3.
10256
116fc08a
JM
10257 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10258 [POSIX] (EADDRNOTAVAIL): Likewise.
10259 [POSIX] (EAFNOSUPPORT): Likewise.
10260 [POSIX] (EALREADY): Likewise.
10261 [POSIX] (ECONNABORTED): Likewise.
10262 [POSIX] (ECONNREFUSED): Likewise.
10263 [POSIX] (ECONNRESET): Likewise.
10264 [POSIX] (EDESTADDRREQ): Likewise.
10265 [POSIX] (EDQUOT): Likewise.
10266 [POSIX] (EHOSTUNREACH): Likewise.
10267 [POSIX] (EIDRM): Likewise.
10268 [POSIX] (EISCONN): Likewise.
10269 [POSIX] (ELOOP): Likewise.
10270 [POSIX] (EMULTIHOP): Likewise.
10271 [POSIX] (ENETDOWN): Likewise.
10272 [POSIX] (ENETUNREACH): Likewise.
10273 [POSIX] (ENOBUFS): Likewise.
10274 [POSIX] (ENODATA): Likewise.
10275 [POSIX] (ENOLINK): Likewise.
10276 [POSIX] (ENOMSG): Likewise.
10277 [POSIX] (ENOPROTOOPT): Likewise.
10278 [POSIX] (ENOSR): Likewise.
10279 [POSIX] (ENOSTR): Likewise.
10280 [POSIX] (ENOTCONN): Likewise.
10281 [POSIX] (ENOTSOCK): Likewise.
10282 [POSIX] (EOPNOTSUPP): Likewise.
10283 [POSIX] (EOVERFLOW): Likewise.
10284 [POSIX] (EPROTO): Likewise.
10285 [POSIX] (EPROTONOSUPPORT): Likewise.
10286 [POSIX] (EPROTOTYPE): Likewise.
10287 [POSIX] (ESTALE): Likewise.
10288 [POSIX] (ETIME): Likewise.
10289 [POSIX] (ETXTBSY): Likewise.
10290 [POSIX] (EWOULDBLOCK): Likewise.
10291 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10292 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10293 [POSIX] (SEEK_CUR): Likewise.
10294 [POSIX] (SEEK_END): Likewise.
10295 [POSIX || UNIX98] (mode_t): Do not require.
10296 [POSIX] (off_t): Likewise.
10297 [POSIX] (pid_t): Likewise.
10298 [POSIX] (sys/stat.h): Do not allow header.
10299 [POSIX] (unistd.h): Likewise.
10300 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10301 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10302 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10303 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10304 require.
10305 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10306 sigevent): Specify elements.
10307 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10308 entry.
10309 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10310 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10311
a483863f
JM
10312 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10313 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10314 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10315 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10316 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10317 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10318 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10319 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10320 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10321 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10322 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10323 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10324 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10326 Likewise.
10327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10328 Likewise.
10329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10330 Likewise.
10331 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10332 Likewise.
10333 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10334 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10335 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10336 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10338 Specify lower bound on value.
10339 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10340 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10341 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10342 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10343 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10344 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10345 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10346 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10347 value.
10348 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10349 as optional.
10350 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10351 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10352 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10353 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10355 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10356 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10361 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10362 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10363 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10364 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10365 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10366 entry.
10367 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10368 optional.
10369 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10375 Likewise.
10376 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10381 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10383 as optional.
10384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10388 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10389 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10390 specify as optional.
10391 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10394 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10395 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10396 [XPG3] (NL_LANGMAX): Likewise.
10397 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10398 [POSIX || XPG3] (NL_NMAX): Likewise.
10399 [POSIX || XPG3] (NL_SETMAX): Likewise.
10400 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10401 [XPG3] (NZERO): Likewise.
10402 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10403 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10404 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10405 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10406 (REG_ERANGE): Expect.
10407 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10408 optional-constant.
10409 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10410 Use (void) in prototype.
10411 [POSIX] (*_t): Allow.
10412 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10413 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10414 (WRDE_BADVAL): Expect.
10415
5ba924e3
JM
10416 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10417 expect.
10418 [XPG3 || XPG4] (O_RSYNC): Likewise.
10419 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10420 Likewise.
10421 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10422 [XPG3 || XPG4] (sigqueue): Likewise.
10423 [XPG3 || XPG4] (sigtimedwait): Likewise.
10424 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10425 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10426 [XPG3 || XPG4] (vsnprintf): Likewise.
10427 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10428 Likewise.
10429 [XPG3 || XPG4] (blksize_t): Likewise.
10430 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10431 Likewise.
10432 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10433 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10434 [XPG3 || XPG4] (struct itimerspec): Likewise.
10435 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10436 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10437 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10438 [XPG3 || XPG4] (clockid_t): Likewise.
10439 [XPG3 || XPG4] (timer_t): Likewise.
10440 [XPG3 || XPG4] (clock_getres): Likewise.
10441 [XPG3 || XPG4] (clock_gettime): Likewise.
10442 [XPG3 || XPG4] (clock_settime): Likewise.
10443 [XPG3 || XPG4] (nanosleep): Likewise.
10444 [XPG3 || XPG4] (timer_create): Likewise.
10445 [XPG3 || XPG4] (timer_delete): Likewise.
10446 [XPG3 || XPG4] (timer_gettime): Likewise.
10447 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10448 [XPG3 || XPG4] (timer_settime): Likewise.
10449 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10450 [XPG3 || XPG4] (getlogin_r): Likewise.
10451 [XPG3 || XPG4] (pread): Likewise.
10452 [XPG3 || XPG4] (pthread_atfork): Likewise.
10453 [XPG3 || XPG4] (pwrite): Likewise.
10454
ee663277
JM
10455 [BZ #14835]
10456 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10457 <bits/siginfo.h>.
10458
942caa16
PT
104592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10460
e19af380
PT
10461 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10462 finalizing MALLSTREAM.
10463
942caa16
PT
10464 * sysdeps/mach/hurd/syncfs.c: New file.
10465
cfde9b46
SP
104662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10467
10468 [BZ #14719]
10469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10470 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10471 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10472 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10473 (_nss_dns_gethostbyname4_r): Likewise.
10474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10475 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10476
f6da27e5
PH
104772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10478
10479 [BZ #13763]
10480 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10481
6665d4a2
SM
104822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10483
1f51ee92
SM
10484 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10485 * elf/cache.c (print_entry): Print ",AArch64" for
10486 FLAG_AARCH64_LIB64
10487
6665d4a2
SM
10488 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10489 * elf/cache.c (print_entry): Print ",hard-float" for
10490 FLAG_ARM_LIBHF.
10491
05b227bd
DM
104922012-11-18 David S. Miller <davem@davemloft.net>
10493
10494 With help from Joseph Myers.
10495 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10496 cutoff to 2**-13.
10497 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10498 cutoff to 2**-25.
10499 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10500 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10501 small.
10502 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10503 * math/libm-test.inc (y0_test): New tests.
10504 (y1_test): New tests.
10505 * sysdeps/i386/fpu/libm-test-ulps: Update.
10506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10508
786b0b67
AS
105092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10510
10511 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10512 64-bit targets.
10513 * configure: Regenerated.
10514
8e18b86d
DM
105152012-11-17 David S. Miller <davem@davemloft.net>
10516
10517 [BZ #14811]
10518 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10519 nonzero exponents with absolute value below 0x1p-128 to +/-
10520 0x1p-128.
10521
531f1ae0
JM
105222012-11-17 Joseph Myers <joseph@codesourcery.com>
10523
12df29e2
JM
10524 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10525
150dc1a0
JM
10526 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10527
531f1ae0
JM
10528 * posix/getconf-speclist.c: New file.
10529 * posix/posix-envs.def: Likewise.
10530 * posix/confstr.c (START_ENV_GROUP): New macro.
10531 (END_ENV_GROUP): Likewise.
10532 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10533 (KNOWN_PRESENT_ENV_STRING): Likewise.
10534 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10535 (UNKNOWN_ENVIRONMENT): Likewise.
10536 (confstr): Include posix-envs.def instead of handling
10537 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10538 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10539 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10540 (END_ENV_GROUP): Likewise.
10541 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10542 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10543 (UNKNOWN_ENVIRONMENT): Likewise.
10544 (__sysconf): Include posix-envs.def instead of handling associated
10545 cases directly here.
10546 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10547 preprocessing getconf-speclist.c rather than running getconf or
10548 generating empty file.
10549
a93f9cbc
PT
105502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10551
10552 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10553
d64d9f87
AL
105542012-11-16 Andrej Lajovic <natrij@gmail.com>
10555
10556 [BZ #14672]
10557 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10558
447885eb
DM
105592012-11-16 David S. Miller <davem@davemloft.net>
10560
10561 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10562 smaller than LDBL_EPSILON/2.0L, just return xm1.
10563
bcbf9830
L
105642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * elf/tst-array1.c (init): Set constructor priority to 1000.
10567 (fini): Set destructor priority to 1000.
10568 * elf/tst-array2dep.c: Likewise.
10569
2b766585
SP
105702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10571
10572 [BZ #11741]
10573 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10574 (_IO_new_file_xsputn): Also return EOF if none of the input
10575 data was written when overflow failed.
10576 * libio/iopadn.c (_IO_padn): Likewise.
10577 * libio/iowpadn.c (_IO_wpadn): Likewise.
10578 * stdio-common/tst-put-error.c: Add copyright notice.
10579 (do_test): Add case for printing padded string.
10580 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10581 _IO_padn returned error.
10582 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10583 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10584 return EOF.
10585
b1848fde
SP
105862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10587
10588 * libio/libioP.h: Add comment note that the references to C++
10589 bits are now obsolete.
10590
2fd89785
MS
105912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10592
10593 * math/libm-test.inc (check_complex): Use asprintf.
10594
e3ea5409
JM
105952012-11-14 Joseph Myers <joseph@codesourcery.com>
10596
10597 * debug/pcprofiledump.c (print_version): Update copyright year.
10598 * malloc/memusagestat.c (print_version): Likewise.
10599
2e64d265
L
106002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10601
10602 [BZ #14831]
10603 * elf/Makefile (tests): Add tst-audit8.
10604 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10605 ($(objpfx)tst-audit8.out): New target.
10606 (tst-audit8-ENV): New variable.
10607 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10608 audit if l_reloc_result is NULL.
10609 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10610 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10611 * elf/tst-audit8.c: New file.
10612
c485e4d2
MS
106132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10614
10615 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10616 * misc/Makefile (CFLAGS-select.c): Define.
10617 * posix/Makefile (CFLAGS-pause.c): Define.
10618
3a0d900a
DM
106192012-11-13 David S. Miller <davem@davemloft.net>
10620
10621 * crypt/Makefile: Move test targets after toplevel Rules
10622 inclusion. Grab any necessary sysdep routines when linking.
10623 * crypt/md5.c (md5_process_block): Remove define, we will always
10624 name it __md5_process_block.
10625 (md5_finish_ctx): Update md5_process_block call.
10626 (md5_stream): Likewise.
10627 (md5_process_bytes): Likewise.
10628 (md5_process_block): Rename to __md5_process_block and move to ...
10629 * crypt/md5-block.c: ... here.
10630 * crypt/sha256.c (sha256_process_block): Move to ...
10631 * crypt/sha256-block.c: ... here.
10632 * crypt/sha512.c (sha512_process_block): Move to ...
10633 * crypt/sha512-block.c: ... here.
10634 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10635 path.
10636 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10637 * sysdeps/sparc/sparc64/multiarch/Makefile
10638 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10639 crypt subdir.
10640 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10642 multiarch changes.
10643 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10644 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10645 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10646 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10647 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10648 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10649 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10650 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10652 file.
10653 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10654 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10655 file.
10656 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10657
8ca89318
JM
106582012-11-13 Joseph Myers <joseph@codesourcery.com>
10659
e27d476a
JM
10660 * timezone/tzselect.ksh: Update from tzcode git revision
10661 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10662 * timezone/zdump.c: Likewise.
10663 * timezone/zic.c: Likewise.
10664 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10665 in TZVERSION setting, not $(PKGVERSION).
10666 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10667 REPORT_BUGS_TO settings.
10668
8ca89318
JM
10669 [BZ #14838]
10670 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10671 macro.
10672
47594329
MS
106732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10674
10675 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10676 detection to immediately after _FP_ROUND().
10677 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10678 bits are 0.
10679
640ac3f1
DM
106802012-11-11 David S. Miller <davem@davemloft.net>
10681
10682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10683 inttypes.h
10684 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10685 __close rather than their public counterparts.
10686
3d2577bb
JM
106872012-11-10 Joseph Myers <joseph@codesourcery.com>
10688
10689 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10690 file.
10691 [UNIX98] (sem_timedwait): Do not expect.
10692 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10693 [XPG4 || UNIX98] (sockatmark): Do not expect.
10694 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10695 (clock_getcpuclockid): Do not expect.
10696 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10697 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10698 Do not expect.
10699 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10700 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10701 [UNIX98] (vwscanf): Likewise.
10702 [UNIX98] (vswscanf): Likewise.
10703
fb1ae1ee
JM
107042012-11-09 Joseph Myers <joseph@codesourcery.com>
10705
9ec6f8bd
JM
10706 * timezone/version.h: Remove file.
10707 * timezone/README: Do not refer to version.h.
10708 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10709 $(objpfx)version.h.
10710 ($(objpfx)zdump.o): Likewise.
c3f81911 10711 ($(objpfx)version.h): New target.
9ec6f8bd 10712
0aa8f8a1
JM
10713 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10714 2012i.
10715 * timezone/README: Don't mention modification to tzselect.ksh.
10716 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10717 work on unmodified tzselect.ksh. Substitute version numbers in
10718 tzselect.ksh.
10719
4e87147f
JM
10720 * Makefile (format-me): Remove.
10721 (INSTALL): Adjust indentation. Use commands directly instead of
10722 using $(format-me).
10723
8b748aed
JM
10724 * aclocal.m4 (ACX_PKGVERSION): New macro.
10725 (ACX_BUGURL): Likewise.
10726 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10727 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10728 (REPORT_BUGS_TO): Likewise.
10729 * configure: Regenerated.
10730 * config.h.in (PKGVERSION): New macro.
10731 (REPORT_BUGS_TO): Likewise.
10732 * config.make.in (PKGVERSION): New variable.
10733 (PKGVERSION_TEXI): Likewise.
10734 (REPORT_BUGS_TO): Likewise.
10735 (REPORT_BUGS_TEXI): Likewise.
10736 * Makefile (format-me): Use -I$(common-objpfx)manual.
10737 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10738 ($(common-objpfx)manual/%): New target.
10739 (manual/%): Remove target.
10740 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10741 (print_version): Use PKGVERSION.
10742 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10743 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10744 and REPORT_BUGS_TO.
10745 ($(objpfx)xtrace): Likewise.
10746 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10747 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10748 (print_version): Use PKGVERSION.
10749 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10750 (do_version): Use PKGVERSION.
10751 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10752 REPORT_BUGS_TO.
10753 (common-ldd-rewrite): Likewise.
10754 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10755 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10756 (print_version): Use PKGVERSION.
10757 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10758 * elf/pldd.c (argp_program_bug_address): Remove variable.
10759 (more_help): New function.
10760 (argp): Use more_help.
10761 (print_version): Use PKGVERSION.
10762 * elf/sln.c (main): Use PKGVERSION.
10763 (usage): Use REPORT_BUGS_TO.
10764 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10765 (top level): Use PKGVERSION.
10766 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10767 (print_version): Use PKGVERSION.
10768 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10769 (print_version): Use PKGVERSION.
10770 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10771 (print_version): Use PKGVERSION.
10772 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10773 (print_version): Use PKGVERSION.
10774 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10775 (print_version): Use PKGVERSION.
10776 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10777 (print_version): Use PKGVERSION.
10778 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10779 and BUGURL.
10780 ($(objpfx)memusage): Likewise.
10781 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10782 (do_version): Use PKGVERSION.
10783 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10784 (print_version): Use PKGVERSION.
10785 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10786 ($PKGVERSION): New variable.
10787 ($REPORT_BUGS_TO): Likewise.
10788 (usage): Use $REPORT_BUGS_TO.
10789 (top level): Use $PKGVERSION.
10790 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10791 ($(objpfx)pkgvers.texi): New rule.
10792 ($(objpfx)stamp-pkgvers): Likewise.
10793 * manual/install.texi: Include pkgvers.texi.
10794 (--with-pkgversion): Document new configure option.
10795 (--with-bugurl): Likewise.
10796 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10797 than necessarily for this particular distribution. Use
10798 REPORT_BUGS_TO for where to report bugs.
10799 * INSTALL: Regenerated.
10800 * manual/libc.texinfo: Include pkgvers.texi.
10801 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10802 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10803 (print_version): Use PKGVERSION.
10804 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10805 (print_version): Use PKGVERSION.
10806 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10807 (print_version): Use PKGVERSION.
10808 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10809 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10810 macro.
10811 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10812 (print_version): Use PKGVERSION.
10813 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10814 (print_version): Use PKGVERSION.
10815 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10816 and PKGVERSION.
10817
92e4b6a9
JM
10818 * timezone/checktab.awk: Update from tzcode 2012i.
10819 * timezone/ialloc.c: Likewise.
10820 * timezone/private.h: Likewise.
10821 * timezone/scheck.c: Likewise.
10822 * timezone/tzfile.h: Likewise.
10823 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10824 (TZVERSION): Hardcode tzcode version number.
10825 * timezone/zdump.c: Update from tzcode 2012i.
10826 * timezone/zic.c: Likewise.
10827 * timezone/version.h: New file.
10828 * timezone/README: Describe version.h. Update upstream location.
10829
9bde902c
JM
10830 [BZ #14824]
10831 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10832 (mktemp): Enable declaration.
10833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10835 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10837 Likewise.
10838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10839 Likewise.
10840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10841 Likewise.
10842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10843 Likewise.
10844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10845 Likewise.
10846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10847 Likewise.
10848
fb1ae1ee
JM
10849 [BZ #14821]
10850 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10851 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10852 for copies of such integer values.
10853 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10854 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10855
2c1adbcb
AJ
108562012-11-09 Andreas Jaeger <aj@suse.de>
10857
10858 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10859 definitions and declarations that are provided by
10860 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10861
d0f8457e
AK
108622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10863
3a235abb 10864 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10865 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10866 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10867 definition.
10868
57241e26
MS
108692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10870
10871 * elf/elf.h: Update comment before AArch64 relocations.
10872
60e8270d
DM
108732012-11-07 David S. Miller <davem@davemloft.net>
10874
10875 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10877 (__start_context): Declare.
10878 (__makecontext_ret): Delete.
10879 (__makecontext): Hook up __start_context instead of
10880 __makecontext_ret.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10882 (sysdep_routines): Add __start_context when in stdlib.
10883
0fbb0fbc
JM
108842012-11-07 Joseph Myers <joseph@codesourcery.com>
10885
10886 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10887 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10888 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10889 hardcoded "nm".
10890 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10891 (READELF): New variable. Use it instead of hardcoded "readelf".
10892
eb48db7e
L
108932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10894
10895 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10896 * sysdeps/x86/Makefile: Here.
10897 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10898 * sysdeps/x86/tst-xmmymm.sh: This.
10899
05bcf62a
JM
109002012-11-07 Joseph Myers <joseph@codesourcery.com>
10901
c4b6cf53
JM
10902 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10903 expectations.
10904 [UNIX98] (pthread_barrier_t): Do not expect.
10905 [UNIX98] (pthread_barrierattr_t): Likewise.
10906 [UNIX98] (pthread_spinlock_t): Likewise.
10907 [UNIX98] (pthread_barrier_destroy): Likewise.
10908 [UNIX98] (pthread_barrier_init): Likewise.
10909 [UNIX98] (pthread_barrier_wait): Likewise.
10910 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10911 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10912 [UNIX98] (pthread_barrierattr_init): Likewise.
10913 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10914 [UNIX98] (pthread_getcpuclockid): Likewise.
10915 [UNIX98] (pthread_mutex_timedlock): Likewise.
10916 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10917 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10918 [UNIX98] (pthread_sigmask): Likewise.
10919 [UNIX98] (pthread_spin_destroy): Likewise.
10920 [UNIX98] (pthread_spin_init): Likewise.
10921 [UNIX98] (pthread_spin_lock): Likewise.
10922 [UNIX98] (pthread_spin_trylock): Likewise.
10923 [UNIX98] (pthread_spin_unlock): Likewise.
10924 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10925 Do not expect.
10926 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10928 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10929 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10930 [XPG3 || XPG4] (pthread_key_t): Likewise.
10931 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10932 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10933 [XPG3 || XPG4] (pthread_once_t): Likewise.
10934 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10935 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10937 [XPG3 || XPG4] (pthread_t): Likewise.
10938
cbe6e120
JM
10939 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10940 not expect.
10941 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10942
1b126443
JM
10943 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10944 Change function return type to int.
10945
b961a573
JM
10946 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10947 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10948 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10949 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10950 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10951 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10952 [!POSIX] (posix_madvise): Likewise.
10953 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10954 && !UNIX98].
10955 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10956 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10957 (mode_t): Likewise.
10958 (posix_mem_offset): Likewise.
10959 (posix_typed_mem_get_info): Likewise.
10960 (posix_typed_mem_open): Likewise.
10961
9e188909
JM
10962 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10963 Change condition to [XOPEN2K8].
10964
05bcf62a
JM
10965 * conform/conformtest.pl: Preprocess allow-header data with -x c
10966 instead of from stdin.
10967 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10968 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10969 [C99-based standards] (cerfc): Likewise.
10970 [C99-based standards] (cexp2): Likewise.
10971 [C99-based standards] (cexpm1): Likewise.
10972 [C99-based standards] (clog10): Likewise.
10973 [C99-based standards] (clog1p): Likewise.
10974 [C99-based standards] (clog2): Likewise.
10975 [C99-based standards] (clgamma): Likewise.
10976 [C99-based standards] (ctgamma): Likewise.
10977 [C99-based standards] (cerff): Likewise.
10978 [C99-based standards] (cerfcf): Likewise.
10979 [C99-based standards] (cexp2f): Likewise.
10980 [C99-based standards] (cexpm1f): Likewise.
10981 [C99-based standards] (clog10f): Likewise.
10982 [C99-based standards] (clog1pf): Likewise.
10983 [C99-based standards] (clog2f): Likewise.
10984 [C99-based standards] (clgammaf): Likewise.
10985 [C99-based standards] (ctgammaf): Likewise.
10986 [C99-based standards] (cerfl): Likewise.
10987 [C99-based standards] (cerfcl): Likewise.
10988 [C99-based standards] (cexp2l): Likewise.
10989 [C99-based standards] (cexpm1l): Likewise.
10990 [C99-based standards] (clog10l): Likewise.
10991 [C99-based standards] (clog1pl): Likewise.
10992 [C99-based standards] (clog2l): Likewise.
10993 [C99-based standards] (clgammal): Likewise.
10994 [C99-based standards] (ctgammal): Likewise.
10995 * conform/data/inttypes.h-data [C99-based standards]: Include
10996 stdint.h-data. Remove all expectations for stdint.h contents.
10997 [C99-based standards] (PRI*): Do not allow.
10998 [C99-based standards] (SCN*): Likewise.
10999 [C99-based standards] (*_t): Likewise.
11000 [C99-based-standards] (PRId8): Expect macro.
11001 [C99-based-standards] (PRIi8): Likewise.
11002 [C99-based-standards] (PRIo8): Likewise.
11003 [C99-based-standards] (PRIu8): Likewise.
11004 [C99-based-standards] (PRIx8): Likewise.
11005 [C99-based-standards] (PRIX8): Likewise.
11006 [C99-based-standards] (SCNd8): Likewise.
11007 [C99-based-standards] (SCNi8): Likewise.
11008 [C99-based-standards] (SCNo8): Likewise.
11009 [C99-based-standards] (SCNu8): Likewise.
11010 [C99-based-standards] (SCNx8): Likewise.
11011 [C99-based-standards] (PRIdLEAST8): Likewise.
11012 [C99-based-standards] (PRIiLEAST8): Likewise.
11013 [C99-based-standards] (PRIoLEAST8): Likewise.
11014 [C99-based-standards] (PRIuLEAST8): Likewise.
11015 [C99-based-standards] (PRIxLEAST8): Likewise.
11016 [C99-based-standards] (PRIXLEAST8): Likewise.
11017 [C99-based-standards] (SCNdLEAST8): Likewise.
11018 [C99-based-standards] (SCNiLEAST8): Likewise.
11019 [C99-based-standards] (SCNoLEAST8): Likewise.
11020 [C99-based-standards] (SCNuLEAST8): Likewise.
11021 [C99-based-standards] (SCNxLEAST8): Likewise.
11022 [C99-based-standards] (PRIdFAST8): Likewise.
11023 [C99-based-standards] (PRIiFAST8): Likewise.
11024 [C99-based-standards] (PRIoFAST8): Likewise.
11025 [C99-based-standards] (PRIuFAST8): Likewise.
11026 [C99-based-standards] (PRIxFAST8): Likewise.
11027 [C99-based-standards] (PRIXFAST8): Likewise.
11028 [C99-based-standards] (SCNdFAST8): Likewise.
11029 [C99-based-standards] (SCNiFAST8): Likewise.
11030 [C99-based-standards] (SCNoFAST8): Likewise.
11031 [C99-based-standards] (SCNuFAST8): Likewise.
11032 [C99-based-standards] (SCNxFAST8): Likewise.
11033 [C99-based-standards] (PRId16): Likewise.
11034 [C99-based-standards] (PRIi16): Likewise.
11035 [C99-based-standards] (PRIo16): Likewise.
11036 [C99-based-standards] (PRIu16): Likewise.
11037 [C99-based-standards] (PRIx16): Likewise.
11038 [C99-based-standards] (PRIX16): Likewise.
11039 [C99-based-standards] (SCNd16): Likewise.
11040 [C99-based-standards] (SCNi16): Likewise.
11041 [C99-based-standards] (SCNo16): Likewise.
11042 [C99-based-standards] (SCNu16): Likewise.
11043 [C99-based-standards] (SCNx16): Likewise.
11044 [C99-based-standards] (PRIdLEAST16): Likewise.
11045 [C99-based-standards] (PRIiLEAST16): Likewise.
11046 [C99-based-standards] (PRIoLEAST16): Likewise.
11047 [C99-based-standards] (PRIuLEAST16): Likewise.
11048 [C99-based-standards] (PRIxLEAST16): Likewise.
11049 [C99-based-standards] (PRIXLEAST16): Likewise.
11050 [C99-based-standards] (SCNdLEAST16): Likewise.
11051 [C99-based-standards] (SCNiLEAST16): Likewise.
11052 [C99-based-standards] (SCNoLEAST16): Likewise.
11053 [C99-based-standards] (SCNuLEAST16): Likewise.
11054 [C99-based-standards] (SCNxLEAST16): Likewise.
11055 [C99-based-standards] (PRIdFAST16): Likewise.
11056 [C99-based-standards] (PRIiFAST16): Likewise.
11057 [C99-based-standards] (PRIoFAST16): Likewise.
11058 [C99-based-standards] (PRIuFAST16): Likewise.
11059 [C99-based-standards] (PRIxFAST16): Likewise.
11060 [C99-based-standards] (PRIXFAST16): Likewise.
11061 [C99-based-standards] (SCNdFAST16): Likewise.
11062 [C99-based-standards] (SCNiFAST16): Likewise.
11063 [C99-based-standards] (SCNoFAST16): Likewise.
11064 [C99-based-standards] (SCNuFAST16): Likewise.
11065 [C99-based-standards] (SCNxFAST16): Likewise.
11066 [C99-based-standards] (PRId32): Likewise.
11067 [C99-based-standards] (PRIi32): Likewise.
11068 [C99-based-standards] (PRIo32): Likewise.
11069 [C99-based-standards] (PRIu32): Likewise.
11070 [C99-based-standards] (PRIx32): Likewise.
11071 [C99-based-standards] (PRIX32): Likewise.
11072 [C99-based-standards] (SCNd32): Likewise.
11073 [C99-based-standards] (SCNi32): Likewise.
11074 [C99-based-standards] (SCNo32): Likewise.
11075 [C99-based-standards] (SCNu32): Likewise.
11076 [C99-based-standards] (SCNx32): Likewise.
11077 [C99-based-standards] (PRIdLEAST32): Likewise.
11078 [C99-based-standards] (PRIiLEAST32): Likewise.
11079 [C99-based-standards] (PRIoLEAST32): Likewise.
11080 [C99-based-standards] (PRIuLEAST32): Likewise.
11081 [C99-based-standards] (PRIxLEAST32): Likewise.
11082 [C99-based-standards] (PRIXLEAST32): Likewise.
11083 [C99-based-standards] (SCNdLEAST32): Likewise.
11084 [C99-based-standards] (SCNiLEAST32): Likewise.
11085 [C99-based-standards] (SCNoLEAST32): Likewise.
11086 [C99-based-standards] (SCNuLEAST32): Likewise.
11087 [C99-based-standards] (SCNxLEAST32): Likewise.
11088 [C99-based-standards] (PRIdFAST32): Likewise.
11089 [C99-based-standards] (PRIiFAST32): Likewise.
11090 [C99-based-standards] (PRIoFAST32): Likewise.
11091 [C99-based-standards] (PRIuFAST32): Likewise.
11092 [C99-based-standards] (PRIxFAST32): Likewise.
11093 [C99-based-standards] (PRIXFAST32): Likewise.
11094 [C99-based-standards] (SCNdFAST32): Likewise.
11095 [C99-based-standards] (SCNiFAST32): Likewise.
11096 [C99-based-standards] (SCNoFAST32): Likewise.
11097 [C99-based-standards] (SCNuFAST32): Likewise.
11098 [C99-based-standards] (SCNxFAST32): Likewise.
11099 [C99-based-standards] (PRId64): Likewise.
11100 [C99-based-standards] (PRIi64): Likewise.
11101 [C99-based-standards] (PRIo64): Likewise.
11102 [C99-based-standards] (PRIu64): Likewise.
11103 [C99-based-standards] (PRIx64): Likewise.
11104 [C99-based-standards] (PRIX64): Likewise.
11105 [C99-based-standards] (SCNd64): Likewise.
11106 [C99-based-standards] (SCNi64): Likewise.
11107 [C99-based-standards] (SCNo64): Likewise.
11108 [C99-based-standards] (SCNu64): Likewise.
11109 [C99-based-standards] (SCNx64): Likewise.
11110 [C99-based-standards] (PRIdLEAST64): Likewise.
11111 [C99-based-standards] (PRIiLEAST64): Likewise.
11112 [C99-based-standards] (PRIoLEAST64): Likewise.
11113 [C99-based-standards] (PRIuLEAST64): Likewise.
11114 [C99-based-standards] (PRIxLEAST64): Likewise.
11115 [C99-based-standards] (PRIXLEAST64): Likewise.
11116 [C99-based-standards] (SCNdLEAST64): Likewise.
11117 [C99-based-standards] (SCNiLEAST64): Likewise.
11118 [C99-based-standards] (SCNoLEAST64): Likewise.
11119 [C99-based-standards] (SCNuLEAST64): Likewise.
11120 [C99-based-standards] (SCNxLEAST64): Likewise.
11121 [C99-based-standards] (PRIdFAST64): Likewise.
11122 [C99-based-standards] (PRIiFAST64): Likewise.
11123 [C99-based-standards] (PRIoFAST64): Likewise.
11124 [C99-based-standards] (PRIuFAST64): Likewise.
11125 [C99-based-standards] (PRIxFAST64): Likewise.
11126 [C99-based-standards] (PRIXFAST64): Likewise.
11127 [C99-based-standards] (SCNdFAST64): Likewise.
11128 [C99-based-standards] (SCNiFAST64): Likewise.
11129 [C99-based-standards] (SCNoFAST64): Likewise.
11130 [C99-based-standards] (SCNuFAST64): Likewise.
11131 [C99-based-standards] (SCNxFAST64): Likewise.
11132 [C99-based-standards] (PRIdMAX): Likewise.
11133 [C99-based-standards] (PRIiMAX): Likewise.
11134 [C99-based-standards] (PRIoMAX): Likewise.
11135 [C99-based-standards] (PRIuMAX): Likewise.
11136 [C99-based-standards] (PRIxMAX): Likewise.
11137 [C99-based-standards] (PRIXMAX): Likewise.
11138 [C99-based-standards] (SCNdMAX): Likewise.
11139 [C99-based-standards] (SCNiMAX): Likewise.
11140 [C99-based-standards] (SCNoMAX): Likewise.
11141 [C99-based-standards] (SCNuMAX): Likewise.
11142 [C99-based-standards] (SCNxMAX): Likewise.
11143 [C99-based-standards] (PRIdPTR): Likewise.
11144 [C99-based-standards] (PRIiPTR): Likewise.
11145 [C99-based-standards] (PRIoPTR): Likewise.
11146 [C99-based-standards] (PRIuPTR): Likewise.
11147 [C99-based-standards] (PRIxPTR): Likewise.
11148 [C99-based-standards] (PRIXPTR): Likewise.
11149 [C99-based-standards] (SCNdPTR): Likewise.
11150 [C99-based-standards] (SCNiPTR): Likewise.
11151 [C99-based-standards] (SCNoPTR): Likewise.
11152 [C99-based-standards] (SCNuPTR): Likewise.
11153 [C99-based-standards] (SCNxPTR): Likewise.
11154 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11155 allow.
11156 * conform/data/stdint.h-data: Update comments to clarify
11157 requirements.
11158 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11159 type.
11160 [C99-based standards] (INT8_MAX): Likewise.
11161 [C99-based standards] (INT16_MIN): Likewise.
11162 [C99-based standards] (INT16_MAX): Likewise.
11163 [C99-based standards] (INT32_MIN): Likewise.
11164 [C99-based standards] (INT32_MAX): Likewise.
11165 [C99-based standards] (INT64_MIN): Likewise.
11166 [C99-based standards] (INT64_MAX): Likewise.
11167 [C99-based standards] (UINT8_MAX): Likewise.
11168 [C99-based standards] (UINT16_MAX): Likewise.
11169 [C99-based standards] (UINT32_MAX): Likewise.
11170 [C99-based standards] (UINT64_MAX): Likewise.
11171 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11172 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11173 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11174 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11175 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11176 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11177 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11178 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11179 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11180 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11181 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11182 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11183 [C99-based standards] (INT_FAST8_MIN): Likewise.
11184 [C99-based standards] (INT_FAST8_MAX): Likewise.
11185 [C99-based standards] (INT_FAST16_MIN): Likewise.
11186 [C99-based standards] (INT_FAST16_MAX): Likewise.
11187 [C99-based standards] (INT_FAST32_MIN): Likewise.
11188 [C99-based standards] (INT_FAST32_MAX): Likewise.
11189 [C99-based standards] (INT_FAST64_MIN): Likewise.
11190 [C99-based standards] (INT_FAST64_MAX): Likewise.
11191 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11192 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11193 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11194 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11195 [C99-based standards] (INTPTR_MIN): Likewise.
11196 [C99-based standards] (INTPTR_MAX): Likewise.
11197 [C99-based standards] (UINTPTR_MAX): Likewise.
11198 [C99-based standards] (INTMAX_MIN): Likewise.
11199 [C99-based standards] (INTMAX_MAX): Likewise.
11200 [C99-based standards] (UINTMAX_MAX): Likewise.
11201 [C99-based standards] (PTRDIFF_MIN): Likewise.
11202 [C99-based standards] (PTRDIFF_MAX): Likewise.
11203 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11204 [C99-based standards] (SIZE_MAX): Likewise.
11205 [C99-based standards] (WCHAR_MAX): Likewise.
11206 [C99-based standards] (WINT_MAX): Likewise.
11207 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11208 constraint on value.
11209 [C99-based standards] (WCHAR_MIN): Likewise.
11210 [C99-based standards] (WINT_MIN): Likewise.
11211 [C99-based standards] (*_t): Allow.
11212 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11213 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11214 Include math.h-data and complex.h-data. Remove all expectations
11215 of math.h and complex.h contents.
11216 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11217 at end of line.
11218 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11219 (struct tm): Expect tag.
11220 [C99-based-standards] (wcstof): Expect function.
11221 [C99-based-standards] (wcstold): Likewise.
11222 [C99-based-standards] (wcstoll): Likewise.
11223 [C99-based-standards] (wcstoull): Likewise.
11224 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11225 macro-int-constant. Specify type.
11226 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11227 constraint on value.
11228 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11229 Specify type.
11230 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11231 Specify value.
11232 [ISO C standards]: Do not allow headers.
11233 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11234 wcs[abcdefghijklmnopqrstuvwxyz]*.
11235 [ISO C standards] (*_t): Do not allow.
11236 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11237 Expect function.
11238 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11239 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11240 Specify type.
11241 [ISO C standards]: Do not allow headers.
11242 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11243 is[abcdefghijklmnopqrstuvwxyz]*.
11244 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11245 to[abcdefghijklmnopqrstuvwxyz]*.
11246 [ISO C standards] (*_t): Do not allow.
11247 * conform/data/stdalign.h-data: New file.
11248 * conform/data/stdbool.h-data: Likewise.
11249 * conform/data/stdnoreturn.h-data: Likewise.
11250
7514feb8
RM
112512012-11-07 Roland McGrath <roland@hack.frob.com>
11252
11253 [BZ #14815]
11254 * manual/filesys.texi (Directory Entries): Typo fix.
11255 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11256
19b2ecfc
MS
112572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11258
11259 * elf/elf.h (EM_AARCH64): New macro.
11260 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11261 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11262 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11263 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11264 (R_AARCH64_TLSDESC): Likewise.
11265 (NT_ARM_TLS): Likewise.
11266 (NT_ARM_HW_BREAK): Likewise.
11267 (NT_ARM_HW_WATCH): Likewise.
11268
60e235ee
JM
112692012-11-07 Joseph Myers <joseph@codesourcery.com>
11270
11271 [BZ #14811]
11272 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11273 (__ieee754_powl): Saturate nonzero exponents with absolute value
11274 below 0x1p-79 to +/- 0x1p-79.
11275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11276 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11277 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11278 nonzero exponents with absolute value below 0x1p-32 to +/-
11279 0x1p-32.
11280 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11281 (__ieee754_powl): Saturate nonzero exponents with absolute value
11282 below 0x1p-79 to +/- 0x1p-79.
11283 * math/libm-test.inc (pow_test): Add more tests.
11284
0ab234b7
AK
112852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11286
11287 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11288 _dl_s390_cap_flags with kernel. Increase string length.
11289 (_dl_s390_platforms): Add z196 and zEC12.
11290
45832f74
JM
112912012-11-07 Joseph Myers <joseph@codesourcery.com>
11292
11293 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11294 Change XOPEN21K to XOPEN2K.
11295
19218757
MK
112962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11297
11298 * string/memmove.c: Use memcpy when possible.
11299
c5f45721
AJ
113002012-11-06 Andreas Jaeger <aj@suse.de>
11301
11302 * po/eo.po: Update from translation team.
11303
82477c28
JM
113042012-11-06 Joseph Myers <joseph@codesourcery.com>
11305
11306 [BZ #14793]
11307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11308 exponent and small x and y exponents, scale x or y up. Increase
11309 by 2 the exponent used in scaling up.
11310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11312 * math/libm-test.inc (fma_test): Add more tests.
11313 (fma_test_towardzero): Likewise.
11314 (fma_test_downward): Likewise.
11315 (fma_test_upward): Likewise.
11316
99252c8c
JM
113172012-11-05 Joseph Myers <joseph@codesourcery.com>
11318
acfa885f
JM
11319 [BZ #14805]
11320 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11321 fenv_t *.
11322
99252c8c
JM
11323 [BZ #14801]
11324 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11325 namespace for names of struct fields.
11326 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11327 fenv_t fields.
11328 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11329 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11330
d6d98dea
ST
113312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11332
11333 [BZ #3665]
11334 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11335
e10bb107
TS
113362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11337
11338 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11339 PTR_DEMANGLE.
11340
11341 [BZ #5246]
11342 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11343 PTR_DEMANGLE.
11344
a0c2940d
JM
113452012-11-04 Joseph Myers <joseph@codesourcery.com>
11346
11347 [BZ #14797]
11348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11349 definitely overflow as x * y not x * y + z.
11350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11352 * math/libm-test.inc (fma_test): Add more tests.
11353 (fma_test_towardzero): Likewise.
11354 (fma_test_downward): Likewise.
11355 (fma_test_upward): Likewise.
11356
b830319d
TS
113572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11358
11359 [BZ #157]
11360
11361 * include/stub-tag.h: Remove file.
11362 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11363 '#include' of it.
11364 * manual/maint.texi (Porting): Don't reference it.
11365 * Makerules ($(objpfx)stubs): Likewise.
11366 * dirent/closedir.c: Don't include <stub-tag.h>.
11367 * dirent/dirfd.c: Likewise.
11368 * dirent/fdopendir.c: Likewise.
11369 * dirent/getdents.c: Likewise.
11370 * dirent/getdents64.c: Likewise.
11371 * dirent/opendir.c: Likewise.
11372 * dirent/readdir.c: Likewise.
11373 * dirent/readdir64.c: Likewise.
11374 * dirent/readdir64_r.c: Likewise.
11375 * dirent/readdir_r.c: Likewise.
11376 * dirent/rewinddir.c: Likewise.
11377 * dirent/seekdir.c: Likewise.
11378 * dirent/telldir.c: Likewise.
11379 * gmon/profil.c: Likewise.
11380 * grp/setgroups.c: Likewise.
11381 * inet/if_index.c: Likewise.
11382 * io/access.c: Likewise.
11383 * io/chdir.c: Likewise.
11384 * io/chmod.c: Likewise.
11385 * io/chown.c: Likewise.
11386 * io/close.c: Likewise.
11387 * io/dup.c: Likewise.
11388 * io/dup2.c: Likewise.
11389 * io/dup3.c: Likewise.
11390 * io/euidaccess.c: Likewise.
11391 * io/faccessat.c: Likewise.
11392 * io/fchdir.c: Likewise.
11393 * io/fchmod.c: Likewise.
11394 * io/fchmodat.c: Likewise.
11395 * io/fchown.c: Likewise.
11396 * io/fchownat.c: Likewise.
11397 * io/fcntl.c: Likewise.
11398 * io/flock.c: Likewise.
11399 * io/fstatfs.c: Likewise.
11400 * io/fstatfs64.c: Likewise.
11401 * io/fstatvfs.c: Likewise.
11402 * io/fstatvfs64.c: Likewise.
11403 * io/futimens.c: Likewise.
11404 * io/fxstat.c: Likewise.
11405 * io/fxstat64.c: Likewise.
11406 * io/fxstatat.c: Likewise.
11407 * io/fxstatat64.c: Likewise.
11408 * io/getcwd.c: Likewise.
11409 * io/isatty.c: Likewise.
11410 * io/lchmod.c: Likewise.
11411 * io/lchown.c: Likewise.
11412 * io/link.c: Likewise.
11413 * io/linkat.c: Likewise.
11414 * io/lseek.c: Likewise.
11415 * io/lseek64.c: Likewise.
11416 * io/lxstat64.c: Likewise.
11417 * io/mkdir.c: Likewise.
11418 * io/mkdirat.c: Likewise.
11419 * io/mkfifo.c: Likewise.
11420 * io/mkfifoat.c: Likewise.
11421 * io/open.c: Likewise.
11422 * io/open64.c: Likewise.
11423 * io/openat.c: Likewise.
11424 * io/openat64.c: Likewise.
11425 * io/pipe.c: Likewise.
11426 * io/pipe2.c: Likewise.
11427 * io/poll.c: Likewise.
11428 * io/posix_fadvise.c: Likewise.
11429 * io/posix_fadvise64.c: Likewise.
11430 * io/posix_fallocate.c: Likewise.
11431 * io/posix_fallocate64.c: Likewise.
11432 * io/read.c: Likewise.
11433 * io/readlink.c: Likewise.
11434 * io/readlinkat.c: Likewise.
11435 * io/rmdir.c: Likewise.
11436 * io/sendfile.c: Likewise.
11437 * io/sendfile64.c: Likewise.
11438 * io/statfs.c: Likewise.
11439 * io/statfs64.c: Likewise.
11440 * io/statvfs.c: Likewise.
11441 * io/statvfs64.c: Likewise.
11442 * io/symlink.c: Likewise.
11443 * io/symlinkat.c: Likewise.
11444 * io/ttyname.c: Likewise.
11445 * io/ttyname_r.c: Likewise.
11446 * io/umask.c: Likewise.
11447 * io/unlink.c: Likewise.
11448 * io/unlinkat.c: Likewise.
11449 * io/utime.c: Likewise.
11450 * io/utimensat.c: Likewise.
11451 * io/write.c: Likewise.
11452 * io/xmknod.c: Likewise.
11453 * io/xmknodat.c: Likewise.
11454 * io/xstat.c: Likewise.
11455 * io/xstat64.c: Likewise.
11456 * login/getpt.c: Likewise.
11457 * login/grantpt.c: Likewise.
11458 * login/unlockpt.c: Likewise.
11459 * math/e_acoshl.c: Likewise.
11460 * math/e_acosl.c: Likewise.
11461 * math/e_asinl.c: Likewise.
11462 * math/e_atan2l.c: Likewise.
11463 * math/e_atanhl.c: Likewise.
11464 * math/e_coshl.c: Likewise.
11465 * math/e_expl.c: Likewise.
11466 * math/e_fmodl.c: Likewise.
11467 * math/e_gammal_r.c: Likewise.
11468 * math/e_hypotl.c: Likewise.
11469 * math/e_j0l.c: Likewise.
11470 * math/e_j1l.c: Likewise.
11471 * math/e_jnl.c: Likewise.
11472 * math/e_lgammal_r.c: Likewise.
11473 * math/e_log10l.c: Likewise.
11474 * math/e_log2l.c: Likewise.
11475 * math/e_logl.c: Likewise.
11476 * math/e_powl.c: Likewise.
11477 * math/e_rem_pio2l.c: Likewise.
11478 * math/e_sinhl.c: Likewise.
11479 * math/e_sqrtl.c: Likewise.
11480 * math/fclrexcpt.c: Likewise.
11481 * math/fedisblxcpt.c: Likewise.
11482 * math/feenablxcpt.c: Likewise.
11483 * math/fegetenv.c: Likewise.
11484 * math/fegetexcept.c: Likewise.
11485 * math/fegetround.c: Likewise.
11486 * math/feholdexcpt.c: Likewise.
11487 * math/fesetenv.c: Likewise.
11488 * math/fesetround.c: Likewise.
11489 * math/feupdateenv.c: Likewise.
11490 * math/fgetexcptflg.c: Likewise.
11491 * math/fraiseexcpt.c: Likewise.
11492 * math/fsetexcptflg.c: Likewise.
11493 * math/ftestexcept.c: Likewise.
11494 * math/k_cosl.c: Likewise.
11495 * math/k_rem_pio2l.c: Likewise.
11496 * math/k_sinl.c: Likewise.
11497 * math/k_tanl.c: Likewise.
11498 * math/s_asinhl.c: Likewise.
11499 * math/s_atanl.c: Likewise.
11500 * math/s_cbrtl.c: Likewise.
11501 * math/s_erfl.c: Likewise.
11502 * math/s_expm1l.c: Likewise.
11503 * math/s_log1pl.c: Likewise.
11504 * math/s_tanhl.c: Likewise.
11505 * misc/acct.c: Likewise.
11506 * misc/brk.c: Likewise.
11507 * misc/chflags.c: Likewise.
11508 * misc/chroot.c: Likewise.
11509 * misc/fchflags.c: Likewise.
11510 * misc/fgetxattr.c: Likewise.
11511 * misc/flistxattr.c: Likewise.
11512 * misc/fremovexattr.c: Likewise.
11513 * misc/fsetxattr.c: Likewise.
11514 * misc/fsync.c: Likewise.
11515 * misc/ftruncate.c: Likewise.
11516 * misc/futimes.c: Likewise.
11517 * misc/futimesat.c: Likewise.
11518 * misc/getdomain.c: Likewise.
11519 * misc/getdtsz.c: Likewise.
11520 * misc/gethostid.c: Likewise.
11521 * misc/gethostname.c: Likewise.
11522 * misc/getloadavg.c: Likewise.
11523 * misc/getpagesize.c: Likewise.
11524 * misc/getsysstats.c: Likewise.
11525 * misc/getxattr.c: Likewise.
11526 * misc/gtty.c: Likewise.
11527 * misc/ioctl.c: Likewise.
11528 * misc/lgetxattr.c: Likewise.
11529 * misc/listxattr.c: Likewise.
11530 * misc/llistxattr.c: Likewise.
11531 * misc/lremovexattr.c: Likewise.
11532 * misc/lsetxattr.c: Likewise.
11533 * misc/lutimes.c: Likewise.
11534 * misc/madvise.c: Likewise.
11535 * misc/mincore.c: Likewise.
11536 * misc/mlock.c: Likewise.
11537 * misc/mlockall.c: Likewise.
11538 * misc/mmap.c: Likewise.
11539 * misc/mprotect.c: Likewise.
11540 * misc/msync.c: Likewise.
11541 * misc/munlock.c: Likewise.
11542 * misc/munlockall.c: Likewise.
11543 * misc/munmap.c: Likewise.
11544 * misc/preadv.c: Likewise.
11545 * misc/preadv64.c: Likewise.
11546 * misc/ptrace.c: Likewise.
11547 * misc/pwritev.c: Likewise.
11548 * misc/pwritev64.c: Likewise.
11549 * misc/readv.c: Likewise.
11550 * misc/reboot.c: Likewise.
11551 * misc/remap_file_pages.c: Likewise.
11552 * misc/removexattr.c: Likewise.
11553 * misc/revoke.c: Likewise.
11554 * misc/select.c: Likewise.
11555 * misc/setdomain.c: Likewise.
11556 * misc/setegid.c: Likewise.
11557 * misc/seteuid.c: Likewise.
11558 * misc/sethostid.c: Likewise.
11559 * misc/sethostname.c: Likewise.
11560 * misc/setregid.c: Likewise.
11561 * misc/setreuid.c: Likewise.
11562 * misc/setxattr.c: Likewise.
11563 * misc/sstk.c: Likewise.
11564 * misc/stty.c: Likewise.
11565 * misc/swapoff.c: Likewise.
11566 * misc/swapon.c: Likewise.
11567 * misc/sync.c: Likewise.
11568 * misc/syncfs.c: Likewise.
11569 * misc/syscall.c: Likewise.
11570 * misc/truncate.c: Likewise.
11571 * misc/ualarm.c: Likewise.
11572 * misc/usleep.c: Likewise.
11573 * misc/ustat.c: Likewise.
11574 * misc/utimes.c: Likewise.
11575 * misc/vhangup.c: Likewise.
11576 * misc/writev.c: Likewise.
11577 * posix/_exit.c: Likewise.
11578 * posix/alarm.c: Likewise.
11579 * posix/execve.c: Likewise.
11580 * posix/fexecve.c: Likewise.
11581 * posix/fork.c: Likewise.
11582 * posix/fpathconf.c: Likewise.
11583 * posix/getaddrinfo.c: Likewise.
11584 * posix/getegid.c: Likewise.
11585 * posix/geteuid.c: Likewise.
11586 * posix/getgid.c: Likewise.
11587 * posix/getgroups.c: Likewise.
11588 * posix/getlogin.c: Likewise.
11589 * posix/getlogin_r.c: Likewise.
11590 * posix/getpgid.c: Likewise.
11591 * posix/getpid.c: Likewise.
11592 * posix/getppid.c: Likewise.
11593 * posix/getresgid.c: Likewise.
11594 * posix/getresuid.c: Likewise.
11595 * posix/getsid.c: Likewise.
11596 * posix/getuid.c: Likewise.
11597 * posix/glob64.c: Likewise.
11598 * posix/nanosleep.c: Likewise.
11599 * posix/pathconf.c: Likewise.
11600 * posix/pause.c: Likewise.
11601 * posix/posix_madvise.c: Likewise.
11602 * posix/pread.c: Likewise.
11603 * posix/pread64.c: Likewise.
11604 * posix/pwrite.c: Likewise.
11605 * posix/pwrite64.c: Likewise.
11606 * posix/sched_getaffinity.c: Likewise.
11607 * posix/sched_getp.c: Likewise.
11608 * posix/sched_gets.c: Likewise.
11609 * posix/sched_primax.c: Likewise.
11610 * posix/sched_primin.c: Likewise.
11611 * posix/sched_rr_gi.c: Likewise.
11612 * posix/sched_setaffinity.c: Likewise.
11613 * posix/sched_setp.c: Likewise.
11614 * posix/sched_sets.c: Likewise.
11615 * posix/sched_yield.c: Likewise.
11616 * posix/setgid.c: Likewise.
11617 * posix/setlogin.c: Likewise.
11618 * posix/setpgid.c: Likewise.
11619 * posix/setresgid.c: Likewise.
11620 * posix/setresuid.c: Likewise.
11621 * posix/setsid.c: Likewise.
11622 * posix/setuid.c: Likewise.
11623 * posix/sleep.c: Likewise.
11624 * posix/spawni.c: Likewise.
11625 * posix/sysconf.c: Likewise.
11626 * posix/times.c: Likewise.
11627 * posix/wait.c: Likewise.
11628 * posix/wait3.c: Likewise.
11629 * posix/wait4.c: Likewise.
11630 * posix/waitpid.c: Likewise.
11631 * resolv/gai_sigqueue.c: Likewise.
11632 * resource/getpriority.c: Likewise.
11633 * resource/getrlimit.c: Likewise.
11634 * resource/getrusage.c: Likewise.
11635 * resource/nice.c: Likewise.
11636 * resource/setpriority.c: Likewise.
11637 * resource/setrlimit.c: Likewise.
11638 * resource/ulimit.c: Likewise.
11639 * rt/aio_cancel.c: Likewise.
11640 * rt/aio_fsync.c: Likewise.
11641 * rt/aio_read.c: Likewise.
11642 * rt/aio_sigqueue.c: Likewise.
11643 * rt/aio_suspend.c: Likewise.
11644 * rt/aio_write.c: Likewise.
11645 * rt/clock_getres.c: Likewise.
11646 * rt/clock_gettime.c: Likewise.
11647 * rt/clock_nanosleep.c: Likewise.
11648 * rt/clock_settime.c: Likewise.
11649 * rt/lio_listio.c: Likewise.
11650 * rt/mq_close.c: Likewise.
11651 * rt/mq_getattr.c: Likewise.
11652 * rt/mq_notify.c: Likewise.
11653 * rt/mq_open.c: Likewise.
11654 * rt/mq_receive.c: Likewise.
11655 * rt/mq_send.c: Likewise.
11656 * rt/mq_setattr.c: Likewise.
11657 * rt/mq_timedreceive.c: Likewise.
11658 * rt/mq_timedsend.c: Likewise.
11659 * rt/mq_unlink.c: Likewise.
11660 * rt/shm_open.c: Likewise.
11661 * rt/shm_unlink.c: Likewise.
11662 * rt/timer_create.c: Likewise.
11663 * rt/timer_delete.c: Likewise.
11664 * rt/timer_getoverr.c: Likewise.
11665 * rt/timer_gettime.c: Likewise.
11666 * rt/timer_settime.c: Likewise.
11667 * setjmp/__longjmp.c: Likewise.
11668 * setjmp/setjmp.c: Likewise.
11669 * signal/kill.c: Likewise.
11670 * signal/killpg.c: Likewise.
11671 * signal/raise.c: Likewise.
11672 * signal/sigaction.c: Likewise.
11673 * signal/sigaltstack.c: Likewise.
11674 * signal/sigblock.c: Likewise.
11675 * signal/sigignore.c: Likewise.
11676 * signal/sigintr.c: Likewise.
11677 * signal/signal.c: Likewise.
11678 * signal/sigpause.c: Likewise.
11679 * signal/sigpending.c: Likewise.
11680 * signal/sigqueue.c: Likewise.
11681 * signal/sigreturn.c: Likewise.
11682 * signal/sigset.c: Likewise.
11683 * signal/sigsetmask.c: Likewise.
11684 * signal/sigstack.c: Likewise.
11685 * signal/sigsuspend.c: Likewise.
11686 * signal/sigtimedwait.c: Likewise.
11687 * signal/sigvec.c: Likewise.
11688 * signal/sigwait.c: Likewise.
11689 * signal/sigwaitinfo.c: Likewise.
11690 * signal/sysv_signal.c: Likewise.
11691 * socket/accept.c: Likewise.
11692 * socket/accept4.c: Likewise.
11693 * socket/bind.c: Likewise.
11694 * socket/connect.c: Likewise.
11695 * socket/getpeername.c: Likewise.
11696 * socket/getsockname.c: Likewise.
11697 * socket/getsockopt.c: Likewise.
11698 * socket/isfdtype.c: Likewise.
11699 * socket/listen.c: Likewise.
11700 * socket/recv.c: Likewise.
11701 * socket/recvfrom.c: Likewise.
11702 * socket/recvmsg.c: Likewise.
11703 * socket/send.c: Likewise.
11704 * socket/sendmsg.c: Likewise.
11705 * socket/sendto.c: Likewise.
11706 * socket/setsockopt.c: Likewise.
11707 * socket/shutdown.c: Likewise.
11708 * socket/sockatmark.c: Likewise.
11709 * socket/socket.c: Likewise.
11710 * socket/socketpair.c: Likewise.
11711 * stdio-common/ctermid.c: Likewise.
11712 * stdio-common/cuserid.c: Likewise.
11713 * stdio-common/remove.c: Likewise.
11714 * stdio-common/rename.c: Likewise.
11715 * stdio-common/renameat.c: Likewise.
11716 * stdio-common/tempname.c: Likewise.
11717 * stdlib/getcontext.c: Likewise.
11718 * stdlib/makecontext.c: Likewise.
11719 * stdlib/setcontext.c: Likewise.
11720 * stdlib/swapcontext.c: Likewise.
11721 * stdlib/system.c: Likewise.
11722 * streams/fattach.c: Likewise.
11723 * streams/fdetach.c: Likewise.
11724 * streams/getmsg.c: Likewise.
11725 * streams/getpmsg.c: Likewise.
11726 * streams/putmsg.c: Likewise.
11727 * streams/putpmsg.c: Likewise.
11728 * sysdeps/unix/bsd/getpt.c: Likewise.
11729 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11730 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11731 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11733 Likewise.
11734 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11735 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11736 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11737 * sysvipc/msgctl.c: Likewise.
11738 * sysvipc/msgget.c: Likewise.
11739 * sysvipc/msgrcv.c: Likewise.
11740 * sysvipc/msgsnd.c: Likewise.
11741 * sysvipc/semctl.c: Likewise.
11742 * sysvipc/semget.c: Likewise.
11743 * sysvipc/semop.c: Likewise.
11744 * sysvipc/semtimedop.c: Likewise.
11745 * sysvipc/shmat.c: Likewise.
11746 * sysvipc/shmctl.c: Likewise.
11747 * sysvipc/shmdt.c: Likewise.
11748 * sysvipc/shmget.c: Likewise.
11749 * termios/tcdrain.c: Likewise.
11750 * termios/tcflow.c: Likewise.
11751 * termios/tcflush.c: Likewise.
11752 * termios/tcgetattr.c: Likewise.
11753 * termios/tcgetpgrp.c: Likewise.
11754 * termios/tcsendbrk.c: Likewise.
11755 * termios/tcsetattr.c: Likewise.
11756 * termios/tcsetpgrp.c: Likewise.
11757 * time/adjtime.c: Likewise.
11758 * time/clock.c: Likewise.
11759 * time/getitimer.c: Likewise.
11760 * time/gettimeofday.c: Likewise.
11761 * time/setitimer.c: Likewise.
11762 * time/settimeofday.c: Likewise.
11763 * time/stime.c: Likewise.
11764 * time/time.c: Likewise.
11765
117662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11767
a20492cf
PT
11768 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11769 /usr/old/bin.
11770
72e182e3
PT
11771 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11772 instead of spaces.
11773 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11774
fbeafede
JM
117752012-11-03 Joseph Myers <joseph@codesourcery.com>
11776
5b5b04d6
JM
11777 [BZ #14796]
11778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11779 FE_TONEAREST before applying Dekker multiplication and Knuth
11780 addition. Clear inexact exceptions and check for exact zero
11781 results afterwards.
11782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11783 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11785 * math/libm-test.inc (fma_test): Add more tests.
11786 (fma_test_towardzero): Likewise.
11787 (fma_test_downward): Likewise.
11788 (fma_test_upward): Likewise.
11789 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11790 function.
11791 (libc_fesetround): New macro.
11792 (libc_fesetroundf): Likewise.
11793 (libc_fesetroundl): Likewise.
11794 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11795 function.
11796 (libc_fesetround_387): Likewise.
11797 (libc_fesetroundf): New macro.
11798 (libc_fesetround): Likewise.
11799 (libc_fesetroundl): Likewise.
11800 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11801 function.
11802 (libc_fesetroundf): New macro.
11803 (libc_fesetround): Likewise.
11804 (libc_fesetroundl): Likewise.
11805 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11806 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11807 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11808 libm_hidden_ver.
11809 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11810 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11811 libm_hidden_def.
11812 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11813 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11814 libm_hidden_ver.
11815 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11816 libm_hidden_def.
11817
fbeafede
JM
11818 [BZ #3439]
11819 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11820 integer constant usable in #if and use that to give value to enum
11821 constant.
11822 (FE_DIVBYZERO): Likewise.
11823 (FE_UNDERFLOW): Likewise.
11824 (FE_OVERFLOW): Likewise.
11825 (FE_INVALID): Likewise.
11826 (FE_INVALID_SNAN): Likewise.
11827 (FE_INVALID_ISI): Likewise.
11828 (FE_INVALID_IDI): Likewise.
11829 (FE_INVALID_ZDZ): Likewise.
11830 (FE_INVALID_IMZ): Likewise.
11831 (FE_INVALID_COMPARE): Likewise.
11832 (FE_INVALID_SOFTWARE): Likewise.
11833 (FE_INVALID_SQRT): Likewise.
11834 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11835 (FE_TONEAREST): Likewise.
11836 (FE_TOWARDZERO): Likewise.
11837 (FE_UPWARD): Likewise.
11838 (FE_DOWNWARD): Likewise.
11839 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11840 (FE_DIVBYZERO): Likewise.
11841 (FE_OVERFLOW): Likewise.
11842 (FE_UNDERFLOW): Likewise.
11843 (FE_INEXACT): Likewise.
11844 (FE_TONEAREST): Likewise.
11845 (FE_DOWNWARD): Likewise.
11846 (FE_UPWARD): Likewise.
11847 (FE_TOWARDZERO): Likewise.
11848 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11849 (FE_UNDERFLOW): Likewise.
11850 (FE_OVERFLOW): Likewise.
11851 (FE_DIVBYZERO): Likewise.
11852 (FE_INVALID): Likewise.
11853 (FE_TONEAREST): Likewise.
11854 (FE_TOWARDZERO): Likewise.
11855 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11856 (FE_OVERFLOW): Likewise.
11857 (FE_UNDERFLOW): Likewise.
11858 (FE_DIVBYZERO): Likewise.
11859 (FE_INEXACT): Likewise.
11860 (FE_TONEAREST): Likewise.
11861 (FE_TOWARDZERO): Likewise.
11862 (FE_UPWARD): Likewise.
11863 (FE_DOWNWARD): Likewise.
11864 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11865 (FE_DIVBYZERO): Likewise.
11866 (FE_OVERFLOW): Likewise.
11867 (FE_UNDERFLOW): Likewise.
11868 (FE_INEXACT): Likewise.
11869 (FE_TONEAREST): Likewise.
11870 (FE_DOWNWARD): Likewise.
11871 (FE_UPWARD): Likewise.
11872 (FE_TOWARDZERO): Likewise.
11873
105ca950
CM
118742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11875
11876 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11877
a542b389
AS
118782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11879
11880 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11881 commands. Quote $PWD.
11882 (blacklist_exports): Don't use remove_newlines. Replace "declare
11883 -x" by "export".
11884 (remove_newlines): Remove.
11885
f62c8abc
L
118862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11887
11888 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11889 * stdlib/stdlib.h (atof): Moved to ...
11890 * include/bits/stdlib-float.h: Here. New file.
11891 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11892 * stdlib/bits/stdlib-float.h: New file.
11893 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11894 -mno-sse -mno-mmx.
11895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11896 <xmmintrin.h>.
11897
0155d5b2
JM
118982012-11-02 Joseph Myers <joseph@codesourcery.com>
11899
a68d0680
JM
11900 * conform/conformtest.pl (@headers): Add fenv.h.
11901 * conform/data/fenv.h-data: New file.
11902 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11903 include of <math/fenv.h>.
11904
caf7f573
JM
11905 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11906 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11907 && !UNIX98]. Enables tests for XOPEN2K8.
11908 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11909 POSIX2008]: Likewise.
11910
6c073ad6
JM
11911 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11912 (struct rusage): Do not expect type or its members.
11913
0155d5b2
JM
11914 [BZ #3439]
11915 * math/math.h (FP_NAN): Define macro to integer constant usable in
11916 #if and use that to give value to enum constant.
11917 (FP_INFINITE): Likewise.
11918 (FP_ZERO): Likewise.
11919 (FP_SUBNORMAL): Likewise.
11920 (FP_NORMAL): Likewise.
11921
b5dcacb4
AS
119222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11923
11924 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11925 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11926 arguments.
11927
f7934be8
RM
119282012-11-02 Roland McGrath <roland@hack.frob.com>
11929
11930 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11931 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11932 autoconf-time if not.
11933 * configure.in: Remove AC_PREREQ.
11934
d7d08bde
TMQMF
119352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11936
11937 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11938 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11939 of the internal implementation.
11940
dcdae19a
JM
119412012-11-02 Joseph Myers <joseph@codesourcery.com>
11942
11943 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11944 except include of <misc/sys/syslog.h>.
11945
d6cffd3e
AS
119462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11947
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11949 function returns with a NULL context exit with zero.
11950
b3563932
TMQMF
119512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11952
11953 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11954
b288a93d
L
119552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11958 (run_program_cmd): This.
11959 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11960 (tst_langinfo): New variable. Use it.
11961
a2421a68
SAS
119622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11963
11964 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11965 floating point opcodes.
11966
6f796e1b
TS
119672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11968
7402596b
TS
11969 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11970 variable.
11971
d0d4f868
TS
11972 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11973
6f796e1b
TS
11974 * sysdeps/mach/hurd/powerpc: Remove directory.
11975 * sysdeps/mach/powerpc: Likewise.
11976
4da224a2
AS
119772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11978
11979 * scripts/check-local-headers.sh: Ignore c++ headers.
11980
341dd673
TS
119812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11982
11983 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11984 __libc_cleanup_region_start argument.
11985
473611b2
JM
119862012-11-01 Joseph Myers <joseph@codesourcery.com>
11987
11988 [BZ #14784]
11989 [BZ #14785]
11990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11991 x * y using scaling, not as x * y + z.
11992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11994 * math/libm-test.inc (fma_test): Add more tests.
11995 (fma_test_towardzero): Likewise.
11996 (fma_test_downward): Likewise.
11997 (fma_test_upward): Likewise.
11998
4078da3d
TS
119992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12000
12001 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12002
903252aa
JM
120032012-10-31 Joseph Myers <joseph@codesourcery.com>
12004
12005 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12006 New variable.
12007
cbc818d0
TS
120082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12009
12010 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12011
5a03cb1e
AS
120122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12013
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12015 Fix sort order.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12017 Likewise.
12018
90aff2ff
TMQMF
120192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12020
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12022 Fix the order of the list for glibc 2.17.
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12024 Likewise.
12025
1818fcb7
AS
120262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12029
ef82f4da
JM
120302012-10-31 Joseph Myers <joseph@codesourcery.com>
12031
16a0e2ec
JM
12032 [BZ #14610]
12033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12034 for low part of x being zero before using __atanl (y).
12035 * math/libm-test.inc (atan2_test): Add another test.
12036
0eb69512
JM
12037 * manual/install.texi (Configuring and compiling): Document
12038 general use of test-wrapper and test-wrapper-env.
12039 * INSTALL: Regenerated.
12040
ef82f4da
JM
12041 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12042 (__fma): Do not extract and scale down low bits on after-rounding
12043 systems when result rounded to normal precision would have normal
12044 exponent.
12045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12046 (__fmal): Do not extract and scale down low bits on after-rounding
12047 systems when result rounded to normal precision would have normal
12048 exponent.
12049 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12050 (__fmal): Do not extract and scale down low bits on after-rounding
12051 systems when result rounded to normal precision would have normal
12052 exponent.
12053 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12054 macro.
12055 (fma_test): Add more tests.
12056 (fma_test_towardzero): Likewise.
12057 (fma_test_downward): Likewise.
12058 (fma_test_upward): Likewise.
12059
954ef0d9
L
120602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/i386/tininess.h: Renamed to ...
12063 * sysdeps/x86/tininess.h: This.
12064 * sysdeps/x86_64/tininess.h: Removed.
12065
df61ffb2
JM
120662012-10-30 Joseph Myers <joseph@codesourcery.com>
12067
12068 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12069 input. Use $(build-program-cmd).
12070 ($(objpfx)tst-array1-static.out): Likewise.
12071 ($(objpfx)tst-array2.out): Likewise.
12072 ($(objpfx)tst-array3.out): Likewise.
12073 ($(objpfx)tst-array4.out): Likewise.
12074 ($(objpfx)tst-array5.out): Likewise.
12075 ($(objpfx)tst-array5-static.out): Likewise.
12076
01767843
CM
120772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12078
47cc1490
CM
12079 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12080 if defined.
12081
01767843
CM
12082 * nss/nsswitch.h (nss_interface_function): Provide new
12083 macro for use with NSS functions.
12084 * grp/initgroups.c: Use new macro.
12085 * nss/getXXbyYY.c: Likewise.
12086 * nss/getXXbyYY_r.c: Likewise.
12087 * nss/getXXent.c: Likewise.
12088 * nss/getXXent_r.c: Likewise.
12089 * sysdeps/posix/getaddrinfo.c: Likewise.
12090
8321aa97
AJ
120912012-10-30 Andreas Jaeger <aj@suse.de>
12092
12093 * po/ru.po: Update Russion translation from translation project.
12094
2a27fd6d
JM
120952012-10-30 Joseph Myers <joseph@codesourcery.com>
12096
8627a232
JM
12097 [BZ #14152]
12098 [BZ #14783]
12099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12100 result and shift together with sticky bit instead of replicating
12101 round-to-nearest rounding.
12102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12103 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12104 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12105 missing underflow exceptions.
12106 (fma_test_towardzero): Add more tests.
12107 (fma_test_downward): Likewise.
12108 (fma_test_upward): Likewise.
12109
2a27fd6d
JM
12110 [BZ #14047]
12111 * sysdeps/generic/tininess.h: New file.
12112 * sysdeps/i386/tininess.h: Likewise.
12113 * sysdeps/sh/tininess.h: Likewise.
12114 * sysdeps/x86_64/tininess.h: Likewise.
12115 * stdlib/tst-strtod-underflow.c: Likewise.
12116 * stdlib/tst-tininess.c: Likewise.
12117 * stdlib/strtod_l.c: Include <tininess.h>.
12118 (round_and_return): Do not set errno for exact underflow cases.
12119 Force an underflow exception when setting errno for underflow.
12120 Determine underflow based on rounding to normal precision if
12121 TININESS_AFTER_ROUNDING.
12122 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12123 ERANGE for exact underflow cases.
12124 * stdlib/Makefile (tests): Add tst-tininess and
12125 tst-strtod-underflow.
12126 ($(objpfx)tst-tininess): Use $(link-libm).
12127 ($(objpfx)tst-strtod-underflow): Likewise.
12128
e7170363
AJ
121292012-10-30 Andreas Jaeger <aj@suse.de>
12130
e5088dc6
AJ
12131 [BZ#14767]
12132 * elf/Makefile (tests): Remove conditional for have-initfini-array
12133 since this is now always required and the variable does not exist
12134 anymore.
12135 (tests-static): Likewise.
12136 (modules-names): Likewise.
12137
e7170363 12138 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12139
12140 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12141 merged with constructor/destructor.
12142 (init_array): Likewise.
12143 * elf/tst-array2dep.c (fini_array): Likewise.
12144 (init_array): Likewise.
12145
60457d8a
MF
121462012-10-29 Mike Frysinger <vapier@gentoo.org>
12147
12148 * manual/message.texi: Delete @cartouche tags.
12149
8bece752
PT
121502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12151
94ce799f
PT
12152 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12153 EOPNOTSUPP.
12154 * sysdeps/mach/hurd/fsync.c: Likewise.
12155
8bece752
PT
12156 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12157 [_POSIX_REALTIME_SIGNALS]: Change condition to
12158 [_POSIX_REALTIME_SIGNALS > 0].
12159
86ebe6b1
AJ
121602012-10-27 Andreas Jaeger <aj@suse.de>
12161
12162 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12163 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12165 [__WORDSIZE != 64]: Likewise.
12166
54399c08
L
121672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 * iconvdata/tst-table.sh: Remove ${SHELL}.
12170 * iconvdata/tst-tables.sh: Likewise.
12171
e2211bed
DM
121722012-10-25 David S. Miller <davem@davemloft.net>
12173
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12175 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12176 of strtoull.
12177
f303f97c
DM
12178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12179 ifunc-impl-list.c
12180 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12181 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12182 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12183 file.
12184
1e9d84cd
RM
121852012-10-25 Roland McGrath <roland@hack.frob.com>
12186
12187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12188 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12189 __getdirentries.
12190
df381762
JM
121912012-10-25 Joseph Myers <joseph@codesourcery.com>
12192 Jim Blandy <jimb@codesourcery.com>
12193
12194 * scripts/cross-test-ssh.sh: New file.
12195 * manual/install.texi (Configuring and compiling): Document use of
12196 cross-test-ssh.sh.
12197 * INSTALL: Regenerated.
12198
bff64913
PT
121992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12200
12201 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12202 EOPNOTSUPP.
12203
25fe8932
JM
122042012-10-25 Joseph Myers <joseph@codesourcery.com>
12205
12206 * Makeconfig (run-program-prefix): Fix comment.
12207
cc1290d0
JM
122082012-10-24 Joseph Myers <joseph@codesourcery.com>
12209 Jim Blandy <jimb@codesourcery.com>
12210
12211 * Makeconfig (test-wrapper): New variable,
12212 (test-wrapper-env): Likewise.
12213 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12214 (run-built-tests): Define to yes.
12215 (run-program-prefix): Use $(test-wrapper).
12216 (built-program-cmd): Likewise.
12217 * Rules (make-test-out): Use $(test-wrapper-env) and
12218 $(host-built-program-cmd).
12219 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12220 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12221 tst-pathopt.sh.
12222 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12223 $(test-wrapper-env) to tst-rtld-load-self.sh.
12224 ($(objpfx)order2.out): Use $(test-wrapper).
12225 ($(objpfx)tst-initorder.out): Likewise.
12226 ($(objpfx)tst-initorder2.out): Likewise.
12227 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12228 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12229 (test_wrapper_env): New variable. Use it to run ld.so.
12230 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12231 Use it to run ld.so.
12232 (test_wrapper_env): Likewise.
12233 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12234 $(test-wrapper) to run-iconv-test.sh.
12235 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12236 (ICONV): Use $test_wrapper.
12237 * posix/Makefile ($(objpfx)globtest.out): Pass
12238 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12239 globtest.sh, not $(run-program-prefix).
12240 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12241 (test_wrapper): Likewise.
12242 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12243 set together with run_via_rtld_prefix.
12244 (run_program_prefix): Define in terms of test_wrapper and
12245 run_via_rtld_prefix.
12246
6e6249d0
RM
122472012-10-24 Roland McGrath <roland@hack.frob.com>
12248
12249 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12250 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12251 Targets removed.
12252
12253 [BZ #14743]
12254 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12255 Declare __clock_getres, __clock_gettime, __clock_settime,
12256 __clock_nanosleep, and __clock_getcpuclockid.
12257 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12258 Remove librt_hidden_def (clock_gettime).
12259 * sysdeps/unix/clock_gettime.c: Likewise.
12260 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12262 * rt/clock_getres.c: Define __clock_getres as an alias.
12263 * sysdeps/posix/clock_getres.c: Likewise.
12264 * rt/clock_settime.c: Define __clock_settime as an alias.
12265 * sysdeps/unix/clock_settime.c: Likewise.
12266 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12267 * sysdeps/unix/clock_nanosleep.c: Likewise.
12268 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12269 * rt/clock-compat.c: New file.
12270 * rt/Makefile (librt-routines): Add clock-compat and move
12271 $(clock-routines) to ...
12272 (routines): ... here, new variable.
12273 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12274 Don't add get_clockfreq here.
12275 * rt/Versions (libc: GLIBC_2.17): New version set.
12276 Add clock_* symbols here.
12277 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12279 (GLIBC_2.17): Add clock_* symbols.
12280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12284 Likewise.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12286 Likewise.
12287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12291 * NEWS: Mention the move.
12292
12293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12294 Use __open, __read, __close rather than their public counterparts.
12295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12296 (__get_clockfreq_via_cpuinfo): Likewise.
12297 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12298 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12299
12300 * config.h.in (HAVE_IFUNC): New #undef.
12301 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12302 was successful.
12303 * configure: Regenerated.
12304
0cae3f4b
MF
123052012-10-24 Mike Frysinger <vapier@gentoo.org>
12306
12307 * configure.in: Move READELF check to start of file.
12308 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12309 libc_cv_asm_gnu_indirect_function in the process.
12310 * configure: Regenerated.
12311
8175a253
MF
123122012-10-24 Mike Frysinger <vapier@gentoo.org>
12313
12314 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12315 send the output to /dev/null.
12316 (libc_cv_cc_with_libunwind): Likewise.
12317 (libc_cv_as_noexecstack): Likewise.
12318 * configure: Regenerate.
12319
0708a7d1
JM
123202012-10-24 Joseph Myers <joseph@codesourcery.com>
12321
10b40d85
JM
12322 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12323
0708a7d1
JM
12324 * posix/globtest.sh (TMPDIR): Do not set.
12325 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12326 (testout): Likewise.
12327
9fddec1a
AJ
123282012-10-24 Andreas Jaeger <aj@suse.de>
12329
3a8db22f
AJ
12330 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12331 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12332 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12333 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12334 posix_fadvise64, posix_fallocate64.
12335
9fddec1a
AJ
12336 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12337 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12338 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12339 Likewise.
12340 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12341 Likewise.
12342 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12343
12344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12345 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12346 <bits/fcntl-linux.h>.
12347 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12348
12349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12350 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12351 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12352 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12353 [__WORDSIZE != 64]: Likewise.
12354
ebfd1bbd
JM
123552012-10-23 Joseph Myers <joseph@codesourcery.com>
12356
03ac099f
JM
12357 * Makeconfig (run-built-tests): New variable.
12358 * Rules [$(cross-compiling) = yes]: Change condition to
12359 [$(run-built-tests) = no].
12360 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12361 to [$(run-built-tests) = yes].
12362 * elf/Makefile [$(cross-compiling) = no]: Likewise
12363 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12364 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12365 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12366 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12367 * io/Makefile [$(cross-compiling) = no]: Likewise.
12368 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12369 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12370 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12371 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12372 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12373 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12374 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12375 * string/Makefile [$(cross-compiling) = no]: Likewise.
12376
ebfd1bbd
JM
12377 * posix/Makefile ($(objpfx)globtest.out): Pass
12378 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12379 $(rtld-installed-name).
12380 * posix/globtest.sh (elf_objpfx): Remove variable.
12381 (rtld_installed_name): Likewise.
12382 (library_path): Likewise.
12383 (run_program_prefix): New variable. Use for running globtest
12384 binary.
12385
166bca24
JB
123862012-10-23 Jim Blandy <jimb@codesourcery.com>
12387 Joseph Myers <joseph@codesourcery.com>
12388
12389 * Makeconfig (host-built-program-cmd): New variable.
12390 * elf/Makefile (tst-stackguard1-ARGS): Use
12391 $(host-built-program-cmd).
12392 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12393 (tst-spawn-ARGS): Likewise.
12394 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12395
88866099
JM
123962012-10-23 Joseph Myers <joseph@codesourcery.com>
12397 Jim Blandy <jimb@codesourcery.com>
12398
12399 * Makeconfig (run-via-rtld-prefix): New variable.
12400 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12401 (built-program-cmd): Likewise.
12402
b4b4c296
AJ
124032012-10-22 Andreas Jaeger <aj@suse.de>
12404
12405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12406 __O_RSYNC if it exists, otherwise to O_SYNC.
12407
6fb54a22
JB
124082012-10-22 Jim Blandy <jimb@codesourcery.com>
12409 Joseph Myers <joseph@codesourcery.com>
12410
12411 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12412 /dev/null.
12413 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12414 from /dev/null
12415 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12416 /dev/null.
12417
481b90b9
AJ
124182012-10-22 Andreas Jaeger <aj@suse.de>
12419
2a0e2669
AJ
12420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12421 Define always.
12422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12423
76e38f9a
AJ
12424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12425 bits/fcntl-linux.h.
12426
7cd37b43
AJ
12427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12428 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12429
481b90b9
AJ
12430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12431 to __O_LARGEFILE.
12432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12433 to __O_LARGEFILE.
12434
aba75984
JB
124352012-10-21 Jim Blandy <jimb@codesourcery.com>
12436 Joseph Myers <joseph@codesourcery.com>
12437
12438 * config.make.in (NM): New variable.
12439
88d4247f
AJ
124402012-10-21 Andreas Jaeger <aj@suse.de>
12441
12442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12443 definitions and declarations that are provided by
12444 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12445
f2eed205
L
124462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12447
12448 [BZ #14683]
12449 * elf/Makefile (tests-static): Add tst-leaks1-static.
12450 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12451 ($(objpfx)tst-leaks1-static): New rule.
12452 ($(objpfx)tst-leaks1-static-mem): Likewise.
12453 (tst-leaks1-static-ENV): New macro.
12454 * elf/dl-open.c (dl_open_worker): Check the main application
12455 only if SHARED is defined.
12456 * elf/tst-leaks1-static.c: New file.
12457
335e6931
AJ
124582012-10-20 Andreas Jaeger <aj@suse.de>
12459
12460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12461 generic values for Linux.
12462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12463 and declarations that are provided by <bits/fcntl-linux.h> and
12464 include <bits/fcntl-linux.h>.
12465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12467
ac5c94d3
RM
124682012-10-20 Roland McGrath <roland@hack.frob.com>
12469
12470 * io/fcntl.h: Move include of <bits/types.h> to the top and
12471 include it unconditionally.
12472
de54b33a
L
124732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12474
228cfb01
L
12475 * wcsmbs/Makefile (tests-ifunc): New variable.
12476 (tests): Add $(tests-ifunc).
12477 * wcsmbs/test-wcschr-ifunc.c: New file.
12478 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12479 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12480 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12481 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12482 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12483
69f07e5f
L
12484 * string/Makefile (tests-ifunc): New variable.
12485 (tests): Add $(tests-ifunc).
12486 * string/test-memccpy.c (TEST_NAME): New macro.
12487 * string/test-memchr.c (TEST_NAME): Likewise.
12488 * string/test-memcmp.c (TEST_NAME): Likewise.
12489 * string/test-memcpy.c (TEST_NAME): Likewise.
12490 * string/test-memmem.c (TEST_NAME): Likewise.
12491 * string/test-memmove.c (TEST_NAME): Likewise.
12492 * string/test-memset.c (TEST_NAME): Likewise.
12493 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12494 * string/test-stpcpy.c (TEST_NAME): Likewise.
12495 * string/test-stpncpy.c (TEST_NAME): Likewise.
12496 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12497 * string/test-strcasestr.c (TEST_NAME): Likewise.
12498 * string/test-strcat.c (TEST_NAME): Likewise.
12499 * string/test-strchr.c (TEST_NAME): Likewise.
12500 * string/test-strcmp.c(TEST_NAME): Likewise.
12501 * string/test-strcpy.c (TEST_NAME): Likewise.
12502 * string/test-strcspn.c (TEST_NAME): Likewise.
12503 * string/test-strlen.c (TEST_NAME): Likewise.
12504 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12505 * string/test-strncmp.c (TEST_NAME): Likewise.
12506 * string/test-strncpy.c (TEST_NAME): Likewise.
12507 * string/test-strnlen.c (TEST_NAME): Likewise.
12508 * string/test-strpbrk.c (TEST_NAME): Likewise.
12509 * string/test-strrchr.c (TEST_NAME): Likewise.
12510 * string/test-strspn.c (TEST_NAME): Likewise.
12511 * string/test-strstr.c (TEST_NAME): Likewise.
12512 * string/test-bcopy-ifunc.c: New file.
12513 * string/test-bzero-ifunc.c: Likewise.
12514 * string/test-memccpy-ifunc.c: Likewise.
12515 * string/test-memchr-ifunc.c: Likewise.
12516 * string/test-memcmp-ifunc.c: Likewise.
12517 * string/test-memcpy-ifunc.c: Likewise.
12518 * string/test-memmem-ifunc.c: Likewise.
12519 * string/test-memmove-ifunc.c: Likewise.
12520 * string/test-mempcpy-ifunc.c: Likewise.
12521 * string/test-memset-ifunc.c: Likewise.
12522 * string/test-rawmemchr-ifunc.c: Likewise.
12523 * string/test-stpcpy-ifunc.c: Likewise.
12524 * string/test-stpncpy-ifunc.c: Likewise.
12525 * string/test-strcasecmp-ifunc.c: Likewise.
12526 * string/test-strcasestr-ifunc.c: Likewise.
12527 * string/test-strcat-ifunc.c: Likewise.
12528 * string/test-strchr-ifunc.c: Likewise.
12529 * string/test-strchrnul-ifunc.c: Likewise.
12530 * string/test-strcmp-ifunc.c: Likewise.
12531 * string/test-strcpy-ifunc.c: Likewise.
12532 * string/test-strcspn-ifunc.c: Likewise.
12533 * string/test-strlen-ifunc.c: Likewise.
12534 * string/test-strncasecmp-ifunc.c: Likewise.
12535 * string/test-strncat-ifunc.c: Likewise.
12536 * string/test-strncmp-ifunc.c: Likewise.
12537 * string/test-strncpy-ifunc.c: Likewise.
12538 * string/test-strnlen-ifunc.c: Likewise.
12539 * string/test-strpbrk-ifunc.c: Likewise.
12540 * string/test-strrchr-ifunc.c: Likewise.
12541 * string/test-strspn-ifunc.c: Likewise.
12542 * string/test-strstr-ifunc.c: Likewise.
12543
de54b33a
L
12544 * debug/Makefile (tests-ifunc): New variable.
12545 (tests): Add $(tests-ifunc).
12546 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12547 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12548 * debug/test-stpcpy_chk-ifunc.c: New file.
12549 * debug/test-strcpy_chk-ifunc.c: Likewise.
12550
88481c16
SP
125512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12552
12553 [BZ #13601]
12554 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12555 header is not read in.
12556
135948bd
JM
125572012-10-19 Joseph Myers <joseph@codesourcery.com>
12558
89f1c388
JM
12559 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12560 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12561 directly. Pass built executable to script as
12562 $(built-program-cmd).
12563 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12564 $testprogram without using LD_LIBRARY_PATH and $ldso.
12565
e40a0d21
JM
12566 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12567 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12568 $(rtld-installed-name).
12569 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12570 (rtld_installed_name): Likewise.
12571 (library_path): Likewise.
12572 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12573 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12574 $(run-program-prefix) to tst-tables.sh.
12575 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12576 it to run tst-table-from and tst-table-to.
12577 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12578 Pass it to tst-table.sh.
12579 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12580 $(run-program-prefix) to tst-gettext.sh.
12581 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12582 tst-translit.sh.
12583 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12584 tst-gettext2.sh.
12585 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12586 to run tst-gettext.
12587 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12588 to run tst-gettext2.
12589 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12590 to run tst-translit.
12591 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12592 $(run-program-prefix) to tst-mtrace.sh.
12593 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12594 to run tst-mtrace.
12595 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12596 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12597 $(rtld-installed-name).
12598 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12599 (rtld_installed_name): Likewise.
12600 (run_program_prefix): New variable. Use it to run wordexp-test.
12601
728e272a
JM
12602 * Makeconfig (ARCH): Remove all definitions.
12603 (machine): Likewise.
12604 [ARCH]: Remove conditional code.
12605 [!objdir]: Give error.
12606 [!objdir] (objpfx): Remove.
12607 [!objdir] (common-objpfx): Likewise.
12608 [!objdir] (common-objdir): Likewise.
12609 * configure.in (config_makefile): Remove. Hardcode Makefile in
12610 AC_CONFIG_FILES call.
12611 * configure: Regenerated.
12612
d528cdcf
JM
12613 [BZ #13888]
12614 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12615 or TMPDIR.
12616 (testout): Likewise.
12617
135948bd
JM
12618 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12619 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12620 $(rtld-installed-name).
12621 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12622 (rtld_installed_name): Likwise.
12623 (runit): Remove function.
12624 (run_getconf): New variable, Use it for running getconf binary.
12625
38c78296
L
126262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12627
12628 [BZ #14716]
12629 * string/test-memmem.c (check_result): New function.
12630 (do_one_test): Use it.
12631 (check1): New function.
12632 (test_main): Use it.
12633
d077f65f
MT
126342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12635
12636 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12637
ced52c71
JM
126382012-10-18 Joseph Myers <joseph@codesourcery.com>
12639
12640 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12641 (_G_LSEEK64): Likewise.
12642 (_G_MMAP64): Likewise.
12643 (_G_FSTAT64): Likewise.
12644 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12645 (_G_LSEEK64): Likewise.
12646 (_G_MMAP64): Likewise.
12647 (_G_FSTAT64): Likewise.
12648 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12649 unconditional. Call __mmap64 directly.
12650 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12651 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12652 __lseek64 directly.
12653 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12654 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12655 __mmap64 directly.
12656 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12657 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12658 __lseek64 directly.
12659 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12660 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12661 __lseek64 directly.
12662 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12663 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12664 __lseek64 directly.
12665 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12666 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12667 __fxstat64 directly.
12668 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12669 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12670 unconditional.
12671 (freopen64) [!_G_OPEN64]: Remove conditional code.
12672 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12673 unconditional.
12674 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12675 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12676 unconditional.
12677 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12678 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12679 unconditional.
12680 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12681 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12682 unconditional.
12683 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12684 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12685 unconditional.
12686 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12687 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12688 unconditional.
12689 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12690 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12691 unconditional.
12692 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12693
b741de23
SP
126942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12695
12696 [BZ #12140]
12697 * manual/memory.texi (Malloc Tunable Parameters): Add note
12698 about free list pointers overwriting some perturb bytes.
12699 Wording suggested by Roland McGrath.
12700
f9b9d9c9
JM
127012012-10-17 Joseph Myers <joseph@codesourcery.com>
12702
12703 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12704 (lgamma_test): Likewise.
12705 (tgamma_test): Likewise.
12706
172a631a
FW
127072012-10-16 Florian Weimer <fweimer@redhat.com>
12708
12709 [BZ #14700]
12710 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12711 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12712
e9f37252
MK
127132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12714
12715 * NEWS: Mention BZ #14716.
12716 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12717 when removing AVAILABLE1_USES_J macro.
12718
d394eb74
L
127192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12720
12721 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12722 (__bswap_64): __uint64_t for unsigned 64-bit int.
12723
ca38dc17
AS
127242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12725
12726 * include/string.h (memmem): Declare libc hidden alias.
12727 * string/memmem.c (memmem): Define libc hidden alias.
12728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12729 __read, __close instead of open, read, close.
12730
9a387d1f
L
127312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12732
ac49ecaf
L
12733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12734 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12735 global and hidden.
12736 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12737 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12738 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12739 Likewise.
12740 (__rawmemchr_sse2): Likewise.
12741 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12742 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12743 (__strchr_sse2): Likewise.
12744 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12745 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12746 (__strcasecmp_sse2): Likewise.
12747 (__strncasecmp_sse2): Likewise.
12748 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12749 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12750 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12751 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12752 (__strrchr_sse2): Likewise.
12753 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12754 ifunc-impl-list.c.
12755 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12756 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12757 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12759 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12763 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12764 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12765 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12766 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12767 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12769 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12770 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12771 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12772 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12773 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12774 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12775 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12776 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12777 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12778 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12779 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12780 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12781 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12782 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12783 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12784 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12785
b090e8ea
L
12786 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12787 global and hidden.
12788 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12789 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12790 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12791 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12792 Likewise.
12793 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12794 Likewise.
12795 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12796 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12797 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12798 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12799 ifunc-impl-list.c.
12800 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12801 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12803 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12804 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12805 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12806 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12807 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12808 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12809 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12810 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12811 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12812 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12813 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12814 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12815 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12816 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12817 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12818 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12834 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12835 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12841
11dd4af6
L
12842 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12843 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12844 * include/ifunc-impl-list.h: New file.
12845 * misc/ifunc-impl-list.c: Likewise.
12846 * misc/Makefile (routines): Add ifunc-impl-list.
12847 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12848 * string/test-string.h: Include <ifunc-impl-list.h>.
12849 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12850 impl_array): New variables.
12851 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12852 are defined.
12853 (test_init): Call __libc_ifunc_impl_list to initialize
12854 func_list if TEST_IFUNC and TEST_NAME are defined.
12855
9a387d1f
L
12856 * string/Makefile (strop-tests): Add bcopy and bzero.
12857 * string/test-bcopy.c: New file.
12858 * string/test-bzero.c: Likewise.
12859 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12860 defined.
12861 * string/test-memset.c: Support bzero test if TEST_BZERO is
12862 defined.
12863 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12864 __libc_memmove.
12865 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12866 __libc_memset.
12867 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12868 of memset.
12869
472371b9
JM
128702012-10-10 Joseph Myers <joseph@codesourcery.com>
12871
1e4a9536
JM
12872 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12873 * configure: Regenerated.
12874
d173d12e
JM
12875 * Makeconfig (+link-static-before-libc): Don't include
12876 $(link-static-libc).
12877
472371b9
JM
12878 * libio/libio.h (_IO_pos_t): Remove.
12879
89a3ad0b
AO
128802012-10-10 Alexandre Oliva <aoliva@redhat.com>
12881
12882 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12883 McGrath.
12884
e7451425
AO
128852012-10-10 Alexandre Oliva <aoliva@redhat.com>
12886
12887 * crypt/crypt-entry.c: Include fips-private.h.
12888 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12889 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12890 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12891 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12892
4ba74a35
AO
128932012-10-10 Alexandre Oliva <aoliva@redhat.com>
12894
12895 * crypt/crypt-private.h: Include stdbool.h.
12896 (_ufc_setup_salt_r): Return bool.
12897 * crypt/crypt-entry.c: Include errno.h.
12898 (__crypt_r): Return NULL with EINVAL for bad salt.
12899 * crypt/crypt_util.c (bad_for_salt): New.
12900 (_ufc_setup_salt_r): Check that salt is long enough and within
12901 the specified alphabet.
12902 * crypt/badsalttest.c: New file.
12903 * crypt/Makefile (tests): Add it.
12904 ($(objpfx)badsalttest): New.
12905
f96f1242
MK
129062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12907
12908 * NEWS: Add entry for BZ #14602.
12909
0e8e0c1c
JM
129102012-10-09 Joseph Myers <joseph@codesourcery.com>
12911
12912 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12913 type-generic.
12914 * math/libm-test.inc: Update comment listing what functions and
12915 macros are tested.
12916 (isgreater_test): New function.
12917 (isgreaterequal_test): Likewise.
12918 (isless_test): Likewise.
12919 (islessequal_test): Likewise.
12920 (islessgreater_test): Likewise.
12921 (isunordered_test): Likewise.
12922 (main): Call the new functions.
12923
273edc5e
RM
129242012-10-09 Roland McGrath <roland@hack.frob.com>
12925
b8493de0
RM
12926 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12927 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12928 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12929 * sysdeps/i386/configure: Regenerated.
12930 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12931 * sysdeps/mach/configure: Regenerated.
12932 * sysdeps/mach/hurd/configure: Regenerated.
12933 * sysdeps/powerpc/configure: Regenerated.
12934 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12935 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12936 * sysdeps/s390/s390-32/configure: Regenerated.
12937 * sysdeps/s390/s390-64/configure: Regenerated.
12938 * sysdeps/sh/configure: Regenerated.
12939 * sysdeps/sparc/configure: Regenerated.
12940 * sysdeps/unix/sysv/linux/configure: Regenerated.
12941 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12942 * sysdeps/x86_64/configure: Regenerated.
12943
273edc5e
RM
12944 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12945 defined. Don't check if MAP is NULL.
12946
c8450f70
JM
129472012-10-09 Joseph Myers <joseph@codesourcery.com>
12948
12949 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12950 (_G_stat64): Likewise.
12951 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12952 (_G_stat64): Likewise.
12953 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12954 instead of struct _G_stat64.
12955 * libio/fileops.c (mmap_remap_check): Likewise.
12956 (decide_maybe_mmap): Likewise.
12957 (_IO_new_file_seekoff): Likewise.
12958 (_IO_file_stat): Likewise.
12959 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12960 _G_off64_t.
12961 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12962 instead of struct _G_stat64.
12963 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12964
57e605ba
MK
129652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12966
12967 [BZ #14602]
12968 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12969 Replace with ...
12970 (CHECK_EOL): New macro.
12971 (two_way_short_needle): Check beginning of haystack for EOL. Use
12972 CHECK_EOL.
12973 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12974 Replace with CHECK_EOL.
12975 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12976 Replace with CHECK_EOL.
12977
ef1bb361
JM
129782012-10-08 Joseph Myers <joseph@codesourcery.com>
12979
12980 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12981 type-generic.
12982 * math/libm-test.inc: Update comment listing what functions and
12983 macros are tested.
12984 (finite_test): New function.
12985 (isinf_test): Likewise.
12986 (isnan_test): Likewise.
12987 (fpclassify_test): Test subnormal input.
12988 (isfinite_test): Likewise.
12989 (isnormal_test): Likewise.
12990 (main): Call the new functions.
12991
55f11534
JN
129922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12993
12994 [BZ #14660]
12995 * Makerules (%.dynsym): Force C locale when running
12996 $(OBJDUMP) --dynamic-syms.
12997
1ab29350
AS
129982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12999
13000 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13001 <stdint.h>.
13002
f1ecb7ef
DM
130032012-10-06 David S. Miller <davem@davemloft.net>
13004
13005 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13006 upper 32-bits of the length value in %o2 since we use branch-on-register
13007 tests which consider the entire 64-bit register.
13008
5d41d91a
L
130092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 * string/test-strstr.c (check2): Add a test for page boundary.
13012
3baddb72
DM
130132012-10-05 David S. Miller <davem@davemloft.net>
13014
13015 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13016 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13017 file.
13018 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13019 sysdep_routines.
13020 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13021 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13022 and bzero when HWCAP_SPARC_CRYPTO is present.
13023
9cee5585
L
130242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13025
d7e0dab9
L
13026 [BZ #14602]
13027 * string/test-strstr.c (check2): New function.
13028 (test_main): Call check2.
13029
03759f47
L
13030 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13031 and bug-strchr1.
13032 * string/bug-strcasestr1.c (do_test): Moved to ...
13033 * string/test-strcasestr.c (check1): Here. New function.
13034 (do_one_test): Break out result checking code into ...
13035 (check_result): This. New function.
13036 (do_one_test): Call check_result.
13037 (test_main): Call check1.
13038 * string/bug-strchr1.c (do_test): Moved to ...
13039 * string/test-strchr.c (check1): Here. New function.
13040 (do_one_test): Break out result checking code into ...
13041 (check_result): This. New function.
13042 (do_one_test): Call check_result.
13043 (test_main): Call check1.
13044 * string/bug-strstr1.c (main): Moved to ...
046f153e 13045 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13046 (do_one_test): Break out result checking code into ...
13047 (check_result): This. New function.
13048 (do_one_test): Call check_result.
13049 (test_main): Call check1.
13050 * string/bug-strcasestr1.c: Removed.
13051 * string/bug-strchr1.c: Likewise.
13052 * string/bug-strstr1.c: Likewise.
13053
53cea63e
L
13054 * elf/Makefile (dl-routines): Add hwcaps.
13055 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13056 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13057 (_dl_important_hwcaps): Moved to ...
13058 * elf/dl-hwcaps.c: Here. New file.
13059 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13060
9cee5585 13061 [BZ #14557]
bb859b06
L
13062 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13063 if IS_IN_rtld isn't defined.
13064
9cee5585
L
13065 * elf/dl-support.c (_dl_sysinfo_map): New.
13066 Include "get-dynamic-info.h" and "setup-vdso.h".
13067 (_dl_non_dynamic_init): Call setup_vdso.
13068 * elf/dynamic-link.h: Don't include <assert.h>.
13069 (elf_get_dynamic_info): Moved to ...
13070 * elf/get-dynamic-info.h: Here. New file.
13071 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13072 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13073 * elf/setup-vdso.h: Here. New file.
13074 * elf/rtld.c: Include "setup-vdso.h".
13075 (dl_main): Call setup_vdso.
13076
23c31b76
JM
130772012-10-05 Joseph Myers <joseph@codesourcery.com>
13078
28234b07
JM
13079 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13080 creal in comment listing functions tested. List finite, isinf,
13081 isnan, isless, islessequal, isgreater, isgreaterequal,
13082 islessgreater, isunordered, lgamma_r and pow10 as functions and
13083 macros not tested. Mention which functions not tested are aliases
13084 for other functions. Fix typo. Note that signs of NaNs are not
13085 tested.
13086
23c31b76
JM
13087 * scripts/config.guess: Update from config.git.
13088 * scripts/config.sub: Likewise.
13089
9043e228
RM
130902012-10-04 Roland McGrath <roland@hack.frob.com>
13091
13092 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13093 * misc/madvise.c (madvise): Renamed to __madvise.
13094 Make madvise a weak alias.
13095 * include/sys/mman.h: Declare __madvise.
13096 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13097 * sysdeps/unix/syscalls.list
13098 (madvise): Make __madvise the strong name, and madvise a weak alias.
13099 * sysdeps/unix/sysv/linux/syscalls.list
13100 (madvise, mmap): Remove redundant entries.
13101 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13102 * malloc/malloc.c (mtrim): Likewise.
13103 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13104
f57f8055
RM
131052012-10-03 Roland McGrath <roland@hack.frob.com>
13106
13107 * sysdeps/mach/hurd/dl-cache.c: File removed.
13108 * config.h.in (USE_LDCONFIG): New #undef.
13109 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13110 * configure: Regenerated.
13111 * elf/Makefile (dl-routines): Add dl-cache only under
13112 [$(use-ldconfig) = yes].
13113 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13114 cache on [USE_LDCONFIG].
13115 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13116 [USE_LDCONFIG].
13117 * elf/rtld.c (dl_main): Likewise.
13118
5bb0c10a
PT
131192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13120
13121 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13122 _SC_LEVEL4_CACHE_LINESIZE.
13123
010188c6
RM
131242012-10-03 Roland McGrath <roland@hack.frob.com>
13125
13126 * sysdeps/unix/bsd/confstr.h: File removed.
13127
b6c5ec07
AO
131282012-10-02 Alexandre Oliva <aoliva@redhat.com>
13129
13130 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13131 sys/sdt-config.h.
13132
408223d4
RM
131332012-10-02 Roland McGrath <roland@hack.frob.com>
13134
13135 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13136 Make 'mapoff' field ElfW(Off) rather than off_t.
13137
bb9510dc
DL
131382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13139
fc997c6e
DL
13140 * nscd/Makefile: Remove nscd-cflags and all its users.
13141 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13142 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13143
bb9510dc
DL
13144 [BZ #10631]
13145 * malloc.c (malloc_printerr): Clarify error message.
13146
05699367
L
131472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 [BZ #14648]
13150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13151 Set bit_FMA_Usable if FMA is supported.
13152 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13153 macro.
13154 (bit_FMA4_Usable): Updated.
13155 (index_FMA_Usable): New macro.
13156 (CPUID_FMA): Likewise
13157 (HAS_FMA): Defined with bit_FMA_Usable.
13158
51367701
RM
131592012-10-01 Roland McGrath <roland@hack.frob.com>
13160
13161 * bits/types.h (__swblk_t): Type removed.
13162 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13163 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13165 (__SWBLK_T_TYPE): Likewise.
13166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13167 (__SWBLK_T_TYPE): Likewise.
13168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13169 (__SWBLK_T_TYPE): Likewise.
13170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13171 (__SWBLK_T_TYPE): Likewise.
13172
4d57bf63 131732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13174 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13175
13176 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13177 (xdr_mapname): Use YPMAXMAP as maxsize.
13178 (xdr_peername): Use YPMAXPEER as maxsize.
13179 (xdr_keydat): Use YPAXRECORD as maxsize.
13180 (xdr_valdat): Use YPMAXRECORD as maxsize.
13181
93c65d43
RM
131822012-10-01 Roland McGrath <roland@hack.frob.com>
13183
497a03d6
RM
13184 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13185
93c65d43
RM
13186 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13187 * csu/init-first.c: ... here.
13188 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13189 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13192 * sysdeps/i386/init-first.c: File removed.
13193 * sysdeps/sh/init-first.c: File removed.
13194
bec749fd
JM
131952012-10-01 Joseph Myers <joseph@codesourcery.com>
13196
13197 [BZ #14645]
13198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13199 if x * y might underflow to zero and z is zero.
13200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13202 * math/libm-test.inc (min_subnorm_value): New variable.
13203 (fma_test): Add more tests.
13204 (fma_test_towardzero): Likewise.
13205 (fma_test_downward): Likewise
13206 (fma_test_upward): Likewise.
13207 (initialize): Set min_subnorm_value.
13208
8ec5b013
JM
132092012-09-29 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #14638]
13212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13213 0 + 0.
13214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13215 mode for addition resulting in exact zero.
13216 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13218 exact 0 + 0.
13219 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13221 * math/libm-test.inc (fma_test): Add more tests.
13222 (fma_test_towardzero): New function.
13223 (fma_test_downward): Likewise.
13224 (fma_test_upward): Likewise.
13225 (main): Call the new functions.
13226
b1fa802e
DM
132272012-09-28 David S. Miller <davem@davemloft.net>
13228
13229 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13230
d3b9fd9e
RM
132312012-09-28 Roland McGrath <roland@hack.frob.com>
13232
ea4d37b3
RM
13233 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13234 instead of SIGALRM.
13235
ac51c949
RM
13236 * sysdeps/gnu/_G_config.h: Moved to ...
13237 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13238 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13239 * sysdeps/generic/_G_config.h: ... here.
13240
28c195f7
RM
13241 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13242
848917f9
RM
13243 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13244
6bacf05b
RM
13245 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13246 Conditionalize target on [libnss_test1.so-version].
13247
91363dbb
RM
13248 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13249
cc87f7d8
RM
13250 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13251 (elfobjdir): Move out of conditionals.
13252
b1c608fe
RM
13253 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13254 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13255 (__nss_lookup_function): Conditionalize label remove_from_tree on
13256 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13257
1d9a6d96
DM
132582012-09-28 David S. Miller <davem@davemloft.net>
13259
13260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13261 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13262 file.
13263 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13264 sysdep_routines.
13265 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13267 when HWCAP_SPARC_CRYPTO is present.
13268
72581615
PT
132692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13270
13271 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13272
715a900c
JL
132732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13274
13275 [BZ #6530]
13276 * stdio-common/vfprintf.c (process_string_arg): Revert
13277 2000-07-22 change.
13278
132792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13280
13281 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13282 for testcase.
13283 * stdio-common/tst-sprintf.c: Include <locale.h>
13284 (main): Test sprintf's handling of incomplete multibyte
13285 characters.
13286
9bac1d86
L
132872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * elf/dl-runtime.c (VERSYMIDX): Removed.
13290 * elf/dl-version.c (VERSYMIDX): Likewise.
13291 * elf/do-rel.h (VERSYMIDX): Likewise.
13292 (VALIDX): Likewise.
13293 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13294 * elf/rtld.c (VALIDX): Likewise.
13295 (ADDRIDX): Likewise.
9bac1d86
L
13296 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13297 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13298 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13299 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13300 (VALIDX): Likewise.
13301 (ADDRIDX): Likewise.
9bac1d86 13302
b31606c0
PT
133032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13304
13305 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13306
11541177
JL
133072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13308
13309 [BZ #11438]
13310 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13311 to global scope.
13312 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13313 addresses are in the same scope as 192.0.2/24.
13314 * posix/gai.conf: Document new scope table defaults.
13315
adb26fae
SP
133162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
13318 [BZ #5298]
13319 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13320 for ftell. Compute offsets from write pointers instead.
13321 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13322
4573c6b0
SP
133232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13324
13325 [BZ #14543]
13326 * libio/Makefile (tests): New test case tst-fseek.
13327 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13328 combination works in wide mode.
13329 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13330 state when the external buffer state changes.
13331
aa9bbfe6
DM
133322012-09-27 David S. Miller <davem@davemloft.net>
13333
13334 [BZ #14376]
13335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13336 pass reloc->r_addend in as the 'high' argument to
13337 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13338
784421e7
DM
13339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13340
c39bc8b8
PT
133412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13342
13343 * rt/tst-aio2.c: Include <pthread.h>.
13344 * rt/tst-aio3.c: Likewise.
13345
1ccc2399
SE
133462012-09-27 Steve Ellcey <sellcey@mips.com>
13347
13348 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13349
31ed4153
L
133502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13351
25f5f885
L
13352 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13353 contents on [SHARED].
31ed4153 13354
b7bfe116
MP
133552012-09-26 Marek Polacek <polacek@redhat.com>
13356
13357 [BZ #14530]
13358 [BZ #13741]
13359 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13360 for C++ and GCC <4.3 as well as for non GCC compilers.
13361
43c4edba
MT
133622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13363
13364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13365
6a1bf82f
RM
133662012-09-25 Roland McGrath <roland@hack.frob.com>
13367
13368 * Makefile.in (all, install): Declare with .PHONY.
13369 Reported by Michael Hope <michael.hope@linaro.org>.
13370
8ad11b9a
TMQMF
133712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13372
13373 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13374 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13375 system header.
13376 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13377 Likewise.
13378 (sydep_routines): Add the new and the internal functions.
13379 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13380 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13382 (GLIBC_2.17): Add the new function.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13384 (GLIBC_2.17): Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13386 (GLIBC_2.17): Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13388 (GLIBC_2.17): Likewise.
13389 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13390
7e2fca8d
AM
133912012-09-25 Alan Modra <amodra@gmail.com>
13392
13393 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13394 Add release barrier before setting once_control to say
13395 initialisation is done. Add hints on lwarx. Use macro in
13396 place of isync.
13397 (clear_once_control): Add release barrier.
13398
b87c4b24
JM
133992012-09-25 Joseph Myers <joseph@codesourcery.com>
13400
d032e0d2
JM
13401 [BZ #13629]
13402 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13403 specially.
13404 * math/s_clog10.c (__clog10): Likewise.
13405 * math/s_clog10f.c (__clog10f): Likewise.
13406 * math/s_clog10l.c (__clog10l): Likewise.
13407 * math/s_clogf.c (__clogf): Likewise.
13408 * math/s_clogl.c (__clogl): Likewise.
13409 * math/Makefile (libm-calls): Add x2y2m1.
13410 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13411 (__x2y2m1): Likewise.
13412 (__x2y2m1l): Likewise.
13413 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13414 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13418 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13419 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13420 * sysdeps/i386/fpu/libm-test-ulps: Update.
13421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13422
b87c4b24
JM
13423 [BZ #14621]
13424 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13425 int as type of variable DEPTH.
13426 (glob): Use size_t instead of int as type of variables NEWCOUNT
13427 and OLD_PATHC.
13428
6d3bf199
LD
134292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13430
22bf5c17
LD
13431 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13432 Add s_sincosf-sse2.
13433 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13434 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13435 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13436 macros for using routine as __sincosf_ia32.
13437 Use macro for function declaration and weak_alias.
13438 * sysdeps/i386/fpu/libm-test-ulps: Update.
13439
13440 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13442
13443 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13444 subnormal argument.
13445 * math/s_cexpf.c (__cexpf): Likewise.
13446 * math/s_csinf.c (__csinf): Likewise.
13447 * math/s_csinhf.c (__csinhf): Likewise.
13448 * math/s_ctanf.c (__ctanf): Likewise.
13449 * math/s_ctanhf.c (__ctanhf): Likewise.
13450 * math/s_ccosh.c (__ccoshf): Likewise.
13451 * math/s_cexp.c (__cexpl): Likewise.
13452 * math/s_csin.c (__csin): Likewise.
13453 * math/s_csinh.c (__csinh): Likewise.
13454 * math/s_ctan.c (__ctan): Likewise.
13455 * math/s_ctanh.c (ctanh): Likewise.
13456 * math/s_ccoshl.c (__ccoshl): Likewise.
13457 * math/s_cexpl.c (__cexpl): Likewise.
13458 * math/s_csinl.c (__csinl): Likewise.
13459 * math/s_csinhl.c (__csinhl): Likewise.
13460 * math/s_ctanl.c (__ctanl): Likewise.
13461 * math/s_ctanhl.c (__ctanhl): Likewise.
13462
203e5603
JM
134632012-09-25 Joseph Myers <joseph@codesourcery.com>
13464
13465 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13466 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13467 (_IO_off_t): Define to __off_t, not _G_off_t.
13468 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13469 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13470 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13471 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13472 type of __dummy and __dummy2 fields.
13473 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13474 (_G_ssize_t): Likewise.
13475 (_G_off_t): Likewise.
13476 (_G_pid_t): Likewise.
13477 (_G_uid_t): Likewise.
13478 (_G_wchar_t): Likewise.
13479 (_G_wint_t): Likewise.
13480 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13481 (_G_ssize_t): Likewise.
13482 (_G_off_t): Likewise.
13483 (_G_pid_t): Likewise.
13484 (_G_uid_t): Likewise.
13485 (_G_wchar_t): Likewise.
13486 (_G_wint_t): Likewise.
13487 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13488 (_G_ssize_t): Likewise.
13489 (_G_off_t): Likewise.
13490 (_G_pid_t): Likewise.
13491 (_G_uid_t): Likewise.
13492 (_G_wchar_t): Likewise.
13493 (_G_wint_t): Likewise.
13494
9fab36eb
SP
134952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13496
13497 * malloc/arena.c: Include malloc-sysdep.h.
13498 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13499 is sufficient to shrink the heap or an unmap is needed.
13500 * sysdeps/generic/malloc-sysdep.h: New file. Define
13501 new function check_may_shrink_heap.
13502 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13503 new function check_may_shrink_heap.
13504
2b4f00d1
SP
135052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13506
13507 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13508 comments.
13509
9a9028b1
DL
135102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13511
57c69bef
DL
13512 * catgets/test-gencat.sh: Add "set -e".
13513 * elf/tst-pathopt.sh: Likewise.
13514 * grp/tst_fgetgrent.sh: Likewise.
13515 * iconvdata/run-iconv-test.sh: Likewise.
13516 * intl/tst-gettext.sh: Likewise.
13517 * intl/tst-gettext2.sh: Likewise.
13518 * intl/tst-gettext4.sh: Likewise.
13519 * intl/tst-gettext6.sh: Likewise.
13520 * intl/tst-translit.sh: Likewise.
13521 * io/ftwtest-sh: Likewise.
13522 * libio/test-freopen.sh: Likewise.
13523 * malloc/tst-mtrace.sh: Likewise.
13524 * posix/globtest.sh: Likewise.
13525 * posix/tst-getconf.sh: Likewise.
13526 * posix/wordexp-tst.sh: Likewise.
13527 * stdio-common/tst-printf.sh: Likewise.
13528 * stdio-common/tst-unbputc.sh: Likewise.
13529 * stdlib/tst-fmtmsg.sh: Likewise.
13530 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13531 * catgets/Makefile: Do not specify -e option when running
13532 testsuite shell scripts.
13533 * elf/Makefile: Likewise.
13534 * grp/Makefile: Likewise.
13535 * iconvdata/Makefile: Likewise.
13536 * intl/Makefile: Likewise.
13537 * io/Makefile: Likewise.
13538 * libio/Makefile: Likewise.
13539 * malloc/Makefile: Likewise.
13540 * posix/Makefile: Likewise.
13541 * stdio-common/Makefile: Likewise.
13542 * stdlib/Makefile: Likewise.
13543 * sysdeps/x86_64/Makefile: Likewise.
13544
9a9028b1
DL
13545 * io/ftwtest-sh: Add copyright header.
13546 * posix/globtest.sh: Likewise.
13547 * posix/tst-getconf.sh: Likewise.
13548 * posix/wordexp-tst.sh: Likewise.
13549 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13550
ced6f16e
L
135512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13552
94b32c39
L
13553 [BZ #13679]
13554 * Makeconfig (+link): Defined as $(+link-static) if
13555 $(build-shared) isn't yes.
13556 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13557 isn't yes.
13558 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13559
189e935b
L
13560 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13561
ced6f16e
L
13562 [BZ #14562]
13563 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13564 new chunk size with MALLOC_ALIGN_MASK.
13565
a9f8e53a
JM
135662012-09-24 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #5044]
13569 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13570 <rounding-mode.h>.
13571 (__printf_fphex): Determine rounding using get_rounding_mode and
13572 round_away.
13573 * stdio-common/tst-printf-round.c (struct hex_test): New
13574 structure.
13575 (hex_tests): New variable.
13576 (test_hex_in_one_mode): New function.
13577 (do_test): Also run tests for hex float output.
13578
43153109
JM
135792012-09-21 Joseph Myers <joseph@codesourcery.com>
13580
13581 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13582 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13583 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13584 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13585 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13586 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13587 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13588 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13589
8a26625d
JM
135902012-09-20 Joseph Myers <joseph@codesourcery.com>
13591
13592 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13593 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13594 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13595 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13596
f3fd569c
DL
135972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13598
13599 [BZ #14579]
13600 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13601 mode only.
13602 * elf/tst-rtld-load-self.sh: New test.
13603 * elf/Makefile: Run it.
13604
63bbedd4
JM
136052012-09-18 Joseph Myers <joseph@codesourcery.com>
13606
13607 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13608 (tst-writev-ENV): Remove.
13609 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13610
626f8b6a
CM
136112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13612
13613 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13614
b7aaa4d6
JM
136152012-09-17 Joseph Myers <joseph@codesourcery.com>
13616
13617 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13618 unconditional.
13619 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13620 Likewise.
13621 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13622 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13624 Likewise.
13625
65513990
L
136262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13627
13628 [BZ #14587]
13629 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13630 * config.make.in (have-cpp-asm-debuginfo): Removed.
13631 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13632 * configure: Regenerated.
13633
784761be
JM
136342012-09-14 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #5044]
13637 * stdio-common/printf_fp.c: Include <stdbool.h> and
13638 <rounding-mode.h>.
13639 (___printf_fp): Determine rounding using get_rounding_mode and
13640 round_away.
13641 * stdio-common/tst-printf-round.c: New file.
13642 * stdio-common/Makefile (tests): Add tst-printf-round.
13643 (link-libm): New variable.
13644 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13645
9503345f
L
136462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 [BZ #14576]
13649 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13650 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13651 Likewise.
13652 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13653 Likewise.
13654
ad35fc00
JM
136552012-09-13 Joseph Myers <joseph@codesourcery.com>
13656
13657 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13658 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13659 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13661
6c9b0f68
JM
136622012-09-12 Joseph Myers <joseph@codesourcery.com>
13663
13664 [BZ #14518]
13665 * include/rounding-mode.h: New file.
13666 * sysdeps/generic/get-rounding-mode.h: Likewise.
13667 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13668 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13669 (MAX_VALUE): New macro.
13670 (MIN_VALUE): Likewise.
13671 (overflow_value): New function.
13672 (underflow_value): Likewise.
13673 (round_and_return): Use overflow_value and underflow_value to
13674 determine return values in overflow and underflow cases. Use
13675 round_away to determine rounding depending on rounding mode.
13676 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13677 determine return values in overflow and underflow cases.
13678 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13679 (struct test_results): New structure.
13680 (struct test): Use struct test_results to store expected results
13681 for all rounding modes.
13682 (TEST): Include expected results for all rounding modes.
13683 (test_in_one_mode): New function.
13684 (do_test): Use test_in_one_mode to compute and check results.
13685 Check results for all rounding modes.
13686 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13687 $(link-libm).
13688
19fcedd5
AM
136892012-12-09 Allan McRae <allan@archlinux.org>
13690
1e9d84cd 13691 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13692
8bbfd2f1
JM
136932012-09-11 Joseph Myers <joseph@codesourcery.com>
13694
13695 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13696 (_G_int32_t): Likewise.
13697 (_G_uint16_t): Likewise.
13698 (_G_uint32_t): Likewise.
13699 (_G_HAVE_BOOL): Likewise.
13700 (_G_HAVE_ATEXIT): Likewise.
13701 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13702 (_G_HAVE_IO_FILE_OPEN): Likewise.
13703 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13704 (_G_int32_t): Likewise.
13705 (_G_uint16_t): Likewise.
13706 (_G_uint32_t): Likewise.
13707 (_G_HAVE_BOOL): Likewise.
13708 (_G_HAVE_ATEXIT): Likewise.
13709 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13710 (_G_HAVE_IO_FILE_OPEN): Likewise.
13711 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13712 (_G_int32_t): Likewise.
13713 (_G_uint16_t): Likewise.
13714 (_G_uint32_t): Likewise.
13715 (_G_HAVE_BOOL): Likewise.
13716 (_G_HAVE_ATEXIT): Likewise.
13717 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13718 (_G_HAVE_IO_FILE_OPEN): Likewise.
13719
b1dc5912
L
137202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * csu/libc-tls.c: Update copyright years.
13723
0e886ef9
JM
137242012-09-10 Joseph Myers <joseph@codesourcery.com>
13725
28361c5e
JM
13726 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13727 [!_G_USING_THUNKS]: Remove conditional code.
13728 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13729 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13730
0e886ef9
JM
13731 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13732 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13733 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13734 (_G_VTABLE_LABEL_PREFIX): Likewise.
13735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13736 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13737 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13738 (_G_VTABLE_LABEL_PREFIX): Likewise.
13739 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13740 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13741 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13742 (_G_VTABLE_LABEL_PREFIX): Likewise.
13743 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13744
bcba7aa2
L
137452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13746
13747 * libio/Makefile: Include ../Makeconfig before tests.
13748 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13749 only if $(build-shared) is yes.
13750
06585ee8
L
13751 * iconv/gconv_db.c: Update copyright years.
13752
80ccd52c
LD
137532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13754
13755 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13756 unwind info if defined PIC. Fix special cases description.
13757 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13758
13759 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13760 DP_HI_MASK entry.
13761 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13762
691bc9c1
L
137632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13764
3d9b46b3
L
13765 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13766
de2139a9
L
13767 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13768 is NULL.
13769
5ca78dd0
L
13770 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13771 (LDLIBS-tst-chk4): This.
13772 (LDFLAGS-tst-chk5): Renamed to ...
13773 (LDLIBS-tst-chk5): This.
13774 (LDFLAGS-tst-chk6): Renamed to ...
13775 (LDLIBS-tst-chk6): This.
13776 (LDFLAGS-tst-lfschk4): Renamed to ...
13777 (LDLIBS-tst-lfschk4): This.
13778 (LDFLAGS-tst-lfschk5): Renamed to ...
13779 (LDLIBS-tst-lfschk5): This.
13780 (LDFLAGS-tst-lfschk6): Renamed to ...
13781 (LDLIBS-tst-lfschk6): This.
13782
691bc9c1
L
13783 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13784 on $(common-objpfx)soversions.mk.
13785
65cafb1c
JM
137862012-09-07 Joseph Myers <joseph@codesourcery.com>
13787
13788 [BZ #10014]
13789 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13790 example host name.
13791
c78ab094
SP
137922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13793
13794 * malloc/arena.c (arena_get_retry): New function that gets
13795 another arena for the caller to try its request on.
13796 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13797 current arena cannot fulfill the request.
13798 (__libc_memalign): Likewise.
13799 (__libc_memalign): Likewise.
13800 (__libc_pvalloc): Likewise.
13801 (__libc_calloc): Likewise.
13802
01f49f59
JT
138032012-09-05 John Tobey <john.tobey@gmail.com>
13804
13805 [BZ #13542]
13806 * manual/arith.texi (Operations on Complex): Fix description
13807 of carg branch cut.
13808
4c23fed5
JM
138092012-09-06 Joseph Myers <joseph@codesourcery.com>
13810
1d3c8572
JM
13811 [BZ #10014]
13812 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13813 host name.
13814
4c23fed5
JM
13815 [BZ #10038]
13816 * manual/memory.texi (Memory): Make order of menu items match
13817 order of sections.
13818
04570aaa
L
138192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13820
13821 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13822 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13823 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13824
b80af2f4
L
138252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13826
13827 * csu/libc-tls.c (static_dtv): Renamed to ...
13828 (_dl_static_dtv): This. Make it global.
13829 (_dl_initial_dtv): Removed.
13830 (__libc_setup_tls): Updated.
13831 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13832 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13833 DL_INITIAL_DTV.
13834
2abe9f15
PM
138352012-09-06 Petr Machata <pmachata@redhat.com>
13836
13837 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13838 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13839 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13840 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13841
0948c3af
L
138422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13843
13844 [BZ #14545]
13845 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13846 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13847 freeing dtv[-1].
13848
a5055ad1
L
138492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 [BZ #14544]
13852 * Makeconfig (link-static-before-libc): Replace $(+prector)
13853 with $(+prectorT).
13854 (link-static-after-libc): Replace $(+postctor) with
13855 $(+postctorT).
13856 (link-bounded): Replace $(+prector)/$(+postctor) with
13857 $(+prectorT)/$(+postctorT).
13858 (+prectorT): New macro.
13859 (+postctorT): Likewise.
13860
ed8c2ecd
JM
138612012-09-06 Joseph Myers <joseph@codesourcery.com>
13862
13863 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13864 (round_str): Handle values above the maximum for IBM long double
13865 as inexact.
13866 * stdlib/tst-strtod-round.c (tests): Regenerated.
13867
14c996c8
AK
138682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13869
13870 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13871 assembler flag.
13872 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13873 zarch_nohighgprs around the zarch optimized routines.
13874 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13875 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13877 for zarch.
13878
430d6ce6
DM
138792012-09-05 David S. Miller <davem@davemloft.net>
13880
13881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13882
ff04dda4
DM
13883 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13884 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13885 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13886 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13887 entries.
13888
24d4e01b
AO
138892012-09-05 Alexandre Oliva <aoliva@redhat.com>
13890
13891 * malloc/arena.c: Fold copyright years.
13892 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13893
61d58174
AO
138942012-09-05 Alexandre Oliva <aoliva@redhat.com>
13895
13896 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13897
20196a5e
AO
138982012-09-05 Alexandre Oliva <aoliva@redhat.com>
13899
13900 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13901
5c447383
AO
139022012-09-05 Alexandre Oliva <aoliva@redhat.com>
13903
13904 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13905 change internal state upon failure.
13906
fad64255
AO
139072012-09-05 Alexandre Oliva <aoliva@redhat.com>
13908
13909 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13910 * malloc/memusage.c (mmap): Likewise.
13911 (mmap64, mremap): Likewise. Adjust name in comment.
13912
1ffb8c90
SP
139132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13914
13915 * libio/fileops.c: Fix typos in comments.
13916 * libio/oldfileops.c: Likewise.
13917 * libio/wfileops.c: Likewise.
13918
6ef9cc37
SP
139192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13920
13921 [BZ #1349]
13922 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13923 (tst-malloc-usable-ENV): Set environment for test case.
13924 * malloc/hooks.c (malloc_check_get_size): New function to get
13925 requested size.
13926 * malloc/malloc.c (musable): Use malloc_check_get_size.
13927 * malloc/tst-malloc-usable.c: New test case.
13928
4d038ae3
AS
139292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13930
13931 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13932
c4e85184
AM
139332012-09-05 Allan McRae <allan@archlinux.org>
13934
b9dafc56 13935 [BZ #13966]
c4e85184
AM
13936 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13937 determine header location.
13938 * configure: Regenerated.
13939
e1343020
AS
139402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13941
13942 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13943 float format.
13944 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13945 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13946 format.
e1343020
AS
13947 (test): Regenerate.
13948
0a9f1987
DM
139492012-09-04 David S. Miller <davem@davemloft.net>
13950
13951 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13952 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13953 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13954
29237804
FW
139552012-09-04 Florian Weimer <fweimer@redhat.com>
13956
13957 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13958 failures.
13959
edb3cb88
FW
13960 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13961
60160d83
JM
139622012-09-04 Joseph Myers <joseph@codesourcery.com>
13963
13964 [BZ #9914]
13965 * libio/iogetdelim.c: Include <limits.h>.
13966 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13967 + len + 1 would overflow.
13968
bcd6c8dc
AJ
139692012-09-03 Andreas Jaeger <aj@suse.de>
13970
13971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13972 * sysdeps/i386/fpu/libm-test-ulps: Update.
13973
4ffffbd2
LD
139742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13975
13976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13977 Add s_sinf-sse2, s_conf-sse2.
13978
13979 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13980 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13981 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13982 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13983
13984 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13985 for using routine as __sinf_ia32.
13986 Use macro for function declaration and weak_alias.
13987 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13988 for using routine as __cosf_ia32.
13989 Use macro for function declaration and weak_alias.
13990
13991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13992 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13993
13994 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13995 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13997
13998 * math/libm-test.inc (cos_test): Add more test cases.
13999 (sin_test): Likewise.
14000 (sincos_test): Likewise.
14001
511fa286
AK
140022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14003
14004 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14005 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14006 hidden.
14007 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14008
5f30cfec
L
140092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14010
14011 [BZ #14538]
14012 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14013 first element of the GOT.
14014 (elf_machine_load_address): Return the difference between
14015 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14016
0786794f
AM
140172012-09-01 Allan McRae <allan@archlinux.org>
14018
5f30cfec
L
14019 [BZ #13412]
14020 * configure.in (AWK): Require gawk version 3.0 or later.
14021 * configure: Regenerated.
0786794f 14022
26889eac
JM
140232012-09-01 Joseph Myers <joseph@codesourcery.com>
14024
14025 * sysdeps/unix/sysv/linux/kernel-features.h
14026 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14028 [__NR_clock_getres]: Make code unconditional.
14029 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14030 (clock_getcpuclockid): Remove code left unreachable by removal of
14031 conditionals.
14032 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14033 code unconditional.
14034 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14035 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14036 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14037 Make code unconditional.
14038 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14039 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14040 * sysdeps/unix/sysv/linux/clock_settime.c
14041 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14042 conditional code.
14043 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14045
d22e28b0
L
140462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 [BZ #14476]
14049 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14050 scripts/test-installation.pl.
14051
14052 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14053 and $ld_so_version if it is set.
14054
050af9c4
SP
140552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14056
14057 [BZ #14516]
14058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14059 failure if reading from procfs failed.
14060 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14061
ad845c0b
JM
140622012-08-27 Joseph Myers <joseph@codesourcery.com>
14063
14064 * sysdeps/unix/sysv/linux/kernel-features.h
14065 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14066 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14067 Remove conditional code.
14068 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14069 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14070 Remove conditional code.
14071 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14072 * sysdeps/unix/sysv/linux/i386/fxstat.c
14073 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14074 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14075 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14076 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14077 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14078 * sysdeps/unix/sysv/linux/i386/lxstat.c
14079 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14081 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14082 Remove conditional code.
14083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14084 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14085 Remove conditional code.
14086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14087 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14088 <kernel-features.h>.
14089 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14090 Remove.
14091 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14092 Remove conditional code.
14093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14094 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14095 Remove conditional.
14096
5dbf56af
MF
140972012-08-27 Mike Frysinger <vapier@gentoo.org>
14098
14099 [BZ #5400]
14100 * NEWS: Add fixed bug number.
14101
d6e70f43
JM
141022012-08-27 Joseph Myers <joseph@codesourcery.com>
14103
7efb4737
JM
14104 [BZ #14519]
14105 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14106 underflowing exponent in case of negative sign.
14107 * stdlib/tst-strtod-round-data: Add more tests.
14108 * stdlib/tst-strtod-round.c (tests): Regenerated.
14109
af92131a
JM
14110 [BZ #3479]
14111 * stdlib/strtod_l.c (NDIG): Remove.
14112 (HEXNDIG): Likewise.
14113 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14114 smallest representable value.
14115 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14116 lie within an exact representation of 1/2 ulp of the result.
14117 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14118 unconditionally.
14119 (TENS_P9_IDX): Define unconditionally.
14120 (TENS_P9_SIZE): Likewise.
14121 (TENS_P10_IDX): Likewise.
14122 (TENS_P10_SIZE): Likewise.
14123 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14124 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14126 entries for 10^2^13 and 10^2^14.
14127 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14128 (TENS_P13_IDX): Define.
14129 (TENS_P13_SIZE): Likewise.
14130 (TENS_P14_IDX): Likewise.
14131 (TENS_P14_SIZE): Likewise.
14132 (_fpioconst_pow10): Change array size to
14133 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14134 unconditional.
14135 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14136 1024]: Add entries for 10^2^13 and 10^2^14.
14137 [LAST_POW10 > _LAST_POW10]: Remove #error.
14138 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14139 (_fpioconst_pow10): Change array size to
14140 FPIOCONST_POW10_ARRAY_SIZE.
14141 * stdlib/gen-fpioconst.c: New file.
14142 * stdlib/gen-tst-strtod-round.c: Likewise.
14143 * stdlib/tst-strtod-round-data: Likewise.
14144 * stdlib/tst-strtod-round.c: Likewise.
14145 * stdlib/Makefile (tests): Add tst-strtod-round.
14146
d6e70f43
JM
14147 [BZ #14459]
14148 * stdlib/strtod_l.c: Include <stdint.h>.
14149 (NDEBUG): Do not define.
14150 (round_and_return): Change EXPONENT parameter to type intmax_t.
14151 Rearrange calculations to avoid internal overflow possibilities.
14152 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14153 Rearrange calculations to avoid internal overflow possibilities.
14154 Assert that number fits inside MPNSIZE limbs.
14155 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14156 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14157 calculations and add assertions to avoid internal overflow
14158 possibilities. Add casts to avoid signed/unsigned operations.
14159 * stdlib/tst-strtod-overflow.c: New file.
14160 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14161
1f529f7d
MP
141622012-08-25 Marek Polacek <polacek@redhat.com>
14163
14164 * time/time.h: Fix some typos in comments.
14165
59a629f1
RM
141662012-08-23 Roland McGrath <roland@hack.frob.com>
14167
14168 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14169 * posix/tst-rfc3484-2.c: Likewise.
14170 * posix/tst-rfc3484-3.c: Likewise.
14171
d3bafbc9
SM
141722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14173
14174 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14175 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14176
4efcc022
JM
141772012-08-23 Joseph Myers <joseph@codesourcery.com>
14178
14179 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14180 #include of fxstatat64.c.
14181
3cc3ef96
RM
141822012-08-22 Roland McGrath <roland@hack.frob.com>
14183
f04e2132
RM
14184 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14185 * shadow/getspent_r.c: Likewise.
14186 * shadow/getspnam.c: Likewise.
14187 * shadow/getspnam_r.c: Likewise.
14188 * gshadow/getsgent.c: Likewise.
14189 * gshadow/getsgent_r.c: Likewise.
14190 * gshadow/getsgnam.c: Likewise.
14191 * gshadow/getsgnam_r.c: Likewise.
14192 * inet/getnetbyad.c: Likewise.
14193 * inet/getnetbyad_r.c: Likewise.
14194 * inet/getnetbynm.c: Likewise.
14195 * inet/getnetbynm_r.c: Likewise.
14196 * inet/getnetent.c: Likewise.
14197 * inet/getnetent_r.c: Likewise.
14198 * inet/getproto.c: Likewise.
14199 * inet/getproto_r.c: Likewise.
14200 * inet/getprtent.c: Likewise.
14201 * inet/getprtent_r.c: Likewise.
14202 * inet/getprtname.c: Likewise.
14203 * inet/getprtname_r.c: Likewise.
14204 * inet/getrpcbyname.c: Likewise.
14205 * inet/getrpcbyname_r.c: Likewise.
14206 * inet/getrpcbynumber.c: Likewise.
14207 * inet/getrpcbynumber_r.c: Likewise.
14208 * inet/getrpcent.c: Likewise.
14209 * inet/getrpcent_r.c: Likewise.
14210 * inet/getaliasent.c: Likewise.
14211 * inet/getaliasent_r.c: Likewise.
14212 * inet/getaliasname.c: Likewise.
14213 * inet/getaliasname_r.c: Likewise.
14214 * nscd/getgrgid_r.c: Likewise.
14215 * nscd/getgrnam_r.c: Likewise.
14216 * nscd/gethstbyad_r.c: Likewise.
14217 * nscd/gethstbynm3_r.c: Likewise.
14218 * nscd/getpwnam_r.c: Likewise.
14219 * nscd/getpwuid_r.c: Likewise.
14220 * nscd/getsrvbynm_r.c: Likewise.
14221 * nscd/getsrvbypt_r.c: Likewise.
14222 * nscd/gai.c: Likewise.
14223
c53d909c
RM
14224 * configure.in (build_nscd): New substituted variable, set
14225 by --disable-build-nscd and defaults to $use_nscd.
14226 * configure: Regenerated.
14227 * config.make.in (build-nscd): New substituted variable.
14228 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14229 Change conditional to require [$(build-nscd) = yes] as well.
14230 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14231
3cc3ef96
RM
14232 [BZ# 13696]
14233 * configure.in (use_nscd): New substituted variable, set by
14234 --disable-nscd. If enabled, define USE_NSCD.
14235 * configure: Regenerated.
14236 * config.h.in: Add USE_NSCD.
14237 * config.make.in (use-nscd): New substituted variable.
14238 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14239 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14240 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14241 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14242 (CFLAGS-getgrnam_r.c): Likewise.
14243 (CFLAGS-initgroups.c): Likewise.
14244 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14245 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14246 Variables removed.
14247 * inet/getnetgrent_r.c
14248 (nscd_setnetgrent): New function, broken out of ...
14249 (setnetgrent): ... here. Call it.
14250 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14251 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14252 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14253 * nscd/Makefile (routines, aux): Move definitions after include of
14254 Makeconfig. Conditionalize on [$(use-nscd) != no].
14255 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14256 Conditionalize on [USE_NSCD].
14257 (is_nscd, nscd_init_cb): Likewise.
14258 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14259 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14260 * nss/nss_db/db-init.c: Likewise.
14261 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14262 [USE_NSCD].
14263 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14264 (make_request): Use it.
14265 (cache_valid_p): New function.
14266 (__check_pf): Use it.
14267 * NEWS: Add item for --disable-nscd.
14268
07e51550
DL
142692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14270
14271 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14272 to support sed >= 4.2.1-20-ga9bf076.
14273 * configure: Regenerated.
14274
35a5b08b
RM
142752012-08-22 Roland McGrath <roland@hack.frob.com>
14276
14277 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14278 Conditionalize whole body on [IREL].
14279
8479f23a
JL
142802012-08-22 Jeff Law <law@redhat.com>
14281
14282 [BZ #14505]
14283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14284 if the family is PF_UNSPEC.
14285
48da0b21
MF
142862012-08-22 Mike Frysinger <vapier@gentoo.org>
14287
14288 * Makerules (lib-version): Rename from V.
14289 (install-lib-nosubdir): Change V to lib-version.
14290
15d0da8c
WS
142912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14292
14293 [BZ #14252]
14294 * powerpc32/power6/wcschr.c: New file.
14295 * powerpc32/power6/wcscpy.c: New file.
14296 * powerpc32/power6/wcsrchr.c: New file.
14297 * powerpc64/power6/wcschr.c: New file.
14298 * powerpc64/power6/wcscpy.c: New file.
14299 * powerpc64/power6/wcsrchr.c: New file.
14300
bcca0895
MK
143012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14302
14303 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14304 (two_way_short_needle): Use it.
5a4aaa33
RM
14305 * string/strstr.c (AVAILABLE1_USES_J): Define.
14306 * string/strcasestr.c: Likewise.
99677e57
MK
14307
14308 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14309 array references.
14310 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14311
400726de
MK
14312 [BZ #11607]
14313 * NEWS: Add an entry.
14314 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14315 define their defaults.
14316 (two_way_short_needle): Detect end-of-string on-the-fly.
14317 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14318 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14319 * string/bug-strcasestr1.c: New test.
14320 * string/Makefile: Run it.
14321
20a71f2c
MK
143222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14323
14324 [BZ #11607]
14325 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14326 the first character.
14327
21ad0558
RM
143282012-08-21 Roland McGrath <roland@hack.frob.com>
14329
14330 * csu/elf-init.c (__libc_csu_irel): Function removed.
14331 * csu/libc-start.c (apply_irel): New function.
14332 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14333
0e1d9911
JM
143342012-08-21 Joseph Myers <joseph@codesourcery.com>
14335
14336 * sysdeps/unix/sysv/linux/kernel-features.h
14337 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14338 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14339 <kernel-features.h>.
14340 [__NR_fadvise64_64]: Make code unconditional.
14341 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14342 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14343 !__NR_fadvise64_64)]: Likewise.
14344 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14345 !__NR_fadvise64_64))]: Likewise.
14346 [__NR_fadvise64]: Make code unconditional.
14347 [!__NR_fadvise64]: Remove conditional code.
14348 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14349 <kernel-features.h>.
14350 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14351 unconditional.
14352 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14353 conditional code.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14355 not include <kernel-features.h>.
14356 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14357 unconditional.
14358 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14359 conditional code.
14360 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14361 include <kernel-features.h>.
14362 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14363 unconditional.
14364 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14365 conditional code.
14366
14a50c9d
WS
143672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14368
14369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14370 slight instruction rearrangements per scrollpipe analysis.
14371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14372
c0f4faf0
RM
143732012-08-20 Roland McGrath <roland@hack.frob.com>
14374
696da859
RM
14375 * manual/syslog.texi (syslog; vsyslog, closelog):
14376 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14377 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14378
c0f4faf0
RM
14379 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14380 DSOCAPS to match condition on defining it.
14381
348363b2
JM
143822012-08-20 Joseph Myers <joseph@codesourcery.com>
14383
a35cbf28
JM
14384 * sysdeps/unix/sysv/linux/kernel-features.h
14385 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14387 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14388 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14390 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14391 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14393 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14394 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14395
445f7ecd
JM
14396 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14397 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14398
348363b2
JM
14399 * sysdeps/unix/sysv/linux/kernel-features.h
14400 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14401 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14402 unconditional.
14403 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14404 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14405 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14406 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14407 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14408 Make code unconditional.
14409 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14410 (__mmap64) [!__NR_mmap2]: Likewise.
14411 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14412 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14413 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14414 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14415 [__NR_mmap2]: Make code unconditional.
14416 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14417 (__mmap64) [!__NR_mmap2]: Likewise.
14418
bc5bc0e5
AK
144192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14420
14421 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14422
88d506de
AJ
144232012-08-18 Andreas Jaeger <aj@suse.de>
14424
14425 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14426
493387d2
MF
144272012-08-18 Mike Frysinger <vapier@gentoo.org>
14428
14429 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14430 * include/unistd.h (__have_sock_cloexec): Likewise.
14431 (__have_pipe2): Likewise.
14432 (__have_dup3): Likewise.
14433
a277af22
MF
144342012-08-18 Mike Frysinger <vapier@gentoo.org>
14435
14436 [BZ #9685]
14437 * include/unistd.h (__have_pipe2): Change define into an extern int.
14438 (__have_dup3): Likewise.
14439 * socket/have_sock_cloexec.c: Include fcntl.h.
14440 (__have_pipe2): New variable.
14441 (__have_dup3): Likewise.
14442
fdab8fd3
MF
144432012-08-17 Mike Frysinger <vapier@gentoo.org>
14444
14445 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14446
31035e80
MP
144472012-08-17 Marek Polacek <polacek@redhat.com>
14448
14449 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14450 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14451
3bd9e993
RM
144522012-08-17 Roland McGrath <roland@hack.frob.com>
14453
c91c505f
RM
14454 * configure.in: Add AC_SUBST for sysheaders.
14455 * configure: Regenerated.
14456 * config.make.in (sysheaders): New substituted variable.
14457
7c6f9d53
RM
14458 * sysdeps/unix/mkfifo.c: Moved ...
14459 * sysdeps/posix/mkfifo.c: ... here.
14460 * sysdeps/unix/mkfifoat.c: Moved ...
14461 * sysdeps/posix/mkfifoat.c: ... here.
14462
14463 * sysdeps/unix/utime.c: Moved ...
14464 * sysdeps/posix/utime.c: ... here.
14465
14466 * sysdeps/unix/time.c: Moved ...
14467 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14468 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14469 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14470
14471 * sysdeps/unix/nice.c: Moved ...
14472 * sysdeps/posix/nice.c: ... here.
14473
14474 * sysdeps/unix/alarm.c: Moved ...
14475 * sysdeps/posix/alarm.c: ... here.
14476
3bd9e993
RM
14477 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14478
d1f09384
JL
144792012-08-17 Jeff Law <law@redhat.com>
14480
14481 * intl/Makefile (codeset_mo): New variable.
14482 ($(codeset_mo)): New target.
14483 (tst-codeset.out): Depend on that. Remove explicit rule.
14484 (tst-gettext3.out, tst-gettext5.out): Likewise.
14485 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14486 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14487 * intl/tst-codeset.sh: Remove.
14488 * intl/tst-gettext3.sh: Likewise.
14489 * intl/tst-gettext5.sh: Likewise.
14490
2ae1ae5c
RM
144912012-08-17 Roland McGrath <roland@hack.frob.com>
14492
c31fdb83
RM
14493 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14494 * sysdeps/unix/syscalls.list: ... here.
14495
a0844057
RM
14496 * sysdeps/posix/getaddrinfo.c
14497 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14498 (gaiconf_init, gaiconf_reload): Use them.
14499 [!_STATBUF_ST_NSEC]
14500 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14501 Define using time_t rather than struct timespec.
14502
750c1f2a
RM
14503 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14504 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14505 Macros removed.
14506 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14507 [!NO_THREADS].
14508 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14509 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14510 Likewise.
14511
2ae1ae5c
RM
14512 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14513 __libc_cleanup_push argument.
14514
e66a42f5
RM
14515 * bits/param.h: New file.
14516 * misc/sys/param.h: New file.
14517 * include/sys/param.h: New file.
14518 * misc/Makefile (headers): Add bits/param.h.
14519 * sysdeps/generic/sys/param.h: File removed.
14520 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14521 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14522 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14523 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14524
b7c08a66
RM
14525 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14526 last change.
14527
b2e1c562
RM
14528 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14529 [_IO_MTSAFE_IO].
14530 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14531 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14532 New macros.
14533
c75ccd4c
RM
14534 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14535 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14536 rather than -D_IO_MTSAFE_IO conditionally.
14537 * stdio-common/Makefile (CPPFLAGS): Likewise.
14538 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14539 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14540 Use $(libio-mtsafe).
14541 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14542 of -D_IO_MTSAFE_IO.
14543 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14544 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14545 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14546 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14547 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14548 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14549 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14550 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14551 (CFLAGS-fread_u_chk.c): Likewise.
14552 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14553 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14554 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14555 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14556 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14557 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14558 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14559 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14560 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14561
14562 * libio/Makefile: Test [$(libc-reentrant) = yes]
14563 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14564
14565 * Makeconfig
14566 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14567 * sysdeps/pthread/configure: File removed.
14568 * sysdeps/pthread/Makeconfig: New file.
14569 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14570 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14571
d9195db8
GB
145722012-08-16 Gary Benson <gbenson@redhat.com>
14573
14574 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14575 unmapping the first object in a namespace.
14576
86466cd9
RM
145772012-08-16 Roland McGrath <roland@hack.frob.com>
14578
14579 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14580 (__internal_setnetgrent): ... this. Add internal_function to
14581 definition. Add libc_hidden_def.
14582 (setnetgrent): Update caller.
14583 (internal_endnetgrent): Renamed to ...
14584 (__internal_endnetgrent): ... this. Add internal_function to
14585 definition. Add libc_hidden_def.
14586 (endnetgrent): Update caller.
14587 (internal_getnetgrent_r): Renamed to ...
14588 (__internal_getnetgrent_r): ... this. Add internal_function to
14589 definition. Add libc_hidden_def.
14590 (__getnetgrent_r): Update caller.
14591 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14592
c3c8283c
JM
145932012-08-16 Joseph Myers <joseph@codesourcery.com>
14594
14595 * stdlib/longlong.h: Update from GCC.
14596
db1ee0a8
RM
145972012-08-16 Roland McGrath <roland@hack.frob.com>
14598
14599 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14600 on _QL, which is set by umul_ppmm but never used.
14601 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14602 variables, which are set by GMP macros but never used.
14603 * stdio-common/_itowa.c (_itowa): Likewise.
14604 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14605 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14606
30f69637
CD
146072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14608
14609 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14610 struct La_sh_regs is not constant.
14611 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14612 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14613 and struct La_sparc64_regs are not constant.
14614
93a78ac4
JM
146152012-08-16 Joseph Myers <joseph@codesourcery.com>
14616
14617 * sysdeps/unix/sysv/linux/kernel-features.h
14618 (__ASSUME_POSIX_TIMERS): Remove.
14619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14620 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14621 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14622 Make code unconditional.
14623 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14624 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14625 Make code unconditional.
14626 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14627 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14628 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14629 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14630 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14631 Make code unconditional.
14632 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14633 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14634 (__libc_missing_posix_timers): Remove.
14635
dd924cd7
RM
146362012-08-15 Roland McGrath <roland@hack.frob.com>
14637
4b4f2771
RM
14638 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14639 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14640
601c888b
RM
14641 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14642
176790a7
RM
14643 * elf/dl-sym.c: Include <stdlib.h>.
14644
329bc018
RM
14645 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14646 constants, which avoids warnings in 32-bit builds.
14647
e04e272d
RM
14648 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14649 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14650
952bf94a
RM
14651 * misc/lseek.c: File moved to ...
14652 * io/lseek.c: ... here.
14653
7c99b50a
RM
14654 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14655
dd924cd7
RM
14656 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14657 shifting LEN more than 31 bits at once.
14658
b3f479a8
LD
146592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14660
14661 [BZ #14195]
8c4ae0d4
RM
14662 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14663 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14664 * string/test-strncasecmp.c (check1): Renamed to...
14665 (bz12205): ...this.
14666 (bz14195): Add new testcase for two empty input strings and N > 0.
14667 (test_main): Call new testcase, adapt for renamed function.
14668
9c55864e
AJ
146692012-08-15 Andreas Jaeger <aj@suse.de>
14670
14671 [BZ #14090]
14672 * crypt/md5test2.c: New test, based on test supplied by Serge
14673 Belyshev <belyshev@depni.sinp.msu.ru>.
14674 * crypt/Makefile (xtests): Add md5test-giant..
14675 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14676
02dcb6c5
PE
146772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14678
14679 [BZ #14090]
14680 * crypt/md5.c (md5_process_block): Don't assume the buffer
14681 length is less than 2**32.
14682 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14683 length is less than 2**64.
14684
a3f95dcc
RM
146852012-08-15 Roland McGrath <roland@hack.frob.com>
14686
be75d758
RM
14687 * string/str-two-way.h: Include <sys/param.h>.
14688 (MAX): Macro removed.
14689
7312ca90
RM
14690 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14691 Move #define and #undef of memmove to just before and after
14692 including <string.h>.
14693
9a0a5486
RM
14694 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14695 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14696 and after including <string.h>. Move declarations of
14697 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14698 to before #include "string/memmove.c".
14699
67cc348d
RM
14700 * include/dirent.h: Declare __getdirentries.
14701
a3f95dcc
RM
14702 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14703 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14704
ca98e171
MF
147052012-08-14 Mike Frysinger <vapier@gentoo.org>
14706
14707 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14708 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14709 * sysdeps/i386/configure: Regenerated.
14710 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14711 STABS_CURRENT_FILE, and STABS_FUN.
14712 (END): Remove call to STABS_FUN_END.
14713 (STABS_CURRENT_FILE1): Delete.
14714 (STABS_CURRENT_FILE): Likewise.
14715 (STABS_FUN): Likewise.
14716 (STABS_FUN_END): Likewise.
14717 (STABS_FUN2): Likewise.
14718 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14719 * sysdeps/x86_64/configure: Regenerated.
14720
5908bf46
RM
147212012-08-14 Roland McGrath <roland@hack.frob.com>
14722
14723 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14724 * elf/dl-lookup.c: Likewise.
5908bf46 14725
f2c05b9e
JM
147262012-08-14 Joseph Myers <joseph@codesourcery.com>
14727
14728 * sysdeps/unix/sysv/linux/kernel-features.h
14729 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14730 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14731 unconditionally.
14732 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14733 unconditionally.
14734 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14735 condition on __ASSUME_CLONE_THREAD_FLAGS.
14736
e11f5155
AJ
147372012-08-14 Andreas Jaeger <aj@suse.de>
14738
14739 * sysdeps/i386/fpu/libm-test-ulps: Update.
14740
51a9ba86
MK
147412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14742
2fdd4f78
AJ
14743 * include/atomic.h (atomic_exchange_and_add): Split into ...
14744 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14745 New atomic macros.
51a9ba86 14746
ba6cba9e
MT
147472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14748
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14750
42443a47
JL
147512012-08-13 Jeff Law <law@redhat.com>
14752
14753 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14754 null byte in the output string.
14755
121dce05
JM
147562012-08-10 Joseph Myers <joseph@codesourcery.com>
14757
14758 * sysdeps/unix/sysv/linux/kernel-features.h
14759 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14760 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14761 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14763 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14764 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14765 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14766
bf51f568
JL
147672012-08-09 Jeff Law <law@redhat.com>
14768
14769 [BZ #13939]
14770 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14771 When avoid_arena is set, don't retry in the that arena. Pick the
14772 next one, whatever it might be.
14773 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14774 (arena_lock): Pass in new parameter to arena_get2.
14775 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14776 arena_get2.
14777 (__libc_malloc): Unify retrying after main arena failure with
14778 __libc_memalign version.
14779 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14780
f85fa270
L
147812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14782
14783 [BZ #14166]
14784 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14785 to __redirect_strstr.
14786 (__strstr_sse42): Use typeof __redirect_strstr.
14787 (__strstr_ia32): Likewise.
14788 (__libc_strstr): New prototype.
14789 (strstr): Renamed to ...
14790 (__libc_strstr): This.
14791 (strstr): New strong alias of __libc_strstr.
14792 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14793 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14794 __redirect_time.
14795 Include <time.h>.
14796 (__libc_time): New prototype.
14797 (time_ifunc): Replace time with __libc_time.
14798 (time): New strong alias and hidden definition of __libc_time.
14799 (__GI_time): Remove strong alias.
14800 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14801 Include <stddef.h>.
14802 (memmove): Redefined to __redirect_memmove.
14803 (__memmove_sse2): Use typeof __redirect_memmove.
14804 (__memmove_ssse3): Likewise.
14805 (__memmove_ssse3_back): Likewise.
14806 (__libc_memmove): New prototype.
14807 (memmove): Renamed to ...
14808 (__libc_memmove): This.
14809 (memmove): New strong alias of __libc_memmove.
14810
33b4a91e
MS
148112012-08-08 Mark Salter <msalter@redhat.com>
14812
14813 * elf/elf.h
14814 (R_MN10300_TLS_GD): Define.
14815 (R_MN10300_TLS_LD): Likewise.
14816 (R_MN10300_TLS_LDO): Likewise.
14817 (R_MN10300_TLS_GOTIE): Likewise.
14818 (R_MN10300_TLS_IE): Likewise.
14819 (R_MN10300_TLS_LE): Likewise.
14820 (R_MN10300_TLS_DTPMOD): Likewise.
14821 (R_MN10300_TLS_DTPOFF): Likewise.
14822 (R_MN10300_TLS_TPOFF): Likewise.
14823 (R_MN10300_SYM_DIFF): Likewise.
14824 (R_MN10300_ALIGN): Likewise.
14825 (R_MN10300_NUM): Update.
14826
b36137f1
JM
148272012-08-08 Joseph Myers <joseph@codesourcery.com>
14828
14829 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14830 Remove.
14831
cdd915fd
RM
148322012-08-08 Roland McGrath <roland@hack.frob.com>
14833
a2433aac
RM
14834 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14835
cdd915fd
RM
14836 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14837 sysdeps/unix -> sysdeps/posix move.
14838 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14839
bf9b740a
AM
148402012-08-07 Allan McRae <allan@archlinux.org>
14841
14842 [BZ #14303]
14843 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14844 (SUNOS_CPP): Likewise.
14845 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14846 not found.
14847 (open_input): Call CPP using execvp.
14848
93df14ee
JM
148492012-08-07 Joseph Myers <joseph@codesourcery.com>
14850
14851 * sysdeps/unix/sysv/linux/kernel-features.h
14852 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14853 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14854 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14855 (__ASSUME_WAITID_SYSCALL): Likewise.
14856 * sysdeps/unix/sysv/linux/dl-execstack.c
14857 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14858 code unconditional.
14859 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14860 conditional code.
14861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14862 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14863 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14864 code.
14865 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14866 unconditional.
14867 [__ASSUME_WAITID_SYSCALL]: Likewise.
14868 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14869
d34689de
RM
148702012-08-07 Roland McGrath <roland@hack.frob.com>
14871
a281decc
RM
14872 * sysdeps/unix/closedir.c: Renamed to ...
14873 * sysdeps/posix/closedir.c: ... here.
14874 * sysdeps/unix/dirfd.c: Renamed to ...
14875 * sysdeps/posix/dirfd.c: ... here.
14876 * sysdeps/unix/dirstream.h: Renamed to ...
14877 * sysdeps/posix/dirstream.h: ... here.
14878 * sysdeps/unix/fdopendir.c: Renamed to ...
14879 * sysdeps/posix/fdopendir.c: ... here.
14880 * sysdeps/unix/opendir.c: Renamed to ...
14881 * sysdeps/posix/opendir.c: ... here.
14882 * sysdeps/unix/readdir.c: Renamed to ...
14883 * sysdeps/posix/readdir.c: ... here.
14884 * sysdeps/unix/readdir_r.c: Renamed to ...
14885 * sysdeps/posix/readdir_r.c: ... here.
14886 * sysdeps/unix/rewinddir.c: Renamed to ...
14887 * sysdeps/posix/rewinddir.c: ... here.
14888 * sysdeps/unix/seekdir.c: Renamed to ...
14889 * sysdeps/posix/seekdir.c: ... here.
14890 * sysdeps/unix/telldir.c: Renamed to ...
14891 * sysdeps/posix/telldir.c: ... here.
14892 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14893 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14894 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14895 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14896
22895b47
RM
14897 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14898 * bits/fcntl.h: ... here.
14899
707a53b6
RM
14900 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14901 not 0.
14902 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14903 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14904 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14905 (struct flock): Move l_start, l_len to the beginning.
14906 Use __pid_t for l_pid.
14907 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14908 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14909 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14910 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14911 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14912 [__USE_LARGEFILE64] (struct flock64): New type.
14913 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14914
f0bd3e25
RM
14915 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14916 * bits/dirent.h: ... here.
14917
d34689de
RM
14918 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14919 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14920
6dad2c06
JM
149212012-08-07 Joseph Myers <joseph@codesourcery.com>
14922
14923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14924 Change from 2.6.0 to 2.6.16.
14925 * sysdeps/unix/sysv/linux/configure: Regenerated.
14926 * sysdeps/unix/sysv/linux/kernel-features.h
14927 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14928 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14929 version.
14930 (__ASSUME_UTIMES): Likewise.
14931 (__ASSUME_CLONE_STOPPED): Remove.
14932 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14933 architectures, not kernel version.
14934 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14935 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14936 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14937 (__ASSUME_WAITID_SYSCALL): Likewise.
14938 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14939 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14940 * README: State 2.6.16 as minimum Linux kernel version. Do not
14941 refer to older versions.
14942
03af9520
RM
149432012-08-06 Roland McGrath <roland@hack.frob.com>
14944
8e49df1d
RM
14945 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14946 Define alphasort64 as an alias.
14947 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14948 Define versionsort64 as an alias.
14949 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14950 Define scandir64 as an alias.
14951 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14952 Define scandirat64 as an alias.
14953 * dirent/alphasort64.c (alphasort64):
14954 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14955 * dirent/versionsort64.c: Likewise.
14956 * dirent/scandir64.c: Likewise.
14957 * dirent/scandirat64.c: Likewise.
14958 * sysdeps/wordsize-64/alphasort.c: File removed.
14959 * sysdeps/wordsize-64/alphasort64.c: File removed.
14960 * sysdeps/wordsize-64/scandir.c: File removed.
14961 * sysdeps/wordsize-64/scandir64.c: File removed.
14962 * sysdeps/wordsize-64/scandirat.c: File removed.
14963 * sysdeps/wordsize-64/scandirat64.c: File removed.
14964 * sysdeps/wordsize-64/versionsort.c: File removed.
14965 * sysdeps/wordsize-64/versionsort64.c: File removed.
14966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14968 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14969 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14970 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14971 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14972 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14973 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14974
14975 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14977 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14979 [defined __arch64__ || defined __sparcv9]
14980 (__INO_T_MATCHES_INO64_T): New macro.
14981 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14982 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14983 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14984 * sysdeps/unix/sysv/linux/bits/dirent.h
14985 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14986 (_DIRENT_MATCHES_DIRENT64): New macro.
14987
03af9520
RM
14988 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14989 Define lockf64 as an alias.
14990 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14991 Define fseeko64 as an alias.
14992 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14993 Define ftello64 as an alias.
14994 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14995 Define _IO_fgetpos64 and fgetpos64 as aliases.
14996 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14997 Define _IO_fsetpos64 and fsetpos64 as aliases.
14998 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14999 Conditionalize body on this.
15000 * libio/fseeko64.c: Likewise.
15001 * libio/ftello64.c: Likewise.
15002 * libio/iofgetpos64.c: Likewise.
15003 * libio/iofsetpos64.c: Likewise.
15004 * sysdeps/wordsize-64/lockf.c: File removed.
15005 * sysdeps/wordsize-64/lockf64.c: File removed.
15006 * sysdeps/wordsize-64/fseeko.c: File removed.
15007 * sysdeps/wordsize-64/fseeko64.c: File removed.
15008 * sysdeps/wordsize-64/ftello.c: File removed.
15009 * sysdeps/wordsize-64/ftello64.c: File removed.
15010 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15011 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15012 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15013 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15017 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15018 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15019 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15020 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15023 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15024
15025 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15027 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15029 [defined __arch64__ || defined __sparcv9]
15030 (__OFF_T_MATCHES_OFF64_T): New macro.
15031 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15032 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15034 (__OFF_T_MATCHES_OFF64_T): New macro.
15035
c5757acd
L
150362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 * stdlib/secure-getenv.c (__secure_getenv): Replace
15039 GLIBC_2_16 with GLIBC_2_17.
15040
3a31811e
L
150412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15042
15043 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15045
faa2bccb
DM
150462012-08-03 David S. Miller <davem@davemloft.net>
15047
15048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15049
85fe1997
JM
150502012-08-03 Joseph Myers <joseph@codesourcery.com>
15051
15052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15053 Remove.
15054 (__ASSUME_CORRECT_SI_PID): Likewise.
15055 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15056 (__ASSUME_TMPFS_NAME): Likewise.
15057 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15058 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15059 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15060 (HAVE_AUX_SECURE): Make definition unconditional.
15061 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15062 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15063
4f75b7a0
RM
150642012-08-03 Roland McGrath <roland@hack.frob.com>
15065
15066 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15067 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15068 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15069 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15070 __eloop_threshold instead of SYMLOOP_MAX.
15071
15072 * sysdeps/generic/eloop-threshold.h: New file.
15073 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15074 of MAXSYMLINKS.
15075 * elf/chroot_canon.c (chroot_canon): Likewise.
15076
7aab07e4
JM
150772012-08-03 Joseph Myers <joseph@codesourcery.com>
15078
15079 [BZ #13717]
15080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15081 Change to 2.6.0 everywhere.
15082 * sysdeps/unix/sysv/linux/configure: Regenerated.
15083 * sysdeps/unix/sysv/linux/kernel-features.h
15084 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15085 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15086 kernel versions.
15087 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15088 (__ASSUME_FUTEX_REQUEUE): Remove.
15089 (__ASSUME_STATFS64): Define unconditionally.
15090 (__ASSUME_AT_SECURE): Likewise.
15091 (__ASSUME_CORRECT_SI_PID): Likewise.
15092 (__ASSUME_TGKILL): Define without depending on kernel version for
15093 i386.
15094 (__ASSUME_UTIMES): Likewise.
15095 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15096 kernel version.
15097 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15098 (__ASSUME_TMPFS_NAME): Likewise.
15099 * README: Update reference to Linux kernel versions.
15100
b67e9372
MP
151012012-08-02 Marek Polacek <polacek@redhat.com>
15102
1f529f7d 15103 [BZ# 14150]
b67e9372
MP
15104 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15105 libc_cv_asm_type_prefix with %.
15106 * configure: Regenerated.
d2441631
RM
15107 * include/libc-symbols.h: Remove comment about
15108 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15109 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15110 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15111 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15112 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15113 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15114 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15115 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15116 * elf/tst-unique2mod1.c: Likewise.
15117 * elf/tst-unique1mod2.c: Likewise.
15118 * elf/tst-unique1mod1.c: Likewise.
15119 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15120 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15121 Replace ASM_TYPE_DIRECTIVE with .type.
15122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15123 * sysdeps/i386/sysdep.h: Likewise.
15124 * sysdeps/x86_64/sysdep.h: Likewise.
15125 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15127 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15128 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15129 * sysdeps/powerpc/powerpc32/sysdep.h:
15130 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15131 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15132 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15133 * sysdeps/i386/fpu/e_powf.S: Likewise.
15134 * sysdeps/i386/fpu/e_expl.S: Likewise.
15135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15136 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15137 * sysdeps/i386/fpu/e_pow.S: Likewise.
15138 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15140 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15141 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15142 * sysdeps/i386/fpu/e_log2.S: Likewise.
15143 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15144 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15145 * sysdeps/i386/fpu/e_powl.S: Likewise.
15146 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15147 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15148 * sysdeps/i386/fpu/e_logl.S: Likewise.
15149 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15150 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15151 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15153 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15154 * sysdeps/i386/fpu/e_log.S: Likewise.
15155 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15156 * sysdeps/i386/fpu/e_logf.S: Likewise.
15157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15160 * sysdeps/i386/fpu/e_log10.S: Likewise.
15161 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15162 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15163 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15164 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15165 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15166 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15168 * sysdeps/i386/i686/strtok.S: Likewise.
15169 * sysdeps/i386/i386-mcount.S: Likewise.
15170 * sysdeps/i386/strtok.S: Likewise.
15171 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15173 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15175 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15176 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15177 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15178 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15180 * sysdeps/x86_64/_mcount.S: Likewise.
15181 * sysdeps/x86_64/strtok.S: Likewise.
15182 * sysdeps/sh/_mcount.S: Likewise.
15183
2747bf9a
RM
151842012-08-01 Roland McGrath <roland@hack.frob.com>
15185
15186 * libio/iofopen.c: Include <fcntl.h>.
15187 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15188 (_IO_fopen64, fopen64): Define as aliases.
15189 * libio/iofopen64.c: Include <fcntl.h>.
15190 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15191 Conditionalize body on this.
15192 * sysdeps/wordsize-64/iofopen.c: File removed.
15193 * sysdeps/wordsize-64/iofopen64.c: File removed.
15194
3fb791b8
MP
151952012-08-01 Marek Polacek <polacek@redhat.com>
15196
15197 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15198 Use dlfcn directly instead of a variable.
15199 (binfmt-subdir): Do not define.
15200 (dlfcn): Likewise.
15201
a9f1039f
JM
152022012-08-01 Joseph Myers <joseph@codesourcery.com>
15203
23bddc06
JM
15204 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15205 Remove all definitions.
15206 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15207 <kernel-features.h>.
15208 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15209 (miss_F_GETOWN_EX): Remove all definitions.
15210 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15211 macro definition.
15212 [!__ASSUME_FCNTL64]: Remove conditional code.
15213 [__ASSUME_FCNTL64]: Make code unconditional.
15214 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15215 <kernel-features.h>.
15216 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15217 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15218 (lockf64) [__NR_fcntl64]: Make code unconditional.
15219 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15220
a9f1039f
JM
15221 * sysdeps/unix/sysv/linux/kernel-features.h
15222 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15223 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15224 Make code unconditional.
15225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15228 [__NR_vfork]: Make code unconditional.
15229 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15230 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15232 [__NR_vfork]: Make code unconditional.
15233 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15234 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15235
09c0ee5f
RM
152362012-08-01 Roland McGrath <roland@hack.frob.com>
15237
48aec5b9
RM
15238 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15239 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15240
cd97c966
RM
15241 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15242 Define mkstemp64 as an alias.
3f55550c
RM
15243 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15244 Define mkstemps64 as an alias.
cd97c966
RM
15245 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15246 Define mkostemp64 as an alias.
b8625cfc
RM
15247 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15248 Define mkostemps64 as an alias.
cd97c966
RM
15249 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15250 Conditionalize body on this.
15251 * misc/mkostemp64.c: Likewise.
b8625cfc 15252 * misc/mkostemps64.c: Likewise.
3f55550c 15253 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15254 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15255 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15256 * sysdeps/wordsize-64/mkostemp.c: File removed.
15257 * sysdeps/wordsize-64/mkstemp.c: File removed.
15258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15259 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15260 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15261 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15262
09c0ee5f
RM
15263 [BZ #14138]
15264 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15265 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15266 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15267 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15268
15269 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15270 compat_symbol macros from <shlib-compat.h> rather than the underlying
15271 default_symbol_version and symbol_version macros, so that DEFAULT
15272 lines in shlib-versions are respected.
15273 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15274
7e66ee51
FW
152752012-08-01 Florian Weimer <fweimer@redhat.com>
15276
15277 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15278 Declare with warn_unused_result.
15279 (setgid, setregid, setegid, setresgid): Likewise.
15280 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15281 Likewise.
15282 * WUR-REPORT: Remove set*id functions.
15283
d2a54255
PT
152842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15285
15286 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15287
7ecdb005
RM
152882012-07-31 Roland McGrath <roland@hack.frob.com>
15289
b4180a5e 15290 [BZ #10191]
789bd351
RM
15291 * include/sys/socket.h (__libc_accept, __libc_accept4):
15292 Add attribute_hidden.
15293 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15294
40ce302d
RM
15295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15296 use of PTR_MANGLE.
15297 * inet/getnetgrent_r.c (setup): Likewise.
15298
7ecdb005
RM
15299 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15300
e2eabb2c
DM
153012012-07-31 David S. Miller <davem@davemloft.net>
15302
15303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15304
d0419dbf
JM
153052012-07-31 Joseph Myers <joseph@codesourcery.com>
15306
15307 [BZ #13629]
15308 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15309 value between 1.0 and 2.0 and smaller part has absolute value less
15310 than 1.0.
15311 * math/s_clog10.c (__clog10): Likewise.
15312 * math/s_clog10f.c (__clog10f): Likewise.
15313 * math/s_clog10l.c (__clog10l): Likewise.
15314 * math/s_clogf.c (__clogf): Likewise.
15315 * math/s_clogl.c (__clogl): Likewise.
15316 * math/libm-test.inc (clog_test): Add more tests.
15317 (clog10_test): Likewise.
15318 * sysdeps/i386/fpu/libm-test-ulps: Update.
15319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15320
2bc13872
FW
153212012-07-31 Florian Weimer <fweimer@redhat.com>
15322
15323 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15324 Exit with zero in case no suitable GID is found, and write a
15325 message to standard error.
15326
bea9b193
RM
153272012-07-30 Roland McGrath <roland@hack.frob.com>
15328
15329 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15330 rather than to 1.
15331 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15332 (MAXPATHLEN): Removed.
15333 (NOGROUP, NODEV): New macros.
15334 (setbit, clrbit, isset, isclr): New macros.
15335 (howmany, roundup, powerof2): New macros.
15336 (DEV_BSIZE): New macro.
15337
15338 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15339 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15340
15341 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15342 definition on [!__NO_LONG_DOUBLE_MATH].
15343
15344 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15345 PTR_MANGLE and PTR_DEMANGLE.
15346
15347 * socket/accept4.c (accept4): Rename to __libc_accept4.
15348 Define accept4 as a weak alias.
15349
15350 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15351 on [_DIRENT_HAVE_D_TYPE].
15352 * io/ftw.c (ftw_dir): Likewise.
15353
15354 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15355
15356 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15357
15358 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15359 Use the BSD numbers rather than the arbitrary ones we had.
15360 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15361 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15362 (SIGXCPU, SIGXFSZ): New macros.
15363 (_NSIG): Now 32.
15364
15365 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15366 initializer on [_LIBC_REENTRANT].
15367
15368 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15369 definitions inside [_POSIX_MAPPED_FILES].
15370
15371 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15372
15373 * dirent/opendir.c: Include <fcntl.h>.
15374
15375 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15376 (__libc_getspecific): Likewise.
15377 (__libc_key_create): Likewise.
15378
15379 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15380 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15381 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15382 (tmpfile64): Define as alias.
15383 * sysdeps/wordsize-64/tmpfile.c: File removed.
15384 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15387
15388 * stdio-common/vfscanf.c: Include <stdbool.h>.
15389 * nss/makedb.c: Likewise.
15390 * stdio-common/_i18n_number.h: Likewise.
15391 * argp/argp-help.c: Likewise.
15392 * posix/wordexp.c: Likewise.
15393 * sysdeps/posix/spawni.c: Likewise.
15394 * nss/nss_files/files-initgroups.c: Likewise.
15395 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15396 * nss/nss_files/files-initgroups.c: Likewise.
15397 * nss/nss_db/db-netgrp.c: Likewise.
15398 * nss/nss_db/db-initgroups.c: Likewise.
15399 * io/fchmodat.c: Include <sys/stat.h>.
15400
15401 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15402 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15403
15404 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15405 [HAVE_MMAP].
15406
15407 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15408 Add multiple inclusion protection.
15409
e5abc686
DM
154102012-07-27 David S. Miller <davem@davemloft.net>
15411
15412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15413
815e6fa3
GB
154142012-07-27 Gary Benson <gbenson@redhat.com>
15415
15416 [BZ #14298]
15417 * elf/rtld.c: Include <stap-probe.h>.
15418 (dl_main): Added static probes "init_start" and "init_complete".
15419 * elf/dl-load.c: Include <stap-probe.h>.
15420 (lose): Take new parameter "nsid".
15421 Added static probe "map_failed".
15422 (_dl_map_object_from_fd): Pass namespace id to lose.
15423 Added static probe "map_start".
15424 (open_verify): Pass namespace id to lose.
15425 * elf/dl-open.c: Include <stap-probe.h>.
15426 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15427 and "reloc_complete".
15428 * elf/dl-close.c: Include <stap-probe.h>.
15429 (_dl_close_worker): Added static probes "unmap_start" and
15430 "unmap_complete".
15431 * elf/rtld-debugger-interface.txt: New file documenting the above.
15432
9f98c16c
RM
154332012-07-26 Roland McGrath <roland@hack.frob.com>
15434
15435 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15436 rather than a string variable.
15437 * sunrpc/rpc_main.c (h_output): Likewise.
15438 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15439
f3c22df3
PT
154402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15441
15442 * inet/check_native.c: New file.
15443
3129cfc6
JM
154442012-07-26 Joseph Myers <joseph@codesourcery.com>
15445
da865e95
JM
15446 [BZ #13629]
15447 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15448 if larger part has absolute value 1.0.
15449 * math/s_clog10.c (__clog10): Likewise.
15450 * math/s_clog10f.c (__clog10f): Likewise.
15451 * math/s_clog10l.c (__clog10l): Likewise.
15452 * math/s_clogf.c (__clogf): Likewise.
15453 * math/s_clogl.c (__clogl): Likewise.
15454 * math/libm-test.inc (clog_test): Add more tests.
15455 (clog10_test): Likewise.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458
3129cfc6
JM
15459 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15460 (pltexit): Likewise.
15461 (La_regs): Likewise.
15462 (La_retval): Likewise.
15463 (int_retval): Likewise.
15464 Update #error for removed macros to refer only to definitions in
15465 tst-audit.h.
15466 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15467 macro.
15468 (pltexit): Likewise.
15469 (La_regs): Likewise.
15470 (La_retval): Likewise.
15471 (int_retval): Likewise.
15472 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15473 macro.
15474 (pltexit): Likewise.
15475 (La_regs): Likewise.
15476 (La_retval): Likewise.
15477 (int_retval): Likewise.
15478 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15479 macro.
15480 (pltexit): Likewise.
15481 (La_regs): Likewise.
15482 (La_retval): Likewise.
15483 (int_retval): Likewise.
15484 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15485 macro.
15486 (pltexit): Likewise.
15487 (La_regs): Likewise.
15488 (La_retval): Likewise.
15489 (int_retval): Likewise.
15490 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15491 macro.
15492 (pltexit): Likewise.
15493 (La_regs): Likewise.
15494 (La_retval): Likewise.
15495 (int_retval): Likewise.
15496 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15497 macro.
15498 (pltexit): Likewise.
15499 (La_regs): Likewise.
15500 (La_retval): Likewise.
15501 (int_retval): Likewise.
15502 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15503 macro definitions in tst-audit.h.
15504 * sysdeps/i386/tst-audit.h: New file.
15505 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15506 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15507 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15508 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15509 * sysdeps/sh/tst-audit.h: Likewise.
15510 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15511 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15512 * sysdeps/x86_64/tst-audit.h: Likewise.
15513
bfc07087
AJ
155142012-07-26 Andreas Jaeger <aj@suse.de>
15515
b1b2aaf8
AJ
15516 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15517 ptrace.
15518
15519 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15520 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15521 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15522 PTRACE_O_MASK.
15523 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15525 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15526
bfc07087
AJ
15527 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15528 value.
15529
15530 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15531 _sigsys.
15532 (si_call_addr, si_syscall, si_arch): Define new macro.
15533 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15534 _sigsys.
15535 (si_call_addr, si_syscall, si_arch): Define new marcro.
15536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15537 _sigsys.
15538 (si_call_addr, si_syscall, si_arch): Define new macro.
15539 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15540 _sigsys.
15541 (si_call_addr, si_syscall, si_arch): Define new macro.
15542
89b4b02f
JM
155432012-07-25 Joseph Myers <joseph@codesourcery.com>
15544
15545 [BZ #13717]
15546 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15547 Change to 2.4.21 where previously 2.4.1.
15548 * sysdeps/unix/sysv/linux/configure: Regenerated.
15549 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15550 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15551 Linux kernel version.
15552 (__ASSUME_STD_AUXV): Remove.
15553 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15554 kernel version.
15555 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15556 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15557 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15558 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15559 (__ASSUME_NETLINK_SUPPORT): Likewise.
15560 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15561 (__no_netlink_support): Remove conditional definition.
15562 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15563 Remove.
15564 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15565 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15566 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15567 (if_nameindex_ioctl): Remove.
15568 (if_nameindex_netlink): Do not handle __no_netlink_support.
15569 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15570 code.
15571 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15572 Remove conditional code.
15573 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15574 code.
15575 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15576 unconditional.
15577 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15578 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15579 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15580 Remove.
15581 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15582 [!__ASSUME_STD_AUXV]: Remove conditional code.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15584 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15585 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15587 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15588 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15589 code.
15590 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15592 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15593 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15594 conditional code.
15595 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15597 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15598 code.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15600 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15601 conditional code.
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15603 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15604 code unconditional.
15605 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15606 conditional code.
15607 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15608 unconditional.
15609 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15610 conditional code.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15612 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15613 unconditional.
15614 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15615 conditional code.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15617 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15618 code unconditional.
15619 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15620 conditional code.
15621 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15622 unconditional.
15623 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15624 conditional code.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15626 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15627 code unconditional.
15628 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15629 conditional code.
15630 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15631 unconditional.
15632 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15633 conditional code.
15634
842a39cd
AS
156352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15636
15637 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15638 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15639 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15640 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15641 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15642 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15643 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15644 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15645 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15646 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15647 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15648 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15649 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15650 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15652 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15653 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15655 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15657 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15658 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15659 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15660
84b3fd84
FW
156612012-07-25 Florian Weimer <fweimer@redhat.com>
15662
15663 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15664 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15665 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15666 Introduce __libc_secure_getenv.
0c7936d5
FW
15667 * stdlib/Versions (2.17): Add secure_getenv
15668 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15669 * stdlib/secure-getenv.c: Rename __secure_getenv to
15670 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15671 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15672 * stdlib/tst-secure-getenv.c: New.
15673 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15674 * manual/startup.texi (Environment Access): Document
15675 secure_getenv.
84b3fd84
FW
15676 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15677 __libc_secure_getenv.
15678 * inet/ruserpass.c (ruserpass): Likewise.
15679 * malloc/mtrace.c (mtrace): Likewise.
15680 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15681 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15682 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15683 * sysdeps/posix/tempname.c: Likewise. Evaluate
15684 HAVE_SECURE_GETENV.
15685 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15686 __secure_getenv to __libc_secure_getenv.
84b3fd84 15687 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15689 Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15691 Likewise.
15692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15699
56e49b71
JM
157002012-07-25 Joseph Myers <joseph@codesourcery.com>
15701
15702 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15703 (struct La_i86_retval): Likewise.
15704 (struct La_x86_64_regs): Likewise.
15705 (struct La_x86_64_retval): Likewise.
15706 (struct La_x32_regs): Likewise.
15707 (struct La_x32_retval): Likewise.
15708 (struct La_ppc32_regs): Likewise.
15709 (struct La_ppc32_retval): Likewise.
15710 (struct La_ppc64_regs): Likewise.
15711 (struct La_ppc64_retval): Likewise.
15712 (struct La_sh_regs): Likewise.
15713 (struct La_sh_retval): Likewise.
15714 (struct La_s390_32_regs): Likewise.
15715 (struct La_s390_32_retval): Likewise.
15716 (struct La_s390_64_regs): Likewise.
15717 (struct La_s390_64_retval): Likewise.
15718 (struct La_sparc32_regs): Likewise.
15719 (struct La_sparc32_retval): Likewise.
15720 (struct La_sparc64_regs): Likewise.
15721 (struct La_sparc64_retval): Likewise.
15722 (struct audit_ifaces): Remove architecture-specific pltenter and
15723 pltexit members.
15724 * sysdeps/i386/ldsodefs.h: New file.
15725 * sysdeps/powerpc/ldsodefs.h: Likewise.
15726 * sysdeps/s390/ldsodefs.h: Likewise.
15727 * sysdeps/sh/ldsodefs.h: Likewise.
15728 * sysdeps/sparc/ldsodefs.h: Likewise.
15729 * sysdeps/x86_64/ldsodefs.h: Likewise.
15730
354691b7
MP
157312012-07-25 Marek Polacek <polacek@redhat.com>
15732
15733 [BZ #6808]
15734 * math/libm-test.inc (yn_test): Add another test.
15735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15736 to ERANGE when the result is +-Inf.
15737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15738 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15740 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15741
bf9e2071
JM
157422012-07-24 Joseph Myers <joseph@codesourcery.com>
15743
15744 * conform/data/time.h-data (NULL): Use macro-constant. Require
15745 equal to 0.
15746 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15747 clock_t.
15748 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15749
57633811
TS
157502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15751
15752 * configure.in <sysdeps resolving>: Correct printing
15753 Implies_before.
15754 * configure: Regenerate.
15755
c23c33b0
TS
157562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15757
15758 * math/w_ilogb.c: Include <limits.h>.
15759 * math/w_ilogbl.c: Likewise.
15760
b5982523
JM
157612012-07-20 Joseph Myers <joseph@codesourcery.com>
15762
15763 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15764 va_copy. Document allowing for unavailable va_copy only as
15765 pre-C99 compatibility.
15766 * manual/string.texi (Copying and Concatenation): Use va_copy
15767 instead of __va_copy in concat example.
15768
ac4ea442
PT
157692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15770
15771 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15772 (__sendto): Use create_address_port. Initialize APORT and deallocate
15773 it if not null.
15774
f98eafbd
PT
15775 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15776 with O_NOLINK passed to __file_name_lookup.
15777
898c7aab
PT
15778 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15779 with O_NOLINK passed to __file_name_lookup.
15780
0ced335a
PT
15781 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15782 negative N or less than NGIDS.
15783
b3404dbd
PT
15784 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15785 type to string_t. Set ERANGE as errno and return it if NAME is not big
15786 enough. Use memcpy instead of strncpy.
15787
0f48659e
JM
157882012-07-20 Joseph Myers <joseph@codesourcery.com>
15789
15790 * elf/Makefile (check-data): Remove.
15791 (localplt.data): New vpath directive.
15792 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15793 instead of $(check-data).
15794 * scripts/data/localplt-generic.data: Move to ...
15795 * sysdeps/generic/localplt.data: ... here.
15796 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15797 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15798 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15800 ... here.
15801 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15803 ... here.
15804 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15806 ... here.
15807 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15809 ... here.
15810 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15812 ... here.
15813 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15815 ... here.
15816
d37cbdaa
AZ
158172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15818
15819 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15820 PPC32 and PPC64 files.
15821 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15822 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15823
46f85fc2
AK
158242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15825
15826 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15827 __makecontext_ret to ...
15828 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15829 ... here and call exit if uc_link is NULL. New file.
15830 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15831 __makecontext_ret.S.
15832 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15833 __makecontext_ret to ...
15834 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15835 ... here and call exit if uc_link is NULL. New file.
15836 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15837 __makecontext_ret.S.
15838
08f43f9b
AK
158392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15840
15841 * elf/elf.h (R_390_IRELATIVE): New definition.
15842 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15843 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15844 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15846 (elf_machine_lazy_rel): Likewise.
15847 * sysdeps/s390/dl-irel.h: New file.
15848 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15849 * sysdeps/s390/s390-64/memset.S: New asm code.
15850 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15851 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15852 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15853 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15854 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15855 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15856 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15857 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15858 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15859 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15860 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15861 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15862 * sysdeps/s390/s390-32/memset.S: New asm code.
15863 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15864
3b05db33
MP
158652012-07-17 Marek Polacek <polacek@redhat.com>
15866
15867 [BZ #14349]
15868 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15869 * sysdeps/s390/s390-64/configure.in: Likewise.
15870 * sysdeps/sparc/configure.in: Likewise.
15871 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15872 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15873 * sysdeps/i386/configure.in: Likewise.
15874 * sysdeps/x86_64/configure.in: Likewise.
15875 * sysdeps/sh/configure.in: Likewise.
15876 * sysdeps/s390/s390-32/configure: Regenerated.
15877 * sysdeps/s390/s390-64/configure: Likewise.
15878 * sysdeps/x86_64/configure: Likewise.
15879 * sysdeps/sh/configure: Likewise.
15880 * sysdeps/powerpc/powerpc64/configure: Likewise.
15881 * sysdeps/powerpc/powerpc32/configure: Likewise.
15882 * sysdeps/sparc/configure: Likwise.
15883 * sysdeps/i386/configure: Likewise.
15884
a66877c6
MP
15885 * elf/dl-open.c: Comment fixes.
15886
cfc82fd8
JM
158872012-07-17 Joseph Myers <joseph@codesourcery.com>
15888
bd29910a
JM
15889 * Makefile [CXX] (check-data): Remove.
15890 [CXX] (c++-types.data): New vpath directive.
15891 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15892 vpath. Do not allow for C++ type data being missing.
15893 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15894 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15895 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15896 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15897 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15898 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15899 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15901 ... here.
15902 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15904 ... here.
15905 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15907 ... here.
15908 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15910 ... here.
15911 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15913 ... here.
15914 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15916 ... here.
15917 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15919 ... here.
15920 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15922
cfc82fd8
JM
15923 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15924 definitions to architecture-specific files.
15925 (TLS_IE): Likewise.
15926 (TLS_LD): Likewise.
15927 (TLS_GD): Likewise.
15928 * sysdeps/i386/tls-macros.h: New file.
15929 * sysdeps/powerpc/tls-macros.h: Likewise.
15930 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15931 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15932 * sysdeps/sh/tls-macros.h: Likewise.
15933 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15934 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15935 * sysdeps/x86_64/tls-macros.h: Likewise.
15936
f7db3170
TS
159372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15938
07cbfc23
TS
15939 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15940 zero value for regular exit case.
15941
f7db3170
TS
15942 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15943 (__start_context): Preserve zero value for regular exit case.
15944
dc97c227
TS
159452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15946 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15947
15948 * manual/setjmp.texi (setcontext): Clarify normal process
15949 termination when uc_link is the null pointer.
15950 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15951 exit call.
15952
d0cd7d02
AS
159532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15954
15955 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15956 preprocessor. Test for each exception mask separately.
15957
dd318934
AJ
159582012-07-16 Andreas Jaeger <aj@suse.de>
15959
15960 * po/ru.po: Update from translation team.
15961
8048311a
JM
159622012-07-15 Joseph Myers <joseph@codesourcery.com>
15963
15964 * conform/data/string.h-data (NULL): Use macro-constant. Require
15965 equal to 0.
15966 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15967 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15968 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15969 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15971
b637d46e
AJ
159722012-07-13 Andreas Jaeger <aj@suse.de>
15973
15974 * po/fr.po: Update from translation team.
15975
541428fe
MP
159762012-07-12 Marek Polacek <polacek@redhat.com>
15977
15978 [BZ #14173]
15979 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15980 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15981 loop condition.
15982
ec332e94
JM
159832012-07-12 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #13717]
15986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15987 Change to 2.4.1 where previously 2.4.0.
15988 * sysdeps/unix/sysv/linux/configure: Regenerated.
15989 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15990 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15991 version.
15992 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15993 (__ASSUME_AT_CLKTCK): Remove.
15994 (__ASSUME_AT_PAGESIZE): Likewise.
15995 (__ASSUME_AT_XID): Likewise.
15996 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15997 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15998 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15999 unconditionally.
16000 (HAVE_AUX_PAGESIZE): Likewise.
16001 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16002 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16003 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16004
7b6e99be
JB
160052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16006
16007 [BZ #14307]
16008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16009 the temporary buffer used to invoke __gethostbyname2_r,
16010 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16011 host_data / struct gaih_addrtuple.
16012 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16013 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16014 header file nss/nsswitch.h.
16015 * nss/nsswitch.h (global scope): Add definition of implementation
16016 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16017 resolv/nss_dns/dns-host.c).
16018
608404eb
AJ
160192012-07-11 Andreas Jaeger <aj@suse.de>
16020
16021 * po/fr.po: Update from translation team.
16022
71220aca
AJ
16023 * po/sv.po: Update from translation team
16024 * po/fr.po: Another update from translation team.
16025
28cfe843
AZ
160262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16027
16028 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16029 for subnormals or multiply small sinh result by itself.
16030 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032
6b90f981
DM
160332012-07-11 David S. Miller <davem@davemloft.net>
16034
16035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16036
c6825772
AS
160372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16038
16039 [BZ #14347]
16040 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16041 (INTERNAL_MARK): Shift it here.
16042
7b8e0d49
MP
160432012-07-10 Marek Polacek <polacek@redhat.com>
16044
16045 [BZ #14151]
16046 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16047 libc_cv_asm_global_directive with .globl.
16048 * configure: Regenerated.
16049 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16050 with .globl.
16051 * sysdeps/i386/configure: Regenerated.
16052 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16053 with .globl.
16054 * sysdeps/x86_64/configure: Regenerated.
16055 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16056 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16057 * elf/tst-unique2mod2.c: Likewise.
16058 * elf/tst-unique2mod1.c: Likewise.
16059 * elf/tst-unique1mod2.c: Likewise.
16060 * elf/tst-unique1mod1.c: Likewise.
16061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16062 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16063 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16064 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16065 * sysdeps/mach/sysdep.h: Likewise.
16066 * sysdeps/i386/sysdep.h: Likewise.
16067 * sysdeps/i386/i386-mcount.S: Likewise.
16068 * sysdeps/x86_64/_mcount.S: Likewise.
16069 * sysdeps/x86_64/sysdep.h: Likewise.
16070 * sysdeps/sh/_mcount.S: Likewise.
16071 * sysdeps/sh/sysdep.h: Likewise.
16072 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16073 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16074 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16075 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16076 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16077 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16078 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16079 * locale/localeinfo.h: Likewise.
16080 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16081 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16082
6c55cda3
RM
160832012-07-09 Roland McGrath <roland@hack.frob.com>
16084
16085 [BZ #14336]
16086 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16087 system".
16088 * manual/message.texi (The Uniforum approach): Likewise.
16089 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16090 (glibc iconv Implementation): Likewise.
16091
638a572e
JM
160922012-07-09 Joseph Myers <joseph@codesourcery.com>
16093
16094 [BZ #14337]
16095 * math/s_clog.c (__clog): Avoid scaling a value down where that
16096 could result in underflow.
16097 * math/s_clog10.c (__clog10): Likewise.
16098 * math/s_clog10f.c (__clog10f): Likewise.
16099 * math/s_clog10l.c (__clog10l): Likewise.
16100 * math/s_clogf.c (__clogf): Likewise.
16101 * math/s_clogl.c (__clogl): Likewise.
16102 * math/libm-test.inc (clog_test): Add more tests.
16103 (clog10_test): Likewise.
16104 * sysdeps/i386/fpu/libm-test-ulps: Update.
16105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16106
261f4859
AS
161072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16108
0abaf3e4
AS
16109 [BZ #14283]
16110 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16111 by 7 not 8 to examine high bit of fractional part.
16112
261f4859
AS
16113 [BZ #14042]
16114 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16115 for call to __mcount_internal.
16116 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16117 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16118 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16119
f17ac40d
JM
161202012-07-06 Joseph Myers <joseph@codesourcery.com>
16121
9ad63c23
JM
16122 [BZ #14154]
16123 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16124 approximation for values within 0x1p-13f of an odd multiple of
16125 pi/4.
16126 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16127 exception. Add more tests.
16128 * sysdeps/i386/fpu/libm-test-ulps: Update.
16129
f17ac40d
JM
16130 [BZ #6778]
16131 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16132 inputs and return -1 for them. Do not check for +Inf in case not
16133 reachable for +Inf.
16134 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16135 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16136 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16137 and return -1 for them. Do not check for +Inf in case not
16138 reachable for +Inf.
16139 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16140 define.
16141 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16142 and return -1 for them. Do not check for +Inf in case not
16143 reachable for +Inf.
16144 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16145 spurious underflow.
16146 * sysdeps/i386/fpu/libm-test-ulps: Update.
16147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16148
fb21f89b
MF
161492012-07-06 Mike Frysinger <vapier@gentoo.org>
16150
16151 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16152
cdfe2c5e
JM
161532012-07-05 Joseph Myers <joseph@codesourcery.com>
16154
16155 [BZ #14157]
16156 [BZ #14331]
16157 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16158 could result in spurious underflow. Scale down values above
16159 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16160 * math/s_csqrtf.c (__csqrtf): Likewise.
16161 * math/s_csqrtl.c (__csqrtl): Likewise.
16162 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16163 spurious underflow.
16164 * sysdeps/i386/fpu/libm-test-ulps: Update.
16165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16166
70d35b67
AS
161672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16168
704bc459
AS
16169 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16170 xopen-msg.sed.
16171 * catgets/xopen-msg.awk: New file.
16172 * catgets/xopen-msg.sed: Removed.
16173
70d35b67
AS
16174 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16175 po2text.sed.
16176 * intl/po2test.awk: New file.
16177 * intl/po2test.sed: Removed.
16178
ca61cf32
JM
161792012-07-04 Joseph Myers <joseph@codesourcery.com>
16180
16181 [BZ #14328]
16182 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16183 or multiply small sinh result by itself.
16184 * math/s_ctanf.c (__ctanf): Likewise.
16185 * math/s_ctanh.c (__ctanh): Likewise.
16186 * math/s_ctanhf.c (__ctanhf): Likewise.
16187 * math/s_ctanhl.c (__ctanhl): Likewise.
16188 * math/s_ctanl.c (__ctanl): Likewise.
16189 * math/libm-test.inc (ctan_test_tonearest): New function.
16190 (ctan_test_towardzero): Likewise.
16191 (ctan_test_downward): Likewise.
16192 (ctan_test_upward): Likewise.
16193 (ctanh_test_tonearest): Likewise.
16194 (ctanh_test_towardzero): Likewise.
16195 (ctanh_test_downward): Likewise.
16196 (ctanh_test_upward): Likewise.
16197 (main): Call these new functions.
16198 * sysdeps/i386/fpu/libm-test-ulps: Update.
16199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16200
ca48a46a
MF
162012012-07-03 Mike Frysinger <vapier@gentoo.org>
16202
16203 * .gitignore: Delete /ports entry.
16204
9d63d37d
AJ
162052012-07-03 Andreas Jaeger <aj@suse.de>
16206
16207 * po/bg.po: Update from translation team.
16208 * po/cs.po: Likewise.
16209 * po/de.po: Likewise.
16210 * po/hr.po: Likewise.
16211 * po/nl.pl: Likewise.
16212 * po/pl.po: Likewise.
16213 * po/vi.po: Likewise.
16214
370ca3d2
JM
162152012-07-03 Joseph Myers <joseph@codesourcery.com>
16216
95f5a9a8
JM
16217 * Makeconfig [!+link] (+link-before-libc): New variable.
16218 [!+link] (+link-after-libc): Likewise.
16219 [!+link] (+link-tests): Likewise.
16220 [!+link] (+link): Define in terms of $(+link-before-libc) and
16221 $(+link-after-libc).
16222 [!+link-static] (+link-static-before-libc): New variable.
16223 [!+link-static] (+link-static-after-libc): Likewise.
16224 [!+link-static] (+link-static-tests): Likewise.
16225 [!+link-static] (+link-static): Define in terms of
16226 $(+link-static-before-libc) and $(+link-static-after-libc).
16227 [build-shared] (link-libc-before-gnulib): New variable.
16228 [build-shared] (link-libc-tests): Likewise.
16229 [build-shared] (link-libc): Define in terms of
16230 $(link-libc-before-gnulib).
16231 [!build-shared] (link-libc-tests): New variable.
16232 (link-libc-static-tests): New variable.
16233 [!gnulib] (gnulib-arch): New variable.
16234 [!gnulib] (gnulib-tests): Likewise.
16235 [!gnulib] (static-gnulib-arch): Likewise.
16236 [!gnulib] (static-gnulib-tests): Likewise.
16237 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16238 Define with "=" instead of ":=".
16239 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16240 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16241 * Rules (binaries-all-notests): New variable.
16242 (binaries-all-tests): Likewise.
16243 (binaries-static-notests): Likewise.
16244 (binaries-static-tests): Likewise.
16245 (binaries-all): Define using $(binaries-all-notests) and
16246 $(binaries-all-tests).
16247 (binaries-static): Define using $(binaries-static-notests) and
16248 $(binaries-static-tests).
16249 (binaries-shared-tests): New variable.
16250 (binaries-shared-notests): Likewise.
16251 (binaries-shared): Remove variable.
16252 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16253 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16254 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16255 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16256 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16257 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16258 * elf/Makefile (sln-modules): New variable.
16259 (extra-objs): Add $(sln-modules:=.o).
16260 (ldconfig-modules): Add static-stubs.
16261 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16262 * elf/static-stubs.c: New file.
16263
7a845b2c
JM
16264 [BZ #14283]
16265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16266 by 7 not 8 to examine high bit of fractional part. Use volatile
16267 variables when splitting into final array of floats if
16268 __FLT_EVAL_METHOD__ != 0.
16269 * math/libm-test.inc (cos_test): Add another test.
16270 (sin_test): Likewise.
16271 * sysdeps/i386/fpu/libm-test-ulps: Update.
16272
e2283f38
JM
16273 [BZ #14273]
16274 * math/libm-test.inc (cosh_test): Add more tests.
16275
370ca3d2
JM
16276 * version.h (RELEASE): Set to "development".
16277 (VERSION): Set to "2.16.90".
16278
ee9247c3
CD
162792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16280
16281 * NEWS: Update copyright. Remove last-updated date.
16282 Mention math library bug fixes and timezone data changes.
16283 * README: Mention GNU/Hurd, x32, and HPPA support status.
16284
4648c381
TS
162852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16286
16287 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16288
aac78a43
AJ
162892012-06-27 Andreas Jaeger <aj@suse.de>
16290
16291 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16292
ed3dbfad
AJ
162932012-06-25 Andreas Jaeger <aj@suse.de>
16294
16295 * sysdeps/s390/fpu/libm-test-ulps: Update.
16296
4d0ee855
AS
162972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16298 Thomas Schwinge <thomas@codesourcery.com>
16299
16300 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16301 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16303 fanotify_mark.
16304
af1bce34
TS
163052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16306
a9fa33ba
TS
16307 * sysdeps/mach/start.c: Remove file.
16308 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16309 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16310 * sysdeps/sh/init-first.c: Likewise.
16311
58f902b8
TS
16312 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16313 registers for frame unwinding purposes, add CFI directives.
16314 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16315 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16316 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16317 Likewise.
16318
1518f58b
TS
16319 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16320 __fortify_fail returning.
16321 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16322
db9b5059
TS
16323 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16324 sysdeps/sh/____longjmp_chk.S.
16325 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16326 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16327 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16328 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16329
967705fe
TS
16330 * sysdeps/sh/abort-instr.h: New file.
16331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16332 process in case exit returns.
16333
a9def8c4
TS
16334 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16335 initialize the GOT register before use.
16336
2a649725
TS
16337 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16338 calculation of ARGC > 4.
16339
af1bce34
TS
16340 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16341 meaningful names to some local labels.
16342
d230f50a
KK
163432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16344 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16345
16346 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16347 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16348 (__arch_compare_and_exchange_val_16_acq): Likewise.
16349 (__arch_compare_and_exchange_val_32_acq): Likewise.
16350 (atomic_exchange_and_add): Fix gUSA sequence.
16351 (atomic_add): Likewise.
16352 (atomic_add_negative): Likewise.
16353 (atomic_add_zero): Likewise.
16354 (atomic_bit_test_set): Likewise.
16355
0479b305
AS
163562012-06-22 Andreas Schwab <schwab@redhat.com>
16357
16358 [BZ #13579]
16359 * include/link.h (struct link_map): Add l_free_initfini.
16360 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16361 l_initfini.
16362 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16363 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16364 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16365 set.
16366
0e3933b9
CD
163672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16368
16369 * configure.in: Use AC_LANG_SOURCE.
16370 * configure: Regenerate.
16371
4248b1b1
RM
163722012-06-22 Roland McGrath <roland@hack.frob.com>
16373
16374 * configure.in (libc_cv_localstatedir): New substituted variable.
16375 * configure: Regenerated.
16376 * config.make.in (localstatedir): New variable, substituted from
16377 libc_cv_localstatedir.
16378 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16379 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16380 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16381 * sysdeps/gnu/configure: Regenerated.
16382
006dd861
JL
163832012-06-21 Jeff Law <law@redhat.com>
16384
16385 [BZ #14277]
16386 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16387 free. Simplify list management for _LIBC case.
16388
79662d42
JM
163892012-06-21 Joseph Myers <joseph@codesourcery.com>
16390
b7abb4bf
JM
16391 [BZ #14273]
16392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16393 Clear sign bit of 64-bit integer value before comparing against
16394 overflow value.
16395
79662d42
JM
16396 * sysdeps/mach/configure: Regenerated.
16397
1f150908
L
163982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 [BZ #14278]
16401 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16402
28363bbf
JL
164032012-06-21 Jeff Law <law@redhat.com>
16404
16405 [BZ #13882]
16406 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16407 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16409 * elf/dl-open.c (dl_open_worker): Likewise.
16410
09615db4
CD
164112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16412
16413 * scripts/list-sources.sh: Scan PORTS for translations.
16414 * po/libc.pot: Regenerated.
16415
2174c6dd
AJ
164162012-06-21 Andreas Jaeger <aj@suse.de>
16417
16418 [BZ #12194]
16419 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16420 warning.
16421 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16422 * bits/byteswap-16.h (__bswap_16): Likewise.
16423 * bits/byteswap.h (__bswap_constant_16): Likewise.
16424
3ee947b1
L
164252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16426
16427 [BZ #14117]
a2f34833
L
16428 * sysdeps/i386/fpu_control.h: Removed.
16429 * sysdeps/x86_64/fpu_control.h: Moved to ...
16430 * sysdeps/x86/fpu_control.h: Here.
16431
3ee947b1
L
16432 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16433 (_FPU_SETCW): Likewise.
16434
ed1825f8
L
164352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16436
25f1282a
L
16437 [BZ #14117]
16438 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16439 * sysdeps/x86/fpu/bits/mathinline.h: This.
16440 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16441
ed1825f8
L
16442 [BZ #14050]
16443 [BZ #14117]
16444 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16445 functions if __x86_64__ is defined.
16446
36d54b74
CLT
164472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16448
16449 * string/endian.h: Add !__ASSEMBLER__ condition for including
16450 conversion interfaces.
16451
10285c21
JM
164522012-06-15 Joseph Myers <joseph@codesourcery.com>
16453
16454 [BZ #14241]
16455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16456 of ABS(x) in calculating zero to negative powers other than odd
16457 integers.
16458 * math/libm-test.inc (pow_test): Add more tests.
16459
06c5abbd
AJ
164602012-06-15 Andreas Jaeger <aj@suse.de>
16461
16462 * manual/contrib.texi (Contributors): Update entry of Liubov
16463 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16464 Machado Filho.
16465
a3aeac40
CH
164662012-06-15 Cyril Hrubis <metan@ucw.cz>
16467
16468 * string/string.h: Add __wur to GNU version of strerror_r.
16469
49bdf4c1
L
164702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16471
16472 [BZ #14229]
16473 * string/Makefile (tests): Add tst-strtok_r.
16474 * string/tst-strtok_r.c: New file.
16475 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16476 RAX_LP/RDX_LP on SAVE_PTR.
16477
834f9b8d
RM
164782012-06-14 Roland McGrath <roland@hack.frob.com>
16479
16480 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16481
75fa1921
JM
164822012-06-14 Joseph Myers <joseph@codesourcery.com>
16483
16484 * libm_test.inc (csqrt_test): Allow more spurious underflow
16485 exceptions.
16486 (j0_test): Likewise.
16487 (j1_test): Likewise.
16488 (y0_test): Likewise.
16489 (y1_test): Likewise.
16490
771766df
CD
164912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16492
16493 * po/Makefile (libc.pot): Use UTF-8 charset.
16494
ceb9e56b
PP
164952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16496
16497 [BZ #14210]
16498 Suppress sign-conversion warning from FD_SET.
16499 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16500 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16501 not unsigned long int.
16502 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16503
ddb28975
L
165042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16505
16506 [BZ #14050]
16507 [BZ #14117]
16508 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16509 __extern_always_inline instead of __extern_inline.
16510 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16511 (__signbit): Likewise.
16512 (__signbitl): Support C++ namespace.
16513 (lrintf): New inline function.
16514 (lrint): Likewise.
16515 (llrintf): Likewise.
16516 (llrint): Likewise.
16517 (fmaxf): Likewise.
16518 (fmax): Likewise.
16519 (fminf): Likewise.
16520 (fmin): Likewise.
16521 (rint): Likewise.
16522 (rintf): Likewise.
16523 (ceil): Likewise.
16524 (ceilf): Likewise.
16525 (floor): Likewise.
16526 (floorf): Likewise.
16527 (nearbyint): Likewise.
16528 (nearbyintf): Likewise.
16529
d7b4fb26
TS
165302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16531
16532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16533 non-default versions.
16534
eb55f5c2
RM
165352012-06-11 Roland McGrath <roland@hack.frob.com>
16536
16537 [BZ #14218]
16538 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16539
366af02c
TS
165402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16541
99ff6e5c
TS
16542 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16543 (FE_UPWARD, FE_DOWNWARD): Don't define.
16544 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16545 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16546
366af02c
TS
16547 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16548 reading it.
16549 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16551
793ea851
KK
165522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16553
16554 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16556 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16557 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16558
a728a38f
L
165592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16560
16561 [BZ #14117]
c08010c7
L
16562 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16563 * sysdeps/i386/fpu/Implies: New file.
16564 * sysdeps/x86_64/fpu/Implies: Likewise.
16565 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16566 * sysdeps/x86/fpu/bits/fenv.h: This.
16567
a728a38f
L
16568 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16569 __SSE_MATH__.
16570
6e230d11
SP
165712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16572
16573 [BZ #14134]
16574 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16575 character 0xffff that matches the last element of the
16576 conversion table.
16577
1b671feb
AZ
165782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16579
16580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16581 fmodl commit.
16582
6043738b
AZ
165832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16584
16585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16586 values higher than 25.6283.
16587
34ae0b32
AZ
165882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16589
16590 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16591 subnormal exponent extraction and add some __builtin_expect.
16592 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16593 Fix for subnormal mantissa calculation.
16594
1214ec8f
MF
165952012-06-04 Mike Frysinger <vapier@gentoo.org>
16596
16597 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16598 cpu2 is -1 and errno is not ENOSYS.
16599
f3d1f93c
L
166002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16601
16602 [BZ #14117]
0e4a3cd7
L
16603 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16604 * sysdeps/x86/bits/string.h: This.
16605 * sysdeps/x86_64/bits/string.h: Removed.
16606
6704c645
L
16607 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16608 if not compiling for x86-64, but compiling for >= i486.
16609
48495318
L
16610 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16611 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16612
14adcbfc
L
16613 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16614 New macro from Linux kernel 3.4.0.
16615 (FP_XSTATE_MAGIC2): Likewise.
16616 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16617 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16618 (struct _fpx_sw_bytes): New struct.
16619 (struct _xsave_hdr): Likewise.
16620 (struct _ymmh_state): Likewise.
16621 (struct _xstate): Likewise.
16622
68e408ab
L
16623 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16624 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16625 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16626 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16627 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16628 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16629
f3d1f93c
L
16630 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16631 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16632 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16633 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16634 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16635 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16636
d9dc34cd
TMQMF
166372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16638
16639 [BZ #13743]
16640 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16641 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16642 (sysdep_headers): Include sys/platform/ppc.h.
16643 * sysdeps/powerpc/test-gettimebase.c: Test for
16644 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16645 * manual/Makefile (appendices): Include platform.texi.
16646 * manual/contrib.texi (Contributors): Update @node pointers.
16647 * manual/maint.texi (Maintenance): Likewise.
16648 (Platform): New node.
16649 * manual/platform.texi: New file. Document the new features.
16650
4af3879c
SP
166512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16652 Jakub Jelinek <jakub@redhat.com>
16653
16654 [BZ #14188]
16655 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16656 where __builtin_expect is unavailable.
16657
2fd6ff13
DM
166582012-06-03 David S. Miller <davem@davemloft.net>
16659
16660 * stdlib/longlong.h: Updated from GCC.
16661
173f7220
AS
166622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16663
16664 [BZ #14042]
16665 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16666 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16667 __mcount_internal.
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16669 (GLIBC_2.16): Likewise.
16670
f34a1c6f
L
166712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16674
88a4576f
JM
166752012-06-01 Joseph Myers <joseph@codesourcery.com>
16676
ea32bcdd
JM
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16678 (default-abi): New variable.
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16680 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16681 variable.
16682 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16683 Likewise.
16684 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16685 Likewise.
16686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16687 Likewise.
16688
88a4576f
JM
16689 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16690 definition. Document in comment.
16691
402fe938
DM
166922012-06-01 David S. Miller <davem@davemloft.net>
16693
16694 * stdlib/longlong.h: Updated from GCC.
16695
3553723f
L
166962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16697
16698 [BZ #14117]
3bd872c4
L
16699 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16700 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16701 sys/debugreg.h sys/io.h here.
16702 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16703 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16704 sys/io.h.
16705 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16706 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16707 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16708 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16709 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16710 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16711
3553723f
L
16712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16713 Define only if __x86_64__ is defined.
16714
4842e4fe
JM
167152012-06-01 Joseph Myers <joseph@codesourcery.com>
16716
c5bfe3d5
JM
16717 [BZ #14048]
16718 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16719 Use int64_t for variable i.
16720 * math/libm-test.inc (fmod_test): Add more tests.
16721
4842e4fe
JM
16722 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16723 z computation is not scheduled after fetestexcept.
16724 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16725 Use math_force_eval instead of asm to ensure calculation scheduled
16726 before exception test.
16727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16728 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16729
efb73488
AJ
167302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16731
16732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16733 computation is not scheduled after fetestexcept.
16734
29bcce7c
L
167352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16736
16737 [BZ #14117]
16738 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16739 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16740
73a68f94
AZ
167412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16742
16743 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16744 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16745
67b6df78
L
167462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16747
edf2933a 16748 [BZ #14117]
ebc64a18
L
16749 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16750 <bits/wordsize.h>.
16751 (__WCHAR_MIN): Support __WORDSIZE == 64.
16752 (__WCHAR_MAX): Likewise.
16753
edf2933a
L
16754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16756
57c6cf40
L
16757 [BZ #14183]
16758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16759 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16760
67b6df78 16761 [BZ #14117]
8eb6281e
L
16762 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16763 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16764
aac639f4
L
16765 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16766 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16767
67b6df78
L
16768 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16769 Defined to 1 if __x86_64__ isn't defined.
16770 (_STAT_VER_LINUX_OLD): New.
16771 (st_atime): Remove duplicate.
16772 (st_mtime): Likewise.
16773 (st_ctime): Likewise.
16774
1c2cfe81
DM
167752012-05-31 David S. Miller <davem@davemloft.net>
16776
16777 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16778 entries.
16779
5be8418c
AS
167802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16781
e7725326
AS
16782 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16783 gen-libm-test.pl.
16784
5be8418c
AS
16785 [BZ #14132]
16786 * elf/dl-reloc.c: Include <_itoa.h>.
16787 (_dl_reloc_bad_type): Remove use of INTUSE.
16788 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16789 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16790 * stdio-common/psiginfo.c (psiginfo): Likewise.
16791 * stdio-common/psignal.c (psignal): Likewise.
16792 * string/strsignal.c (strsignal): Likewise.
16793 * include/signal.h (_sys_siglist): Declare hidden proto.
16794 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16795 INTVARDEF with libc_hidden_data_def.
16796 * stdio-common/itoa-udigits.c: Likewise.
16797 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16798 (_itoa_lower_digits_internal): Remove declaration.
16799 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16800 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16801 (_sys_sigabbrev_internal): Remove aliases.
16802 (_sys_siglist): Define hidden alias.
16803
507352f1
MT
168042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16805
16806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16807 bits/sysctl.h.
16808
42bbb1c3
L
168092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16810
16811 [BZ #14117]
6bd784b6
L
16812 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16813 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16814
8bca20f0
L
16815 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16816 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16817 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16818 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16819 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16820 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16821
f9e890a9
L
16822 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16823 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16824 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16825
471101a1
L
16826 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16827 with __addr.
16828 (insw): Likewise.
16829 (insl): Likewise.
16830 (outsb): Likewise.
16831 (outsw): Likewise.
16832 (outsl): Likewise.
16833
6451c862
L
16834 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16835 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16836 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16837
a254b8c9
L
16838 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16839 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16842 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16843 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16844
b8dfdd92
L
16845 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16846 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16847
578cd270
L
16848 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16849 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16850
de662f5f
L
16851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16852 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16854
25653439
L
16855 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16856 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16857 to ...
16858 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16859
6bad24a0
L
16860 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16861 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16862 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16863
42bbb1c3
L
16864 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16865 for x86-64.
16866 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16867
2d10d547
JM
168682012-05-31 Joseph Myers <joseph@codesourcery.com>
16869
16870 * math/math.h (M_El): Use two more decimal places.
16871 (M_LOG2El): Likewise.
16872 (M_LOG10El): Likewise.
16873 (M_LN2l): Likewise.
16874 (M_LN10l): Likewise.
16875 (M_PIl): Likewise.
16876 (M_PI_2l): Likewise.
16877 (M_PI_4l): Likewise.
16878 (M_1_PIl): Likewise.
16879 (M_2_PIl): Likewise.
16880 (M_2_SQRTPIl): Likewise.
16881 (M_SQRT2l): Likewise.
16882 (M_SQRT1_2l): Likewise.
16883
f230c29b
DM
168842012-05-31 David S. Miller <davem@davemloft.net>
16885
16886 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16887 values between float registers.
16888 * sysdeps/sparc/sparc64/memset.S: Likewise.
16889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16890
fed806c3
MF
168912012-05-31 Mike Frysinger <vapier@gentoo.org>
16892
16893 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16894 -D_FORTIFY_SOURCE=1.
16895 (CPPFLAGS-tst-longjmp_chk.c): Define.
16896 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16897 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16898 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16899 CFLAGS-tst-wchar-h.c.
16900
30917259
MP
169012012-05-31 Marek Polacek <polacek@redhat.com>
16902
16903 [BZ #14132]
16904 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16905 __endmntent_internal): Remove declaration.
16906 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16907 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16908 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16909
1c58d5dc
DM
169102012-05-30 David S. Miller <davem@davemloft.net>
16911
16912 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16913 (___Q_simulate_exceptions): Use real FP ops rather than writing
16914 into the %fsr.
16915 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16916 Likewise.
16917
7dc00e0d
L
169182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 [BZ #14117]
0bd53985
L
16921 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16922 * sysdeps/x86/bits/xtitypes.h: This.
16923
3a257e66
L
16924 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16925 * sysdeps/x86/bits/wordsize.h: This.
16926
62f62904
L
16927 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16928 * sysdeps/x86/bits/huge_vall.h: This.
16929
404fe9d9
L
16930 * sysdeps/i386/bits/select.h: Removed.
16931 * sysdeps/x86_64/bits/select.h: Renamed to ...
16932 * sysdeps/x86/bits/select.h: This.
16933
d48d0446
L
16934 * sysdeps/i386/bits/setjmp.h: Removed.
16935 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16936 * sysdeps/x86/bits/setjmp.h: This.
16937
7dc00e0d
L
16938 * sysdeps/i386/bits/mathdef.h: Removed.
16939 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16940 * sysdeps/x86/bits/mathdef.h: This.
16941
03277f8f
AS
169422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16943
16944 [BZ #14132]
16945 * include/sys/socket.h (__connect_internal)
16946 (__libc_sa_len_internal): Remove declaration.
16947 (__connect, __libc_sa_len): Declare hidden_proto.
16948 (SA_LEN): Remove use of INTUSE.
16949 * socket/connect.c: Add libc_hidden_def.
16950 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16951 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16952 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16953 alias.
16954 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16955 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16956 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16957 of adding _internal alias.
16958
13764867
L
169592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16960
16961 [BZ #14117]
6bd97696
L
16962 * sysdeps/i386/bits/link.h: Removed.
16963 * sysdeps/i386/bits/linkmap.h: Likewise.
16964 * sysdeps/x86_64/bits/link.h: Renamed to ...
16965 * sysdeps/x86/bits/link.h: This.
16966 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16967 * sysdeps/x86/bits/linkmap.h: This.
16968
f726f0bb
L
16969 * sysdeps/i386/bits/endian.h: Removed.
16970 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16971 * sysdeps/x86/bits/endian.h: This.
16972
13764867
L
16973 * sysdeps/i386/bits/byteswap.h: Removed.
16974 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16975 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16976 * sysdeps/x86/bits/byteswap.h: This.
16977 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16978 * sysdeps/x86/bits/byteswap-16.h: This.
16979 * sysdeps/i386/Implies: Add x86.
16980 * sysdeps/x86_64/Implies: Likewise.
16981
ae251b0b
DM
169822012-05-30 David S. Miller <davem@davemloft.net>
16983
16984 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16985 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16986 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16987 (FP_TRAPPING_EXCEPTIONS): Define.
16988 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16989 (FP_TRAPPING_EXCEPTIONS): Define.
16990 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16991 subnormals only when inexact has been signalled or underflow
16992 exceptions are enabled.
16993 (_FP_PACK_CANONICAL): Likewise.
16994
d5c90867
L
169952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16996
16997 [BZ #14183]
16998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16999 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17000
63f1549e
RH
170012012-05-30 Richard Henderson <rth@twiddle.net>
17002
8d8f2279
RH
17003 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17004 with #ifndef NOT_IN_libc.
17005
63f1549e
RH
17006 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17007 marked to avoid plt entry.
17008
0ab0291b
L
170092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17010
17011 [BZ #14112]
17012 * Makeconfig (default-abi): New macro.
17013 (abi-includes): Likewise.
17014 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17015 $(abi-$(default-abi)-lib-soname) for soname if defined.
17016 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17017 abi-variants.
17018 * Makefile (installed-stubs): Likewise.
17019 * include/stubs-biarch.h: Removed.
17020 * scripts/lib-names.awk: Only handle one library at a time.
17021 * scripts/soversions.awk: Remove WORDSIZE support.
17022 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17023 entries.
17024 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17025 Removed.
17026 (syscall-list-default-condition): Likewise.
17027 (syscall-list-default-condition): Likewise.
17028 (syscall-list-includes): Likewise.
17029 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17030 syscall-list-* with abi-*. Handle undefined abi-variants.
17031 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17032 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17033 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17035 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17036 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17037 Removed.
17038 (syscall-list-32-options): Likewise.
17039 (syscall-list-32-condition): Likewise.
17040 (syscall-list-64-options): Likewise.
17041 (syscall-list-64-condition): Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17043 macro.
17044 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17045 Renamed to ...
17046 (abi-*): This.
17047 (abi-64-ld-soname): New macro.
17048 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17049 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17050 Renamed to ...
17051 (abi-*): This.
17052 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17053 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17054
4da0431d
JM
170552012-05-30 Joseph Myers <joseph@codesourcery.com>
17056
3a85279c
JM
17057 * sysdeps/unix/sysv/linux/kernel-features.h
17058 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17059 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17060 include <kernel-features.h>.
17061 [!__NR_ftruncate64]: Remove conditional code.
17062 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17063 [__NR_ftruncate64]: Make code unconditional.
17064 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17065 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17066 include <kernel-features.h>.
17067 [!__NR_ftruncate64]: Remove conditional code.
17068 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17069 [__NR_ftruncate64]: Make code unconditional.
17070 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17072 include <kernel-features.h>.
17073 [!__NR_ftruncate64]: Remove conditional code.
17074 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17075 [__NR_ftruncate64]: Make code unconditional.
17076 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17078 include <kernel-features.h>.
17079 [!__NR_ftruncate64]: Remove conditional code.
17080 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17081 [__NR_ftruncate64]: Make code unconditional.
17082 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17083
4da0431d
JM
17084 * configure.in (libc_cv_fpie): Weaken to a compile test using
17085 LIBC_TRY_CC_OPTION.
17086 * configure: Regenerated.
17087
11ef492c
AK
170882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17089
17090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17094 Refreshed.
17095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17101 Refreshed.
17102
d66ef399
DM
171032012-05-27 David S. Miller <davem@davemloft.net>
17104
17105 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17106 (___Q_zero): New.
17107 (__Q_simulate_exceptions): Return void. Change to simulate
17108 exceptions by writing into the %fsr.
17109 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17110 (__Qp_handle_exceptions): Likewise.
17111 (numbers): Delete.
17112 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17113 __Qp_handle_exceptions.
17114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17115 __Qp_handle_exceptions.
17116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17117 as unused and give dummy FP_RND_NEAREST initializer.
17118 (FP_INHIBIT_RESULTS): Define.
17119 (___Q_simulate_exceptions): Update declaration.
17120 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17121 formatting.
17122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17123 as unused and give dummy FP_RND_NEAREST initializer.
17124 (__Qp_handle_exceptions): Update declaration.
17125 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17126 formatting.
17127
04fb54b5
TS
171282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17129
17130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17131 the temporary FPU control word.
17132 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17133 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17134 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17135 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17137 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17138 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17140 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17141 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17143
3f99608f
KK
171442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17145
17146 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17147 fields.
17148
65a4de4e
CLT
171492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17150
17151 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17152 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17153 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17154 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17155 Likewise.
17156 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17157 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17158 Likewise.
17159
15749d40
UD
171602012-05-27 Ulrich Drepper <drepper@gmail.com>
17161
17162 * po/h.po: Update from translation team.
17163
25dbcb27
AS
171642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17165
3d3f8e55
AS
17166 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17167
25dbcb27
AS
17168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17169 handling of denormals.
17170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17171 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17172 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17173 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17177 Likewise.
17178
7ad47a80 171792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17180
17181 [BZ #14152]
17182 * math/libm-test.inc (fma_test): Don't always expect underflow
17183 exception.
17184
9c6ea9fa
SP
171852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17186
17187 [BZ #12416]
17188 * elf/tst-execstack.c: Include stackinfo.h.
17189 (do_test): Adjust test case to ensure that pthread_getattr_np
17190 behaviour remains the same after marking stack executable.
17191
a8239222
JM
171922012-05-25 Joseph Myers <joseph@codesourcery.com>
17193
17194 * sysdeps/unix/sysv/linux/kernel-features.h
17195 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17196 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17197 kernel-features.h.
17198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17200 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17201 kernel-features.h.
17202 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17203 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17204
918b5606
L
172052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17206
17207 * configure.in: Define the default includes to being none.
17208 * configure: Regenerated.
17209
3a097cc7
RM
172102012-05-25 Roland McGrath <roland@hack.frob.com>
17211
8422c9a5
RM
17212 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17213 * sysdeps/x86_64/setjmp.S: Likewise.
17214 * sysdeps/i386/bsd-setjmp.S: Likewise.
17215 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17216 * sysdeps/i386/setjmp.S: Likewise.
17217 * sysdeps/i386/__longjmp.S: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17220
3a097cc7
RM
17221 * include/stap-probe.h: New file.
17222 * configure.in: Handle --enable-systemtap.
17223 * configure: Regenerated.
17224 * config.h.in (USE_STAP_PROBE): New #undef.
17225 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17226 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17227 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17228
21708942
JM
172292012-05-25 Joseph Myers <joseph@codesourcery.com>
17230
17231 [BZ #13717]
17232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17233 to 2.4.0 where earlier.
17234 * sysdeps/unix/sysv/linux/configure: Regenerated.
17235 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17236 <kernel-features.h>.
17237 [__ASSUME_32BITUIDS]: Make code unconditional.
17238 [!__ASSUME_32BITUIDS]: Remove conditional code.
17239 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17240 <kernel-features.h>.
17241 [__ASSUME_32BITUIDS]: Make code unconditional.
17242 [!__ASSUME_32BITUIDS]: Remove conditional code.
17243 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17244 [__ASSUME_32BITUIDS]: Make code unconditional.
17245 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17246 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17247 <kernel-features.h>.
17248 [__ASSUME_32BITUIDS]: Make code unconditional.
17249 [!__ASSUME_32BITUIDS]: Remove conditional code.
17250 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17251 <kernel-features.h>.
17252 [__ASSUME_32BITUIDS]: Make code unconditional.
17253 [!__ASSUME_32BITUIDS]: Remove conditional code.
17254 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17255 <kernel-features.h>.
17256 [__ASSUME_32BITUIDS]: Make code unconditional.
17257 [!__ASSUME_32BITUIDS]: Remove conditional code.
17258 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17259 <kernel-features.h>.
17260 [__ASSUME_32BITUIDS]: Make code unconditional.
17261 [!__ASSUME_32BITUIDS]: Remove conditional code.
17262 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17263 <kernel-features.h>.
17264 [__ASSUME_32BITUIDS]: Make code unconditional.
17265 [!__ASSUME_32BITUIDS]: Remove conditional code.
17266 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17267 <kernel-features.h>.
17268 [__ASSUME_32BITUIDS]: Make code unconditional.
17269 [!__ASSUME_32BITUIDS]: Remove conditional code.
17270 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17271 <kernel-features.h>.
17272 [__ASSUME_32BITUIDS]: Make code unconditional.
17273 [!__ASSUME_32BITUIDS]: Remove conditional code.
17274 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17275 <kernel-features.h>.
17276 [__ASSUME_32BITUIDS]: Make code unconditional.
17277 [!__ASSUME_32BITUIDS]: Remove conditional code.
17278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17279 <kernel-features.h>.
17280 [__ASSUME_32BITUIDS]: Make code unconditional.
17281 [!__ASSUME_32BITUIDS]: Remove conditional code.
17282 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17283 <kernel-features.h>.
17284 [__ASSUME_32BITUIDS]: Make code unconditional.
17285 [!__ASSUME_32BITUIDS]: Remove conditional code.
17286 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17287 <kernel-features.h>.
17288 [__NR_setresgid] (__setresgid): Do not declare.
17289 [__ASSUME_32BITUIDS]: Make code unconditional.
17290 [!__ASSUME_32BITUIDS]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17292 <kernel-features.h>.
17293 [__NR_setresuid] (__setresuid): Do not declare.
17294 [__ASSUME_32BITUIDS]: Make code unconditional.
17295 [!__ASSUME_32BITUIDS]: Remove conditional code.
17296 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17297 <kernel-features.h>.
17298 [__ASSUME_32BITUIDS]: Make code unconditional.
17299 [!__ASSUME_32BITUIDS]: Remove conditional code.
17300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17301 <kernel-features.h>.
17302 [__ASSUME_32BITUIDS]: Make code unconditional.
17303 [!__ASSUME_32BITUIDS]: Remove conditional code.
17304 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17305 <kernel-features.h>.
17306 [__ASSUME_32BITUIDS]: Make code unconditional.
17307 [!__ASSUME_32BITUIDS]: Remove conditional code.
17308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17309 <kernel-features.h>.
17310 [__ASSUME_32BITUIDS]: Make code unconditional.
17311 [!__ASSUME_32BITUIDS]: Remove conditional code.
17312 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17313 <kernel-features.h>.
17314 [__ASSUME_32BITUIDS]: Make code unconditional.
17315 [!__ASSUME_32BITUIDS]: Remove conditional code.
17316 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17317 <kernel-features.h>.
17318 [__ASSUME_32BITUIDS]: Make code unconditional.
17319 [!__ASSUME_32BITUIDS]: Remove conditional code.
17320 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17321 <kernel-features.h>.
17322 [__ASSUME_32BITUIDS]: Make code unconditional.
17323 [!__ASSUME_32BITUIDS]: Remove conditional code.
17324 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17325 <kernel-features.h>.
17326 [__ASSUME_32BITUIDS]: Make code unconditional.
17327 [!__ASSUME_32BITUIDS]: Remove conditional code.
17328 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17329 <kernel-features.h>.
17330 [__ASSUME_32BITUIDS]: Make code unconditional.
17331 [!__ASSUME_32BITUIDS]: Remove conditional code.
17332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17333 <kernel-features.h>.
17334 [__ASSUME_32BITUIDS]: Make code unconditional.
17335 [!__ASSUME_32BITUIDS]: Remove conditional code.
17336 * sysdeps/unix/sysv/linux/kernel-features.h
17337 (__ASSUME_SETRESUID_SYSCALL): Remove.
17338 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17339 (__ASSUME_32BITUIDS): Likewise.
17340 (__ASSUME_LDT_WORKS): Likewise.
17341 (__ASSUME_O_DIRECTORY): Likewise.
17342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17343 architecture but not kernel version.
17344 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17345 (__ASSUME_MMAP2_SYSCALL): Likewise.
17346 (__ASSUME_STAT64_SYSCALL): Likewise.
17347 (__ASSUME_IPC64): Likewise.
17348 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17349 <kernel-features.h>.
17350 [__ASSUME_32BITUIDS]: Make code unconditional.
17351 [!__ASSUME_32BITUIDS]: Remove conditional code.
17352 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17353 <kernel-features.h>.
17354 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17355 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17356 132096]: Remove conditional code.
17357 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17358 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17359 <kernel-features.h>.
17360 [__ASSUME_32BITUIDS]: Make code unconditional.
17361 [!__ASSUME_32BITUIDS]: Remove conditional code.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17363 <kernel-features.h>.
17364 [__ASSUME_32BITUIDS]: Make code unconditional.
17365 [!__ASSUME_32BITUIDS]: Remove conditional code.
17366 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17367 <kernel-features.h>.
17368 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17369 unconditional.
17370 (__setresgid): Do not declare.
17371 [__ASSUME_32BITUIDS]: Make code unconditional.
17372 [!__ASSUME_32BITUIDS]: Remove conditional code.
17373 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17374 <kernel-features.h>.
17375 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17376 unconditional.
17377 (__setresuid): Do not declare.
17378 [__ASSUME_32BITUIDS]: Make code unconditional.
17379 [!__ASSUME_32BITUIDS]: Remove conditional code.
17380 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
17385 <kernel-features.h>.
17386 [__ASSUME_32BITUIDS]: Make code unconditional.
17387 [!__ASSUME_32BITUIDS]: Remove conditional code.
17388
a386f1cc
RH
173892012-05-25 Richard Henderson <rth@twiddle.net>
17390
17391 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17392 dl_hwcap to ifunc resolver.
17393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17394 elf_ifunc_invoke.
17395 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17396 dl_hwcap to ifunc resolver.
17397 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17398
b6550497
JM
173992012-05-24 Joseph Myers <joseph@codesourcery.com>
17400
17401 [BZ #14153]
17402 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17403 for |x| <= 2**-26, not 2**-57.
17404 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17405 exception.
17406
b0bc23a1
JL
174072012-05-24 Jeff Law <law@redhat.com>
17408
17409 * stdio-common/Makefile (tests): Add bug25.
17410 * stdio-common/bug25.c: New test.
17411
347c92e9
L
174122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17413
17414 [BZ #13576]
17415 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17416 multiple of MALLOC_ALIGNMENT in size.
17417 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17418
6bcc8b3f
JM
174192012-05-24 Joseph Myers <joseph@codesourcery.com>
17420
17421 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17422 Require >= 256.
17423 (FILENAME_MAX): Use macro-int-constant.
17424 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17425 (_IOFBF): Use macro-int-constant.
17426 (_IOLBF): Likewise.
17427 (_IONBF): Likewise.
17428 (SEEK_CUR): Likewise.
17429 (SEEK_END): Likewise.
17430 (SEEK_SET): Likewise.
17431 (TMP_MAX): Likewise.
17432 (EOF): Use macro-int-constant. Require < 0.
17433 (NULL): Use macro-constant. Require == 0.
17434 (stdin): Require type to be FILE *.
17435 (stdout): Likewise.
17436 (stderr): Likewise.
17437 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17438 macro-int-constant.
17439 (EXIT_SUCCESS): Likewise.
17440 (NULL): Use macro-constant. Require == 0.
17441 (RAND_MAX): Use macro-int-constant.
17442 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17443 [C99-based standards] (strtof): Require function.
17444 [C99-based standards] (strtold): Likewise.
17445 [C99-based standards] (strtoll): Likewise.
17446 [C99-based standards] (strtoull): Likewise.
17447 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17448 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17449 [ISO || ISO99 || ISO11] (math.h): Likewise.
17450 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17451 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17453
d18ea0c5
AS
174542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17455
17456 [BZ #14132]
56d25bb8
AS
17457 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17458 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17459 * intl/dgettext.c (DCGETTEXT): Likewise.
17460 * intl/gettext.c (DCGETTEXT): Likewise.
17461 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17462 * posix/regex_internal.h (gettext): Likewise.
17463 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17464 Remove declaration.
17465 * include/argz.h (__argz_count_internal)
17466 (__argz_stringify_internal): Remove declaration.
17467 (__argz_count, __argz_stringify): Declare hidden proto.
17468 * intl/dcgettext.c: Remove use of INTDEF.
17469 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17470 * string/argz-stringify.c: Likewise.
17471 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17472 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17473 Declare hidden proto.
d18ea0c5
AS
17474 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17475 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17476 Declare hidden proto.
17477 * include/stdio.h (__asprintf_internal): Don't declare.
17478 (__asprintf): Don't define as macro. Declare hidden proto.
17479 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17480 (__fsetlocking): Declare hidden proto.
17481 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17482 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17483 hidden proto.
17484 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17485 (_IO_setlinebuf): Remove use of INTUSE.
17486 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17487 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17488 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17489 Remove declaration.
17490 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17491 (_IO_do_flush): Remove use of INTUSE.
17492 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17493 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17494 (_IO_adjust_column, _IO_least_wmarker)
17495 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17496 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17497 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17498 (_IO_default_doallocate, _IO_wdefault_doallocate)
17499 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17500 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17501 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17502 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17503 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17504 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17505 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17506 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17507 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17508 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17509 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17510 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17511 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17512 proto.
17513 (_IO_flush_all_internal, _IO_adjust_column_internal)
17514 (_IO_default_uflow_internal, _IO_default_finish_internal)
17515 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17516 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17517 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17518 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17519 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17520 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17521 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17522 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17523 (_IO_file_close_internal, _IO_file_close_it_internal)
17524 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17525 (_IO_file_init_internal, _IO_file_attach_internal)
17526 (_IO_file_fopen_internal, _IO_file_read_internal)
17527 (_IO_file_sync_internal, _IO_file_seek_internal)
17528 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17529 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17530 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17531 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17532 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17533 (_IO_list_all_internal, _IO_link_in_internal)
17534 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17535 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17536 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17537 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17538 (_IO_do_write_internal, _IO_padn_internal)
17539 (_IO_getline_info_internal, _IO_getline_internal)
17540 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17541 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17542 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17543 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17544 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17545 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17546 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17547 with libc_hidden_ver, remove use of INTUSE.
17548 * libio/genops.c: Likewise.
17549 * libio/freopen.c: Likewise.
17550 * libio/freopen64.c: Likewise.
17551 * libio/iofclose.c: Likewise.
17552 * libio/iofdopen.c: Likewise.
17553 * libio/iofflush.c: Likewise.
17554 * libio/iofflush_u.c: Likewise.
17555 * libio/iofgets.c: Likewise.
17556 * libio/iofgets_u.c: Likewise.
17557 * libio/iofopen.c: Likewise.
17558 * libio/iofopncook.c: Likewise.
17559 * libio/iofread.c: Likewise.
17560 * libio/iofread_u.c: Likewise.
17561 * libio/ioftell.c: Likewise.
17562 * libio/iofwrite.c: Likewise.
17563 * libio/iogetline.c: Likewise.
17564 * libio/iogets.c: Likewise.
17565 * libio/iogetwline.c: Likewise.
17566 * libio/iopadn.c: Likewise.
17567 * libio/iopopen.c: Likewise.
17568 * libio/ioseekoff.c: Likewise.
17569 * libio/ioseekpos.c: Likewise.
17570 * libio/iosetbuffer.c: Likewise.
17571 * libio/iosetvbuf.c: Likewise.
17572 * libio/ioungetc.c: Likewise.
17573 * libio/ioungetwc.c: Likewise.
17574 * libio/iovdprintf.c: Likewise.
17575 * libio/iovsprintf.c: Likewise.
17576 * libio/iovsscanf.c: Likewise.
17577 * libio/memstream.c: Likewise.
17578 * libio/obprintf.c: Likewise.
17579 * libio/oldfileops.c: Likewise.
17580 * libio/oldiofclose.c: Likewise.
17581 * libio/oldiofdopen.c: Likewise.
17582 * libio/oldiofopen.c: Likewise.
17583 * libio/oldiopopen.c: Likewise.
17584 * libio/oldstdfiles.c: Likewise.
17585 * libio/putc.c: Likewise.
17586 * libio/setbuf.c: Likewise.
17587 * libio/setlinebuf.c: Likewise.
17588 * libio/stdfiles.c: Likewise.
17589 * libio/strops.c: Likewise.
17590 * libio/vasprintf.c: Likewise.
17591 * libio/vscanf.c: Likewise.
17592 * libio/vsnprintf.c: Likewise.
17593 * libio/vswprintf.c: Likewise.
17594 * libio/wfiledoalloc.c: Likewise.
17595 * libio/wfileops.c: Likewise.
17596 * libio/wgenops.c: Likewise.
17597 * libio/wmemstream.c: Likewise.
17598 * libio/wstrops.c: Likewise.
17599 * libio/__fpurge.c: Likewise.
17600 * libio/__fsetlocking.c: Likewise.
17601 * assert/assert.c: Likewise.
17602 * debug/fgets_chk.c: Likewise.
17603 * debug/fgets_u_chk.c: Likewise.
17604 * debug/fread_chk.c: Likewise.
17605 * debug/fread_u_chk.c: Likewise.
17606 * debug/gets_chk.c: Likewise.
17607 * debug/obprintf_chk.c: Likewise.
17608 * debug/vasprintf_chk.c: Likewise.
17609 * debug/vdprintf_chk.c: Likewise.
17610 * debug/vsnprintf_chk.c: Likewise.
17611 * debug/vsprintf_chk.c: Likewise.
17612 * malloc/mtrace.c: Likewise.
17613 * misc/error.c: Likewise.
17614 * misc/syslog.c: Likewise.
17615 * stdio-common/asprintf.c: Likewise.
17616 * stdio-common/fxprintf.c: Likewise.
17617 * stdio-common/getw.c: Likewise.
17618 * stdio-common/isoc99_fscanf.c: Likewise.
17619 * stdio-common/isoc99_scanf.c: Likewise.
17620 * stdio-common/isoc99_vfscanf.c: Likewise.
17621 * stdio-common/isoc99_vscanf.c: Likewise.
17622 * stdio-common/isoc99_vsscanf.c: Likewise.
17623 * stdio-common/printf-prs.c: Likewise.
17624 * stdio-common/printf_fp.c: Likewise.
17625 * stdio-common/printf_fphex.c: Likewise.
17626 * stdio-common/printf_size.c: Likewise.
17627 * stdio-common/putw.c: Likewise.
17628 * stdio-common/scanf.c: Likewise.
17629 * stdio-common/sprintf.c: Likewise.
17630 * stdio-common/tmpfile.c: Likewise.
17631 * stdio-common/vfprintf.c: Likewise.
17632 * stdio-common/vfscanf.c: Likewise.
17633 * stdlib/strfmon_l.c: Likewise.
17634 * sunrpc/openchild.c: Likewise.
17635 * sunrpc/xdr_stdio.c: Likewise.
17636 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17637 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17638
d6c33fda
RM
176392012-05-24 Roland McGrath <roland@hack.frob.com>
17640
c1487492
RM
17641 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17642
17643 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17644 in the third column, to generate for the shared library an IFUNC
17645 that uses _dl_vdso_vsym.
17646 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17647 * Makeconfig (object-suffixes-noshared): New variable.
17648
17649 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17650 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17651 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17652 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17653
d6c33fda
RM
17654 [BZ #14132]
17655 * include/sys/time.h (__gettimeofday): Remove macro.
17656 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17657 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17658 Remove INTDEF.
17659 (__gettimeofday): Add libc_hidden_def.
17660 (gettimeofday): Add libc_hidden_weak.
17661 * sysdeps/mach/gettimeofday.c: Likewise.
17662 * sysdeps/posix/gettimeofday.c: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17664 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17666 (__gettimeofday_internal): Remove strong_alias.
17667 (__gettimeofday): Add libc_hidden_def.
17668 (gettimeofday): Add libc_hidden_weak.
17669 * sysdeps/unix/syscalls.list (gettimeofday):
17670 Remove __gettimeofday_internal alias.
17671
b5a2bbe6
L
176722012-05-24 Daniel Jacobowitz <drow@false.org>
17673 H.J. Lu <hongjiu.lu@intel.com>
17674
17675 [BZ #12495]
17676 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17677 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17678 (largebin_index_32_big): New.
17679 (largebin_index): Use it for 16-byte alignment.
17680 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17681 correction with front_misalign.
17682
cfba4fda
L
176832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17684
7f907421
L
17685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17687 Likewise.
17688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17689 Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17691 Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17693 Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17695 Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17697 Likewise.
17698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17699 Likewise.
17700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17701 Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17703 Likewise.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17705 Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17707 Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17709 Likewise.
17710
cfba4fda
L
17711 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17712 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17713
80bad0cc
JM
177142012-05-24 Joseph Myers <joseph@codesourcery.com>
17715
7a25eb06
JM
17716 [BZ #10846]
17717 [BZ #14036]
17718 * math/libm-test.inc (exp_test): Add test from bug 14036.
17719 (pow_test): Add test from bug 10846.
17720
795405f9
JM
17721 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17722 and other flags.
17723 (special_function): Do not include flags in test name.
17724 (parse_args): Likewise.
17725 * sysdeps/i386/fpu/libm-test-ulps: Update.
17726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17730
80bad0cc
JM
17731 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17732 exceptions.
17733 * math/libm-test.inc ("Philosophy"): Update comment about
17734 exception testing.
17735 (UNDERFLOW_EXCEPTION): New macro.
17736 (UNDERFLOW_EXCEPTION_OK): Likewise.
17737 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17738 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17739 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17740 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17741 (INVALID_EXCEPTION_OK): Update value.
17742 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17743 (OVERFLOW_EXCEPTION_OK): Likewise.
17744 (IGNORE_ZERO_INF_SIGN): Likewise.
17745 (test_exceptions): Handle underflow exceptions.
17746 (acos_test): Update for underflow exception expectations.
17747 (cexp_test): Likewise.
17748 (clog_test): Likewise.
17749 (clog10_test): Likewise.
17750 (csqrt_test): Likewise.
17751 (ctan_test): Likewise.
17752 (ctanh_test): Likewise.
17753 (exp_test): Likewise.
17754 (exp10_test): Likewise.
17755 (exp2_test): Likewise.
17756 (expm1_test): Likewise.
17757 (fma_test): Likewise.
17758 (j0_test): Likewise.
17759 (jn_test): Likewise.
17760 (nexttoward_test): Likewise.
17761 (pow_test): Likewise.
17762 (scalbn_test): Likewise.
17763 (scalbln_test): Likewise.
17764 (tan_test): Likewise.
17765 (y1_test): Likewise.
17766 * sysdeps/i386/fpu/libm-test-ulps: Update.
17767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17768
9e0e3d0b
DM
177692012-05-23 David S. Miller <davem@davemloft.net>
17770
17771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17772 (__libc_sigaction): Remove unused local variables.
17773
ccd0a08f
L
177742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17777
62bdf9a6
PE
177782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17779
f8591f80
PE
17780 mktime: avoid signed integer overflow
17781 * time/mktime.c (__mktime_internal): Do not mishandle the case
17782 where diff == INT_MIN.
17783
94c7d826
PE
17784 mktime: simplify computation of average
17785 * time/mktime.c (ranged_convert): Use new time_t_avg function
17786 instead of rolling our own (probably-slower) code.
17787
ce73d683
PE
17788 mktime: do not assume signed right shift propagates sign bit
17789 * time/mktime.c (isdst_differ): New static function.
17790 (__mktime_internal): No need to normalize tm_isdst now.
17791 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17792 tm_isdst values.
17793
72a22e59
PE
17794 mktime: merge another wrapv change from gnulib
17795 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17796 from some compilers.
17797
68605433
PE
17798 mktime: remove incorrect attempt at unusual arithmetics
17799 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17800 The code didn't really work on such machines anyway.
17801 (TYPE_MINIMUM): Assume two's complement.
17802 (twos_complement_arithmetic): Verify that long_int and time_t
17803 are two's complement (or unsigned, in the latter case).
17804
03cf7fe3
PE
17805 mktime: check signed shifts on long_int and time_t, too
17806 * time/mktime.c (SHR): Check that shifts work as desired
17807 on the types long_int and time_t too, as SHR is used on
17808 such types.
17809
f04dfbc2
PE
17810 mktime: do not assume 'long' is wide enough
17811 * time/mktime.c (verify): Move decl up.
17812 (long_int): New type.
17813 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17814 to remove assumption in the code that 'long' is wide enough to
17815 store year values. This assumption is not true on x32 and on
17816 some non-glibc platforms.
17817
62bdf9a6
PE
17818 mktime: merge wrapv change from gnulib
17819 * time/mktime.c (WRAPV): New macro.
17820 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17821 (guess_time_tm, __mktime_internal): Do not assume that signed
17822 integer overflow wraps around; modern compilers generate code
17823 where this assumption is no longer valid.
17824
5e292e4f
L
178252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17826
17827 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17828 Replace "jmp L(pseudo_end)" with "ret".
17829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17830 Likewise.
17831
8caf8c87
AJ
178322012-05-23 Andreas Jaeger <aj@suse.de>
17833
17834 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17835 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17836
1a09dc56
AJ
178372012-05-23 Andreas Jaeger <aj@suse.de>
17838 Maximilian Attems <max@stro.at>
17839
17840 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17841 New macros.
17842
1c87aba0
L
178432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17846 code so that pseudo_end is just ret and the stack pointer is
17847 correct also for static library in error case.
17848
40e45bd5
JM
178492012-05-23 Joseph Myers <joseph@codesourcery.com>
17850
c2670533
JM
17851 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17852 move to syscalls.list.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17857
40e45bd5
JM
17858 * manual/install.texi (Running make install): Do not mention Linux
17859 kernel version for which pt_chown is not needed.
17860 (Linux): Do not mention problems with nscd with 2.0 kernels.
17861 * INSTALL: Regenerated.
17862
be08eda5
AJ
178632012-05-23 Andreas Jaeger <aj@suse.de>
17864
17865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17866 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17867 macro.
17868 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17870 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17872 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17878 * sysdeps/unix/sysv/linux/bits/in.h
17879 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17880
a6a056bb
RM
178812012-05-22 Roland McGrath <roland@hack.frob.com>
17882
17883 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17884 (PREPARE_VERSION): Just use assert instead, it will be elided
17885 under [NDEBUG] anyway.
17886
c9009328
L
178872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/unix/sysv/linux/Makefile: Include
17890 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17891 (sysdep_routines): Remove sysctl.
c9009328
L
17892 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17893 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17896 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17897
73338355
AJ
178982012-05-22 Andreas Jaeger <aj@suse.de>
17899
17900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17901 that pseudo_end is just ret and the stack pointer is correct also
17902 for static library in error case.
17903
d44638b0
PP
179042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17905
17906 [BZ #14122]
17907 * nss/nsswitch.c (defconfig_entries): New variable.
17908 (__nss_database_lookup): Don't leak defconfig entries.
17909 (nss_parse_service_list): Don't leak on error paths.
17910 (free_database_entries): New function.
17911 (free_defconfig): New function.
17912 (free_mem): Move common code to free_database_entries.
17913
31a39bd8
L
179142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17915
da0331a8
L
17916 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17917 Add arch_prctl.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17919
31a39bd8
L
17920 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17921 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17923 New macro.
17924 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17925 (INTERNAL_SYSCALL_TYPES): Likewise.
17926 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17927 (LOAD_REGS_TYPES_[1-6]): Likewise.
17928 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17929 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17930
45470df3
AZ
179312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
17933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17934 copysignl for GLIBC_2_0.
17935 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17936 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17938 logbl for GLIBC_2_0.
17939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17941
98a61bcb
L
179422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17943
a4f6e481
L
17944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17945 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17946
f63d5db6
L
17947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17948 Use "neg %eax".
17949
98a61bcb
L
17950 * time/mktime.c: Update copyright years.
17951
95770f14
PE
179522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17953
6226efbd
PE
17954 mktime: merge comment-quoting-style change from gnulib
17955 * time/mktime.c: Quote 'like this' in comments.
17956 The GNU coding standards suggest that we no longer quote `like this',
17957 as "`" and "'" are typically rendered asymmetrically nowadays.
17958 The typical gnulib style is to quote 'like this' when quoting
17959 code, and "like this" when quoting English.
17960
b99e4f78
PE
17961 * time/mktime.c (compile-command): Add "-I.".
17962
643e01e6
PE
17963 mktime: merge mktime-internal.h change from gnulib
17964 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17965
2554247d
PE
17966 mktime: merge time_r change from gnulib
17967 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17968
826dd0ab
PE
17969 mktime: merge DEBUG change from gnulib
17970 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17971 case system <time.h> has a #define.
17972
bd83aabe
PE
17973 mktime: merge <sys/types.h> change from gnulib
17974 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17975 since <time.t> is now guaranteed to define time_t.
17976
95770f14
PE
17977 mktime: merge HAVE_CONFIG_H change from gnulib
17978 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17979
5e1a27a9
L
179802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17981
0e44a77e
L
17982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17983 Use "neg %eax".
17984
5e1a27a9
L
17985 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17986 __rlim_t cast.
17987 (struct rusage): Use anonymous union to pad each field to
17988 __syscall_slong_t.
17989
46259bec
DM
179902012-05-21 David S. Miller <davem@davemloft.net>
17991
17992 * Makefules (o-iterator): Remove .s cases.
17993 (compile-command.s): Delete.
17994 (COMPILE.s): Delete.
17995 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17996
59f0c22e
JM
179972012-05-21 Joseph Myers <joseph@codesourcery.com>
17998
17999 * configure.in (libc_cv_predef_stack_protector): Only consider
18000 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18001 * configure: Regenerated.
18002
20c07380
L
180032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18004
bbb3154b
L
18005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18006 New macro. Use R*LP on int and pointer.
18007 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18008 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18009 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18010 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18011
20c07380
L
18012 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18013 [__WORDSIZE_TIME64_COMPAT32] instead of
18014 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18015 (struct utmp): Likewise.
18016 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18017 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18018 Renamed to ...
18019 (__WORDSIZE_TIME64_COMPAT32): This.
18020 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18021 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18022 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18023 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18025 (__WORDSIZE_TIME64_COMPAT32): New macro.
18026
d8d1017e
AJ
180272012-05-21 Andreas Jaeger <aj@suse.de>
18028
18029 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18030 only if [SHARED]. Add prototype for __wcschr_ia32.
18031
6c7fb145
RM
180322012-05-21 Roland McGrath <roland@hack.frob.com>
18033
18034 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18035 of %rbp unmolested in the jmp_buf while mangling the low bits.
18036 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18037 unmolested high bits of %rbp while demangling the low bits.
18038 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18039
66274218
AJ
180402012-05-21 Andreas Jaeger <aj@suse.de>
18041
07c58f8f
AJ
18042 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18043 * sunrpc/svc_simple.c: Use it for registerrpc.
18044 * sunrpc/xcrypt.c: Use it for passwd2des.
18045
66274218
AJ
18046 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18047
61f65140
L
180482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18049
18050 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18051 Don't define if [__SYSCALL_WORDSIZE != 32].
18052 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18053 New macro.
18054
5fefb436
AJ
180552012-05-21 Bruno Haible <bruno@clisp.org>
18056 Andreas Jaeger <aj@suse.de>
18057
18058 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18059 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18060 inptr and inend for must_buffer_ch.
18061 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18062 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18063 * stdio-common/Makefile (tests): Remove bug15.
18064 (bug15-ENV): Remove macro.
18065 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18066 anymore.
18067
d8e272ab
AJ
180682012-05-19 Andreas Jaeger <aj@suse.de>
18069 Roland McGrath <roland@hack.frob.com>
18070
18071 * manual/contrib.texi: Completely rewritten. It contains now an
18072 alphabetical list of contributors and their contributions.
18073
4a56a162
RH
180742012-05-21 Richard Henderson <rth@twiddle.net>
18075
18076 * misc/getauxval.c (__getauxval): Use unsigned long int.
18077 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18078 (getauxval): Use unsigned long int.
18079
d024d23c
L
180802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18081
18082 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18083
cbc00a03
RM
180842012-05-21 Roland McGrath <roland@hack.frob.com>
18085
18086 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18087 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18088 __alignof__ (long double).
18089
478143fa
AZ
180902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18091
18092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18093
c7683a6d
RH
180942012-05-20 Richard Henderson <rth@twiddle.net>
18095
18096 * misc/getauxval.c: New file.
18097 * misc/sys/auxv.h: New file.
18098 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18099 (routines): Add getauxval.
18100 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18101 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18102 * elf/dl-sysdep.c (_dl_auxv): Remove.
18103 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18104 * elf/dl-support.c (_dl_auxv): New variable.
18105 (_dl_aux_init): Initialize it.
18106 * manual/startup.texi (Auxiliary Vector): New node.
18107 * sysdeps/generic/bits/hwcap.h: New file.
18108 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18109 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18110 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18111 * sysdeps/sparc/sysdep.h: ... here. Include it.
18112 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18115 Update.
c7683a6d
RH
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18124
a6f1845d
AZ
181252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126
18127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18128
cbcbe830
DM
181292012-05-19 David S. Miller <davem@davemloft.net>
18130
18131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18132
e0b16cc2
JM
181332012-05-19 Joseph Myers <joseph@codesourcery.com>
18134
18135 [BZ #14123]
18136 * math/s_ccosh.c: Include <float.h>
18137 (__ccosh): Avoid internal overflow calculating sinh and cosh
18138 values before multiplying by sin and cos values.
18139 * math/s_ccoshf.c: Likewise.
18140 * math/s_ccoshl.c: Likewise.
18141 * math/s_csin.c: Likewise.
18142 * math/s_csinf.c: Likewise.
18143 * math/s_csinl.c: Likewise.
18144 * math/s_csinh.c: Likewise.
18145 * math/s_csinhf.c: Likewise.
18146 * math/s_csinhl.c: Likewise.
18147 * math/libm-test.inc (ccos_test): Add more tests.
18148 (ccosh_test): Likewise.
18149 (csin_test): Likewise.
18150 (csinh_test): Likewise.
18151 * sysdeps/i386/fpu/libm-test-ulps: Update.
18152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153
6ad13e08
L
181542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18155
f66f0ce8
L
18156 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18157 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18158
6ad13e08
L
18159 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18160
b1d072a7
JM
181612012-05-19 Joseph Myers <joseph@codesourcery.com>
18162
18163 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18164 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18165 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18166 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18167 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18168 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18169 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18170 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18171 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18172 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18173 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18174 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18175 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18176 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18177 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18178 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18179 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18180 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18181 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18182 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18183 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18184 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18185 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18186 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18187 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18188 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18189 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18190 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18191 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18192 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18193 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18194
9eae47cb
AJ
181952012-05-18 Andreas Jaeger <aj@suse.de>
18196
18197 * csu/.gitignore: Delete.
18198
bb07f69f
L
181992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18200
18201 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18202 (timex): Use __syscall_slong_t.
18203
e6bdb741
AJ
182042012-05-18 Andreas Jaeger <aj@suse.de>
18205 Carlos O'Donell <carlos_odonell@mentor.com>
18206
18207 * manual/install.texi (Configuring and compiling): Update
18208 description about files modified in the source directory.
d6c33fda 18209 * INSTALL: Regenerated.
e6bdb741 18210
1b74487e
L
182112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18212
18213 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18214 value. Use "or" to set return value to -1.
18215 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18216 negate return value.
18217
a88b64b9
TMQMF
182182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18219
18220 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18221 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18222 failure if the compiler has Graphite support disabled.
18223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18224 Likewise.
18225 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18226 CFLAGS-memmove.c): Likewise.
18227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18228 Likewise.
18229
3707636e
L
182302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18231
610b8622
L
18232 * sysdeps/x86_64/x32/_itoa.h: New file.
18233
7cd195df
L
18234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18235 getdents system call only if kernel and user dirents have the
18236 same d_ino and d_off.
18237
94b07d20
L
18238 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18239 LLONG_MAX != LONG_MAX.
18240 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18241 (_fitoa_word): Likewise.
18242
18298070
L
18243 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18244 years.
18245 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18246 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18248
553c7ea4
L
18249 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18250 include <bits/wordsize.h>. Check __x86_64__ instead of
18251 __WORDSIZE.
18252 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18253 if __x86_64__ is defined. Use anonymous union on fpstate.
18254
3707636e
L
18255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18256 anonymous union.
18257
b53ef01a
AS
182582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18259
37fb1dc0
AS
18260 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18261 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18263 Refer to _rtld_local_ro instead of _rtld_global_ro.
18264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18265 Likewise.
18266 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18267 Likewise.
18268 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18269 Likewise.
18270 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18271 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18272 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18273
b53ef01a
AS
18274 * sysdeps/powerpc/powerpc32/dl-machine.c
18275 (__elf_machine_runtime_setup) [PROF]: Don't reference
18276 _dl_prof_resolve.
18277
7a185db2
AJ
182782012-05-18 Andreas Jaeger <aj@suse.de>
18279
18280 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18281 function only available for GCCs before 3.4 since GCC 3.4
18282 introduced a builtin.
18283 (lrint): Likewise.
18284 (llrintf): Likewise.
18285 (llrint): Likewise.
18286 (fmaxf): Likewise.
18287 (fmax): Likewise.
18288 (fminf): Likewise.
18289 (fmin): Likewise.
18290 (rint): Likewise.
18291 (rintf): Likewise.
18292 (nearbyint): Likewise.
18293 (nearbyintf): Likewise.
18294 (ceil): Likewise.
18295 (ceilf): Likewise.
18296 (floor): Likewise.
18297 (floorf): Likewise.
18298
3e5aef87
L
182992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18300
428bd707
L
18301 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18302 on both fields and cast pointer to __syscall_ulong_t.
18303
3e5aef87
L
18304 * bits/types.h (__fsword_t): New type.
18305 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18306 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18308 (__FSWORD_T_TYPE): Likewise.
18309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18310 (__FSWORD_T_TYPE): Likewise.
18311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18312 (__FSWORD_T_TYPE): Likewise.
18313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18314 (__FSWORD_T_TYPE): Likewise.
18315 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18316 __SWORD_TYPE with __fsword_t.
18317 (statfs64): Likewise.
18318
1ba7c3dc
DM
183192012-05-17 David S. Miller <davem@davemloft.net>
18320
18321 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18322
59910343
AJ
183232012-05-17 Andreas Jaeger <aj@suse.de>
18324
18325 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18326 warning.
18327
2e4c1e9e
L
183282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18329
18330 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18331
de7f5ce7
AJ
183322012-05-17 Andreas Jaeger <aj@suse.de>
18333
18334 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18335 when it is used.
18336
286abc3d
CM
183372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18338
18339 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18340
477cc68e
L
183412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18342
18343 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18344 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18345
1a0994f5
CD
183462012-05-17 Andreas Jaeger <aj@suse.de>
18347 Carlos O'Donell <carlos_odonell@mentor.com>
18348
18349 [BZ #14059]
18350 * sysdeps/x86_64/multiarch/init-arch.h
18351 (bit_YMM_Usable): Rename to...
18352 (bit_AVX_Usable): ... this.
18353 (bit_FMA4_Usable): New macro.
18354 (bit_XMM_state): New macro.
18355 (bit_YMM_state): New macro.
18356 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18357 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18358 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18359 (CPUID_OSXSAVE): New macro.
18360 (CPUID_AVX): New macro.
18361 (CPUID_FMA4): New macro.
18362 (index_YMM_Usable): Rename to...
18363 (index_AVX_Usable): ... this.
18364 (HAS_AVX): Use HAS_ARCH_FEATURE.
18365 (HAS_FMA4): Likewise.
18366 (HAS_YMM_USABLE): Remove.
18367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18368 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18369 are present.
18370 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18371 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18372 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18373 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18374 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18375
0af797de
CM
183762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18377
18378 * math/libm-test.c: Support platforms without multiple rounding modes.
18379 * math/bug-nextafter.c: Support platforms without FP exceptions.
18380 * math/bug-nexttoward.c: Likewise.
18381 * math/test-fenv.c: Likewise.
18382 * math/test-misc.c: Likewise.
18383 * stdlib/bug-getcontext.c: Likewise.
18384
e39745ff
AJ
183852012-05-17 Andreas Jaeger <aj@suse.de>
18386
18387 * manual/examples/search.c (critter_cmp): Change signature to
18388 avoid warnings.
18389 * manual/string.texi (Collation Functions): Likewise.
18390
48970aba
L
183912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18392
18393 * bits/types.h: Fold copyright years.
18394 * bits/typesizes.h: Likewise.
18395 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18399 * time/time.h: Likewise.
18400
bedee953
PP
184012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18402
18403 [BZ #208]
18404 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18405 in instead of returning them. Return void.
18406 (__libc_mallinfo): Accumulate over all arenas.
18407 (__malloc_stats): Adjust for change in int_mallinfo interface.
18408
61653dfb
RM
184092012-05-16 Roland McGrath <roland@hack.frob.com>
18410
30b99d79
RM
18411 [BZ #10375]
18412 * configure.in (NM): Add AC_CHECK_TOOL for it.
18413 (libc_extra_cflags): New substituted variable.
18414 Check for -fstack-protector being used implicitly.
18415 * configure: Regenerated.
18416 * config.make.in (config-extra-cflags): New variable,
18417 gets @libc_extra_cflags@.
18418 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18419
61653dfb
RM
18420 [BZ #10375]
18421 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18422 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18423 * configure: Regenerated.
18424 * config.make.in (CPPUNDEFS): New substituted variable.
18425 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18426 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18427 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18428
661768bb
L
184292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18430
18431 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18432 (mq_attr): Use __syscall_slong_t.
18433
d4261567
L
184342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18435
18436 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18437 Check __x86_64__ instead of __WORDSIZE.
18438 (_STAT_VER_LINUX): Likewise.
18439 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18440 __syscall_ulong_t and __syscall_slong_t.
18441 (stat64): Likewise.
18442
cf3ff365
L
184432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18446
76cf3e4d
L
184472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18450
a637753a
L
184512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18452
18453 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18454 __syscall_ulong_t.
18455
d5e05119
L
18456 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18457 include <bits/wordsize.h>. Check __x86_64__ instead of
18458 __WORDSIZE.
18459 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18460 defined.
18461 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18462
f62ee380
L
18463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18464 include <bits/wordsize.h>. Check __x86_64__ instead of
18465 __WORDSIZE.
18466 (user_regs_struct): Use "__extension__ unsigned long long"
18467 instead of "unsigned long" if __x86_64__ is defined.
18468 (user): Likewise. Pad after pointer field if __ILP32__ is
18469 defined.
18470
4e124ced
JM
184712012-05-16 Joseph Myers <joseph@codesourcery.com>
18472
6a3951a0
JM
18473 * configure.in (makeinfo): Require version 4.5 or later. Allow
18474 versions 5 to 9.
18475 * configure: Regenerated.
18476 * manual/install.texi (texinfo): Increase version requirement to
18477 4.5 or later.
18478 * INSTALL: Regenerated.
18479
4e124ced
JM
18480 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18481
953ca31a
L
184822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18483
18484 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18485
617aca05
L
18486 * sysdeps/x86_64/x32/ffs.c: New file.
18487
5762f7ae
L
18488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18489 __syscall_ulong_t.
18490 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18491 defined. Use __syscall_ulong_t.
18492 (shminfo): Use __syscall_ulong_t.
18493 (shm_info): Likewise.
18494
a26b6856
L
18495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18496 __syscall_ulong_t.
18497
cb2b9ef7
L
18498 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18499 <bits/wordsize.h>.
18500 (msgqnum_t): Use __syscall_ulong_t.
18501 (msglen_t): Likewise.
18502 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18503 __syscall_ulong_t.
18504
34683bb0
L
18505 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18507
84a68786
L
18508 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18509
48baa5f1
L
18510 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18511 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18512
180be88b
L
18513 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18514 __syscall_slong_t.
18515
5e90c8ad
L
18516 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18517 include <bits/wordsize.h>. Check __x86_64__ instead of
18518 __WORDSIZE.
18519
23dfb58b
L
18520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18521 "unsigned long long int" if __x86_64__ is defined.
18522 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18523
ce5d54b0
L
18524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18526 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18527
13dc9eac
L
18528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18529 <stdint.h>.
18530 (GET_PC): Cast to uintptr_t first.
18531 (GET_FRAME): Likewise.
18532 (GET_STACK): Likewise.
18533
a7895d15
L
18534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18535 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18536 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18539 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18541 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18544 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18562 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18563
656416c9
AS
185642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18565
5bd66283
AS
18566 * Makerules (+depfiles): Also collect depfiles from .oS in
18567 $(extra-objs).
18568 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18569 .oS, $(libnldbl-routines)).
18570
656416c9
AS
18571 * Makerules (native-compile-mkdep-flags): Define.
18572 * sunrpc/Makefile (extra-objs): Add $(addprefix
18573 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18574 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18575 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18576 calling $(make-target-directory).
18577
a46f2169
L
185782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 * bits/types.h (__snseconds_t): Removed.
18581 * time/time.h (struct timespec): Replace __snseconds_t with
18582 __syscall_slong_t.
18583 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18584 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18585 Likewise.
18586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18587 (__SNSECONDS_T_TYPE): Likewise.
18588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18589 (__SNSECONDS_T_TYPE): Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18591 (__SNSECONDS_T_TYPE): Likewise.
18592
6af6528b
L
185932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * sysdeps/mach/hurd/bits/typesizes.h
18596 (__SYSCALL_SLONG_TYPE): New macro.
18597 (__SYSCALL_ULONG_TYPE): Likewise.
18598
de986b56
L
185992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 * bits/types.h (__syscall_slong_t): New type.
18602 (__syscall_ulong_t): Likewise.
18603
18604 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18605 (__SYSCALL_ULONG_TYPE): Likewise.
18606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18607 (__SYSCALL_SLONG_TYPE): Likewise.
18608 (__SYSCALL_ULONG_TYPE): Likewise.
18609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18610 (__SYSCALL_SLONG_TYPE): Likewise.
18611 (__SYSCALL_ULONG_TYPE): Likewise.
18612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18613 (__SYSCALL_SLONG_TYPE): Likewise.
18614 (__SYSCALL_ULONG_TYPE): Likewise.
18615
85736dc7
L
186162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18617
18618 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18619 Add sigaltstack-offsets.sym.
18620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18621 <sigaltstack-offsets.h>.
18622 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18623 longjmp_msg pointer.
18624 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18625 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18626 signal stack.
18627 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18628
cc03b296
JM
186292012-05-15 Joseph Myers <joseph@codesourcery.com>
18630
a9538892
JM
18631 * elf/stackguard-macros.h: Remove file.
18632 * sysdeps/generic/stackguard-macros.h: New file.
18633 * sysdeps/i386/stackguard-macros.h: Likewise.
18634 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18635 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18636 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18637 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18638 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18639 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18640 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18641 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18642 <elf/stackguard-macros.h>.
18643
cc03b296
JM
18644 [BZ #14109]
18645 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18646 __aligned__ in attribute.
18647 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18648 (gregset_t): Likewise.
18649
93171016
L
186502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18651
18652 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18653 * sysdeps/x86_64/64/Implies-after: Here. New file.
18654 * sysdeps/x86_64/x32/Implies-after: New file.
18655
d86813a0
L
186562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18657
18658 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18659 and access return value for _dl_profile_fixup. Use R10_LP to
18660 load frame size.
18661
2953ec75
L
186622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18663
18664 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18665
3b550e9e
L
186662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18667
18668 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18669 * sysdeps/x86_64/x32/sysdep.h: New file.
18670
eda41706
L
186712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18674 * sysdeps/x86_64/setjmp.S: Likewise.
18675
9ea01d93
AZ
186762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18677
18678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18680 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18682 remove unused global constant.
18683
02a91938
CM
186842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18685
18686 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18687 include of <not-cancel.h>.
18688
6540185f
RM
186892012-05-15 Roland McGrath <roland@hack.frob.com>
18690
18691 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18692
509072a0
AJ
186932012-05-15 Jeff Law <law@redhat.com>
18694 Andreas Jaeger <aj@suse.de>
18695
18696 [BZ #13594]
18697 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18698 out from...
18699 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18700 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18702 code changing __hst_map_handle.map.
18703
ba75122d
RM
187042012-05-15 Roland McGrath <roland@hack.frob.com>
18705
18706 * configure.in (sysnames): Look for Implies-before and Implies-after
18707 files.
18708 * configure: Regenerated.
18709
890d8bd8
L
187102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18713 8-byte data alignment with LP_SIZE alignment.
18714
f6ee6623
L
187152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18716
18717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18718 into R10_LP.
18719
ea2626f6
L
187202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18721
18722 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18723
085f715e
L
187242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18727 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18729 Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18731
be8498fc
L
187322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18735 (stackinfo_sub_sp): Likewise.
18736
70bc83b9
L
187372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18740 RAX_LP.
18741
9bc0b730
L
187422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18743
18744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18745 into R*_LP.
18746
6d2850e7
L
187472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18748
18749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18750 sizes into R*_LP.
18751
3cb84561
L
187522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18755
54e2ed81
L
187562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18757
18758 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18759 into R11_LP and load __x86_64_shared_cache_size_half into
18760 R8_LP.
18761
8a17f349
L
187622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18763
18764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18765 R8_LP.
18766
777b1eea
AZ
187672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18768
18769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18770 logb for POWER7.
18771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18772 logbf for POWER7.
18773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18774 logbl for POWER7.
18775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18776 powerpc32/power7/fpu/s_logb.c via #include.
18777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18778 powerpc32/power7/fpu/s_logbf.c via #include.
18779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18780 powerpc32/power7/fpu/s_logbl.c via #include.
18781
d20d4ac2
JM
187822012-05-15 Joseph Myers <joseph@codesourcery.com>
18783
18784 * README.libm: Remove file.
18785
6cdef1ab
L
187862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18787
18788 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18789 count for x32. Use R*_LP and omit operand-size suffix.
18790
0b254d8f
L
187912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18794 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18795 * sysdeps/x86_64/x32/shlib-versions: New file.
18796
ceb809dc
RM
187972012-05-14 Roland McGrath <roland@hack.frob.com>
18798
18799 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18800 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18801 Use _dl_fatal_printf instead.
18802
37f1abd4
JM
188032012-05-14 Joseph Myers <joseph@codesourcery.com>
18804
18805 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18806 set if not set by the user. Do not allow for being unset.
18807 * sysdeps/unix/sysv/linux/configure: Regenerated.
18808
11de3a33
L
188092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18812 the `q' suffix from lea and replace .quad with ASM_ADDR.
18813
e02f153a
L
188142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18815
18816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18817 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18818 instead of $17.
18819 (PTR_DEMANGLE): Likewise.
18820
520ae0fd
L
188212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18824 (LP_OP): Likewise.
18825 (ASM_ADDR): Likewise.
18826 (RAX_LP): Likewise.
18827 (RBP_LP): Likewise.
18828 (RBX_LP): Likewise.
18829 (RCX_LP): Likewise.
18830 (RDI_LP): Likewise.
18831 (RSI_LP): Likewise.
18832 (RSP_LP): Likewise.
18833 (R8_LP): Likewise.
18834 (R9_LP): Likewise.
18835 (R10_LP): Likewise.
18836 (R10_LP): Likewise.
18837 (R11_LP): Likewise.
18838 (R12_LP): Likewise.
18839 (R13_LP): Likewise.
18840 (R14_LP): Likewise.
18841 (R15_LP): Likewise.
18842
b985be81
L
188432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18844
18845 * sysdeps/x86_64/x32/dl-machine.h: New file.
18846
6a4888ff
AJ
188472012-05-14 Andreas Jaeger <aj@suse.de>
18848
18849 * manual/Makefile (subdir): Remove export of subdir.
18850 (all): Remove target.
18851 (.PHONY): Remove all from list.
18852 (mkinstalldirs): Remove.
18853 (.PHONY): Remove installdirs from list.
18854 ($(inst_infodir)/libc.info): Use make-target-directory.
18855 (installdirs): Remove.
18856 (subdir_%): Remove.
18857 (glibc-targets): Remove.
18858 (lib): Remove.
18859 (stubs): Remove.
18860 ($(objpfx)stubs ../po/manual.pot): Remove.
18861 ($(objpfx)stamp%): Remove.
18862 (make-target-directory): Remove.
18863 (subdir_install): Remove.
18864 (routines): Remove.
18865 (aux): Remove.
18866 (sources): Remove.
18867 (objects): Remove.
18868 (headers): Remove.
18869
18870 [BZ #13750]
18871 * manual/.gitignore: Remove, it's not needed anymore.
18872 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18873 all files in it.
18874 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18875 directory.
18876 (texis): Renamed to $(objpfx)texis.
18877 (texis-path): New, contains path to generated files.
18878 (chapters.%): Use texis-path for complete path, add extra argument
18879 libc-texinfo.sh.
18880 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18881 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18882 (summary,texi, stamp-summary): Use complete path of
18883 files. Generate files in build dir.
18884 (dir-add.texi): Build in build dir.
18885 (libm-err.texi,stamp-libm-err): Likewise.
18886 (version.texi, stamp-version): Likewise.
18887 (.%c.texi): Likewise.
18888 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18889 (mostlyclean): Remove target.
18890 (realclean): Remove target.
18891 (generated): Add new variable with contents from mostlyclean and
18892 realclean, remove entries duplicated in common-mostlyclean, add
18893 stamp-libm-err and stamp-version.
18894 (generated-dirs): Add libc directory.
18895 ($(inst_infodir)/libc.info): Install files from build dir.
18896
18897 * manual/install.texi (Configuring and compiling): Adjust since
18898 the info files are not part of the tar ball anymore.
18899
7ac77294
AJ
189002012-05-14 Andreas Jaeger <aj@suse.de>
18901
18902 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18903 variable.
18904
ffb7875d
JM
189052012-05-14 Joseph Myers <joseph@codesourcery.com>
18906
18907 [BZ #13717]
18908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18909 to 2.2.0 where earlier.
18910 * sysdeps/unix/sysv/linux/configure: Regenerated.
18911 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18912 Remove conditional code.
18913 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18914 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18915 Remove conditional code.
18916 [!__NR_lchown]: Likewise.
18917 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18918 [__NR_lchown]: Likewise.
18919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18920 comment referencing __ASSUME_LCHOWN_SYSCALL.
18921 * sysdeps/unix/sysv/linux/i386/sigaction.c
18922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18924 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18925 Remove conditional code.
18926 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18927 (__protocol_available): Remove #if 0 code.
18928 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18929 conditional code.
18930 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18931 * sysdeps/unix/sysv/linux/kernel-features.h
18932 (__ASSUME_GETCWD_SYSCALL): Don't define.
18933 (__ASSUME_REALTIME_SIGNALS): Likewise.
18934 (__ASSUME_PREAD_SYSCALL): Likewise.
18935 (__ASSUME_PWRITE_SYSCALL): Likewise.
18936 (__ASSUME_POLL_SYSCALL): Likewise.
18937 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18938 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18939 non-SPARC.
18940 (__ASSUME_SIOCGIFNAME): Don't define.
18941 (__ASSUME_MSG_NOSIGNAL): Likewise.
18942 (__ASSUME_SENDFILE): Define unconditionally.
18943 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18944 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18945 conditional code.
18946 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18947 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18949 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18950 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18951 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18952 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18957 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18969 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18977 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18978 Remove conditional code.
18979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18980 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18981 Remove conditional code.
18982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18983 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18984 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18985 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18986 Remove conditional code.
18987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18988 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18989 Remove conditional code.
18990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18992 Remove conditional code.
18993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18994 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18995 Remove conditional code.
18996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18998 Remove conditional code.
18999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19000 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19003 * sysdeps/unix/sysv/linux/sigaction.c
19004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19006 * sysdeps/unix/sysv/linux/sigpending.c
19007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19009 * sysdeps/unix/sysv/linux/sigprocmask.c
19010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19012 * sysdeps/unix/sysv/linux/sigsuspend.c
19013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19016 (__libc_missing_rt_sigs): Remove.
19017 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19018 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19019 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19020 Remove conditional code.
19021 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19022 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19023 return 1.
19024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19027 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19028
1bfb7291
AJ
190292012-05-14 Andreas Jaeger <aj@suse.de>
19030
caae5a81
AJ
19031 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19032 it's not used in glibc.
19033 (__coshm1): Likewise.
19034 (__acosh1p): Likewise.
19035 (__sgn): Likewise.
19036
1bfb7291
AJ
19037 * manual/string.texi (Copying and Concatenation): Add missing
19038 variable in concat example.
19039 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19040
c044d724
L
190412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19042
144c5467 19043 [BZ #14103]
c044d724
L
19044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19045 __builtin_clzl with __builtin_clzll.
19046
2523c62b
L
190472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #14104]
19050 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19051 libc_freeres_ptr.
19052
d7bb4c42
LD
190532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19054
19055 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19056 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19057 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19058 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19059
9dc4e1fb
MF
190602012-05-14 Mike Frysinger <vapier@gentoo.org>
19061
19062 * NEWS: Update ia64 info.
19063
c7df0112
AS
190642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19065
19066 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19067 used as bcopy.
19068
dc70356c
TS
190692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19070
19071 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19072 * sysdeps/unix/syscalls.list (dup3): Likewise.
19073 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19074 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19075
9fb1a21f
L
190762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19077
19078 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19079 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19080
4822a2a5
L
190812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19084 thread pointer.
19085 (TLS_IE): Use mov/add instead of movq/addq to load thread
19086 pointer.
19087 (TLS_GD_PREFIX): New.
19088 (TLS_GD): Use it.
19089
842b81d6
DM
190902012-05-11 David S. Miller <davem@davemloft.net>
19091
19092 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19093 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19094 (_FPU_SETCW): Likewise.
19095
1cf463cd
L
190962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19099 is 32-byte aligned.
19100
60cc4a18
AS
191012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19102
19103 [BZ #11837]
19104 * iconvdata/gb18030.c: Update tables.
19105 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19106 characters specially.
19107 (BODY for TO_LOOP): Add encoding of missing ranges.
19108
febb44a4
TS
191092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19110
19111 [BZ #13673]
19112 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19113 * sysdeps/mach/hurd/dup3.c: Likewise.
19114 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19115 * sysdeps/powerpc/memmove.c:: Likewise.
19116
0a10fb9e
L
191172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19118
19119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19120 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19121
df8a552f
L
191222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * elf/elf.h (R_X86_64_RELATIVE64): New.
19125 (R_X86_64_NUM): Updated.
19126 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19127 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19128 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19129 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19130 tst-quad1pie tst-quad2pie
19131 (modules-names): Add tst-quadmod1 tst-quadmod2.
19132 ($(objpfx)tst-quad1): New dependency.
19133 ($(objpfx)tst-quad2): Likewise.
19134 ($(objpfx)tst-quad1pie): Likewise.
19135 ($(objpfx)tst-quad2pie): Likewise.
19136 * sysdeps/x86_64/tst-quad1.c: New file.
19137 * sysdeps/x86_64/tst-quad1pie.c: New file.
19138 * sysdeps/x86_64/tst-quad2.c: Likewise.
19139 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19140 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19141 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19142 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19143 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19144
f34d6f84
ST
191452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19146
f42d41d1
ST
19147 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19148 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19149 * streams/stropts.h (t_scalar_t): Define type.
19150
3c3571fc
ST
19151 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19152 (_PATH_PRESERVE): Set to "/var/lib".
19153 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19154
61f06bd3
ST
19155 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19156 instead of int.
19157
918d4d71
ST
19158 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19159 if __dir_mkfile succeeded.
19160
f34d6f84
ST
19161 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19162 checking for _hurd_dtablesize. Unlock it right after having
19163 finished _hurd_dtable allocation.
19164
10589b4a
TS
191652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19166
674cdbc7
TS
19167 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19168 * sysdeps/mach/hurd/configure: Regenerated.
19169 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19170 special-casing to...
19171 * sysdeps/gnu/configure.in: ... this new file.
19172 * sysdeps/unix/sysv/linux/configure: Regenerated.
19173 * sysdeps/gnu/configure: New generated file.
19174
8e41b99f
TS
19175 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19176 for Linux: use nsec instead of usec, as well as:
19177 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19178 members of type struct timespec.
19179 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19180 New macros.
19181 (struct stat64): Likewise.
19182 (_STATBUF_ST_NSEC): New macro.
19183 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19184
10589b4a
TS
19185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19186 __strtoul_internal rather than strtoul.
19187
63643c85
PT
191882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19189
19190 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19191 and reject them.
19192
3faebe6a
ST
191932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19194
19195 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19196 which preserves existing values.
19197 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19198
c6474b07
PT
191992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19200
19201 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19202 TIMEOUT values. Return EINVAL for NFDS values either negative or
19203 greater than FD_SETSIZE.
19204
1043890b
ST
192052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19206
19207 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19208 allocated, call __vm_protect to finish enabling the existing space, and
19209 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19210 allocate the remainder.
19211
37ed8b9b
PT
192122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19213
19214 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19215 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19216
db653660
ST
192172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19218
37ed8b9b
PT
19219 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19220 sysdeps/mach/hurd/readlink.c.
b29d4053 19221
db653660
ST
19222 * posix/tst-sysconf.c (posix_options): Only use
19223 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19224 _POSIX_SYNCHRONIZED_IO when they are defined
19225 * sysdeps/mach/hurd/bits/posix_opt.h:
19226 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19227 (_XOPEN_REALTIME): Undefine macro.
19228 (_XOPEN_REALTIME_THREADS): Undefine macro.
19229 (_XOPEN_SHM): Undefine macro.
19230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19231 macro to -1.
19232 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19233 macro to -1.
19234 (_POSIX_ASYNC_IO): Undefine macro.
19235 (_POSIX_PRIORITIZED_IO): Undefine macro.
19236 (_POSIX_SPIN_LOCKS): Define macro to -1.
19237
ee16e894
ST
19238 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19239 SA_NODEFER, SA_RESETHAND.
19240 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19241 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19242 F_DUPFD_CLOEXEC.
19243
6103ae3b
TS
192442012-05-10 Thomas Schwinge <thomas@schwinge.name>
19245
19246 * elf/Makefile (pldd-modules): Define unconditionally.
19247
80b4e5f3
TS
192482012-05-10 Thomas Schwinge <thomas@schwinge.name>
19249
19250 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19251
edadcbd6
ST
192522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19253
19254 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19255 Return ENOENT when name is empty.
19256 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19257
80694780
TS
192582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19259
1792c087
TS
19260 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19261
80694780
TS
19262 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19263
6b645f0d
ST
192642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19265
80694780
TS
19266 Fix mlock in all cases except non-readable pages.
19267 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19268 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19269
6b645f0d
ST
19270 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19271 (__mkdir): When path is `/', just fail with EEXIST.
19272 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19273
e468f8a3
TS
192742012-05-10 Thomas Schwinge <thomas@schwinge.name>
19275
19276 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19277 <sys/uio.h> (for writev).
19278 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19279 and <sys/param.h> (for MIN).
19280
a4186cff
PT
192812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19282
19283 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19284 REQUESTED_TIME. Properly set the remaining time and return EINTR
19285 if interrupted.
19286
510bbf14
TS
192872012-05-10 Thomas Schwinge <thomas@schwinge.name>
19288
19289 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19290 Depend on against $(link-rpcuserlibs).
19291
5d5722e8
ST
192922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19293
a4186cff
PT
19294 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19295 (__libc_stack_end): Do not use attribute_relro.
19296 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19297 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19298 to libthread-provided value.
a4186cff
PT
19299 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19300 attribute_relro.
5d5722e8 19301
37233df9
TS
193022012-05-10 Thomas Schwinge <thomas@schwinge.name>
19303
be971a2b
TS
19304 [BZ #3748]
19305 * bits/libc-lock.h (__libc_once_get): New macro.
19306 * sysdeps/mach/bits/libc-lock.h: Likewise.
19307 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19308 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19309 instead of using implementation details.
19310
37233df9
TS
19311 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19312 * libio/freopen.c: Likewise.
19313 * libio/freopen64.c: Likewise.
19314 * misc/syslog.c: Likewise.
19315 * nscd/connections.c: Likewise.
19316 * nscd/netgroupcache.c: Likewise.
19317 * sysdeps/posix/getcwd.c: Likewise.
19318
38de94a5
RM
193192012-05-10 Roland McGrath <roland@hack.frob.com>
19320
19321 * math/w_ilogbf.c: Add #include <limits.h>.
19322
67530489
ST
193232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19324
a4186cff 19325 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19326 path instead of returning without unlocking.
19327
67530489
ST
19328 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19329 immediate-write ioctls.
19330 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19331
5aa3a74a
TS
193322012-05-10 Thomas Schwinge <thomas@schwinge.name>
19333
18bad2ae
TS
19334 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19335 __builtin_frame_address instead of making assumptions about the
19336 location of the return address relative to DATA. Force early load of
19337 the return address.
19338 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19339 __builtin_frame_address.
19340
5aa3a74a
TS
19341 dup3 for GNU Hurd.
19342 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19343 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19344 implement dup3 and do some further code clean-ups.
19345 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19346 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19347
ecd0de9a
ST
193482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19349
cd9fa985
ST
19350 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19351
a4186cff
PT
19352 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19353 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19354 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19355 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19356 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19357 d->port.lock.
802ca5a5 19358
a4186cff
PT
19359 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19360 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19361 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19362
bcf55240
TS
193632012-05-10 Thomas Schwinge <thomas@schwinge.name>
19364
6960eb42
TS
19365 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19366 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19367 definitions.
19368
eb43375f
TS
19369 accept4 for GNU Hurd.
19370 * include/sys/socket.h (__libc_accept4): New prototype.
19371 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19372 to implement __libc_accept4.
19373 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19374 __libc_accept4.
19375 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19376
bcf55240
TS
19377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19378 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19379 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19380 signal-defines.sym.
19381
6178c55b
ST
193822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19383
a4186cff 19384 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19385
6f080c2f
TS
193862012-05-10 Thomas Schwinge <thomas@schwinge.name>
19387
19388 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19389 assertion on O_CLOEXEC flag.
19390 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19391 * hurd/intern-fd.c: Likewise.
19392 * hurd/port2fd.c: Likewise.
19393
bcfe3a54
ST
193942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19395
19396 [BZ #3906]
19397 * bits/in.h (IPV6_PKTINFO): Define new macro.
19398 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19399
89c9aa49
AZ
194002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19401
19402 [BZ #13954]
19403 [BZ #13955]
19404 [BZ #13956]
19405 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19407 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19408 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19410 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19411 * math/libm-test.inc (logb_test) : Additional logb tests.
19412
021db4be
AJ
194132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19414 Andreas Jaeger <aj@suse.de>
19415
19416 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19417 * configure: Regenerated.
19418 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19419 * config.make.in (link-obsolete-rpc): New substituted variable.
19420 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19421 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19422 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19423 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19424 so that libc.a contains the symbols.
19425 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19426 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19427 * sunrpc/auth_none.c: Likewise.
19428 * sunrpc/auth_unix.c: Likewise.
19429 * sunrpc/authdes_prot.c: Likewise.
19430 * sunrpc/authuxprot.c: Likewise.
19431 * sunrpc/clnt_gen.c: Likewise.
19432 * sunrpc/clnt_perr.c: Likewise.
19433 * sunrpc/clnt_raw.c: Likewise.
19434 * sunrpc/clnt_simp.c: Likewise.
19435 * sunrpc/clnt_tcp.c: Likewise.
19436 * sunrpc/clnt_udp.c: Likewise.
19437 * sunrpc/clnt_unix.c: Likewise.
19438 * sunrpc/des_crypt.c: Likewise.
19439 * sunrpc/des_soft.c: Likewise.
19440 * sunrpc/get_myaddr.c: Likewise.
19441 * sunrpc/key_call.c: Likewise.
19442 * sunrpc/key_prot.c: Likewise.
19443 * sunrpc/netname.c: Likewise.
19444 * sunrpc/pm_getmaps.c: Likewise.
19445 * sunrpc/pm_getport.c: Likewise.
19446 * sunrpc/pmap_clnt.c: Likewise.
19447 * sunrpc/pmap_prot.c: Likewise.
19448 * sunrpc/pmap_prot2.c: Likewise.
19449 * sunrpc/pmap_rmt.c: Likewise.
19450 * sunrpc/publickey.c: Likewise.
19451 * sunrpc/rpc_cmsg.c: Likewise.
19452 * sunrpc/rpc_common.c: Likewise.
19453 * sunrpc/rpc_dtable.c: Likewise.
19454 * sunrpc/rpc_prot.c: Likewise.
19455 * sunrpc/rpc_thread.c: Likewise.
19456 * sunrpc/rtime.c: Likewise.
19457 * sunrpc/svc.c: Likewise.
19458 * sunrpc/svc_auth.c: Likewise.
19459 * sunrpc/svc_raw.c: Likewise.
19460 * sunrpc/svc_run.c: Likewise.
19461 * sunrpc/svc_tcp.c: Likewise.
19462 * sunrpc/svc_udp.c: Likewise.
19463 * sunrpc/svc_unix.c: Likewise.
19464 * sunrpc/svcauth_des.c: Likewise.
19465 * sunrpc/xcrypt.c: Likewise.
19466 * sunrpc/xdr.c: Likewise.
19467 * sunrpc/xdr_array.c: Likewise.
19468 * sunrpc/xdr_float.c: Likewise.
19469 * sunrpc/xdr_intXX_t.c: Likewise.
19470 * sunrpc/xdr_mem.c: Likewise.
19471 * sunrpc/xdr_rec.c: Likewise.
19472 * sunrpc/xdr_ref.c: Likewise.
19473 * sunrpc/xdr_sizeof.c: Likewise.
19474 * sunrpc/xdr_stdio.c: Likewise.
19475
b5c086a2
RM
194762012-05-10 Roland McGrath <roland@hack.frob.com>
19477
19478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19479 change. Update copyright years.
19480
6d74dd09
JM
194812012-05-10 Joseph Myers <joseph@codesourcery.com>
19482
19483 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19484
28e72501
MK
194852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19486 Joseph Myers <joseph@codesourcery.com>
19487 Paul Pluzhnikov <ppluzhnikov@google.com>
19488
19489 [BZ #14012]
19490 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19491 requiring rpcgen.
19492 [cross-compiling] (extra-libs): Likewise.
19493 [cross-compiling] (extra-libs-others): Likewise.
19494 [cross-compiling] (librpcsvc-routines): Likewise.
19495 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19496 [cross-compiling] (omit-deps): Likewise.
19497 (sunrpc-CPPFLAGS): New variable.
19498 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19499 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19500 (cross-rpcgen-objs): New variable.
19501 (extra-objs): Append $(cross-rpcgen-objs).
19502 ($(cross-rpcgen-objs)): New rule.
19503 ($(objpfx)cross-rpcgen): Likewise.
19504 (rpcgen-cmd): Define to use $(built-program-file). Expand
19505 comment.
19506 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19507 ($(objpfx)x%.stmp): Likewise.
19508 * sunrpc/proto.h [IS_IN_build] (_): Define.
19509 [IS_IN_build] (_libc_intl_domainname): Likewise.
19510
c8c59454
L
195112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19514 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19515 and R_X86_64_TPOFF64.
19516
6f27cd16
JM
195172012-05-10 Joseph Myers <joseph@codesourcery.com>
19518
19519 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19520 sysdeps/unix/sysv/syscalls.list.
19521 (stime): Likewise.
19522 (utime): Likewise.
19523 * sysdeps/unix/sysv/syscalls.list: Remove file.
19524
02467e1c
PE
195252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19526
19527 [BZ #3440]
19528 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19529 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19530 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19531 (__LC_IDENTIFICATION): Make these macros useful in #if
19532 expressions, as required by C99.
19533
da392631
AS
195342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19535
19536 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19537 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19538 after this.
19539
8115f29b
L
195402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19541
19542 * stdlib/longlong.h: Updated from GCC.
19543
bdd74070
AJ
195442012-05-09 Andreas Jaeger <aj@suse.de>
19545
edfe0dbe
AJ
19546 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19547 default is first entry.
19548 (run_mode): Set type.
19549 (main): Remove informal message about syslog.
19550 (options): Fix typo.
19551
bcfe3a54
ST
19552 [BZ #14053]
19553 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19554 to asm.
bcfe3a54
ST
19555 (lrint): Likewise.
19556 (llrintf): Likewise.
19557 (llrint): Likewise.
19558 (rint): Likewise.
19559 (rintf): Likewise.
19560 (nearbyint): Likewise.
19561 (nearbyintf): Likewise.
bdd74070 19562
91d8d69e
AJ
195632012-05-09 Andreas Jaeger <aj@suse.de>
19564 Pedro Alves <palves@redhat.com>
19565
19566 * nscd/nscd.c (run_mode): Use enum.
19567 (main): Cleanup coding style issue.
19568
bb90b80b
AJ
195692012-05-09 Alexandre Oliva <aoliva@redhat.com>
19570 Andreas Jaeger <aj@suse.de>
19571
bcfe3a54
ST
19572 * nscd/nscd.c (go_background): Replaced with...
19573 (run_mode): ... this.
bb90b80b 19574 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19575 (options): Add -F --foreground.
19576 (main): Implement it.
19577 (parse_opt): Parse it.
bb90b80b 19578
1a4b75a1
AJ
195792012-05-09 Andreas Jaeger <aj@suse.de>
19580
19581 [BZ #14083]
19582 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19583 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19584 -Wconversion warning.
19585 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19586 Likewise.
19587
b1cc2472
JM
195882012-05-09 Joseph Myers <joseph@codesourcery.com>
19589
19590 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19591 == 0.
19592 (LC_ALL): Use macro-int-constant.
19593 (LC_COLLATE): Likewise.
19594 (LC_CTYPE): Likewise.
19595 (LC_MESSAGES): Likewise.
19596 (LC_MONETARY): Likewise.
19597 (LC_NUMERIC): Likewise.
19598 (LC_TIME): Likewise.
19599 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19600 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19602 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19603 Specify type.
19604 [C99-based standards] (float_t): Expect type.
19605 [C99-based standards] (double_t): Expect type.
19606 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19607 type.
19608 [C99-based standards] (HUGE_VALL): Likewise.
19609 [C99-based standards] (INFINITY): Likewise.
19610 [C99-based standards] (NAN): Likewise.
19611 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19612 [C99-based standards] (FP_NAN): Likewise.
19613 [C99-based standards] (FP_NORMAL): Likewise.
19614 [C99-based standards] (FP_SUBNORMAL): Likewise.
19615 [C99-based standards] (FP_ZERO): Likewise.
19616 [C99-based standards] (FP_FAST_FMA): Use
19617 optional-macro-int-constant. Specify type. Require == 1.
19618 [C99-based standards] (FP_FAST_FMAF): Likewise.
19619 [C99-based standards] (FP_FAST_FMAL): Likewise.
19620 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19621 [C99-based standards] (FP_ILOGBNAN): Likewise.
19622 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19623 Specify type.
19624 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19625 [C99-based standards] (math_errhandling): Specify type.
19626 [ISO99 || ISO11] (signgam): Do not allow.
19627 [non-C99-based standards] (copysignf): Do not allow.
19628 [non-C99-based standards] (exp2f): Likewise.
19629 [non-C99-based standards] (log2f): Likewise.
19630 [non-C99-based standards] (modff): Allow.
19631 [non-C99-based standards] (erff): Do not allow.
19632 [non-C99-based standards] (erfcf): Likewise.
19633 [non-C99-based standards] (gammaf): Likewise.
19634 [non-C99-based standards] (hypotf): Likewise.
19635 [non-C99-based standards] (j0f): Likewise.
19636 [non-C99-based standards] (j1f): Likewise.
19637 [non-C99-based standards] (jnf): Likewise.
19638 [non-C99-based standards] (lgammaf): Likewise.
19639 [non-C99-based standards] (tgammaf): Likewise.
19640 [non-C99-based standards] (y0f): Likewise.
19641 [non-C99-based standards] (y1f): Likewise.
19642 [non-C99-based standards] (ynf): Likewise.
19643 [non-C99-based standards] (isnanf): Likewise.
19644 [non-C99-based standards] (acoshf): Likewise.
19645 [non-C99-based standards] (asinhf): Likewise.
19646 [non-C99-based standards] (atanhf): Likewise.
19647 [non-C99-based standards] (cbrtf): Likewise.
19648 [non-C99-based standards] (expm1f): Likewise.
19649 [non-C99-based standards] (ilogbf): Likewise.
19650 [non-C99-based standards] (log1pf): Likewise.
19651 [non-C99-based standards] (logbf): Likewise.
19652 [non-C99-based standards] (nextafterf): Likewise.
19653 [non-C99-based standards] (remainderf): Likewise.
19654 [non-C99-based standards] (rintf): Likewise.
19655 [non-C99-based standards] (scalbf): Likewise.
19656 [non-C99-based standards] (copysignl): Likewise.
19657 [non-C99-based standards] (exp2l): Likewise.
19658 [non-C99-based standards] (log2l): Likewise.
19659 [non-C99-based standards] (modfl): Allow.
19660 [non-C99-based standards] (erfl): Do not allow.
19661 [non-C99-based standards] (erfcl): Likewise.
19662 [non-C99-based standards] (gammal): Likewise.
19663 [non-C99-based standards] (hypotl): Likewise.
19664 [non-C99-based standards] (j0l): Likewise.
19665 [non-C99-based standards] (j1l): Likewise.
19666 [non-C99-based standards] (jnl): Likewise.
19667 [non-C99-based standards] (lgammal): Likewise.
19668 [non-C99-based standards] (tgammal): Likewise.
19669 [non-C99-based standards] (y0l): Likewise.
19670 [non-C99-based standards] (y1l): Likewise.
19671 [non-C99-based standards] (ynl): Likewise.
19672 [non-C99-based standards] (isnanl): Likewise.
19673 [non-C99-based standards] (acoshl): Likewise.
19674 [non-C99-based standards] (asinhl): Likewise.
19675 [non-C99-based standards] (atanhl): Likewise.
19676 [non-C99-based standards] (cbrtl): Likewise.
19677 [non-C99-based standards] (expm1l): Likewise.
19678 [non-C99-based standards] (ilogbl): Likewise.
19679 [non-C99-based standards] (log1pl): Likewise.
19680 [non-C99-based standards] (logbl): Likewise.
19681 [non-C99-based standards] (nextafterl): Likewise.
19682 [non-C99-based standards] (remainderl): Likewise.
19683 [non-C99-based standards] (rintl): Likewise.
19684 [non-C99-based standards] (scalbl): Likewise.
19685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19686 [non-C99-based standards] (FP_*): Do not allow.
19687 [C99-based standards] (FP_*): Change to
19688 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19689 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19690 allow.
19691 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19692 (SIG_ERR): Likewise.
19693 [X/Open-based standards] (SIG_HOLD): Likewise.
19694 (SIG_IGN): Likewise.
19695 (SIGABRT): Use macro-int-constant. Specify type. Require
19696 positive value.
19697 (SIGFPE): Likewise.
19698 (SIGILL): Likewise.
19699 (SIGINT): Likewise.
19700 (SIGSEGV): Likewise.
19701 (SIGTER): Likewise.
19702 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19703 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19704 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19705 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19706 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19707 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19708 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19709 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19710 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19711 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19712 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19713 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19714 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19715 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19720 [X/Open-based standards] (SIGTRAP): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19725 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19726 allow.
19727
b9f1922d
IW
197282012-05-08 Ian Wienand <ianw@vmware.com>
19729
19730 [BZ #14080]
19731 * time/tzset.c (__tzset_parse_tz): Update default rules for
19732 daylight time changes in the Energy Policy Act of 2005.
19733
1db86e88
AJ
197342012-05-09 Andreas Jaeger <aj@suse.de>
19735
19736 [BZ #13983]
19737 * elf/ldconfig.c (parse_conf): Change string to make clear that
19738 ldconfig only issued a warning if ld.so.conf does not exist.
19739
dee4a4e3
DM
197402012-05-08 David S. Miller <davem@davemloft.net>
19741
ee0db190
DM
19742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19743 movxtod instead of popping the value on the stack.
19744
dee4a4e3
DM
19745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19746
6a43ec98
CD
197472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19748
19749 * config.h.in: Add HAVE_ARM_PCS_VFP.
19750
05c2c961
RMG
197512012-05-08 Roland Mc Grath <roland@hack.frob.com>
19752
bcfe3a54
ST
19753 [BZ #13979]
19754 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19755 checking but the checks are disabled for any reason.
05c2c961 19756
4b30f61a
L
197572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19758
19759 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19760 and ELF64_R_TYPE with ELFW(R_TYPE).
19761
eee2bc67
JM
197622012-05-08 Joseph Myers <joseph@codesourcery.com>
19763
7ea5391a
JM
19764 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19765 (ulimit): Likewise.
19766
eee2bc67
JM
19767 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19768 (settimeofday): Likewise.
19769
abb66a67
MF
197702012-05-08 Mike Frysinger <vapier@gentoo.org>
19771
19772 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19773 a struct th_u2 inside the union, and move tu_block/tu_code into
19774 a new th_u3 union of tu_block/tu_code inside of that. Move
19775 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19776 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19777 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19778 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19779 (th_stuff): Change to th_u1.tu_stuff.
19780 (th_data): Define.
19781 (th_msg): Change to th_u1.th_u2.tu_data.
19782
7f18b530
DM
197832012-05-07 David S. Miller <davem@davemloft.net>
19784
05760585
DM
19785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19786
7f18b530
DM
19787 [BZ #14074]
19788 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19789 (SETUP_PIC_REG): Use it.
19790 (SETUP_PIC_REG_LEAF): Use it.
19791
495fd99f
JM
197922012-05-07 Joseph Myers <joseph@codesourcery.com>
19793
19794 [BZ #13885]
19795 [BZ #13923]
19796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19797 USE_AS_EXPM1L.
19798 (EXPL_FINITE): Likewise.
19799 (FLDLOG): Likewise.
19800 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19801 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19802 e_expl.S.
19803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19804 USE_AS_EXPM1L.
19805 (EXPL_FINITE): Likewise.
19806 (FLDLOG): Likewise.
19807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19808 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19809 e_expl.S.
19810 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19811 test of -max_value argument for long double.
19812 * sysdeps/i386/fpu/libm-test-ulps: Update.
19813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19814
6693d694
DM
198152012-05-06 David S. Miller <davem@davemloft.net>
19816
19817 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19818 quad soft-float symbols whose references which are compiler
19819 generated.
19820 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19821
6c23e11c
JM
198222012-05-06 Joseph Myers <joseph@codesourcery.com>
19823
d8b82cad
JM
19824 [BZ #13884]
19825 [BZ #13914]
19826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19827 USE_AS_EXP10L.
19828 (EXPL_FINITE): Likewise.
19829 (FLDLOG): Likewise.
19830 (c0): Likewise.
19831 (c1): Likewise.
19832 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19833 Adjust comments for base varying.
19834 (__expl_finite): Change alias to EXPL_FINITE.
19835 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19836 e_expl.S.
19837 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19838 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19840 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19842 USE_AS_EXP10L.
19843 (EXPL_FINITE): Likewise.
19844 (FLDLOG): Likewise.
19845 (c0): Likewise.
19846 (c1): Likewise.
19847 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19848 Adjust comments for base varying.
19849 (__expl_finite): Change alias to EXPL_FINITE.
19850 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19851 tests for bugs.
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19853
6c23e11c
JM
19854 [BZ #14064]
19855 * math/libm-test.inc (check_float_internal): Correct ulp
19856 calculation for subnormal expected results.
19857
29ba805c
AJ
198582012-05-06 Andreas Jaeger <aj@suse.de>
19859
19860 * Makeconfig (+math-flags): New, set to -frounding-math.
19861 (+cflags): Add +math-flags so that all of glibc gets compiled with
19862 it.
19863
19864 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19865
7b17aeda
JM
198662012-05-05 Joseph Myers <joseph@codesourcery.com>
19867
5779f134
JM
19868 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19869 Disable one test.
19870
41498f4d
JM
19871 [BZ #13787]
19872 [BZ #13922]
19873 [BZ #14036]
19874 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19875 (__ieee754_expl): Allow for and saturate large arguments.
19876 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19877 (u_threshold): Likewise.
19878 (__exp): Call __ieee754_exp before checking for overflow and
19879 underflow.
19880 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19881 (u_threshold): Likewise.
19882 (__expf): Call __ieee754_expf before checking for overflow and
19883 underflow.
19884 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19885 (u_threshold): Likewise.
19886 (__expl): Call __ieee754_expl before checking for overflow and
19887 underflow.
19888 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19889 (__ieee754_expl): Allow for and saturate large arguments.
19890 * math/libm-test.inc (exp_test): Add another test. Do not allow
19891 missing overflow exception on overflow.
19892 (expm1_test): Do not allow missing overflow exception on overflow.
19893
6698b8bf
JM
19894 * sysdeps/i386/fpu/e_expl.c: Move to ...
19895 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19896 rather than using inline asm.
19897 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19898 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19899 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19900
7b17aeda
JM
19901 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19902 (nice): Likewise.
19903 (poll): Likewise.
19904 (signal): Likewise.
19905 (time): Likewise.
19906 (times): Likewise.
19907
f7c85819
JM
199082012-05-04 Joseph Myers <joseph@codesourcery.com>
19909
19910 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19911 sysdeps/unix/common/syscalls.list.
19912 (fchmod): Likewise.
19913 (fchown): Likewise.
19914 (ftruncate): Likewise.
19915 (getrusage): Likewise.
19916 (gettimeofday): Likewise.
19917 (setpgid): Likewise.
19918 (setregid): Likewise.
19919 (setreuid): Likewise.
19920 (sigaction): Likewise.
19921 (truncate): Likewise.
19922 (vhangup): Likewise.
19923 * sysdeps/unix/common/syscalls.list: Remove file.
19924 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19925 * sysdeps/unix/sysv/linux/Implies: Likewise.
19926
336270d0
L
199272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19931 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19932 Moved to ...
19933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19934 Here.
19935 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19936 to ...
19937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19938 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19939 to ...
19940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19941 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19942 to ...
19943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19944 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19945 to ...
19946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19947 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19948 to ...
19949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19950 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19951 to ...
19952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19953 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19954 to ...
19955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19956 Here.
19957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19958 to ...
19959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19960 Here.
19961 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19962 to ...
19963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19965 Moved to ...
19966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19967 Here.
19968 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19969 to ...
19970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19971
d128e450
JM
199722012-05-04 Joseph Myers <joseph@codesourcery.com>
19973
fa8ee516
JM
19974 * sysdeps/unix/common/bits/dirent.h: Remove file.
19975 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19976
d128e450
JM
19977 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19978 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19979 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19980 * sysdeps/unix/bsd/isatty.c: Likewise.
19981 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19982 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19983 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19984
ff8faaf0 199852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19986
62881be4 19987 [BZ #13563]
31dc8730
AZ
19988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19989 long double comparison inaccuracies.
19990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19992
6fef930c
AS
199932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19994
19995 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19997
8f203e6c
JM
199982012-05-04 Joseph Myers <joseph@codesourcery.com>
19999
20000 [BZ #14049]
20001 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20002 nonzero digits before rounding a hex value.
20003 * stdlib/tst-strtod.c (tests): Add another test.
20004
5197d9c2
AK
200052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20006
20007 * sysdeps/s390/fpu/libm-test-ulps: Update.
20008
f0c1dedf
AJ
200092012-05-03 Andreas Jaeger <aj@suse.de>
20010
20011 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20012 does not get optimized out.
20013 (malloc_opt_barrier): New.
20014
a65ef2ae 200152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20016 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20017
2b942cb7 20018 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20019 intermediate file deletion.
2b942cb7 20020 (generated): Add .symlist files.
a65ef2ae 20021
54b71e02
JM
200222012-05-03 Joseph Myers <joseph@codesourcery.com>
20023
20024 [BZ #13775]
20025 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20026 Redirect under this condition.
20027 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20028 [__USE_GNU] (__dprintf_chk): Not under this condition.
20029 [__USE_GNU] (__vdprintf_chk): Likewise.
20030 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20031 under this condition.
20032 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20033 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20034 [__USE_XOPEN2K8] (vdprintf): Likewise.
20035 [__USE_GNU] (__dprintf_chk): Not under this condition.
20036 [__USE_GNU] (__vdprintf_chk): Likewise.
20037 [__USE_GNU] (dprintf): Likewise.
20038 [__USE_GNU] (vdprintf): Likewise.
20039
d3dfcc41
RM
200402012-05-03 Roland McGrath <roland@hack.frob.com>
20041
20042 * elf/Makefile (common-generated): Set this instead of generated for
20043 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20044 $(all-built-dso)-derived lists.
20045
7ac30cc5
AJ
200462012-05-03 Andreas Jaeger <aj@suse.de>
20047
0c51e550
AJ
20048 * sysdeps/i386/fpu/libm-test-ulps: Update.
20049
7ac30cc5
AJ
20050 * FAQ: Removed.
20051 * FAQ.in: Likewise.
20052 * scripts/gen-FAQ.pl: Likewise.
20053 * manual/install.texi (Installation): Point to online location of
20054 FAQ.
20055 * Makefile (files-for-dist): Remove FAQ.
20056 (FAQ): Remove.
20057
d4c2917f
AM
200582012-05-02 Allan McRae <allan@archlinux.org>
20059
20060 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20061 (LDFLAGS-reldepmod5.so): Likewise.
20062 (LDFLAGS-reldep6mod1.so): Likewise.
20063 (LDFLAGS-reldep6mod4.so): Likewise.
20064 (LDFLAGS-reldep8mod3.so): Likewise.
20065 (LDFLAGS-unload4mod1.so): Likewise.
20066 (LDFLAGS-unload4mod2.so): Likewise.
20067 (LDFLAGS-tst-initorder): Likewise.
20068 (LDFLAGS-tst-initordera2.so): Likewise.
20069 (LDFLAGS-tst-initordera3.so): Likewise.
20070 (LDFLAGS-tst-initordera4.so): Likewise.
20071 (LDFLAGS-tst-initorderb2.so): Likewise.
20072 (LDFLAGS-noload): Likewise.
20073 (LDFLAGS-next): Likewise.
20074 (LDFLAGS-order2mod1.so): Likewise.
20075 (LDFLAGS-order2mod2.so): Likewise.
20076 (LDFLAGS-tst-initorder2): Likewise.
20077 (LDFLAGS-tst-initorder2a.so): Likewise.
20078 (LDFLAGS-tst-initorder2b.so): Likewise.
20079 (LDFLAGS-tst-initorder2c.so): Likewise.
20080 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20081
d77f993f
DM
200822012-05-02 David S. Miller <davem@davemloft.net>
20083
20084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20085
171a70b4
PP
200862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20087
20088 [BZ #14055]
20089 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20090
0be196ad
AJ
200912012-05-02 Andreas Jaeger <aj@suse.de>
20092
20093 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20094 since we manipulate rounding mode.
20095 (CPPFLAGS-test-idouble.c): Likewise.
20096 (CPPFLAGS-test-ifloat.c): Likewise.
20097 (CFLAGS-test-ldouble.c): Likewise.
20098 (CFLAGS-test-double.c): Likewise.
20099 (CFLAGS-test-float.c): Likewise.
20100 (CFLAGS-test-misc.c): Likewise.
20101 (CFLAGS-test-test-fenv.c): Likewise.
20102
4f9d04aa
AZ
201032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20104
2b942cb7
RM
20105 [BZ #2550]
20106 [BZ #2570]
20107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20108 comparisons to determine direction to adjust input.
4f9d04aa 20109
82a79e7d
RM
201102012-05-01 Roland McGrath <roland@hack.frob.com>
20111
f5a01ca9
RM
20112 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20113 output to the target.
20114
90fe4186
RM
20115 * scripts/localplt.awk: New file.
20116 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20117 (check-localplt-CFLAGS): Variable removed.
20118 ($(all-built-dso:=.jmprel)): New static pattern rule.
20119 (generated): Add those targets.
20120 (localplt-built-dso): New variable.
20121 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20122
20123 * elf/check-localplt.c: File removed.
20124
82397ed6
RM
20125 * scripts/check-execstack.awk: New file.
20126 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20127 (check-execstack-CFLAGS): Variable removed.
20128 ($(objpfx)check-execstack.h): Target removed.
20129 ($(objpfx)execstack-default): New target.
20130 (generated): Add that instead of check-execstack.h.
20131 ($(all-built-dso:=.phdr)): New static pattern rule.
20132 (generated): Add those targets.
20133 * elf/check-execstack.c: File removed.
20134
82a79e7d
RM
20135 * scripts/check-textrel.awk: New file.
20136 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20137 (check-textrel-CFLAGS): Variable removed.
20138 (all-built-dso): Use := to define.o
20139 ($(all-built-dso:=.dyn)): New static pattern rule.
20140 (generated): Add those targets.
20141 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20142 * config.make.in (READELF): New substituted variable.
20143 * elf/check-textrel.c: File removed.
20144
62fde54f 201452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20146
615605c9
JM
20147 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20148 allow.
20149 * conform/data/ctype.h-data [C99-based standards] (isblank):
20150 Expect function.
20151 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20152 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20154 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20155 Specify type. Require positive value.
20156 (EILSEQ): Likewise.
20157 (ERANGE): Likewise.
20158 [ISO || POSIX] (EILSEQ): Do not expect.
20159 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20160 Specify type. Require positive value.
20161 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20162 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20163 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20164 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20165 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20166 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20167 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20168 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20169 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20170 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20171 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20172 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20173 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20174 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20175 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20176 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20177 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20178 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20179 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20182 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20183 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20184 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20185 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20186 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20187 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20188 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20189 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20190 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20191 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20192 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20193 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20194 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20235 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20236 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20237 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20238 Require >= 2.
20239 (FLT_ROUNDS): Expect as macro, not constant.
20240 (FLT_MANT_DIG): Use macro-int-constant.
20241 (DBL_MANT_DIG): Likewise.
20242 (LDBL_MANT_DIG): Likewise.
20243 (FLT_DIG): Likewise.
20244 (DBL_DIG): Likewise.
20245 (LDBL_DIG): Likewise.
20246 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20247 (DBL_MIN_EXP): Likewise.
20248 (LDBL_MIN_EXP): Likewise.
20249 (FLT_MAX_EXP): Use macro-int-constant.
20250 (DBL_MAX_EXP): Likewise.
20251 (LDBL_MAX_EXP): Likewise.
20252 (FLT_MAX_10_EXP): Likewise.
20253 (DBL_MAX_10_EXP): Likewise.
20254 (LDBL_MAX_10_EXP): Likewise.
20255 (FLT_MAX): Use macro-constant.
20256 (DBL_MAX): Likewise.
20257 (LDBL_MAX): Likewise.
20258 (FLT_EPSILON): Use macro-constant. Give upper bound.
20259 (DBL_EPSILON): Likewise.
20260 (LDBL_EPSILON): Likewise.
20261 (FLT_MIN): Likewise.
20262 (DBL_MIN): Likewise.
20263 (LDBL_MIN): Likewise.
20264 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20265 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20266 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20267 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20268 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20269 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20270 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20271 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20272 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20273 [ISO11] (FLT_TRUE_MIN): Likewise.
20274 [ISO11] (LDBL_TRUE_MIN): Likewise.
20275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20276 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20277 (SCHAR_MIN): Use macro-int-constant. Specify type.
20278 (SCHAR_MAX): Likewise.
20279 (UCHAR_MAX): Likewise.
20280 (CHAR_MIN): Likewise.
20281 (CHAR_MAX): Likewise.
20282 (MB_LEN_MAX): Use macro-int-constant.
20283 (SHRT_MIN): Use macro-int-constant. Specify type.
20284 (SHRT_MAX): Likewise.
20285 (USHRT_MAX): Likewise.
20286 (INT_MAX): Likewise.
20287 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20288 bound negative.
20289 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20290 bound with "U".
20291 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20292 bound with "L".
20293 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20294 bound negative. Suffix upper bound with "L".
20295 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20296 bound with "UL".
20297 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20298 Specify type.
20299 [C99-based standards] (LLONG_MAX): Likewise.
20300 [C99-based standards] (ULLONG_MAX): Likewise.
20301 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20302 == 0.
20303 [ISO11] (max_align_t): Require type.
20304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20305
c9140a62
JM
20306 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20307 from $CFLAGS, without defining away __attribute__ calls.
20308 (checknamespace): Use $CFLAGS_namespace.
20309
9af0bf29
JM
20310 * conform/conformtest.pl (@keywords): Only include C99 keywords
20311 for standards based on C99 or C11.
20312
343222a2
JM
20313 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20314 Disable tests.
20315 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20316 UNIX98]: Likewise.
20317
661f8cf0
JM
20318 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20319 usability of symbols in #if.
20320
ee74b9cb
JM
20321 * conform/conformtest.pl: If macro or constant types start
20322 "promoted:", expect the symbol to be of the following type
20323 promoted by the integer promotions.
62fde54f 20324
aafc49b3
JM
20325 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20326 in one place. Also handle "macro-constant".
20327
fefdf574
JM
20328 * conform/conformtest.pl: Only accept expected macro values with
20329 "==". Parse all "macro" lines in one place.
20330 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20331
f2d922fe
JM
20332 * conform/conformtest.pl: Handle braced types on "constant" lines
20333 instead of handling "typed-constant".
20334 * conform/data/signal.h-data: Use "constant" instead of
20335 "typed-constant".
20336
d22956c9
JM
20337 * conform/conformtest.pl: Handle "optional-" at start of lines in
20338 one place rather than duplicating several cases. Handle each
20339 format of "macro" line with initial "optional-".
20340
028e2e38
JM
20341 * conform/conformtest.pl: Only accept expected constant or
20342 optional-constant values with "==". Parse all "constant" lines in
20343 one place. Parse all "optional-constant" lines in one place.
20344 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20345 * conform/data/fmtmsg.h-data: Likewise.
20346 * conform/data/netinet/in.h-data: Likewise.
20347 * conform/data/tar.h-data: Likewise.
20348 * conform/data/limits.h-data: Use "==" form on "constant" and
20349 "optional-constant" lines.
20350
1b8f2850
JM
20351 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20352 Use -std=c99 for XOPEN2K.
20353 (@knownproblems): Remove.
20354 (newtoken): Don't check %isknown.
20355
a05a144b
JM
20356 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20357 Do not expect macro.
20358 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20370 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20371 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20388 [XPG3] (acosh): Likewise.
20389 [XPG3] (asinh): Likewise.
20390 [XPG3] (atanh): Likewise.
20391 [XPG3] (cbrt): Likewise.
20392 [XPG3] (expm1): Likewise.
20393 [XPG3] (ilogb): Likewise.
20394 [XPG3] (log1p): Likewise.
20395 [XPG3] (logb): Likewise.
20396 [XPG3] (nextafter): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20399 [XPG3] (remainder): Likewise.
20400 [XPG3] (rint): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20408 [UNIX98 || XOPEN2K] (scalb): Expect.
20409 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20410 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20546
73c5ebe3
JM
20547 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20548 _XOPEN_SOURCE_EXTENDED for XPG4.
20549
39c33b6c
JM
20550 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20551
62fde54f
JM
20552 * Makeconfig (localtime): Remove variable.
20553 (inst_localtime-file): Likewise.
20554
0741d64c
AS
205552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20556
20557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20558 Update.
20559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20560 Update.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20562 Update.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20564 Update.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20566 Update.
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20568 Update.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20570 Update.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20572 Update.
20573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20574 Update.
20575
7cb029ee
JM
205762012-05-01 Joseph Myers <joseph@codesourcery.com>
20577
20578 [BZ #2550]
20579 [BZ #2570]
20580 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20581 comparisons to determine direction to adjust input.
20582 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20583 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20585 Likewise.
20586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20587 Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20589 Likewise.
20590 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20591 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20592 Likewise.
20593 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20594 Likewise.
20595 * math/libm-test.inc (nexttoward_test): Add more tests.
20596
412bd966
AS
205972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20598
20599 [BZ #14040]
20600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20601 in version GLIBC_2.1, not GLIBC_2.0.
20602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20603 Likewise.
20604
9568c0c2
JM
206052012-04-30 Joseph Myers <joseph@codesourcery.com>
20606
adfbc8ac
JM
20607 [BZ #13942]
20608 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20609 (1 - x) * (1 + x).
20610 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20611 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20612 * math/libm-test.inc (acos_test): Add more tests.
20613 (asin_test): Likewise.
20614 * sysdeps/i386/fpu/libm-test-ulps: Update.
20615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20616
5ba3cc69
JM
20617 [BZ #14034]
20618 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20619 of square root.
20620 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20621 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20622 * math/libm-test.inc (acos_test_tonearest): New function.
20623 (acos_test_towardzero): Likewise.
20624 (acos_test_downward): Likewise.
20625 (acos_test_upward): Likewise.
20626 (asin_test_tonearest): Likewise.
20627 (asin_test_towardzero): Likewise.
20628 (asin_test_downward): Likewise.
20629 (asin_test_upward): Likewise.
20630 (main): Call the new functions.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20633
9568c0c2
JM
20634 [BZ #13884]
20635 [BZ #13924]
20636 * math/e_exp10.c: Include <float.h>.
20637 (__ieee754_exp10): Handle underflow here rather than multiplying
20638 large negative argument by M_LN10.
20639 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20640 of __ieee754_expf.
20641 * math/e_exp10l.c: Include <float.h>.
20642 (__ieee754_exp10l): Handle underflow here rather than multiplying
20643 large negative argument by M_LN10l.
20644 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20645 spurious overflow exception on underflow.
20646
5ac3ea17
MP
206472012-04-29 Marek Polacek <polacek@redhat.com>
20648
20649 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20650 (__fortify_function): New macro.
20651 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20652 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20653 __extern_always_inline.
20654 * libio/bits/stdio2.h: Likewise.
20655 * libio/bits/stdio.h: Likewise.
20656 * string/string.h: Likewise.
20657 * string/bits/string3.h: Likewise.
20658 * include/stdio.h: Likewise.
20659 * stdlib/bits/stdlib.h: Likewise.
20660 * stdlib/stdlib.h: Likewise.
20661 * rt/bits/mqueue2.h: Likewise.
20662 * rt/mqueue.h: Likewise.
20663 * posix/bits/unistd.h: Likewise.
20664 * posix/unistd.h: Likewise.
20665 * io/bits/poll2.h: Likewise.
20666 * io/bits/fcntl2.h: Likewise.
20667 * io/fcntl.h: Likewise.
20668 * io/sys/poll.h: Likewise.
20669 * misc/bits/syslog.h: Likewise.
20670 * misc/bits/syslog-ldbl.h: Likewise.
20671 * misc/sys/syslog.h: Likewise.
20672 * socket/bits/socket2.h: Likewise.
20673 * socket/sys/socket.h: Likewise.
20674 * debug/tst-chk1.c: Likewise.
20675 * wcsmbs/bits/wchar2.h: Likewise.
20676 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20677 * wcsmbs/wchar.h: Likewise.
20678
ecf0ebfb
AJ
206792012-04-29 Andreas Jaeger <aj@suse.de>
20680
20681 * Makerules (tests): Remove enable-check-abi protection.
20682 (check-abi-warn): Remove.
20683 (check-abi-%): Remove check-abi-warn usage.
20684
20685 * configure.in: Remove check-abi configure option.
20686 * configure: Regenerated.
20687 * config.make.in (enable-check-abi): Remove.
20688
6d5c57fa
AS
206892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20690
24c5d07e 20691 [BZ #14033]
ded5180a
AS
20692 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20693 double functions to double *_finite functions.
20694
7e0d315d
AS
20695 [BZ #13941]
20696 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20697 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20698 LDBL_MIN_EXP.
20699 * stdio-common/Makefile (tests): Add tst-sprintf3.
20700 * stdio-common/tst-sprintf3.c: New file.
20701
6d5c57fa
AS
20702 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20703 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20704
0749ff8b
JM
207052012-04-28 Joseph Myers <joseph@codesourcery.com>
20706
20707 * conform/conformtest.pl: Remove duplicate typed-constant
20708 handling.
20709
8dbd5d7b
DM
207102012-04-28 David S. Miller <davem@davemloft.net>
20711
20712 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20713 (check-abi-%): Remove AWK script prerequisite and explicit
20714 abilist directory.
20715 (check-abi): Rewrite to just diff the symlist with the abilist.
20716 (config-tls, config-abi-config): Delete, no longer used.
20717 (update-abi-%): Remove AWK script and explicit abilist directory.
20718 (update-abi): Rewrite to simply compare and conditionally copy the
20719 symlist and the sysdep abilist file. Remove update-abi-config
20720 checks.
20721 * abilist/ld.abilist: Remove.
20722 * abilist/libBrokenLocale.abilist: Remove.
20723 * abilist/libanl.abilist: Remove.
20724 * abilist/libcrypt.abilist: Remove.
20725 * abilist/libdl.abilist: Remove.
20726 * abilist/librt.abilist: Remove.
20727 * abilist/libthread_db.abilist: Remove.
20728 * abilist/libutil.abilist: Remove.
20729 * scripts/extract-abilist.awk: Remove.
20730 * scripts/merge-abilist.awk: Remove.
20731 * sysdeps/generic/libcidn.abilist: New file.
20732 * sysdeps/generic/libnss_compat.abilist: New file.
20733 * sysdeps/generic/libnss_db.abilist: New file.
20734 * sysdeps/generic/libnss_dns.abilist: New file.
20735 * sysdeps/generic/libnss_files.abilist: New file.
20736 * sysdeps/generic/libnss_hesiod.abilist: New file.
20737 * sysdeps/generic/libnss_nis.abilist: New file.
20738 * sysdeps/generic/libnss_nisplus.abilist: New file.
20739 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20740 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20741 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20742 file.
20743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20744 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20745 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20746 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20747 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20748 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20749 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20750 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20751 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20752 file.
20753 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20755 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20757 file.
20758 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20762 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20763 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20764 file.
20765 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20766 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20767 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20768 file.
20769 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20771 New file.
20772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20773 New file.
20774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20775 New file.
20776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20777 New file.
20778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20779 New file.
20780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20781 New file.
20782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20783 New file.
20784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20785 New file.
20786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20787 New file.
20788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20789 New file.
20790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20791 New file.
20792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20793 New file.
20794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20795 New file.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20797 file.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20799 New file.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20801 New file.
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20803 file.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20805 New file.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20807 New file.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20809 file.
20810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20811 New file.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20813 New file.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20815 New file.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20817 New file.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20819 New file.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20821 New file.
20822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20824 file.
20825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20826 New file.
20827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20828 file.
20829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20830 file.
20831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20832 file.
20833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20834 file.
20835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20836 file.
20837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20838 New file.
20839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20840 file.
20841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20842 file.
20843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20844 New file.
20845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20846 file.
20847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20849 file.
20850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20851 New file.
20852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20853 file.
20854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20855 file.
20856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20857 file.
20858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20859 file.
20860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20861 file.
20862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20863 New file.
20864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20865 file.
20866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20867 file.
20868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20869 New file.
20870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20871 file.
20872 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20873 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20874 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20875 file.
20876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20877 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20879 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20880 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20881 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20882 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20883 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20884 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20885 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20888 file.
20889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20890 New file.
20891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20892 file.
20893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20894 file.
20895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20896 file.
20897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20898 file.
20899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20900 file.
20901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20902 New file.
20903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20904 New file.
20905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20906 file.
20907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20908 New file.
20909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20910 file.
20911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20913 file.
20914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20915 New file.
20916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20917 file.
20918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20919 file.
20920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20921 file.
20922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20923 file.
20924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20925 file.
20926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20927 New file.
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20929 New file.
20930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20931 file.
20932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20933 New file.
20934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20935 file.
20936
41d73a1b
JM
209372012-04-28 Joseph Myers <joseph@codesourcery.com>
20938
20939 * conform/conformtest.pl: Fix typo in handling typed-constant from
20940 allow-header.
20941
28aeeda4
JM
209422012-04-27 Joseph Myers <joseph@codesourcery.com>
20943
adae8f5e
JM
20944 * README: Cut down references to pre-2.6 Linux kernels and
20945 Linuxthreads. Update lists of configurations in libc and ports
20946 and sort alphabetically. Say "or newer" with Linux kernel version
20947 requirements.
20948
28aeeda4
JM
20949 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20950
a462cb63
RA
209512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20952
20953 [BZ #887]
20954 * math/libm-test.inc (logb_test_downward): New test to expose
20955 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20956 rounding mode.
20957
6ad3493e
JM
209582012-04-27 Joseph Myers <joseph@codesourcery.com>
20959
20960 [BZ #14027]
20961 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20962 to be done.
20963 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20964 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20965
2ce4f015
JM
209662012-04-26 Joseph Myers <joseph@codesourcery.com>
20967
5aeb141a
JM
20968 * sysdeps/unix/i386/brk.S: Remove file.
20969 * sysdeps/unix/i386/dl-brk.S: Likewise.
20970 * sysdeps/unix/i386/pipe.S: Likewise.
20971 * sysdeps/unix/i386/sigreturn.S: Likewise.
20972 * sysdeps/unix/i386/syscall.S: Likewise.
20973 * sysdeps/unix/i386/vfork.S: Likewise.
20974 * sysdeps/unix/i386/wait.S: Likewise.
20975
7143acae
JM
20976 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20977 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20978
2ce4f015
JM
20979 * configure.in (arm*-none*): Do not allow without
20980 --enable-hacker-mode.
20981 (netbsd*): Remove case setting base_os.
20982 (386bsd*): Likewise.
20983 (freebsd*): Likewise.
20984 (bsdi*): Likewise.
20985 (osf*): Likewise.
20986 (sunos*): Likewise.
20987 (ultrix*): Likewise.
20988 (newsos*): Likewise.
20989 (dynix*): Likewise.
20990 (*bsd*): Likewise.
20991 (sysv*): Likewise.
20992 (isc*): Likewise.
20993 (esix*): Likewise.
20994 (sco*): Likewise.
20995 (minix*): Likewise.
20996 (irix4*): Likewise.
20997 (irix6*): Likewise.
20998 (solaris[2-9]*): Likewise.
20999 (none): Likewise.
21000 * configure: Regenerated.
21001
0ac229c8
AZ
210022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21003
21004 [BZ #11521]
21005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21006 overflow or cancellation in calculating denominator.
21007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21009 down expression to avoid unexpected rounding in newer GCCs.
21010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21011
33f244f4
DM
210122012-04-26 David S. Miller <davem@davemloft.net>
21013
21014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21015 long-double compat symbols.
21016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21029
cfa1f3e8
DM
210302012-04-25 David S. Miller <davem@davemloft.net>
21031
21032 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21033 HWCAP_* values only after the memory barriers have been defined.
21034 (atomic_full_barrier): Define.
21035 (atomic_read_barrier): Define.
21036 (atomic_write_barrier): Define.
21037
6e236b92
SP
210382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21039
21040 * shlib-versions: Add libgcc_s version information.
21041 * sysdeps/generic/libgcc_s.h: Remove.
21042 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21043 libgcc_s.h.
21044 * sysdeps/gnu/unwind-resume.c: Likewise.
21045 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21046
aab39a09
DM
210472012-04-25 David S. Miller <davem@davemloft.net>
21048
21049 * sysdeps/unix/sparc/brk.S: Delete.
21050 * sysdeps/unix/sparc/dl-brk.S: Delete.
21051 * sysdeps/unix/sparc/pipe.S: Delete.
21052 * sysdeps/unix/sparc/sysdep.S: Delete.
21053 * sysdeps/unix/sparc/sysdep.h: Delete.
21054 * sysdeps/unix/sparc/vfork.S: Delete.
21055 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21056 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21058 ret_ERRVAL, r0, r1, MOVE): Define.
21059 (JUMPTARGET): Remove.
21060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21061 sysdeps/unix/sparc/sysdep.h
21062 (ENTRY, END): Remove.
21063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21064
a3cc4f48
JM
210652012-04-25 Joseph Myers <joseph@codesourcery.com>
21066
2ed8cda2
JM
21067 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21068 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21069 -DIS_IN_build.
21070
35d76d59
JM
21071 * timezone/README: Update upstream location and email address for
21072 tzcode and tzdata.
21073 * timezone/zdump.c: Update from tzcode 2012b.
21074 * timezone/zic.c: Likewise.
21075
a3cc4f48
JM
21076 * configure.in (libc_cv_as_needed): Remove test.
21077 * configure: Regenerated.
21078 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21079 conditional definition.
21080 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21081 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21082 * config.make.in (have-as-needed): Remove variable.
21083
ceab42c3
SP
210842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21085 Paul Pluzhnikov <ppluzhnikov@google.com>
21086
21087 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21088 strings correctly.
21089
3ce2865f
CLT
210902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21091
21092 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21093 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21094 * sysdeps/sh/strlen.S: Likewise.
21095
f37e0d68
JM
210962012-04-24 Joseph Myers <joseph@codesourcery.com>
21097
ae186e9a
JM
21098 * sysdeps/unix/fork.S: Remove file.
21099 * sysdeps/unix/i386/fork.S: Likewise.
21100 * sysdeps/unix/sparc/fork.S: Likewise.
21101
b96914af
JM
21102 * sysdeps/unix/system.c: Remove file.
21103 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21104
f37e0d68
JM
21105 * sysdeps/unix/getegid.S: Remove file.
21106 * sysdeps/unix/geteuid.S: Likewise.
21107
87ef29ca
RM
211082012-04-24 Roland McGrath <roland@hack.frob.com>
21109
83bcd236
RM
21110 * scripts/check-localplt.awk: New file.
21111 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21112 of diff.
21113 * scripts/data/localplt-generic.data: Add a comment.
21114
87ef29ca
RM
21115 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21116 NODE when __dir_mkfile failed.
21117 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21118 Reported by Ludovic Courtès <ludo@gnu.org>.
21119
e5a6e567
AJ
211202012-04-24 Andreas Jaeger <aj@suse.de>
21121
21122 * Makerules (common-clean): Also remove gen-as-const-headers
21123 files.
21124
c1820385
JM
211252012-04-24 Joseph Myers <joseph@codesourcery.com>
21126
21127 * Makerules (native-compile): Do not change working directory for
21128 build. Use $(OUTPUT_OPTION) in command.
21129 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21130
94e02fc4
AZ
211312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21132
21133 [BZ #13886]
21134 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21135 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21136 * math/libm-test.inc (floor_test): Add more tests.
21137 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21138
3a533ca3
JM
211392012-04-24 Joseph Myers <joseph@codesourcery.com>
21140
940ab4b3
JM
21141 * sysdeps/unix/getdents.c: Remove file.
21142 * sysdeps/unix/sysv/getdents.c: Likewise.
21143 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21144
90e037bd
JM
21145 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21146 sysdeps/unix/mman/syscalls.list.
21147 (mmap): Likewise.
21148 (mprotect): Likewise.
21149 (msync): Likewise.
21150 (munmap): Likewise.
21151 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21152 * sysdeps/unix/mman/syscalls.list: Remove.
21153 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21154
3a533ca3
JM
21155 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21156 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21157 * configure: Regenerated.
21158 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21159 $(libgcc_s_suffix).
21160 * config.make.in (libgcc_s_suffix): Remove variable.
21161
1ad743de
JM
211622012-04-23 Joseph Myers <joseph@codesourcery.com>
21163
4ad451e2
JM
21164 * sysdeps/unix/sysv/gethostname.c: Move to ...
21165 * sysdeps/posix/gethostname.c: ... here.
21166
5e37ce39
JM
21167 * sysdeps/unix/execve.S: Remove file.
21168
1ad743de
JM
21169 * sysdeps/unix/_exit.S: Remove file.
21170
4e681b5b
AJ
211712012-04-23 Andreas Jaeger <aj@suse.de>
21172
21173 [BZ #13739]
21174 * manual/Makefile: Remove make dist support, there's no
21175 need for a stand-alone documentation tar ball.
21176 (TEXI2DVI): Define always, it's not in Makeconfig.
21177 (dist): Removed.
21178 (tar-it): Removed.
21179 (edition): Removed.
21180 (glibc-doc-$(edition).tar): Removed
21181 (%.Z): Removed.
21182 (%.gz): Removed.
21183 (%.uu): Removed.
21184 (ETAGS): Remove, it's in Makeconfig.
21185 (move-if-change): Remove, it's in Makeconfig.
21186
38686a03 211872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21188
21189 [BZ #13970]
21190 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21191 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21192 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21193 (strtod_l, strtof_l, strtold_l): Remove __wur.
21194 It is not necessarily an error to ignore strtol's return value.
21195 One can reliably look at the stored endptr to decide whether
21196 the number had valid syntax.
21197
7c0616fa
AJ
211982012-04-21 Andreas Jaeger <aj@suse.de>
21199
803cb6b7 21200 [BZ #13739]
7c0616fa
AJ
21201 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21202
b0fe253f
JM
212032012-04-21 Joseph Myers <joseph@codesourcery.com>
21204
21205 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21206 * sysdeps/unix/sysv/Versions: Remove file.
21207
8280f22d
MT
212082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21209
21210 [BZ #13927]
21211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21212
75ce411f 212132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21214
21215 [BZ #7064]
21216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21217 version from __vm86.
21218
097d59fa
JM
212192012-04-20 Joseph Myers <joseph@codesourcery.com>
21220
a90f3bcb
JM
21221 * sysdeps/unix/common/lxstat.c: Remove file.
21222 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21223
edc7ea78
JM
21224 * sysdeps/unix/sysv/Makefile: Remove file.
21225
cb78c221
JM
21226 * sysdeps/unix/sysv/direct.h: Remove file.
21227
efa6a45f
JM
21228 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21229 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21230 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21231 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21232 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21233 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21234 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21235
9c9f2d0c
JM
21236 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21237
4541c83b
JM
21238 * sysdeps/unix/xmknod.c: Remove file.
21239 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21240
f5d153a0
JM
21241 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21242
aa746595
JM
21243 * sysdeps/unix/sysv/i386/time.S: Remove file.
21244
cce5905e
JM
21245 * sysdeps/unix/fxstat.c: Remove file.
21246 * sysdeps/unix/xstat.c: Likewise.
21247 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21248
37fa3841
JM
21249 * sysdeps/unix/sysv/sigaction.c: Remove file.
21250
ff1962a3
JM
21251 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21252 (sysdep_headers): Remove variable.
21253 [termio.h not in sysdep_headers] (generated): Likewise.
21254 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21255 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21256 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21257 * sysdeps/unix/sysv/tcflow.c: Likewise.
21258 * sysdeps/unix/sysv/tcflush.c: Likewise.
21259 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21260 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21261 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21262 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21263 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21264
e7740d31
JM
21265 * sysdeps/unix/siglist.c: Remove file.
21266
ee06f18b
JM
21267 * sysdeps/unix/getppid.S: Remove file.
21268
097d59fa
JM
21269 * sysdeps/unix/mkdir.c: Remove file.
21270 * sysdeps/unix/rmdir.c: Likewise.
21271
ff3d51ec
AS
212722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21273
21274 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21275 ERR_MAX value.
21276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21277 errlist-compat value.
21278
50f81fd7
DM
212792012-04-18 David S. Miller <davem@davemloft.net>
21280
21281 * sysdeps/generic/memcopy.h (reg_char): Delete.
21282 * debug/strcat_chk.c: Use char, not reg_char.
21283 * debug/strcpy_chk.c: Likewise.
21284 * debug/strncat_chk.c: Likewise.
21285 * debug/strncpy_chk.c: Likewise.
21286 * string/memchr.c: Likewise.
21287 * string/memrchr.c: Likewise.
21288 * string/rawmemchr.c: Likewise.
21289 * string/strcat.c: Likewise.
21290 * string/strchr.c: Likewise.
21291 * string/strchrnul.c: Likewise.
21292 * string/strcmp.c: Likewise.
21293 * string/strcpy.c: Likewise.
21294 * string/strncat.c: Likewise.
21295 * string/strncmp.c: Likewise.
21296 * string/strncpy.c: Likewise.
21297
8ff41c46
WS
212982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21299
21300 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21301 __builtin_memcopy is called when src and dest ranges are known to not
21302 overlap.
21303
6b652f46
WS
213042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21305
21306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21307 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21308 fwd_align_merge macro call.
21309 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21310 bwd_align_merge macro call.
21311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21312
b282631e
WS
213132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21314
21315 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21316 bwd_align_merge macros.
21317 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21318 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21319 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21320
95aa737c
DM
213212012-04-18 David S. Miller <davem@davemloft.net>
21322
21323 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21324
7a99a614
AJ
213252012-04-18 Andreas Jaeger <aj@suse.de>
21326
21327 [BZ# 6794]
21328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21329 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21331
21332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21333 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21335
21336 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21337 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21338 Adjust for changed ldbl-128 files.
21339
21340 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21341 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21343
e5270c23
DM
213442012-04-17 David S. Miller <davem@davemloft.net>
21345
21346 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21347
fb5e92c9
AS
213482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21349
21350 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21351 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21352 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21353 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21354 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21355 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21356
76da7265
AZ
213572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21358
21359 [BZ #6794]
21360 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21361 * math/libm-test.inc: Add ilogb errno and exception tests.
21362 * math/w_ilogb.c: New file: ilogb wrapper.
21363 * math/w_ilogbf.c: New file: ilogbf wrapper.
21364 * math/w_ilogbl.c: New file: ilogbl wrapper.
21365 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21366 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21367 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21368 exception being thrown with 0.0 as argument.
21369 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21370 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21371 exception being thrown with 0.0 as argument.
21372 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21373 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21374 exception being thrown with 0.0 as argument.
21375 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21376 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21377 exception being thrown with 0.0 as argument.
21378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21379 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21381 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21382 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21384 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21385 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21386 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21387
0396e69d
PB
213882012-04-17 Petr Baudis <pasky@ucw.cz>
21389
21390 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21391 with altivec.
21392
750b5926
MP
213932012-04-16 Marek Polacek <polacek@redhat.com>
21394
21395 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21396
751728a1
MP
213972012-04-16 Marek Polacek <polacek@redhat.com>
21398
21399 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21400 operands of fdivp instruction.
21401
34a27407
L
214022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21403
21404 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21405 * elf/tst-auditmod3b.c: Likewise.
21406 * elf/tst-auditmod4b.c: Likewise.
21407 * elf/tst-auditmod5b.c: Likewise.
21408 * elf/tst-auditmod6b.c: Likewise.
21409 * elf/tst-auditmod6c.c: Likewise.
21410 * elf/tst-auditmod7b.c: Likewise.
21411 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21412 * sysdeps/x86_64/preconfigure.in: Likewise.
21413 * sysdeps/x86_64/preconfigure: Regenerated.
21414
7e73e17d
L
214152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21418 __ILP32__.
21419
c7a6ab72
AB
214202012-04-13 Antoine Balestrat <merkil33@gmail.com>
21421
21422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21423 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21424
a9e8e0e0
CL
214252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21426
21427 [BZ #13973]
21428 * locale/iso-639.def: Fix gl language name. Spotted by
21429 Yaron Shahrabani.
21430
ec98af7d
RM
214312012-04-12 Roland McGrath <roland@hack.frob.com>
21432
21433 [BZ #2074]
21434 * libio/libio.h (__io_write_fn): Update comment.
21435
247c3ede
PB
214362012-04-12 Petr Baudis <pasky@ucw.cz>
21437
21438 [BZ #2074]
21439 * stdio.texi (Hook Functions): The user provided writer function
21440 is not allowed to return -1.
21441
55939d6d
DM
214422012-04-11 David S. Miller <davem@davemloft.net>
21443
21444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21445
90020f5a
MF
214462012-04-11 Mike Frysinger <vapier@gentoo.org>
21447
21448 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21449 Add a leading slash to rtkaio.
21450
288f9098
JM
214512012-04-11 Jim Meyering <meyering@redhat.com>
21452
90020f5a
MF
21453 [BZ #11959]
21454 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21455 It is not necessarily an error to ignore fwrite's return
21456 value. One can reliably use ferror to test for errors after
21457 the fact.
288f9098 21458
4be2b570
L
214592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 * bits/types.h (__snseconds_t): New type.
21462 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21463
21464 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21466 (__SNSECONDS_T_TYPE): Likewise.
21467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21468 (__SNSECONDS_T_TYPE): Likewise.
21469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21470 (__SNSECONDS_T_TYPE): Likewise.
21471
288f9098 214722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21473
21474 [BZ #2636]
21475 * manual/time.texi (Processor Time): Return type of times is
21476 elapsed real time since an arbitrary point in the past.
21477 (CPU Time): Move CLK_TCK from here...
21478 (Processor Time): ...to here. Correct description.
21479 * manual/conf.texi (Constants for Sysconf): Correct description of
21480 _SC_CLK_TCK.
21481
d7dd4413
DM
214822012-04-10 David S. Miller <davem@davemloft.net>
21483
21484 [BZ #13967]
21485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21486 where the is a gap between DT_REL(A) and DT_JMPREL.
21487
b46068fc
L
214882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21489
21490 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21491 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21492 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21493
73d65cc3
SP
214942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21495
21496 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21497 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21498 (dl_main): Handle --inhibit-cache.
21499 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21500 _dl_inhibit_cache.
21501 * elf/dl-load.c (_dl_map_object): Use it.
21502 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21503
bcc8d661
JM
215042012-04-09 Joseph Myers <joseph@codesourcery.com>
21505
8f9a2fae
JM
21506 [BZ #13872]
21507 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21508 (__ieee754_powl): Saturate large exponents rather than testing for
21509 overflow of y*log2(x).
21510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21511 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21512 exceptions.
21513
bcc8d661
JM
21514 [BZ #11521]
21515 * math/s_ctan.c: Include <float.h>.
21516 (__ctan): Avoid internal overflow or cancellation in calculating
21517 denominator.
21518 * math/s_ctanf.c: Likewise.
21519 * math/s_ctanl.c: Likewise.
21520 * math/s_ctanh.c: Likewise.
21521 * math/s_ctanhf.c: Likewise.
21522 * math/s_ctanhl.c: Likewise.
21523 * math/libm-test.inc (ctan_test): Add more tests.
21524 (ctanh_test): Likewise.
21525 * sysdeps/i386/fpu/libm-test-ulps: Update.
21526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21527
823fbbb4
AJ
215282012-04-09 Andreas Jaeger <aj@suse.de>
21529
03879793
AJ
21530 [BZ #6894]
21531 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21532 is an optional BSD extension.
21533
823fbbb4
AJ
21534 [BZ #10254]
21535 * manual/stdio.texi (Opening Streams): Document additional fopen
21536 parameters.
21537
8de131cb
RM
215382012-04-09 Roland McGrath <roland@hack.frob.com>
21539
21540 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21541 %eax without telling the compiler.
21542
c0ed9d7d
CD
215432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21544
21545 [BZ # 13963]
21546 * manual/install.texi: Use sourceware.org.
21547
c483f6b4
JM
215482012-04-09 Joseph Myers <joseph@codesourcery.com>
21549
d7dd9453
JM
21550 [BZ #13873]
21551 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21552 (__ieee754_pow): Generate overflow and underflow using huge*huge
21553 and tiny*tiny rather than just returning constant infinity or zero
21554 for large exponents.
21555 * math/libm-test.inc (pow_test): Require overflow exceptions for
21556 applicable cases of large exponents.
21557
c483f6b4
JM
21558 [BZ #706]
21559 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21560 (__ieee754_pow): Use iterative multiplication algorithm only for
21561 integer exponents with absolute value below 1024. Check for odd
21562 integer exponents when using algorithm for real exponents.
21563 * math/libm-test.inc (pow_test): Add more tests.
21564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21565
d2de7579
JM
215662012-04-08 Joseph Myers <joseph@codesourcery.com>
21567
21568 [BZ #13705]
21569 * math/libm-test.inc (exp_test): Do not allow overflow exception
21570 on underflow test.
21571
f77f1232
AJ
215722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21573
21574 [BZ #13705]
21575 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21576 instead of __kernel_standard_f.
21577
3884932b
MF
215782012-04-08 Mike Frysinger <vapier@gentoo.org>
21579
21580 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21581 * sysdeps/x86_64/memset_chk.S: Likewise.
21582
54472e9c
AJ
215832012-04-08 Andreas Jaeger <aj@suse.de>
21584
6ab0fbfc
AJ
21585 [BZ #10153]
21586 * manual/startup.texi (Environment Access): Describe return value
21587 for putenv and setenv.
21588
61efba8c
AJ
21589 [BZ #6895]
21590 * manual/filesys.texi (Directory Entries): Add description for
21591 DT_LNK.
21592
95c3f29a
AJ
21593 [BZ #6890]
21594 * manual/filesys.texi (Directory Entries): Clarify that it's file
21595 system not operating system in the description of DT_UNKNOWN.
21596
54472e9c
AJ
21597 [BZ #6578]
21598 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21599
624254b1
SC
216002012-04-08 Stephen Compall <s11@member.fsf.org>
21601
21602 [BZ #6649]
21603 * manual/llio.texi (Opening and Closing Files): Add cross
21604 reference to explain mode argument.
21605
1e4920e0
MF
216062012-04-07 Mike Frysinger <vapier@gentoo.org>
21607
21608 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21609 * sysdeps/x86_64/memset_chk.S: Likewise.
21610
5ed848f3
DM
216112012-04-07 David S. Miller <davem@davemloft.net>
21612
21613 * elf/elf.h (R_SPARC_WDISP10): Define.
21614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21615 R_SPARC_SIZE32.
21616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21617 R_SPARC_SIZE64 and R_SPARC_H34.
21618
96154cd8
CD
216192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21620
21621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21622 conditions and remove no longer applicable assertion.
21623
9904dc47
L
216242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * bits/byteswap.h: Include <features.h>.
21627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21629
f8887d0a
L
216302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21631
21632 * bits/byteswap.h (__bswap_16): Removed.
21633 Include <bits/byteswap-16.h> to get __bswap_16.
21634 * sysdeps/i386/bits/byteswap.h: Likewise.
21635 * sysdeps/s390/bits/byteswap.h: Likewise.
21636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21637 * bits/byteswap-16.h: New file.
21638 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21639 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21640 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21641 * string/Makefile (headers): Add bits/byteswap-16.h.
21642
62470f60
PP
216432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21644
21645 [BZ #13895]
21646 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21647 extra indirection.
21648 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21649 * nss/tst-nss-static.c: New.
21650
4dad7bab
RM
216512012-04-06 Robert Millan <rmh@gnu.org>
21652
21653 [BZ #6486]
21654 * manual/llio.texi (File Position Primitive): lseek
21655 refers to WHENCE when it really means OFFSET.
21656
e9142a17
AJ
216572012-04-06 Andreas Jaeger <aj@suse.de>
21658
2c040eff
AJ
21659 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21660 strncmp declarations.
21661
e9142a17
AJ
21662 * abilist/libc.abilist: Add __poll and __ppoll.
21663
ff9f1c5f
DM
216642012-04-05 David S. Miller <davem@davemloft.net>
21665
dcd2ae90
DM
21666 * scripts/check-local-headers.sh: Accept a host triplet in the
21667 path matched by the exclude regexp.
21668
993eb054
DM
21669 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21670 definition.
21671 * sysdeps/powerpc/powerpc32/dl-machine.h
21672 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21673 * sysdeps/s390/s390-32/dl-machine.h
21674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21675 * sysdeps/sparc/sparc32/dl-machine.h
21676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21677 * sysdeps/sparc/sparc64/dl-machine.h
21678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21679
ff9f1c5f
DM
21680 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21681 lazy binding.
48e2e132 21682 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21683 undefined symbol errors.
21684
48e2e132 21685 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21686 DT_NEEDED entries.
21687
e80d6f94
MM
216882012-04-05 Michael Matz <matz@suse.de>
21689
21690 [BZ #13592]
21691 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21692
349fa79f
AJ
216932012-04-05 Andreas Jaeger <aj@suse.de>
21694
21695 [BZ #13908]
21696 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21697 comment.
21698
f402708f
KK
216992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21700
21701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21702 which ROUND is no valid rounding mode.
21703
2ecccfc9
KK
217042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21705
21706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21707 read again.
21708 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21709
8a53f50f
KK
217102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21711
21712 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21713 an exception using FPU order intentionally.
21714
217152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21716
21717 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21718 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21719 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21720 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21721
d653abb7
SJ
217222012-04-05 Simon Josefsson <simon@josefsson.org>
21723
21724 [BZ #12340]
21725 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21726 EINVAL when BUFLEN is too smal.
21727
c3b1bf7d
TS
217282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21729
21730 [BZ #13553]
21731 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21732 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21733
b1aa60f3
AJ
217342012-04-03 Andreas Jaeger <aj@suse.de>
21735
c3b1bf7d 21736 [BZ #13938]
67f60a26
AJ
21737 * manual/setjmp.texi (System V contexts): Fix sentence.
21738
b1aa60f3
AJ
21739 [BZ #13926]
21740 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21741 New macro for this case.
21742 [!__GNUC__] (__bswap_64): New inline function for this case.
21743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21744 * bits/byteswap.h: Likewise.
21745 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21746 ull, guard with __GLIBC_HAVE_LONG_LONG.
21747
21748 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21749 __GLIBC_HAVE_LONG_LONG.
21750
21751 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21752 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21753
39c59c35
TMQMF
217542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21755
21756 [BZ #13691]
21757 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21758 inptr and inend, rather than using last_ch.
21759
135ffda8
DM
217602012-04-02 David S. Miller <davem@davemloft.net>
21761
21762 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21763 * stdio-common/printf-parse.h (read_int): Change return type to
21764 'int', return -1 on INT_MAX overflow.
21765 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21766 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21767 overflows INT_MAX. Check for overflow of in-format-string precision
21768 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21769 SIZE_MAX not INT_MAX for integer overflow test.
21770 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21771 skip the construct in the format string but do not record anything.
21772 * stdio-common/bug22.c: Adjust to test both width/prevision
21773 INT_MAX overflow as well as total length INT_MAX overflow. Check
21774 explicitly for proper errno values.
21775
228c019e
TS
217762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21777
302cadd3
TS
21778 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21779 CHAR_MAX.
21780 * string/test-strcmp.c [! WIDE]: Likewise.
21781 * time/tst-mktime2.c: Likewise for INT_MAX.
21782 * string/test-string.h: #include <sys/param.h> for MIN.
21783
228c019e
TS
21784 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21785 * sysdeps/i386/init-first.c (init): Likewise.
21786 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21787 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21788 * sysdeps/sh/init-first.c (init): Likewise.
21789
cfa633f5
UD
217902012-04-01 Ulrich Drepper <drepper@gmail.com>
21791
21792 * po/ru.po: Update from translation team.
d1635ef8 21793 * po/vi.po: Likewise.
cfa633f5 21794
6cd0a5ea
SP
217952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21796
21797 * resolv/nss_dns/dns-host.c: Merge copyright years.
21798
4b43400f
LD
217992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21800
21801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21802 Optimize memcpy with prefetch if
21803 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21804 src, dst pointers have unequal 16 byte alignments.
21805
48c41d04
SP
218062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21807
21808 [BZ #13928]
21809 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21810 from a CNAME entry and return the minimum ttl for the query.
21811 (gaih_getanswer_slice): Likewise.
21812
b8dc394d
JL
218132012-03-30 Jeff Law <law@redhat.com>
21814
21815 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21816 due to long keys.
21817 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21818 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21819
2f5a5ed0
JL
21820 * resolv/nss_dns/dns-host.c: Update copyright year.
21821
1d39e359
UD
218222012-03-30 Ulrich Drepper <drepper@gmail.com>
21823
c030f70c 21824 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21825 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21826
1d39e359
UD
21827 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21828 comments for sendmmsg.
21829
218302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21831
21832 [BZ #13691]
21833 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21834 with only 1 character between 0x0041 and 0x01b0.
21835 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21836 * wcsmbs/tst-mbsnrtowcs.c: New file.
21837
20fde227
DM
218382012-03-29 David S. Miller <davem@davemloft.net>
21839
21840 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21841 small copies by hand.
21842
984a4237
JL
218432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21844
21845 [BZ #13761]
21846 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21847 _nss_compat_initgroups_dyn): Fall back to malloc/free
21848 for large group memberships.
21849
18c9d62b
DM
218502012-03-28 David S. Miller <davem@davemloft.net>
21851
88d85d4f
DM
21852 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21853 that branches into memcpy.
21854 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21857 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21859 bits.
21860 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21861 implementation too.
21862 * sysdeps/sparc/mempcpy.S: New file.
21863
e5aa83e1
DM
21864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21865 the IFUNC routine in the libc case.
21866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21867
88570753
DM
21868 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21869 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21870 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21871 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21872 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21873 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21874 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21875 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21876
249d7567
DM
21877 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21878 loop to 256 bytes instead of 64 bytes and fix test signedness.
21879
18c9d62b
DM
21880 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21881 * sysdeps/sparc/sparc32/Makefile: rather than here...
21882 * sysdeps/sparc/sparc64/Makefile: and here.
21883
05f3d1f6
UD
218842012-03-28 Ulrich Drepper <drepper@gmail.com>
21885
21886 * malloc/mallocbug.c: Avoid warnings about unused variables.
21887
86ae07a8
JL
218882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21889
21890 [BZ #13760]
21891 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21892 in the right place. Discard and retry query if response is
21893 larger than input buffer size.
21894
41bf21a1
JM
218952012-03-28 Joseph Myers <joseph@codesourcery.com>
21896
d6270972
JM
21897 [BZ #369]
21898 [BZ #2678]
21899 [BZ #3866]
21900 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21901 x for large integer exponent.
21902 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21903 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21904 sign of result as needed afterwards.
21905 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21907 result for underflowing pow the same as for overflow.
21908 (__kernel_standard_l): Handle powl overflow and underflow here
21909 rather than calling __kernel_standard.
21910 * math/libm-test.inc (pow_test): Add more tests.
21911
414fca03 21912 [BZ #3868]
41bf21a1
JM
21913 [BZ #13879]
21914 [BZ #13910]
21915 [BZ #13911]
21916 [BZ #13912]
21917 [BZ #13913]
21918 [BZ #13915]
21919 [BZ #13916]
21920 [BZ #13917]
21921 [BZ #13918]
21922 [BZ #13919]
21923 [BZ #13920]
21924 [BZ #13921]
21925 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21926 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21927 (__kernel_standard_l): New function.
21928 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21929 __kernel_standard.
21930 * math/w_acosl.c (__acosl): Likewise.
21931 * math/w_asinl.c (__asinl): Likewise.
21932 * math/w_atan2l.c (__atan2l): Likewise.
21933 * math/w_atanhl.c (__atanhl): Likewise.
21934 * math/w_coshl.c (__coshl): Likewise.
21935 * math/w_exp10l.c (__exp10l): Likewise.
21936 * math/w_exp2l.c (__exp2l): Likewise.
21937 * math/w_fmodl.c (__fmodl): Likewise.
21938 * math/w_hypotl.c (__hypotl): Likewise.
21939 * math/w_j0l.c (__j0l, __y0l): Likewise.
21940 * math/w_j1l.c (__j1l, __y1l): Likewise.
21941 * math/w_jnl.c (__jnl, __ynl): Likewise.
21942 * math/w_lgammal.c (__lgammal): Likewise.
21943 * math/w_log10l.c (__log10l): Likewise.
21944 * math/w_log2l.c (__log2l): Likewise.
21945 * math/w_logl.c (__logl): Likewise.
21946 * math/w_powl.c (__powl): Likewise.
21947 * math/w_remainderl.c (__remainderl): Likewise.
21948 * math/w_scalbl.c (sysv_scalbl): Likewise.
21949 * math/w_sinhl.c (__sinhl): Likewise.
21950 * math/w_sqrtl.c (__sqrtl): Likewise.
21951 * math/w_tgammal.c (__tgammal): Likewise.
21952 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21953 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21954 * math/libm-test.inc (acos_test): Add more tests.
21955 (acosh_test): Likewise.
21956 (asin_test): Likewise.
21957 (atanh_test): Likewise.
21958 (exp_test): Likewise.
21959 (exp10_test): Likewise.
21960 (exp2_test): Likewise.
21961 (expm1_test): Likewise.
21962 (lgamma_test): Likewise.
21963 (log_test): Likewise.
21964 (log10_test): Likewise.
21965 (log1p_test): Likewise.
21966 (log2_test): Likewise.
21967 (pow_test): Do not allow some spurious overflow exceptions.
21968 (sqrt_test): Add more tests.
21969 (tgamma_test): Likewise.
21970 (y0_test): Likewise.
21971 (y1_test): Likewise.
21972 (yn_test): Likewise.
21973
dd62fda6
AB
219742012-03-27 Anton Blanchard <anton@samba.org>
21975
21976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21977 MAP_HUGETLB.
21978 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21981
1e3cdfda
AJ
219822012-03-27 David S. Miller <davem@davemloft.net>
21983
b855ab85
DM
21984 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21985
1e3cdfda
AJ
21986 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21987 have-as-vis3 check.
21988
219892012-03-27 Andreas Jaeger <aj@suse.de>
21990
21991 * sysdeps/x86_64/elf/configure.in: Moved to ...
21992 * sysdeps/x86_64/configure.in: ... here.
21993 * sysdeps/x86_64/elf/start.S: Moved to ...
21994 * sysdeps/x86_64/start.S: ... here.
21995 * sysdeps/x86_64/elf/configure: Delete.
21996
21997 * sysdeps/x86_64/configure.in: Merge contents from
21998 sysdeps/i386/configure.in (without i686 check).
21999
22000 * sysdeps/i386/elf/Versions: Merge into ...
22001 * sysdeps/i386/Versions: ... this.
22002 * sysdeps/i386/elf/Versions: Delete file.
22003 * sysdeps/i386/elf/start.S: Moved to ...
22004 * sysdeps/i386/start.S: ...here.
22005 * sysdeps/i386/elf/configure.in: Merge into...
22006 * sysdeps/i386/configure.in: ...here.
22007 * sysdeps/i386/elf/configure.in: Delete file.
22008 * sysdeps/i386/elf/configure: Delete file.
22009
22010 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22011 * debug/backtracesyms.c: ... here.
22012 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22013 * debug/backtracesymsfd.c: ... here.
22014 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22015 * sysdeps/generic/ifunc-sel.h: ... here.
22016
22017 * sysdeps/unix/i386/start.c: Delete file.
22018 * sysdeps/unix/sparc/start.c: Delete file.
22019 * sysdeps/unix/start.c: Delete file.
22020
22021 * sysdeps/sh/elf/configure.in: Moved to ...
22022 * sysdeps/sh/configure.in: ... here.
22023 * sysdeps/sh/elf/start.S: Moved to ...
22024 * sysdeps/sh/start.S: ... here.
22025 * sysdeps/sh/elf/configure: Delete file.
22026
22027 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22028 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22029 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22030 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22031 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22032 * sysdeps/powerpc/powerpc64/start.S: here.
22033 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22034 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22035 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22036 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22037 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22038
22039 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22040 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22041 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22042 * sysdeps/powerpc/powerpc32/start.S: ... here.
22043 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22044 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22045 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22046
22047 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22048 * sysdeps/powerpc/ifunc-sel.h: ... here.
22049 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22050 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22051
22052 * sysdeps/sparc/elf/configure.in: Moved to ...
22053 * sysdeps/sparc/configure.in: ... here.
22054 * sysdeps/sparc/elf/configure: Delete file.
22055 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22056 * sysdeps/sparc/sparc32/start.S: ... here.
22057 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22058 * sysdeps/sparc/sparc64/start.S: ... here.
22059 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22060 * sysdeps/sparc/sparc32/Makefile: ... this.
22061 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22062 * sysdeps/sparc/sparc64/Makefile: ... this.
22063
22064 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22065 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22066 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22067 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22068 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22069 * sysdeps/s390/s390-32/setjmp.S: ... here.
22070 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22071 * sysdeps/s390/s390-32/configure.in: ... here.
22072 * sysdeps/s390/s390-32/elf/configure: Delete file.
22073 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22074 * sysdeps/s390/s390-32/start.S: ... here.
22075
22076 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22077 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22078 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22079 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22080 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22081 * sysdeps/s390/s390-64/setjmp.S: ... here.
22082 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22083 * sysdeps/s390/s390-64/configure.in: ... here
22084 * sysdeps/s390/s390-64/elf/configure: Delete file.
22085 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22086 * sysdeps/s390/s390-64/start.S: ... here.
22087 * sysdeps/s390/s390-64/elf/configure: Delete.
22088
22089 * configure.in: Remove support for elf directories in sysdeps.
22090
22091 * configure: Regenerated.
22092 * sysdeps/i386/configure: Regenerated.
22093 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22094 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22095 * sysdeps/s390/s390-32/configure: Regenerated.
22096 * sysdeps/s390/s390-64/configure: Regenerated.
22097 * sysdeps/sh/configure: Regenerated.
22098 * sysdeps/sparc/configure: Regenerated.
22099 * sysdeps/x86_64/configure: Regenerated.
22100
a3f61311
AS
221012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22102
c876e002
AS
22103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22104
a3f61311
AS
22105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22106 denormal result into account.
22107
ac4c54f0
RM
221082012-03-25 Roland McGrath <roland@hack.frob.com>
22109
22110 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22111 Reported by Allan McRae <allan@archlinux.org>.
22112
6a9b9c02
JL
221132012-03-23 Jeff Law <law@redhat.com>
22114
22115 * nss/getnssent.c (__nss_getent): Fix typo.
22116
4c42a0c1
DM
221172012-03-23 David S. Miller <davem@davemloft.net>
22118
22119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22120
1532c7ac
L
221212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22122
22123 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22124 to pad to uint64_t for each field.
22125 (dl_tls_index): Replace unsigned long with uint64_t.
22126
3ff42526
PP
221272012-03-23 Daniel Jacobowitz <dmj@google.com>
22128 Paul Pluzhnikov <ppluzhnikov@google.com>
22129
22130 [BZ #6528]
22131 * grp/Makefile (otherlibs): Don't set it.
22132 * inet/Makefile (otherlibs): Likewise.
22133 * login/Makefile (otherlibs): Likewise.
22134 * nscd/Makefile (otherlibs): Likewise.
22135 * posix/Makefile (otherlibs): Likewise.
22136 * pwd/Makefile (otherlibs): Likewise.
22137 * rt/Makefile (otherlibs): Likewise.
22138 * sunrpc/Makefile (otherlibs): Likewise.
22139 * nss/Makefile (otherlibs): Likewise.
22140 Add libnss_files to routines and static-only-routines.
22141 ($(objpfx)getent): Remove rule.
22142 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22143 static-only-routines.
22144
7c69cd14
JM
221452012-03-22 Joseph Myers <joseph@codesourcery.com>
22146
22147 [BZ #13892]
22148 * math/s_cexp.c: Include <float.h>.
22149 (__cexp): Handle exp result overflowing not necessarily
22150 overflowing both real and imaginary parts of result.
22151 * math/s_cexpf.c: Likewise.
22152 * math/s_cexpl.c: Likewise.
22153 * math/libm-test.inc (cexp_test): Add more tests.
22154 * sysdeps/i386/fpu/libm-test-ulps: Update.
22155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22156
81b035fe
L
221572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * include/link.h (ELFW): New macro.
22160 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22161 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22162
1da7940c
L
221632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22164
22165 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22166 with uint64_t.
22167
b749dbb9
L
221682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22169
22170 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22171 declaration.
22172 (struct La_x32_retval): Likewise.
22173
2ff87f3f
L
221742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 * sysdeps/x86_64/preconfigure.in: New file.
22177 * sysdeps/x86_64/preconfigure: New generated file.
22178
c0df8e69
JM
221792012-03-22 Joseph Myers <joseph@codesourcery.com>
22180
48e44791
JM
22181 [BZ #13824]
22182 * math/e_exp2l.c: Include <float.h>.
22183 (__ieee754_exp2l): Handle overflow and underflow cases
22184 separately. Only pass fractional part of argument to
22185 __ieee754_expl.
22186 * math/libm-test.inc (exp2_test): Add more tests.
22187
c0df8e69
JM
22188 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22189 negating x to take absolute value.
22190 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22191 Likewise.
22192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22194 Likewise.
22195 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22196 computing low part if x was negated.
22197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22198
c8e43ba7
L
221992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22200
22201 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22202 la_x32_gnu_pltexit.
22203 (pltexit): Cast int_retval to ptrdiff_t.
22204 * elf/tst-auditmod3b.c: Likewise.
22205 * elf/tst-auditmod4b.c: Likewise.
22206 * elf/tst-auditmod5b.c: Likewise.
22207 * elf/tst-auditmod6b.c: Likewise.
22208 * elf/tst-auditmod6c.c: Likewise.
22209 * elf/tst-auditmod7b.c: Likewise.
22210
22211 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22212 and x32_gnu_pltexit.
22213
22214 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22215 __ELF_NATIVE_CLASS.
22216 (La_x32_regs): New macro.
22217 (La_x32_retval): Likewise.
22218 (la_x32_gnu_pltenter): New function prototype.
22219 (la_x32_gnu_pltexit): Likewise.
22220
7998fa78
AS
222212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22222
dcb33988
AS
22223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22224 exponent.
22225
233fc563
AS
22226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22227
7998fa78
AS
22228 * configure.in (libc_cv_cc_nofma): Check for option to disable
22229 generation of FMA instructions.
22230 * configure: Regenerate.
22231 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22232 * sysdeps/ieee754/dbl-64/Makefile: New file.
22233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22234 Remove brandred-fma4.
22235 (CFLAGS-brandred-fma4.c): Remove.
22236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22237 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22238 define.
22239 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22240 define.
22241
8e95c99a
L
222422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22243
22244 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22245 LLONG_MAX != LONG_MAX.
22246 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22247 (_fitoa_word): Likewise.
22248 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22249 LLONG_MAX != LONG_MAX.
22250 * stdio-common/_itowa.h: Include <_itoa.h>.
22251 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22252 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22253 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22254 only if not defined.
22255 (_ITOA_WORD_TYPE): Likewise.
22256 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22257 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22258
6f4db457
DM
222592012-03-21 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22262
7785fe5a
L
222632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22264
22265 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22266 of x86_64 when setting libc_cv_slibdir, libdir and
22267 libc_cv_localedir.
22268 * sysdeps/unix/sysv/linux/configure: Regenerated.
22269
4535cd55
JM
222702012-03-21 Joseph Myers <joseph@codesourcery.com>
22271
22272 * manual/lang.texi (Old Varargs): Remove section.
22273 (How Variadic): Update menu.
22274 (va_start): Do not mention varargs.h.
22275
17228132
TS
222762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22277 Joseph Myers <joseph@codesourcery.com>
22278
22279 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22280 link test.
22281 * configure: Regenerated.
22282
8149f976
TS
222832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22284
05f3d1f6
UD
22285 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22286 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22287 conformtest.pl
8149f976 22288
1a4ac776
JM
222892012-03-21 Joseph Myers <joseph@codesourcery.com>
22290
be22ce65
JM
22291 * NOTES: Remove.
22292 * Makefile (files-for-dist): Remove NOTES.
22293 (NOTES): Remove rule.
22294 * README: Don't refer to NOTES.
22295 * manual/creature.texi: Don't include macros.texi.
22296 * manual/intro.texi (creature.texi): Remove comment referring to
22297 NOTES.
22298
40b601fb
JM
22299 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22300 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22301 * configure: Regenerated.
22302 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22303 LIBC_TRY_CC_OPTION.
22304 (libc_cv_as_i686): Likewise.
22305 (libc_cv_cc_avx): Likewise.
22306 (libc_cv_cc_sse2avx): Likewise.
22307 (libc_cv_cc_fma4): Likewise.
22308 (libc_cv_cc_novzeroupper): Likewise.
22309 * sysdeps/i386/configure: Regenerated.
22310
1a4ac776
JM
22311 [BZ #13883]
22312 * sysdeps/i386/fpu/s_cexp.S: Remove.
22313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22314 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22315 * math/libm-test.inc (cexp_test): Add more tests.
22316 * sysdeps/i386/fpu/libm-test-ulps: Update.
22317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318
a458e7fe
AM
223192012-03-21 Allan McRae <allan@archlinux.org>
22320
22321 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22322
0cb7efc5
JM
223232012-03-21 Joseph Myers <joseph@codesourcery.com>
22324
22325 [BZ #13871]
22326 * math/w_exp2.c: Do not include <float.h>.
22327 (o_threshold, u_threshold): Remove.
22328 (__exp2): Calculate result before checking finiteness and calling
22329 __kernel_standard.
22330 * math/w_exp2f.c: Likewise.
22331 * math/w_exp2l.c: Likewise.
22332 * math/libm-test.inc (exp2_test): Require overflow exception for
22333 1e6 input.
2460d3aa
JM
22334
22335 [BZ #3866]
22336 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22337 range of signed 64-bit integers before using fistpll. Remove
22338 checks for whether integers fit in mantissa bits.
22339 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22340 the range of signed 32-bit integers before using fistpl. Remove
22341 checks for whether integers fit in mantissa bits.
22342 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22343 (__ieee754_powl): Test for y outside the range of signed 64-bit
22344 integers before using fistpll. Reduce 64-bit values to 63-bit
22345 ones as needed.
22346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22347 divide-by-zero is raised for zero to large negative powers.
22348 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22349 (__ieee754_powl): Test for y outside the range of signed 64-bit
22350 integers before using fistpll. Reduce 64-bit values to 63-bit
22351 ones as needed.
22352 * math/libm-test.inc (pow_test): Add more tests.
22353
eb96ffb0
L
223542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22355
22356 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22357 <stdio-common/_itoa.h>.
22358 * debug/segfault.c: Likewise.
22359 * elf/dl-cache.c: Likewise.
22360 * elf/dl-minimal.c: Likewise.
22361 * elf/dl-misc.c: Likewise.
22362 * elf/dl-sysdep.c: Likewise.
22363 * elf/dl-version.c: Likewise.
22364 * elf/rtld.c: Likewise.
22365 * hurd/hurdsock.c: Likewise.
22366 * hurd/lookup-retry.c: Likewise.
22367 * malloc/malloc.c: Likewise.
22368 * malloc/mtrace.c: Likewise.
22369 * nscd/nscd_getgr_r.c: Likewise.
22370 * nscd/nscd_getpw_r.c: Likewise.
22371 * nscd/nscd_getserv_r.c: Likewise.
22372 * posix/getopt_init.c: Likewise.
22373 * posix/wordexp.c: Likewise.
22374 * stdio-common/_itoa.c: Likewise.
22375 * stdio-common/printf_fphex.c: Likewise.
22376 * stdio-common/vfprintf.c: Likewise.
22377 * string/_strerror.c: Likewise.
22378 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22379 * sysdeps/i386/i686/hp-timing.h: Likewise.
22380 * sysdeps/mach/_strerror.c: Likewise.
22381 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22382 * sysdeps/mach/hurd/sethostid.c: Likewise.
22383 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22384 * sysdeps/mach/xpg-strerror.c: Likewise.
22385 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22387 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22388 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22389 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22390 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22391 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22392 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22393 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22394 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22395 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22396 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22397 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22398 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22399 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22403 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22404 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22405 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22406
22407 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22408
22409 * stdio-common/_itoa.h: Moved to ...
22410 * sysdeps/generic/_itoa.h: Here.
22411
22412 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22413
22414 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22415 instead of "_itoa.h" and "_itowa.h".
22416 * stdio-common/vfprintf.: Likewise.
22417
d1af992d
L
224182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22419
22420 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22421 <bits/wordsize.h>.
22422 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22423 (__signbit): Likwise.
22424 (llrintf): Likwise.
22425 (llrint): Likwise.
22426
114883e0
L
224272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22428
22429 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22430 __WORDSIZE != 64.
22431
c135cc1b
JM
224322012-03-20 Joseph Myers <joseph@codesourcery.com>
22433
22434 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22435 OVERFLOW_EXCEPTION_OK.
22436 * math/libm-test.inc ("Philosophy"): Update comment about
22437 exception testing.
22438 (OVERFLOW_EXCEPTION): Define.
22439 (OVERFLOW_EXCEPTION_OK): Likewise.
22440 (INVALID_EXCEPTION_OK): Renumber.
22441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22442 (IGNORE_ZERO_INF_SIGN): Likewise.
22443 (test_exceptions): Handle FE_OVERFLOW.
22444 (exp10_test): Expect overflow exceptions.
22445 (exp2_test): Likewise.
22446 (expm1_test): Likewise.
22447 (nextafter_test): Likewise.
22448 (pow_test): Likewise.
22449 (scalbn_test): Likewise.
22450 (scalbln_test): Likewise.
22451
95443d88
L
224522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * sysdeps/x86_64/bits/atomic.h
22455 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22456 64bit integer.
22457 (atomic_exchange_acq): Likewise.
22458 (__arch_exchange_and_add_body): Likewise.
22459 (__arch_add_body): Likewise.
22460 (atomic_add_negative): Likewise.
22461 (atomic_add_zero): Likewise.
22462
490df6c4
L
224632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22464
c2722551 22465 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22466 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22467
5e52b189
L
224682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22471 Check __x86_64__ instead of __WORDSIZE.
22472
a9879d4c
L
224732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22474
22475 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22476
5df98260
DM
224772012-03-19 David S. Miller <davem@davemloft.net>
22478
e1497744
DM
22479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22480
5df98260
DM
22481 * sysdeps/sparc/fpu/fenv_private.h: New file.
22482 * sysdeps/sparc/fpu/math_private.h: Use it.
22483 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22484 Remove.
22485 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22486 (libc_feholdexcept_setroundl): Remove.
22487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22488 Remove.
22489 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22490 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22491
b4c35121
L
224922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22493
22494 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22495 int64_t instead of long int.
22496 (INSERT_WORDS64): Likwise.
22497
56965fd7
L
224982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22499
22500 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22501 _Unwind_GetCFA return to _Unwind_Ptr first.
22502
83d1aec8
JM
225032012-03-19 Joseph Myers <joseph@codesourcery.com>
22504
1897ad44
JM
22505 [BZ #13629]
22506 * math/s_clog.c: Include <float.h>.
22507 (__clog): Scale large or subnormal inputs.
22508 * math/s_clogf.c: Likewise.
22509 * math/s_clogl.c: Likewise.
22510 * math/s_clog10.c: Include <float.h>.
22511 (M_LOG10_2): Define.
22512 (__clog10): Scale large or subnormal inputs.
22513 * math/s_clog10f.c: Likewise.
22514 * math/s_clog10l.c: Likewise.
22515 * math/libm-test.inc (clog_test): Add more tests.
22516 (clog10_test): Likewise.
22517 * sysdeps/i386/fpu/libm-test-ulps: Update.
22518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22519
7726d6a9
JM
22520 [BZ #11451]
22521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22522 x and y.
22523 * math/libm-test.inc (atan2_test): Add another test.
22524
83d1aec8
JM
22525 * Makerules (common-objdir-compile): Remove.
22526 * sysdeps/unix/Makefile (config-generated): Do not add
22527 $(unix-generated) to variable.
22528 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22529 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22530 Remove rule.
22531 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22532 Likewise.
22533 [generic bits/local_lim.h] (before-compile): Do not append to
22534 variable.
22535 [generic bits/local_lim.h] (common-generated): Likewise.
22536 [generic sys/param.h] (before-compile): Do not append to variable.
22537 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22538 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22539 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22540 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22541 include.
22542 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22543 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22544 [generic sys/param.h] ($(addprefix
22545 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22546 [generic sys/param.h] (common-generated): Do not append to
22547 variable.
22548 [generic sys/param.h] (sysdep_headers): Likewise.
22549 [generic bits/errno.h] (before-compile): Do not append to
22550 variable.
22551 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22552 rule.
22553 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22554 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22555 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22556 [generic bits/errno.h] (common-generated): Do not append to
22557 variable.
22558 [generic bits/ioctls.h] (before-compile): Do not append to
22559 variable.
22560 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22561 rule.
22562 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22563 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22565 rule.
22566 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22567 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22568 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22569 [generic bits/ioctls.h] (common-generated): Do not append to
22570 variable.
22571 [generic sys/syscall.h] (syscall.h): Remove variable.
22572 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22573 rule.
22574 [generic sys/syscall.h] (before-compile): Do not append to
22575 variable.
22576 [generic sys/syscall.h] (common-generated): Likewise.
22577 * sysdeps/unix/errnos-tmpl.c: Remove file.
22578 * sysdeps/unix/errnos.awk: Likewise.
22579 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22580 * sysdeps/unix/ioctls.awk: Likewise.
22581 * sysdeps/unix/mk-local_lim.c: Likewise.
22582 * sysdeps/unix/snarf-ioctls: Likewise.
22583
4851a949
RH
225842012-03-19 Richard Henderson <rth@twiddle.net>
22585
bd37f2ee
RH
22586 * sysdeps/i386/fpu/fenv_private.h: New file.
22587 * sysdeps/i386/fpu/math_private.h: Use it.
22588 (math_opt_barrier, math_force_eval): Remove.
22589 (libc_feholdexcept_setround_53bit): Remove.
22590 (libc_feupdateenv_53bit): Remove.
22591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22592 (math_opt_barrier, math_force_eval): Remove.
22593 (libc_feholdexcept): Remove.
22594 (libc_feholdexcept_setround): Remove.
22595 (libc_fetestexcept, libc_fesetenv): Remove.
22596 (libc_feupdateenv_test): Remove.
22597 (libc_feupdateenv, libc_feholdsetround): Remove.
22598 (libc_feresetround): Remove.
22599
d0adc922
RH
22600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22601 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22602
0fe0f1f8
RH
22603 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22604 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22605 (libc_feupdateenv_testl): New.
22606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22607 (libc_feupdateenv_testf): New.
22608 (libc_feupdateenv): Use libc_feupdateenv_test.
22609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22611
eb92c487
RH
22612 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22613 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22614 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22615 (libc_feresetround_noex): New.
22616 (libc_feresetround_noexf): New.
22617 (libc_feresetround_noexl): New.
22618 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22619 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22620 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22622 SET_RESTORE_ROUND.
22623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22625 (__cos): Likewise.
22626 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22627 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22628 SET_RESTORE_ROUND_NOEX.
22629 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22630 SET_RESTORE_ROUND_NOEXF.
22631 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22632 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22633 (libc_feholdsetroundf): New.
22634 (libc_feresetround, libc_feresetroundf): New.
22635
7d2e8012
RH
22636 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22637 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22638 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22639
b4dabbb4
RH
22640 * sysdeps/generic/math_private.h: Include <fenv.h>.
22641 (default_libc_feholdexcept): New.
22642 (default_libc_feholdexcept_setround): New.
22643 (default_libc_fesetenv, default_libc_feupdateenv): New.
22644 (libc_feholdexcept): Only define if undefined.
22645 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22646 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22647 (libc_feholdexcept_setroundl): Likewise.
22648 (libc_feholdexcept_setround_53bit): Likewise.
22649 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22650 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22651 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22652 (libc_feupdateenv_53bit): Likewise.
22653 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22654 (libc_feholdexcept): Convert from macro to inline function.
22655 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22656 (libc_fesetenv, libc_feupdateenv): Likewise.
22657
4851a949
RH
22658 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22659 not previously defined.
22660 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22661 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22662 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22663 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22664 * sysdeps/ieee754/flt-32/math_private.h: New file.
22665 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22666 math_private.h below SET_FLOAT_WORD.
22667 (__isnan, __isinf_ns, __finite): Remove.
22668 (__isnanf, __isinf_nsf, __finitef): Remove.
22669
e79d442e
AS
226702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22671
22672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22673
90b80344
DM
226742012-03-17 David S. Miller <davem@davemloft.net>
22675
22676 [BZ #6471]
22677 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22678 for 2.16.
22679
edc21804
DM
226802012-03-16 David S. Miller <davem@davemloft.net>
22681
77e927af
DM
22682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22683 warnings.
22684
374976dd
DM
22685 [BZ #6471]
22686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22687 properly.
22688 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22689 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22690 sysdep_routines when subdir is sysvipc.
22691 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22692 __getshmlba helper.
22693
edc21804
DM
22694 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22695
473c3ef3
L
226962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22699 [__LP64__].
22700
eb0f39b6
L
227012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22702
22703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22704 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22705 (__lround): Renamed to ...
22706 (__llround): This. Replace long int with long long int.
22707 Define lround functions as aliases of llround functions.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22709
6b6cd74b
L
227102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22711
22712 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22713 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22714 adresses to uintptr_t. Replace "long int" and "unsigned long
22715 int" with "greg_t" on va_arg.
22716
f1a77b01
L
227172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22718
22719 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22720 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22721
22722 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22723 Move e_machine check before EI_CLASS check. Handle x32
22724 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22725 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22726 SKIP_EM_IA_64 and include
22727 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22728
22729 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22730 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22731 (add_system_dir): New macro.
22732
22733 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22734 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22735
11b90b9f
JM
227362012-03-16 Joseph Myers <joseph@codesourcery.com>
22737
c36e1d23
JM
22738 [BZ #2551]
22739 [BZ #2552]
22740 [BZ #2553]
22741 [BZ #2554]
22742 [BZ #2562]
22743 [BZ #2563]
22744 [BZ #2565]
22745 [BZ #2566]
22746 [BZ #2576]
22747 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22748 (y0): Likewise.
22749 * math/w_j0f.c (j0f): Likewise.
22750 (y0f): Likewise.
22751 * math/w_j0l.c (__j0l): Likewise.
22752 (__y0l): Likewise.
22753 * math/w_j1.c (j1): Likewise.
22754 (y1): Likewise.
22755 * math/w_j1f.c (j1f): Likewise.
22756 (y1f): Likewise.
22757 * math/w_j1l.c (__j1l): Likewise.
22758 (__y1l): Likewise.
22759 * math/w_jn.c (jn): Likewise.
22760 (yn): Likewise.
22761 * math/w_jnf.c (jnf): Likewise.
22762 (ynf): Likewise.
22763 * math/w_jnl.c (__jnl): Likewise.
22764 (__ynl): Likewise.
22765 * math/libm-test.inc (j0_test): Add more tests.
22766 (j1_test): Likewise.
22767 (jn_test): Likewise. Add trailing semicolon to existing test.
22768 (y0_test): Likewise.
22769 (y1_test): Likewise.
22770 * sysdeps/i386/fpu/libm-test-ulps: Update.
22771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22772
11b90b9f
JM
22773 [BZ #13851]
22774 [BZ #13854]
22775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22776 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22777 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22779 (__tanl): Set errno for infinite argument.
22780 * sysdeps/i386/fpu/mptan.c: Remove.
22781 * sysdeps/i386/fpu/s_tan.S: Likewise.
22782 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22783 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22784 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22785 * math/libm-test.inc (tan_test): Add more tests and enable more
22786 tests for double and long double.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22789
6a1bd2a1
JK
227902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22791
22792 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22793 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22794
10a803e0
RM
227952012-03-16 Roland McGrath <roland@hack.frob.com>
22796
22797 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22798 * configure.in: Use it for both main tree and add-ons.
22799 * configure: Regenerated.
22800
f196c7f7
L
228012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22804
8848d99d
JM
228052012-03-16 Joseph Myers <joseph@codesourcery.com>
22806
96cbe7f4
JM
22807 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22808 in comment.
22809
8848d99d
JM
22810 [BZ #13851]
22811 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22812 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22816 infinite argument.
22817 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22818 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22819 != 0 for prec == 2.
22820 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22821 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22822 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22823 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22824 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22825 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22826 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22827 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22828 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22829 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22830 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22831 * math/libm-test.inc (cos_test): Add more tests and enable more
22832 tests for long double.
22833 (sin_test): Likewise.
22834 (sincos_test): Likewise.
22835 * sysdeps/i386/fpu/libm-test-ulps: Update.
22836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837
dd7f4703
DM
228382012-03-16 David S. Miller <davem@davemloft.net>
22839
22840 * sysdeps/sparc/fpu/math_private.h: New file.
22841
006f1daa
DM
228422012-03-15 David S. Miller <davem@davemloft.net>
22843
c0c83bc8
DM
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22845 file.
e6a62e18 22846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22848 file.
e6a62e18
DM
22849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22855 sysdep routines.
22856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22857
88cb87d9
DM
22858 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22859 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22860
006f1daa 22861 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22863 sparc-ifunc.h
006f1daa 22864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22866 Likewise.
22867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22868 Likewise.
006f1daa
DM
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22873 Likewise.
006f1daa
DM
22874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22879 Likewise.
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22881 Likewise.
006f1daa
DM
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22906
11e0098e
AS
229072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22908
22909 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22910 scaling.
22911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22912
e85b09d0
AJ
229132012-03-15 Andreas Jaeger <aj@suse.de>
22914
22915 [BZ #13852]
22916 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22917 ieee754/flt-32 implementation for sin, cos and sincos.
22918 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22919 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22920 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22921 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22922 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22923 ieee754/flt-32 implementation for tan.
22924
22925 * math/libm-test.inc (cos_test): Enable some large input tests for
22926 float as well
22927 (sin_test): Likewise.
22928 (sincos_test): Likewise.
22929 (tan_test): Add tests for large input.
22930
22931 * sysdeps/i386/fpu/libm-test-ulps: Update.
22932
81c64153
AJ
229332012-03-15 Andreas Jaeger <aj@suse.de>
22934
22935 [BZ #13658]
22936 * math/libm-test.inc (cos_test): Add more test cases.
22937 (sin_test): Likewise.
22938 (sincos_test): Likewise.
22939
7bbfa5c6
AJ
229402012-03-15 Andreas Jaeger <aj@suse.de>
22941
22942 [BZ #13837]
22943 * math/libm-test.inc (cos_test): Add a test case for large input
22944 value.
22945 (sin_test): Likewise.
22946 (sincos_test): Likewise.
22947
229482012-03-15 Andreas Jaeger <aj@suse.de>,
22949 Joseph Myers <joseph@codesourcery.com>
22950
22951 [BZ #13658]
0671f479 22952 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22953 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22954 * sysdeps/i386/fpu/branred.c: Likewise.
22955 * sysdeps/i386/fpu/dosincos.c: Likewise.
22956 * sysdeps/i386/fpu/mpa.c: Likewise.
22957 * sysdeps/i386/fpu/s_cos.S: Likewise.
22958 * sysdeps/i386/fpu/s_sin.S: Likewise.
22959 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22960 * sysdeps/i386/fpu/sincos32.c: Likewise.
22961
22962 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22963 Define.
22964 (libc_feupdateenv_53bit): Define.
22965 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22966 Define.
22967 (libc_feupdateenv_53bit): Define.
22968
22969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22970 53 bit (without extend i386 double precision).
22971
22972 * math/libm-test.inc (sincos_test): Add tests for large input.
22973 (sin): Likewise.
22974 (cos): Likewise.
22975
22976 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22977
9cad04ea
AS
229782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22979
22980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22981
f7062b9a
DM
229822012-03-15 David S. Miller <davem@davemloft.net>
22983
22984 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22985 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22986 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22987 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23000 file.
f7062b9a 23001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23003 file.
f7062b9a 23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23006 file.
f7062b9a 23007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23009 file.
f7062b9a
DM
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23012 fmin/fmax sysdep routines.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23014
7bd951ff
DM
230152012-03-14 David S. Miller <davem@davemloft.net>
23016
559398ab
DM
23017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23046 routines.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23048 file.
559398ab 23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23051 file.
559398ab 23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23054 file.
559398ab 23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23057 file.
559398ab 23058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23060 file.
559398ab 23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23063 file.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23065 file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23067 file.
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23069 file.
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23071 New file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23073 file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23075 file.
559398ab 23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23078 file.
559398ab 23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23081 file.
559398ab 23082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23084 file.
559398ab 23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23087 VIS3 routines.
559398ab
DM
23088
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23090 New file.
23091
5a1c1e32
DM
23092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23093
eae47a36
DM
23094 * sysdeps/sparc/configure.in: New file.
23095 * sysdeps/sparc/configure: Generate.
23096 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23097 * configure: Regenerate.
23098 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23099 * config.make.in (have-as-vis3): New.
23100 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23101 available use -Av9d instead of -Av9a.
23102 * sysdeps/sparc/sparc64/Makefile: Likewise.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23105 New file.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23107 file.
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23109 New file.
23110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23111 file.
eae47a36
DM
23112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23117
c0c83bc8
DM
23118 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23119 fzeros/fnegs to load 0x80000000 into a float register instead of
23120 using the stack.
7bd951ff
DM
23121 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23122
bd951ccb
JM
231232012-03-14 Joseph Myers <joseph@codesourcery.com>
23124
23125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23126 bits/syscall.h.
23127 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23128 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23129 ($(inst_includedir)/bits/syscall.h): Remove rule.
23130 ($(objpfx)bits/syscall.d): Include instead of
23131 $(objpfx)syscall-list.d.
23132 (generated): Change syscall-list.h and syscall-list.d to
23133 bits/syscall.h and bits/syscall.d.
23134
bb4e6db2
RM
231352012-03-14 Roland McGrath <roland@hack.frob.com>
23136
23137 [BZ #13846]
23138 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23139
aa4a2ae1
JM
231402012-03-14 Joseph Myers <joseph@codesourcery.com>
23141
e456826d
JM
23142 [BZ #13841]
23143 * math/s_csqrt.c: Include <float.h>.
23144 (__csqrt): Scale large or subnormal inputs.
23145 * math/s_csqrtf.c: Likewise.
23146 * math/s_csqrtl.c: Likewise.
23147 * math/libm-test.inc (csqrt_test): Add more tests.
23148 * sysdeps/i386/fpu/libm-test-ulps: Update.
23149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23150
aa4a2ae1
JM
23151 [BZ #13840]
23152 * math/libm-test.inc (hypot_test): Add more tests.
23153
7c10fd35
DM
231542012-03-13 David S. Miller <davem@davemloft.net>
23155
23156 [BZ #13840]
23157 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23158 double-precision for the calculation instead of scaling.
23159
f453b98b
JM
231602012-03-13 Joseph Myers <joseph@codesourcery.com>
23161
23162 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23163 manipulate bits before adding and subtracting TWO52[sx].
23164 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23165 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23166 Likewise.
23167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23168
09a3453f
DM
231692012-03-13 David S. Miller <davem@davemloft.net>
23170
8e59da90
DM
23171 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23172 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23174 rtld-global-offsets.h
23175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23176
2a8ab7f2
DM
23177 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23178 large parameters.
23179
10f62770
DM
23180 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23181
5f0bdb18
DM
23182 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23183 'err' in the ifdef scope in which it is actually used.
23184
09a3453f
DM
23185 * nss/nss_db/db-init.c: Include string.h
23186
b4b2eb5e
DM
231872012-03-12 David S. Miller <davem@davemloft.net>
23188
98bb2f1c
DM
23189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23190 masking out of the most significant byte of random value used.
23191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23192 Fix coding style in previous change.
23193
b4b2eb5e
DM
23194 * sysdeps/unix/sysv/linux/kernel-features.h
23195 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23196 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23197 expression.
23198 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23199 later.
23200
6e226b09
DM
232012012-03-11 David S. Miller <davem@davemloft.net>
23202
a1bcbd40
DM
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23204 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23206 for 'resultvar' otherwise things get truncated on 64-bit.
23207
cb9d6174
DM
23208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23209 Fix masking out of the most significant byte of random value used.
23210
6e226b09
DM
23211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23212
058c132d
AS
232132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23214
23215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23216
2d2cd515
DM
232172012-03-09 David S. Miller <davem@davemloft.net>
23218
23219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23220 variables with appropriate CPP guards.
23221 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23222 frame pointer, not the stack pointer. Correct layout comments. Fix test
23223 on resulting framesize and the management of the outregs buffer for pltexit.
23224 Preserve floating point return values across _dl_call_pltexit call.
23225 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23226 framesize and the management of the outregs buffer for pltexit.
23227 Preserve floating point return values across _dl_call_pltexit
23228 call.
23229 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23230 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23231 (print_exit): Fix format string for return register value.
23232
9a07f9d0
JM
232332012-03-10 Joseph Myers <joseph@codesourcery.com>
23234
23235 * sunrpc/Makefile (others): Add rpcgen.
23236 ($(objpfx)rpcgen): Remove special build rule and dependency on
23237 libc.
23238 * sunrpc/rpcgen.c: New file.
23239
547b5e30
PE
232402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23241
c524201a
PE
23242 [BZ #13673]
23243 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23244 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23245 * sysdeps/i386/crti.S: Likewise.
23246 * sysdeps/i386/crtn.S: Likewise.
23247 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23248 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23249 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23250 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23251 * sysdeps/sh/crti.S: Likewise.
23252 * sysdeps/sh/crtn.S: Likewise.
23253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23254
7b6235f2
PE
23255 [BZ #13673]
23256 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23257 with URL.
23258 * locale/programs/locfile-kw.gperf: Likewise.
23259 * locale/programs/charmap-kw.h: Regenerated.
23260 * locale/programs/locfile-kw.h: Likewise.
23261
547b5e30
PE
23262 [BZ #13673]
23263 * intl/plural.y: Replace FSF snail mail address with URL.
23264 * intl/plural.c: Regenerated.
23265
5f0a5dae
RH
232662012-03-09 Richard Henderson <rth@twiddle.net>
23267
23268 * include/math_private.h: Remove file.
23269 * math/math_private.h: Move file ...
23270 * sysdeps/generic/math_private.h: ... here.
23271
b8c03620
RH
23272 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23273 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23274 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23275
4e234f5d 23276 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23277 and <math_private.h>.
23278 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23279 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23280 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23281 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23282 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23366 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23369 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23371 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23372 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23392 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23397 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23405 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23406 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23407 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23412 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23427 * sysdeps/ieee754/k_standard.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23555 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23560 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23588 * sysdeps/ieee754/s_lib_version.c: Likewise.
23589 * sysdeps/ieee754/s_matherr.c: Likewise.
23590 * sysdeps/ieee754/s_signgam.c: Likewise.
23591 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23593 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23594 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23597 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23598 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23599 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23600 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23601 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23602 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23605 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23606 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23612
1991fa03
JM
236132012-03-09 Joseph Myers <joseph@codesourcery.com>
23614
23615 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23616 * sunrpc/rpc_main.c: Likewise.
23617 * sunrpc/rpc_svcout.c: Likewise.
23618
60d6f5a6
DM
236192012-03-09 David S. Miller <davem@davemloft.net>
23620
23621 * include/math_private.h: New file.
23622
4962050e
JM
236232012-03-09 Joseph Myers <joseph@codesourcery.com>
23624
02a6f887
JM
23625 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23626 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23627 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23628 from <bits/socket_type.h>.
23629 (enum __socket_type): Don't define here.
23630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23632 bits/socket_type.h.
23633
c6e013c1
JM
23634 [BZ #13566]
23635 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23636 checking __USE_GNU.
23637
4962050e
JM
23638 * Makerules ($(inst_includedir)/%.h): New rule.
23639 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23640 (install-others): Remove variable setting.
23641 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23642
38842f45
RH
236432012-03-08 Richard Henderson <rth@twiddle.net>
23644
67bb6da6
RH
23645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23646 from macro to inline function; merge with the
23647 !__LIBC_INTERNAL_MATH_INLINES version.
23648 (__ieee754_sqrtf): Likewise.
23649
15194b4b
RH
23650 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23651 to inline function.
23652 (__rintf, __floor, __floorf): Likewise.
23653
64e21ede
RH
23654 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23655 macro to inline function.
23656 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23657
38842f45
RH
23658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23659 not <math/math_private.h>.
23660
c64bf5fe
DM
236612012-03-08 David S. Miller <davem@davemloft.net>
23662
23663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23664 copyright year.
23665 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23666
82d86f28
TS
236672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23668
23669 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23670 normalization.
23671 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23672 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23673
aea5d727
UD
236742012-03-08 Ulrich Drepper <drepper@gmail.com>
23675
23676 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23677 be defined individually, they must be defined as a block. Define
23678 S for printing a string instead of hidint the different by using a
23679 macro for adding the 'l'.
23680 * stdio-common/tst-fphex-wide.c: Adjust.
23681
70bca0a3
MP
236822012-03-07 Marek Polacek <polacek@redhat.com>
23683
23684 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23685
65b81130
MP
236862012-03-08 Marek Polacek <polacek@redhat.com>
23687
23688 [BZ #13806]
23689 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23690 * stdio-common/tst-fphex.c: Define a few macros to make the
23691 test reusable. Use them.
23692 * stdio-common/tst-fphex-wide.c: New file.
23693
07037eeb
JM
236942012-03-08 Joseph Myers <joseph@codesourcery.com>
23695
a7a93d50
JM
23696 [BZ #6911]
23697 * manual/macros.texi (gnusystems): New macro.
23698 (nongnusystems): Likewise.
23699 (gnulinuxhurdsystems): Likewise.
23700 (gnuhurdsystems): Likewise..
23701 (gnulinuxsystems): Likewise.
23702 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23703 variants of the GNU system, not "GNU system".
23704 * manual/conf.texi: Likewise.
23705 * manual/errno.texi: Likewise. Update example of errno macro
23706 expansion.
23707 * manual/filesys.texi: Likewise.
23708 (getumask): Document as specific to GNU/Hurd.
23709 * manual/install.texi: Likewise. Reword some references to
23710 GNU/Linux.
23711 * manual/intro.texi: Likewise.
23712 * manual/io.texi: Likewise.
23713 (File Name Portability): Detail which constraints are inapplicable
23714 to all GNU systems and which are only inapplicable to GNU/Hurd.
23715 * manual/job.texi: Likewise.
23716 * manual/llio.texi: Likewise.
23717 (O_NOCTTY): Document as present on GNU/Linux.
23718 * manual/maint.texi: Likewise.
23719 * manual/memory.texi: Likewise.
23720 * manual/pattern.texi: Likewise.
23721 * manual/pipe.texi: Likewise.
23722 * manual/process.texi: Likewise.
23723 * manual/resource.texi: Likewise.
23724 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23725 child on GNU/Hurd.
23726 * manual/setjmp.texi: Likewise.
23727 * manual/signal.texi: Likewise.
23728 * manual/startup.texi: Likewise.
23729 * manual/stdio.texi: Likewise.
23730 * manual/terminal.texi: Likewise.
23731 (ONLCR): Document as POSIX.
23732 (OXTABS): Document availability on GNU/Linux as XTABS.
23733 (ONOEOT): Document availability separately from other bits.
23734 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23735 * manual/time.texi: Likewise.
23736 * manual/users.texi: Likewise.
23737 * INSTALL: Regenerated.
23738 * sysdeps/gnu/errlist.c: Regenerated.
23739
07037eeb
JM
23740 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23741 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23742 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23743 puts.
23744 * configure: Regenerated.
23745
d1d3431a
JM
237462012-03-07 Joseph Myers <joseph@codesourcery.com>
23747
af6a1e37
JM
23748 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23749 default includes instead of AC_HEADER_CHECK.
23750 * sysdeps/i386/configure: Regenerated.
23751
d1d3431a
JM
23752 [BZ #10716]
23753 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23754 * math/s_cacoshf.c (__cacoshf): Likewise.
23755 * math/s_cacoshl.c (__cacoshl): Likewise.
23756 * math/s_casinh.c (__casinh): Set signs of result from argument.
23757 * math/s_casinhf.c (__casinhf): Likewise.
23758 * math/s_casinhl.c (__casinhl): Likewise.
23759 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23760 (casinh_test): Add more tests.
23761 * sysdeps/i386/fpu/libm-test-ulps: Update.
23762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763
482ff4da
UD
237642012-03-07 Ulrich Drepper <drepper@gmail.com>
23765
872fda05
UD
23766 * po/zh_TW.po: Update from translation team.
23767
a4300c7a
UD
23768 * login/Makefile (distribute): Remove variable.
23769 * catgets/Makefile: Likewise.
23770 * mach/Makefile: Likewise.
23771 * malloc/Makefile: Likewise.
23772 * misc/Makefile: Likewise.
23773 * iconv/Makefile: Likewise.
23774 * nscd/Makefile: Likewise.
23775 * hurd/Makefile: Likewise.
23776 * manual/Makefile: Likewise.
23777 * locale/Makefile: Likewise.
23778 * intl/Makefile: Likewise.
23779 * conform/Makefile: Likewise.
23780 * nss/Makefile: Likewise.
23781 * time/Makefile: Likewise.
23782 * soft-fp/Makefile: Likewise.
23783 * dirent/Makefile: Likewise.
23784 * gmon/Makefile: Likewise.
23785 * po/Makefile: Likewise.
23786 * rt/Makefile: Likewise.
23787 * socket/Makefile: Likewise.
23788 * math/Makefile: Likewise.
23789 * signal/Makefile: Likewise.
23790 * debug/Makefile: Likewise.
23791 * elf/Makefile: Likewise.
23792 * timezone/Makefile: Likewise.
23793 * stdlib/Makefile: Likewise.
23794 * iconvdata/Makefile: Likewise.
23795 * sunrpc/Makefile: Likewise.
23796 * io/Makefile: Likewise.
23797 * argp/Makefile: Likewise.
23798 * inet/Makefile: Likewise.
23799 * hesiod/Makefile: Likewise.
23800 * grp/Makefile: Likewise.
23801 * csu/Makefile: Likewise.
23802 * wctype/Makefile: Likewise.
23803 * crypt/Makefile: Likewise.
23804 * libio/Makefile: Likewise.
23805 * string/Makefile: Likewise.
23806 * nis/Makefile: Likewise.
23807 * resolv/Makefile: Likewise.
23808 * stdio-common/Makefile: Likewise.
23809 * wcsmbs/Makefile: Likewise.
23810 * dlfcn/Makefile: Likewise.
23811 * posix/Makefile: Likewise.
23812
3b7c4e74 23813 [BZ #6959]
482ff4da
UD
23814 * timezone/Makefile: Don't install timezone files, just the programs
23815 and scripts.
23816
f72ed77d
UD
238172012-03-06 Ulrich Drepper <drepper@gmail.com>
23818
a000466f
UD
23819 * nss/databases.def: Add missing gshadow entry.
23820
f72ed77d
UD
23821 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23822
a53b7a4e
MP
238232012-03-06 Marek Polacek <polacek@redhat.com>
23824
23825 [BZ #13726]
23826 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23827 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23828 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23829 * stdio-common/tst-long-dbl-fphex.c: New file.
23830
e9258400
DM
238312012-03-06 David S. Miller <davem@davemloft.net>
23832
23833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23834 (set_obp_int): New function.
23835 (get_obp_int): New function.
23836 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23838 Avoid unused variable warnings on 'val' and use builtin_expect.
23839 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23840 __builtin_expect.
e9258400
DM
23841 (INLINE_CLONE_SYSCALL): Likewise.
23842
3bd2c723
DM
238432012-03-05 David S. Miller <davem@davemloft.net>
23844
23845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23846
bbb78d03
AS
238472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23848
884c5db4
AS
23849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23850
bbb78d03
AS
23851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23852 only for |x| >= 40.
23853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23854
1c9f702a 238552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23856
23857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23858 Replace gettimeofday with __vdso_gettimeofday.
23859
7be16f82
RM
23860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23861 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23862 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23863
23864 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23865 time with __vdso_time.
23866
ed58a00f
JM
238672012-03-05 Joseph Myers <joseph@codesourcery.com>
23868
23869 * manual/lang.texi (size_t): Note types to which size_t may be
23870 equivalent with the GNU C Library, but do not describe when
23871 differences between them are significant.
23872
30ee4ced
AJ
238732012-03-05 Andreas Jaeger <aj@suse.de>
23874
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876
b7cd39e8
JM
238772012-03-05 Joseph Myers <joseph@codesourcery.com>
23878
23879 [BZ #3976]
23880 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23881 (__ieee754_pow): Save and restore rounding mode and use
23882 round-to-nearest for main computations.
23883 * math/libm-test.inc (pow_test_tonearest): New function.
23884 (pow_test_towardzero): Likewise.
23885 (pow_test_downward): Likewise.
23886 (pow_test_upward): Likewise.
23887 (main): Call the new functions.
23888 * sysdeps/i386/fpu/libm-test-ulps: Update.
23889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23890
23891 [BZ #3976]
23892 * math/libm-test.inc (cosh_test_tonearest): New function.
23893 (cosh_test_towardzero): Likewise.
23894 (cosh_test_downward): Likewise.
23895 (cosh_test_upward): Likewise.
23896 (sinh_test_tonearest): Likewise.
23897 (sinh_test_towardzero): Likewise.
23898 (sinh_test_downward): Likewise.
23899 (sinh_test_upward): Likewise.
23900 (main): Call the new functions.
23901 * sysdeps/i386/fpu/libm-test-ulps: Update.
23902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23903
6c6a98c9
TV
239042012-03-05 Tom de Vries <tom@codesourcery.com>
23905
23906 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23907 default stack guard is set in last bytes.
23908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23909
21bb2d2e 239102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23911
21bb2d2e 23912 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23913
21bb2d2e
AJ
23914 [BZ #13656]
23915 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23916 possibly allocate from heap instead of stack.
23917 * stdio-common/bug-vfprintf-nargs.c: New file.
23918 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23919
c6922934
AS
239202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23921
23922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23923
bc957d53
MP
239242012-03-03 Marek Polacek <polacek@redhat.com>
23925
23926 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23927 * math/math_private.h: Likewise.
23928 * stdlib/tst-strtod.c: Likewise.
23929 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23930 * sysdeps/x86_64/bits/atomic.h: Likewise.
23931
6358490d
DM
239322012-03-02 David S. Miller <davem@davemloft.net>
23933
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23938 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23939 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23940 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23941 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23942
01ae168d
RM
239432012-03-02 Roland McGrath <roland@hack.frob.com>
23944
d9a17c07
RM
23945 [BZ #13792]
23946 * manual/examples/README: New file, says the example source files
23947 can be used under GPL>=2.
23948 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23949 line containing just "*/".
23950 * manual/examples/add.c: Add copyright header (GPL>=2).
23951 * manual/examples/argp-ex1.c: Likewise.
23952 * manual/examples/argp-ex2.c: Likewise.
23953 * manual/examples/argp-ex3.c: Likewise.
23954 * manual/examples/argp-ex4.c: Likewise.
23955 * manual/examples/atexit.c: Likewise.
23956 * manual/examples/db.c: Likewise.
23957 * manual/examples/dir.c: Likewise.
23958 * manual/examples/dir2.c: Likewise.
23959 * manual/examples/execinfo.c: Likewise.
23960 * manual/examples/filecli.c: Likewise.
23961 * manual/examples/filesrv.c: Likewise.
23962 * manual/examples/fmtmsgexpl.c: Likewise.
23963 * manual/examples/genpass.c: Likewise.
23964 * manual/examples/inetcli.c: Likewise.
23965 * manual/examples/inetsrv.c: Likewise.
23966 * manual/examples/isockad.c: Likewise.
23967 * manual/examples/longopt.c: Likewise.
23968 * manual/examples/memopen.c: Likewise.
23969 * manual/examples/memstrm.c: Likewise.
23970 * manual/examples/mkfsock.c: Likewise.
23971 * manual/examples/mkisock.c: Likewise.
23972 * manual/examples/mygetpass.c: Likewise.
23973 * manual/examples/pipe.c: Likewise.
23974 * manual/examples/popen.c: Likewise.
23975 * manual/examples/rprintf.c: Likewise.
23976 * manual/examples/search.c: Likewise.
23977 * manual/examples/select.c: Likewise.
23978 * manual/examples/setjmp.c: Likewise.
23979 * manual/examples/sigh1.c: Likewise.
23980 * manual/examples/sigusr.c: Likewise.
23981 * manual/examples/stpcpy.c: Likewise.
23982 * manual/examples/strdupa.c: Likewise.
23983 * manual/examples/strftim.c: Likewise.
23984 * manual/examples/strncat.c: Likewise.
23985 * manual/examples/subopt.c: Likewise.
23986 * manual/examples/swapcontext.c: Likewise.
23987 * manual/examples/termios.c: Likewise.
23988 * manual/examples/testopt.c: Likewise.
23989 * manual/examples/testpass.c: Likewise.
23990 * manual/examples/timeval_subtract.c: Likewise.
23991
01ae168d
RM
23992 [BZ #13792]
23993 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23994 function to ...
23995 * manual/timeval_subtract.c.texi: ... here, new file.
23996
49efa33d
DM
239972012-03-02 David S. Miller <davem@davemloft.net>
23998
23999 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24000
28afd92d
JM
240012012-03-02 Joseph Myers <joseph@codesourcery.com>
24002
804360ed
JM
24003 [BZ #3976]
24004 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24005 (__sin): Save and restore rounding mode and use round-to-nearest
24006 for all computations.
24007 (__cos): Save and restore rounding mode and use round-to-nearest
24008 for all computations.
24009 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24010 <fenv.h>.
24011 (tan): Save and restore rounding mode and use round-to-nearest for
24012 all computations.
24013 * math/libm-test.inc (cos_test_tonearest): New function.
24014 (cos_test_towardzero): Likewise.
24015 (cos_test_downward): Likewise.
24016 (cos_test_upward): Likewise.
24017 (sin_test_tonearest): Likewise.
24018 (sin_test_towardzero): Likewise.
24019 (sin_test_downward): Likewise.
24020 (sin_test_upward): Likewise.
24021 (tan_test_tonearest): Likewise.
24022 (tan_test_towardzero): Likewise.
24023 (tan_test_downward): Likewise.
24024 (tan_test_upward): Likewise.
24025 (main): Call the new functions.
24026 * sysdeps/i386/fpu/libm-test-ulps: Update.
24027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24028
a6d06d7b
JM
24029 [BZ #10135]
24030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24031 small n, then large n, before computing and testing k+n.
24032 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24034 Likewise.
24035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24036 Likewise.
24037 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24038 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24045 * math/libm-test.inc (scalbn_test): Add more tests.
24046 (scalbln_test): Likewise.
24047
07e12bb3
JM
24048 * manual/filesys.texi (mode_t): Describe constraints on size and
24049 signedness, not exact equivalence to a particular type.
24050 (ino_t): Likewise.
24051 (ino64_t): Likewise.
24052 (dev_t): Likewise.
24053 (nlink_t): Likewise.
24054 (blkcnt_t): Likewise.
24055 (blkcnt64_t): Likewise.
24056 * manual/llio.texi (off_t): Likewise.
24057
28afd92d
JM
24058 [BZ #3976]
24059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24060 (__ieee754_exp): Save and restore rounding mode and use
24061 round-to-nearest for all computations.
24062 * math/libm-test.inc (exp_test_tonearest): New function.
24063 (exp_test_towardzero): Likewise.
24064 (exp_test_downward): Likewise.
24065 (exp_test_upward): Likewise.
24066 (main): Call the new functions.
24067 * sysdeps/i386/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24069
b1eeb65d
CD
240702012-03-01 Chris Demetriou <cgd@google.com>
24071
24072 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24073 have predictable order.
24074
53362a4b
DM
240752012-03-01 David S. Miller <davem@davemloft.net>
24076
3c969083
DM
24077 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24078
759707de
DM
24079 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24080 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24081 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24082 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24083
dfdb8ff2
DM
24084 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24085 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24086 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24088 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24089 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24090 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24091 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24092 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24093
ead89f96
DM
24094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24095
7f66bd07
DM
24096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24097 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24099
53362a4b
DM
24100 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24101 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24116 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24117 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24118 * sysdeps/sparc/elf/configure: Regenerated.
24119
7b1902cb
JM
241202012-03-01 Joseph Myers <joseph@codesourcery.com>
24121
bec039bc
JM
24122 * configure.in (AS, LD): Require binutils 2.20 or later.
24123 * configure: Regenerated.
24124 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24125 as required minimum version.
24126 * INSTALL: Regenerated.
24127
7b1902cb
JM
24128 [BZ #2541]
24129 [BZ #4108]
24130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24131 before squaring exponent.
24132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24133 bottom long double and 27 bits of top long double before squaring
24134 exponent.
24135 * math/libm-test.inc (erfc_test): Add more tests.
24136 * sysdeps/i386/fpu/libm-test-ulps: Update.
24137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24139
f775c276
KT
241402012-03-01 Kai Tietz <ktietz@redhat.com>
24141
24142 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24143 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24144 containing bit-fields.
24145 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24146 * soft-fp/single.h (_FP_UNION_S): Likewise.
24147 * soft-fp/double.h (_FP_UNION_D): Likewise.
24148
5b8a4d4a
JM
241492012-02-29 Joseph Myers <joseph@codesourcery.com>
24150
0bab47b6
JM
24151 [BZ #13786]
24152 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24153 not include ../strcmp.S.
24154 [USE_AS_STRNCASECMP_L]: Likewise.
24155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24156 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24157 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24158 (__strncasecmp_l_ia32): Define as alias to
24159 __strncasecmp_l_nonascii.
24160
0fcad3e2
JM
24161 [BZ #5794]
24162 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24163 * sysdeps/i386/fpu/libm-test-ulps: Update.
24164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165
5b8a4d4a
JM
24166 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24168
8fdceb2e
JL
241692012-02-29 Jeff Law <law@redhat.com>
24170
24171 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24172 out of bounds read.
24173
1f393a11
MP
241742012-02-29 Marek Polacek <polacek@redhat.com>
24175
24176 [BZ #13706]
24177 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24178 * elf/Makefile: Add rules to run tst-unused-dep.out.
24179
8847f037
DM
241802012-02-28 David S. Miller <davem@davemloft.net>
24181
24182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24188
169d7f11
JM
241892012-02-29 Joseph Myers <joseph@codesourcery.com>
24190
24191 * math/libm-test.inc (llround_test): Move one test from
24192 lround_test. Use TEST_f_L in moved test.
24193 (lround_test): Move misplaced test to llround_test. Add testcase
24194 from bug 2561.
24195
39adf059
UD
241962012-02-28 Ulrich Drepper <drepper@gmail.com>
24197
24198 * sysdeps/x86_64/fpu/e_expf.S: New file.
24199 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24200
71b5d1c5
SB
242012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24202
24203 [BZ #13637]
24204 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24205 of remain_len that may cause incomplete multi-byte character and
24206 false match.
24207 * posix/bug-regex33.c: New file.
24208 * posix/Makefile (tests): Add bug-regex33.
24209
1f77f049
JM
242102012-02-28 Joseph Myers <joseph@codesourcery.com>
24211
24212 * manual/macros.texi: New file.
24213 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24214 * manual/libc.texinfo: Include macros.texi.
24215 * manual/creatute.texi: Likewise.
24216 * manual/install.texi: Likewise.
24217 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24218 @glibcadj{} in references to the GNU C Library.
24219 * manual/charset.texi: Likewise.
24220 * manual/conf.texi: Likewise.
24221 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24222 when not using those macros.
24223 * manual/creature.texi: Likewise.
24224 * manual/crypt.texi: Likewise.
24225 * manual/errno.texi: Likewise.
24226 * manual/filesys.texi: Likewise.
24227 * manual/header.texi: Likewise.
24228 * manual/install.texi: Likewise.
24229 * manual/intro.texi: Likewise.
24230 * manual/io.texi: Likewise.
24231 * manual/job.texi: Likewise.
24232 * manual/lang.texi: Likewise.
24233 * manual/libc.texiinfo: Likewise.
24234 * manual/llio.texi: Likewise.
24235 * manual/locale.texi: Likewise.
24236 * manual/maint.texi: Likewise.
24237 * manual/math.texi: Likewise.
24238 * manual/memory.texi: Likewise.
24239 * manual/message.texi: Likewise.
24240 * manual/nss.texi: Likewise.
24241 * manual/pattern.texi: Likewise.
24242 * manual/process.texi: Likewise.
24243 * manual/resource.texi: Likewise.
24244 * manual/search.texi: Likewise.
24245 * manual/setjmp.texi: Likewise.
24246 * manual/signal.texi: Likewise.
24247 * manual/socket.texi: Likewise.
24248 * manual/startup.texi: Likewise.
24249 * manual/stdio.texi: Likewise.
24250 * manual/string.texi: Likewise.
24251 * manual/sysinfo.texi: Likewise.
24252 * manual/syslog.texi: Likewise.
24253 * manual/terminal.texi: Likewise.
24254 * manual/time.texi: Likewise.
24255 * manual/users.texi: Likewise.
24256 * INSTALL: Regenerated.
24257 * NOTES: Regenerated.
d40c5d54 24258 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24259
450bf206
AS
242602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24261
24262 * include/dirent.h: Include <dirstream.h> before
24263 <dirent/dirent.h>.
24264
741a235b
DM
242652012-02-28 David S. Miller <davem@davemloft.net>
24266
24267 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24268 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24269 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24270 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24271
d6b5aa58
DM
242722012-02-27 David S. Miller <davem@davemloft.net>
24273
1aff59a3
DM
24274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24276 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24278
d6b5aa58
DM
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24280 frame pointer instead of stack pointer relative arg slot.
24281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24284
433f48bf
CD
242852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24286
24287 [BZ #3992]
24288 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24289
d674b76d
DM
242902012-02-27 David S. Miller <davem@davemloft.net>
24291
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24298 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24299 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24300
0e7727f7
JM
243012012-02-27 Joseph Myers <joseph@codesourcery.com>
24302
24303 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24304 later. Allow versions 5-9.
43be4ca2 24305 * configure: Regenerated.
0e7727f7
JM
24306 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24307 required minimum version and 4.6 as recommended version. Do not
24308 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24309 * INSTALL: Regenerated.
0e7727f7 24310
a78bc654
DM
243112012-02-27 David S. Miller <davem@davemloft.net>
24312
428d5830
DM
24313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24321
a78bc654
DM
24322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24323 manipulate bits before adding and subtracting TWO112[sx].
24324 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24325
4579f81c
RM
243262012-02-27 Roland McGrath <roland@hack.frob.com>
24327
36c8acb4
RM
24328 [BZ #13775]
24329 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24330 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24331 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24332 being in POSIX, because they are in 1003.1-2008.
24333
84ad622b
RM
24334 * rt/tst-aio.c: Include <fcntl.h>.
24335 * rt/tst-aio7.c: Likewise.
24336 * rt/tst-aio64.c: Likewise.
24337
4579f81c
RM
24338 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24339
abd923db
JM
243402012-02-27 Joseph Myers <joseph@codesourcery.com>
24341
24342 * manual/install.texi (--with-headers): Describe headers as
24343 interface headers, not private headers.
24344 (Specific advice for GNU/Linux systems): Describe use of headers
24345 from "make headers_install", not private headers from older
24346 kernels.
43be4ca2 24347 * INSTALL: Regenerated.
abd923db
JM
24348 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24349 Change to 2.6.19.
24350 * sysdeps/unix/sysv/linux/configure: Regenerated.
24351
6664049b
JM
24352 * manual/llio.texi (fclean): Remove documentation.
24353
bb8b6697
JM
24354 * manual/Makefile (libc-texi-generated): New variable. Include
24355 version.texi.
24356 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24357 $(libc-texi-generated), not duplicated list of files.
24358 (version.texi, stamp-version): New rules.
24359 (realclean): Remove $(libc-texi-generated), not individual files
24360 from that list. Do not remove dir-add.texinfo.
24361 * manual/libc.texinfo: Comment out uses of edition numbers and
24362 references to printed manual. Remove last-updated dates.
24363 (EDITION): Comment out.
24364 (ISBN): Likewise.
24365 (VERSION, UPDATED): Remove.
24366 (version.texi): Include.
24367
12e5c3b9
AS
243682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24369
24370 * sysdeps/posix/spawni.c: Include <signal.h>.
24371 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24372 * sysdeps/pthread/aio_fsync.c: Likewise.
24373
4efeffc1 243742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24375
ba63ba08
UD
24376 * conform/Makefile (tests): Run only when not cross-compiling and
24377 when fast-check is not defined.
24378
d94a4670
UD
24379 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24380 * conform/data/limits.h-data: Fixes for POSIX2008.
24381 * conform/run-conformtest.sh: Run all tests.
24382 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24383 headers.
24384 * include/bits/dlfcn.h: Likewise.
24385 * include/langinfo.h: Likewise.
24386 * include/monetary.h: Likewise.
24387 * include/sys/poll.h: Likewise.
24388
24389 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24390 for __USE_GNU.
24391 * posix/spawn.h: Define __need_sigset_t.
24392 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24393 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24394 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24395 to get sigevent_t only.
24396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24397 only for __USE_GNU.
24398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24400 process_vm_writev only for __USE_GNU.
24401 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24402
24403 * conform/Makefile: For now ignore errors from run-conformtest.
24404 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24405 POSIX to avoid namespace pollution. Don't prepend headers.
24406 * conform/data/aio.h-data: Fixes for POSIX testing.
24407 * conform/data/fcntl.h-data: Likewise.
24408 * conform/data/glob.h-data: Likewise.
24409 * conform/data/grp.h-data: Likewise.
24410 * conform/data/pthread.h-data: Likewise.
24411 * conform/data/pwd.h-data: Likewise.
24412 * conform/data/signal.h-data: Likewise.
24413 * conform/data/spawn.h-data: Likewise.
24414 * conform/data/stdio.h-data: Likewise.
24415 * conform/data/stdlib.h-data: Likewise.
24416 * conform/data/stropts.h-data: Likewise.
24417 * conform/data/sys/mman.h-data: Likewise.
24418 * conform/data/sys/stat.h-data: Likewise.
24419 * conform/data/sys/types.h-data: Likewise.
24420 * conform/data/sys/wait.h-data: Likewise.
24421 * conform/data/time.h-data: Likewise.
24422 * conform/data/unistd.h-data: Likewise.
24423 * conform/data/utime.h-data: Likewise.
24424
24425 * io/sys/stat.h: fchmod was always in POSIX.
24426 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24427 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24428 * rt/aio.h: Define __need_timespec before including <time.h>.
24429 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24430 struct. Add forward declaration of pthread_attr_t and use it in
24431 sigevent.
24432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24434 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24435 always remove CLK_TCK definition.
24436
c20105c3
AS
244372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24438
24439 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24440
7a270350
UD
244412012-02-25 Ulrich Drepper <drepper@gmail.com>
24442
31341567
UD
24443 * conform/run-conformtest.sh: New file.
24444 * conform/Makefile: Run run-conformtest for tests.
24445 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24446 support.
24447
24448 * conform/data/uchar.h-data: New file.
24449 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24450 * conform/data/arpa/inet.h-data: Likewise.
24451 * conform/data/assert.h-data: Likewise.
24452 * conform/data/complex.h-data: Likewise.
24453 * conform/data/cpio.h-data: Likewise.
24454 * conform/data/ctype.h-data: Likewise.
24455 * conform/data/dirent.h-data: Likewise.
24456 * conform/data/dlfcn.h-data: Likewise.
24457 * conform/data/errno.h-data: Likewise.
24458 * conform/data/fcntl.h-data: Likewise.
24459 * conform/data/float.h-data: Likewise.
24460 * conform/data/fmtmsg.h-data: Likewise.
24461 * conform/data/fnmatch.h-data: Likewise.
24462 * conform/data/ftw.h-data: Likewise.
24463 * conform/data/glob.h-data: Likewise.
24464 * conform/data/grp.h-data: Likewise.
24465 * conform/data/iconv.h-data: Likewise.
24466 * conform/data/inttypes.h-data: Likewise.
24467 * conform/data/langinfo.h-data: Likewise.
24468 * conform/data/libgen.h-data: Likewise.
24469 * conform/data/limits.h-data: Likewise.
24470 * conform/data/locale.h-data: Likewise.
24471 * conform/data/math.h-data: Likewise.
24472 * conform/data/monetary.h-data: Likewise.
24473 * conform/data/mqueue.h-data: Likewise.
24474 * conform/data/ndbm.h-data: Likewise.
24475 * conform/data/net/if.h-data: Likewise.
24476 * conform/data/netdb.h-data: Likewise.
24477 * conform/data/netinet/in.h-data: Likewise.
24478 * conform/data/nl_types.h-data: Likewise.
24479 * conform/data/poll.h-data: Likewise.
24480 * conform/data/pthread.h-data: Likewise.
24481 * conform/data/pwd.h-data: Likewise.
24482 * conform/data/regex.h-data: Likewise.
24483 * conform/data/sched.h-data: Likewise.
24484 * conform/data/search.h-data: Likewise.
24485 * conform/data/semaphore.h-data: Likewise.
24486 * conform/data/setjmp.h-data: Likewise.
24487 * conform/data/signal.h-data: Likewise.
24488 * conform/data/spawn.h-data: Likewise.
24489 * conform/data/stdarg.h-data: Likewise.
24490 * conform/data/stdio.h-data: Likewise.
24491 * conform/data/stdlib.h-data: Likewise.
24492 * conform/data/string.h-data: Likewise.
24493 * conform/data/strings.h-data: Likewise.
24494 * conform/data/stropts.h-data: Likewise.
24495 * conform/data/sys/ipc.h-data: Likewise.
24496 * conform/data/sys/mman.h-data: Likewise.
24497 * conform/data/sys/msg.h-data: Likewise.
24498 * conform/data/sys/resource.h-data: Likewise.
24499 * conform/data/sys/select.h-data: Likewise.
24500 * conform/data/sys/sem.h-data: Likewise.
24501 * conform/data/sys/shm.h-data: Likewise.
24502 * conform/data/sys/socket.h-data: Likewise.
24503 * conform/data/sys/stat.h-data: Likewise.
24504 * conform/data/sys/statvfs.h-data: Likewise.
24505 * conform/data/sys/time.h-data: Likewise.
24506 * conform/data/sys/timeb.h-data: Likewise.
24507 * conform/data/sys/times.h-data: Likewise.
24508 * conform/data/sys/types.h-data: Likewise.
24509 * conform/data/sys/uio.h-data: Likewise.
24510 * conform/data/sys/un.h-data: Likewise.
24511 * conform/data/sys/utsname.h-data: Likewise.
24512 * conform/data/sys/wait.h-data: Likewise.
24513 * conform/data/syslog.h-data: Likewise.
24514 * conform/data/tar.h-data: Likewise.
24515 * conform/data/termios.h-data: Likewise.
24516 * conform/data/utime.h-data: Likewise.
24517 * conform/data/utmpx.h-data: Likewise.
24518 * conform/data/varargs.h-data: Likewise.
24519 * conform/data/wchar.h-data: Likewise.
24520 * conform/data/wctype.h-data: Likewise.
24521 * conform/data/wordexp.h-data: Likewise.
24522
24523 * include/stropts.h: New file.
24524 * include/uchar.h: New file.
24525 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24526 * include/assert.h: Likewise.
24527 * include/ctype.h: Likewise.
24528 * include/dirent.h: Likewise.
24529 * include/dlfcn.h: Likewise.
24530 * include/fcntl.h: Likewise.
24531 * include/fnmatch.h: Likewise.
24532 * include/glob.h: Likewise.
24533 * include/grp.h: Likewise.
24534 * include/libio.h: Likewise.
24535 * include/locale.h: Likewise.
24536 * include/math.h: Likewise.
24537 * include/net/if.h: Likewise.
24538 * include/netdb.h: Likewise.
24539 * include/netinet/in.h: Likewise.
24540 * include/pthread.h: Likewise.
24541 * include/pwd.h: Likewise.
24542 * include/regex.h: Likewise.
24543 * include/sched.h: Likewise.
24544 * include/search.h: Likewise.
24545 * include/setjmp.h: Likewise.
24546 * include/signal.h: Likewise.
24547 * include/stdio.h: Likewise.
24548 * include/stdlib.h: Likewise.
24549 * include/string.h: Likewise.
24550 * include/sys/cdefs.h: Likewise.
24551 * include/sys/mman.h: Likewise.
24552 * include/sys/msg.h: Likewise.
24553 * include/sys/resource.h: Likewise.
24554 * include/sys/select.h: Likewise.
24555 * include/sys/socket.h: Likewise.
24556 * include/sys/stat.h: Likewise.
24557 * include/sys/statvfs.h: Likewise.
24558 * include/sys/time.h: Likewise.
24559 * include/sys/times.h: Likewise.
24560 * include/sys/uio.h: Likewise.
24561 * include/sys/utsname.h: Likewise.
24562 * include/sys/wait.h: Likewise.
24563 * include/termios.h: Likewise.
24564 * include/time.h: Likewise.
24565 * include/ulimit.h: Likewise.
24566 * include/unistd.h: Likewise.
24567 * include/utime.h: Likewise.
24568 * include/wchar.h: Likewise.
24569 * include/wctype.h: Likewise.
24570 * include/wordexp.h: Likewise.
24571
24572 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24573
7a270350
UD
24574 * time/time.h: TIME_UTC must be a macro.
24575 Make timespec_get available for ISO C11 only as well.
24576
7724defc
UD
245772012-02-24 Ulrich Drepper <drepper@gmail.com>
24578
24579 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24580 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24581
6b1d1d46
JM
245822012-02-24 Joseph Myers <joseph@codesourcery.com>
24583
24584 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24585
0f8bbd69
JM
245862012-02-24 Joseph Myers <joseph@codesourcery.com>
24587
24588 * manual/texinfo.tex: Update to version 2012-01-19.16.
24589
66ab80bc
JM
245902012-02-24 Joseph Myers <joseph@codesourcery.com>
24591
24592 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24593
74981cc5
RM
245942012-02-24 Roland McGrath <roland@hack.frob.com>
24595
ee968201
RM
24596 [BZ #13738]
24597 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24598 * manual/fdl-1.3.texi: New file.
24599 * manual/fdl-1.1.texi: File removed.
24600
74981cc5
RM
24601 [BZ #13738]
24602 * manual/libc.texinfo (FDL_VERSION): New @set.
24603 Use it for mention of FDL in cover text.
24604 (Documentation License): Use it in @include file name.
24605
7bb764bc
JM
246062012-02-22 Joseph Myers <joseph@codesourcery.com>
24607 Roland McGrath <roland@hack.frob.com>
24608
24609 [BZ #5461]
24610 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24611 not LONG_LONG_MAX and LONG_LONG_MIN.
24612 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24613 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24614 name.
24615 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24616
6cbeae47
JM
246172012-02-22 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #2547]
24620 [BZ #11365]
24621 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24622 manipulate bits before adding and subtracting TWO23[sx].
24623 * math/libm-test.inc (nearbyint_test): Add more tests.
24624
fe45ce09
JM
246252012-02-22 Joseph Myers <joseph@codesourcery.com>
24626
24627 [BZ #2548]
24628 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24629 bits before adding and subtracting TWO23[sx].
24630 * math/libm-test.inc (rint_test): Add more tests.
24631 (rint_test_tonearest): Likewise.
24632 (rint_test_towardzero): Likewise.
24633 (rint_test_downward): Likewise.
24634 (rint_test_upward: Likewise.
24635
ff3b3d82
JM
246362012-02-22 Joseph Myers <joseph@codesourcery.com>
24637
24638 [BZ #10110]
24639 * include/stdc-predef.h: New file. Extracted from features.h.
24640 * include/features.h: Include stdc-predef.h.
24641 * Makefile (headers): Add stdc-predef.h.
24642 * CONFORMANCE (Compiler limitations): Update.
24643
ef0aab35
JM
246442012-02-22 Joseph Myers <joseph@codesourcery.com>
24645
24646 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24647
58639409
DM
246482012-02-21 David S. Miller <davem@davemloft.net>
24649
24650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24652
c0e70b25
DM
246532012-02-20 David S. Miller <davem@davemloft.net>
24654
24655 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24656 using a normal save/restore sequence, rather than allocating a
24657 dummy stack frame just to store a frame pointer and restore.
24658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24659
fb06851d
JM
246602012-02-21 Joseph Myers <joseph@codesourcery.com>
24661
24662 * manual/install.texi: Fix stray word in line-wrapped comment.
24663
7a8b71c3
DM
246642012-02-20 David S. Miller <davem@davemloft.net>
24665
d510c123
DM
24666 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24667 both binutils and gcc support GOTDATA.
24668
0722d7c2
DM
24669 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24670 "rd %pc" in the PIC register setup sequences.
24671
3d2b3019
DM
24672 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24673 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24674 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24675 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24676 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24679 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24681 (SYSCALL_ERROR_HANDLER): Likewise.
24682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24685 (SYSCALL_ERROR_HANDLER): Likewise.
24686
c80098a9
DM
24687 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24688 (HAVE_GCC_GOTDATA): New.
24689 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24690 relocation support in both binutils and gcc.
24691 * sysdeps/sparc/elf/configure: Regenerate.
24692
3a2545a0
DM
24693 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24694 * sysdeps/sparc/sparc32/elf/configure: Delete.
24695 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24696 * sysdeps/sparc/sparc64/elf/configure: Delete.
24697 * sysdeps/sparc/elf/configure.in: New file.
24698 * sysdeps/sparc/elf/configure: Generate.
24699
7a8b71c3
DM
24700 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24701 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24703 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24704 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24705
f1e86fca
JM
247062012-02-21 Joseph Myers <joseph@codesourcery.com>
24707
24708 * manual/install.texi: Do not mention specific glibc version
24709 numbers.
24710 * manual/libc.texinfo (VERSION, UPDATED): Update.
24711 (@copying): Use @copyright{} and range of years.
24712
0e7dfaef
JM
247132012-02-21 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #13695]
24716 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24717 [crti.S not in sysdirs] (generated): Do not append.
24718 [crti.S not in sysdirs] (omit-deps): Likewise.
24719 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24720 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24721 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24722 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24723 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24724 Likewise.
24725 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24726 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24727 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24728 * csu/defs.awk: Remove file.
24729 * sysdeps/generic/initfini.c: Likewise.
24730 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24731 variable.
24732 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24733 Likewise.
24734
599af3ca
JM
247352012-02-20 Joseph Myers <joseph@codesourcery.com>
24736
24737 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24740 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24742 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24743 <bits/epoll.h>.
24744 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24745 (__EPOLL_PACKED): Define to empty if not defined by
24746 <bits/epoll.h>.
24747 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24749 bits/epoll.h.
24750
0e499750
JM
247512012-02-20 Joseph Myers <joseph@codesourcery.com>
24752
24753 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24754 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24755 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24756 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24757 <bits/timerfd.h>.
24758 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24760 bits/timerfd.h.
24761
5ad91f6e
JM
247622012-02-20 Joseph Myers <joseph@codesourcery.com>
24763
24764 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24765 in C locale.
24766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24770
06b99b02
AJ
247712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24772
24773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24775
7638c0fd
AS
247762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24777
24778 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24779 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24780 defined.
24781 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24782 Likewise.
24783 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24784 entry for 2.16.
24785
92221550
AJ
247862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24787
24788 * math/w_acos.c: Use non-signaling floating-point comparisons.
24789 * math/w_acosf.c: Likewise.
24790 * math/w_acosh.c: Likewise.
24791 * math/w_acoshf.c: Likewise.
24792 * math/w_acoshl.c: Likewise.
24793 * math/w_acosl.c: Likewise.
24794 * math/w_asin.c: Likewise.
24795 * math/w_asinf.c: Likewise.
24796 * math/w_asinl.c: Likewise.
24797 * math/w_atanh.c: Likewise.
24798 * math/w_atanhf.c: Likewise.
24799 * math/w_atanhl.c: Likewise.
24800 * math/w_exp2.c: Likewise.
24801 * math/w_exp2f.c: Likewise.
24802 * math/w_exp2l.c: Likewise.
24803 * math/w_j0.c: Likewise.
24804 * math/w_j0f.c: Likewise.
24805 * math/w_j0l.c: Likewise.
24806 * math/w_j1.c: Likewise.
24807 * math/w_j1f.c: Likewise.
24808 * math/w_j1l.c: Likewise.
24809 * math/w_jn.c: Likewise.
24810 * math/w_jnf.c: Likewise.
24811 * math/w_log.c: Likewise.
24812 * math/w_log10.c: Likewise.
24813 * math/w_log10f.c: Likewise.
24814 * math/w_log10l.c: Likewise.
24815 * math/w_log2.c: Likewise.
24816 * math/w_log2f.c: Likewise.
24817 * math/w_log2l.c: Likewise.
24818 * math/w_logf.c: Likewise.
24819 * math/w_logl.c: Likewise.
24820 * math/w_sqrt.c: Likewise.
24821 * math/w_sqrtf.c: Likewise.
24822 * math/w_sqrtl.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24828
ebaf36eb
JM
248292012-02-19 Joseph Myers <joseph@codesourcery.com>
24830
24831 [BZ #9739]
24832 * manual/string.texi (strnlen): Use correct parameter name in
24833 equivalent expression.
24834
71c254a6
JM
248352012-02-19 Joseph Myers <joseph@codesourcery.com>
24836
24837 [BZ #11174]
24838 * manual/users.texi (seteuid): Consistently use neweuid for
24839 argument name.
24840
16d2c631
JM
248412012-02-19 Joseph Myers <joseph@codesourcery.com>
24842
24843 [BZ #13704]
24844 * manual/nss.texi (Services in the NSS configuration): Correct
24845 list of services in example configuration file.
24846
cd837b09
NB
248472012-02-19 Nick Bowler <nbowler@draconx.ca>
24848
24849 [BZ #11322]
24850 * manual/arith.texi: Remove statements about negative zero
24851 behaving identically to zero.
24852
02c4bbad
JM
248532012-02-18 Joseph Myers <joseph@codesourcery.com>
24854
24855 [BZ #5993]
24856 * manual/install.texi: Do not document upgrading from libc5.
24857
366842e7
JM
248582012-02-18 Joseph Myers <joseph@codesourcery.com>
24859
24860 [BZ #4596]
24861 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24862
dd54084d
DM
248632012-02-18 David S. Miller <davem@davemloft.net>
24864
24865 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24866 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24867 %o7 across the call.
24868 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24869 instead.
24870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24871 SETUP_PIC_REG_LEAF.
24872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24873 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24874 * sysdeps/sparc/crtn.S: Likewise.
24875
2bcc53a3
UD
248762012-02-17 Ulrich Drepper <drepper@gmail.com>
24877
24878 * aout/Makefile: Remove.
24879
09c093b5
RK
248802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24881
24882 [BZ #13058]
24883 * manual/examples/argp-ex1.c (main): Format definition in GNU
24884 style.
24885 * manual/examples/argp-ex2.c (main): Likewise.
24886 * manual/examples/argp-ex3.c (main): Likewise.
24887 * manual/examples/argp-ex4.c (main): Likewise.
24888 * manual/examples/longopt.c (main): Use new-style prototype
24889 definition.
24890 * manual/examples/strncat.c (main): Specify return type and use
24891 (void) for arguments.
24892 * manual/examples/subopt.c (main): Use char **argv argument.
24893
2ee633a2
JM
248942012-02-17 Joseph Myers <joseph@codesourcery.com>
24895
24896 [BZ #5077]
24897 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24898 rounding modes.
24899
0520adde
FB
249002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24901
24902 [BZ #6907]
24903 * manual/string.texi (strchr): Change when strchrnul is
24904 recommended.
24905
3f4081cd
DGM
249062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24907
24908 [BZ #174]
24909 * manual/locale.texi (setlocale): Document LOCPATH.
24910
d1b10e78
JM
249112012-02-17 Joseph Myers <joseph@codesourcery.com>
24912
24913 [BZ #10210]
24914 * manual/process.texi (execle): Move @dots{} before last argument.
24915
79c6869c
PB
249162012-02-17 Paul Bolle <pebolle@tiscali.nl>
24917
24918 [BZ #12047]
24919 * manual/charset.texi (Generic Charset Conversion): Fix typo
24920 (LC_TYPE -> LC_CTYPE).
24921
cc6e48bc
NB
249222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24923
24924 [BZ #5805]
24925 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24926 (scalbnf): Likewise.
24927 (scalbnl): Likewise.
24928 (scalbln): Likewise.
24929 (scalblnf): Likewise.
24930 (scalblnl): Likewise.
24931 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24932 (vwarnx): Likewise.
24933 (verr): Likewise.
24934 (verrx): Likewise.
24935 * manual/filesys.texi (telldir): Use braces around return type.
24936 * manual/llio.texi (mmap): Add space after comma.
24937 (mmap64): Likewise.
24938 * manual/math.texi (jn): Use @var{} on parameter names.
24939 (jnf): Likewise.
24940 (jnl): Likewise.
24941 (yn): Likewise.
24942 (ynf): Likewise.
24943 (ynl): Likewise.
24944 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24945 line.
24946 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24947 "...".
24948 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24949 (sched_get_priority_max): Likewise.
24950 * manual/signal.texi (sigvec): Add space after comma.
24951 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24952 names.
24953 (if_indextoname): Likewise.
24954 (if_freenameindex): Likewise.
24955 (sendto): Use ',' instead of '.' in prototype.
24956 * manual/startup.texi (syscall): Use @dots{} instead of literal
24957 "...".
24958 * manual/stdio.texi (__fpending): Separate initial words of
24959 paragraph from @deftypefun line.
24960 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24961 "...".
24962 (vsyslog): Use @var{} on parameter names.
24963 * manual/terminal.texi (stty): Use @var{} on parameter names.
24964 * manual/users.texi (getutmp): Use @var{} on parameter names.
24965 (getutmpx): Likewise.
24966
5b23062f
JM
249672012-02-17 Joseph Myers <joseph@codesourcery.com>
24968
24969 [BZ #6884]
24970 * manual/stdio.texi (fopen): Fix typos in description of
24971 ",ccs=STRING".
24972
8dee4833
AJ
249732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24974
24975 [BZ #4026]
24976 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24977 get clock_id definition.
24978
9078ce93
TS
249792012-02-17 Thomas Schwinge <thomas@schwinge.name>
24980
24981 [BZ #4822]
24982 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24983 (madvise): Cast every argument to void on its own.
24984
3835c55f
JM
249852012-02-17 Joseph Myers <joseph@codesourcery.com>
24986
24987 [BZ #9902]
24988 * manual/startup.texi (Exit Status): Fix typo.
24989
35c47e37
JM
249902012-02-17 Joseph Myers <joseph@codesourcery.com>
24991
24992 [BZ #10140]
24993 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24994 * manual/examples/argp-ex2.c: Likewise.
24995 * manual/examples/argp-ex3.c: Likewise.
24996
e3b69ca7
RH
249972012-02-16 Richard Henderson <rth@redhat.com>
24998
24999 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25000 * sysdeps/s390/s390-32/initfini.c: Remove.
25001 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25002 * sysdeps/s390/s390-64/initfini.c: Remove.
25003
df83af67
KK
250042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25005
25006 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25007 compiler output for sysdeps/generic/initfini.c.
25008 * sysdeps/sh/elf/initfini.c: Remove file.
25009
f63f3380
DM
250102012-02-16 David S. Miller <davem@davemloft.net>
25011
fb59b3a4
DM
25012 [BZ #11494]
25013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25014
f63f3380
DM
25015 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25016 * sysdeps/sparc/crti.S: New file.
25017 * sysdeps/sparc/crtn.S: New file.
25018 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25019 * sysdeps/sparc/sparc64/Makefile: Likewise.
25020
df6a4a4a
MF
250212012-02-15 Mike Frysinger <vapier@gentoo.org>
25022
6dd8f3dc 25023 [BZ #3335]
df6a4a4a
MF
25024 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25025
1cac7236
RM
250262012-02-15 Roland McGrath <roland@hack.frob.com>
25027
d2c736f8
RM
25028 [BZ #4822]
25029 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25030
1cac7236
RM
25031 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25032 (write, read, close): Likewise.
25033 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25034
8e475601
JM
250352012-02-15 Joseph Myers <joseph@codesourcery.com>
25036
25037 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25038 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25039 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25040 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25041 <bits/signalfd.h>.
25042 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25044 bits/signalfd.h.
25045
ed656b40
MP
250462012-02-14 Marek Polacek <polacek@redhat.com>
25047
25048 * sysdeps/x86_64/crti.S: New file.
25049 * sysdeps/x86_64/crtn.S: New file.
25050 * sysdeps/x86_64/elf/initfini.c: Remove file.
25051
2a979d3a
JM
250522012-02-13 Joseph Myers <joseph@codesourcery.com>
25053
25054 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25055 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25057 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25058 <bits/inotify.h>.
25059 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25061 bits/inotify.h.
25062
2a418ac3
JM
250632012-02-13 Joseph Myers <joseph@codesourcery.com>
25064
25065 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25067 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25068 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25069 <bits/eventfd.h>.
25070 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25072 bits/eventfd.h.
25073
fb779be7
TS
250742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25075
e19e83c5
RM
25076 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25077 __feraiseexcept instead of feraiseexcept.
7c35ffed 25078
fb779be7
TS
25079 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25080 nanosleep invocations.
25081 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25082 strings, and add error checking for a nanosleep invocations.
25083
59ba27a6
PE
250842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25085
25086 Replace FSF snail mail address with URLs, as per GNU coding standards.
25087 Most of the snail mail addresses were wrong anyway, and omitting
25088 them makes the source code easier to maintain. Almost all of the
25089 changes are to license notices and to locale LC_IDENTIFICATION
25090 addresses, except for this one:
25091 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25092 not its snail mail address.
25093
57b957eb
RH
250942012-02-09 Richard Henderson <rth@twiddle.net>
25095
af850b1c
RH
25096 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25097 of kernel-features.h.
25098
57b957eb
RH
25099 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25100
6b73181a
MP
251012012-02-08 Marek Polacek <polacek@redhat.com>
25102
25103 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25104 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25105 * sysdeps/gnu/_G_config.h: Likewise.
25106 * sysdeps/generic/_G_config.h: Likewise.
25107
26ecc33a
AS
251082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25109
6c6dbc63
AS
25110 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25111 tests.
25112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25113
e216c012
AS
25114 * sysdeps/powerpc/powerpc32/crti.S: New file.
25115 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25116 * sysdeps/powerpc/powerpc64/crti.S: New file.
25117 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25118
26ecc33a
AS
25119 * Makeconfig (have-initfini): Don't set.
25120 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25121 * configure.in (nopic_initfini): Don't substitute.
25122 * config.h.in (HAVE_INITFINI): Don't #undef.
25123 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25124 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25125
3add8e13
JM
251262012-02-08 Joseph Myers <joseph@codesourcery.com>
25127
25128 Support crti.S and crtn.S provided directly by architectures.
25129 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25130 [crti.S in sysdirs] (omit-deps): Likewise.
25131 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25132 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25133 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25134 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25135 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25136 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25137 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25138 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25139 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25140 compiler output for sysdeps/generic/initfini.c.
25141 * sysdeps/i386/elf/Makefile: Remove file.
25142 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25143
a22f12b4
MP
251442012-02-07 Marek Polacek <polacek@redhat.com>
25145
25146 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25147 * sysdeps/gnu/_G_config.h: Likewise.
25148 * sysdeps/mach/hurd/_G_config.h: Likewise.
25149
148cf100
MP
251502012-02-07 Marek Polacek <polacek@redhat.com>
25151
25152 * math/Makefile (tests): Add tst-CMPLX2.
25153 * math/tst-CMPLX2.c: New file.
25154
cfdc0dd7
AS
251552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25156
84ba42c4
AS
25157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25158
cfdc0dd7
AS
25159 * math/libm-test.inc (jn_test): Add missing L suffix.
25160
622c86f4
MP
251612012-02-06 Marek Polacek <polacek@redhat.com>
25162
25163 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25164 * sysdeps/i386/fpu/e_powf.S: Likewise.
25165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25168 * sysdeps/i386/fpu/e_pow.S: Likewise.
25169 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25170 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25171 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25172 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25173 * sysdeps/i386/fpu/e_log2.S: Likewise.
25174 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25176 * sysdeps/i386/fpu/e_powl.S: Likewise.
25177 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25180 * sysdeps/i386/fpu/e_logl.S: Likewise.
25181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25182 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25187 * sysdeps/i386/fpu/e_log.S: Likewise.
25188 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25190 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25191 * sysdeps/i386/fpu/e_logf.S: Likewise.
25192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25194 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25197 * sysdeps/i386/fpu/e_log10.S: Likewise.
25198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25204 * sysdeps/i386/asm-syntax.h: Likewise.
25205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25208 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25209 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25214 * sysdeps/powerpc/sysdep.h: Likewise.
25215 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25216 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25217
d4a54ac6
JM
252182012-02-06 Joseph Myers <joseph@codesourcery.com>
25219
25220 [BZ #411]
25221 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25222
314054ea
JM
252232012-02-06 Joseph Myers <joseph@codesourcery.com>
25224
25225 * sysdeps/i386/sysdep.h: Include <features.h>.
25226 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25227 version.
25228
d8e0ca50
JM
252292012-02-05 Joseph Myers <joseph@codesourcery.com>
25230
25231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25232 Define.
25233 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25234 LOAD_PIC_REG_STR.
25235
b1da7dd9
JM
252362012-02-03 Joseph Myers <joseph@codesourcery.com>
25237
25238 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25239 (SETUP_PIC_REG): Use GET_PC_THUNK.
25240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25241 macro.
25242
9a1d9254
JM
252432012-02-03 Joseph Myers <joseph@codesourcery.com>
25244
25245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25246 for non-PIC compilation.
25247 (SETUP_PIC_REG): Add .p2align directive.
25248 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25249 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25250 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25251 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25262 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25263 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25264 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25265 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25266 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25267 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25268 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25270 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25271 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25276 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25277 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25278 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25279 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25281 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25282 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25283 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25284 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25285 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25286 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25289
65dc3b75
JM
252902012-02-03 Joseph Myers <joseph@codesourcery.com>
25291
25292 * math/tst-CMPLX.c: Include <stdio.h>.
25293
d55bf177
JM
252942012-01-31 Joseph Myers <joseph@codesourcery.com>
25295
25296 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25297 float.
25298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25299 * sysdeps/sparc/bits/mathdef.h: Likewise.
25300
69db4f8f
MP
253012012-01-31 Marek Polacek <polacek@redhat.com>
25302
25303 * libio/libio.h: Don't define _PARAMS.
25304 * locale/programs/config.h: Don't define PARAMS.
25305 * stdlib/strtol_l.c: Likewise.
25306 (__strtol_l): Remove PARAMS from the prototype.
25307
41b81892
UD
253082012-01-31 Ulrich Drepper <drepper@gmail.com>
25309
3b49edc0
UD
25310 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25311 names. Just use the correct names. Remove unnecessary wrapper
25312 functions.
25313 * malloc/arena.c: Likewise.
25314 * malloc/hooks.c: Likewise.
25315
41b81892
UD
25316 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25317 ARENA_TEST says not to. Simplify test for creation of a new arena.
25318 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25319
27a25b6e
UD
253202012-01-30 Ulrich Drepper <drepper@gmail.com>
25321
25322 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25323 into tail calls.
25324 (update_get_addr): New function.
25325 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25326 GET_ADDR_MODULE parameter.
25327
c8a89e7d
JM
253282012-01-30 Joseph Myers <joseph@codesourcery.com>
25329
25330 * crypt/cert.c: Remove __STDC__ conditionals.
25331 * crypt/crypt-entry.c: Likewise.
25332 * crypt/crypt_util.c: Likewise.
25333 * libio/filedoalloc.c: Likewise.
25334 * libio/fileops.c: Likewise.
25335 * libio/genops.c: Likewise.
25336 * libio/iofclose.c: Likewise.
25337 * libio/iofdopen.c: Likewise.
25338 * libio/iofopen.c: Likewise.
25339 * libio/iofopen64.c: Likewise.
25340 * libio/iogetdelim.c: Likewise.
25341 * libio/iopopen.c: Likewise.
25342 * libio/obprintf.c: Likewise.
25343 * libio/oldfileops.c: Likewise.
25344 * libio/oldiofclose.c: Likewise.
25345 * libio/oldiofdopen.c: Likewise.
25346 * libio/oldiofopen.c: Likewise.
25347 * libio/oldiopopen.c: Likewise.
25348 * libio/wfiledoalloc.c: Likewise.
25349 * libio/wgenops.c: Likewise.
25350 * locale/programs/xmalloc.c: Likewise.
25351 * misc/syslog.c: Likewise.
25352 * stdio-common/xbug.c: Likewise.
25353 * string/memchr.c: Likewise.
25354 * string/memcmp.c: Likewise.
25355 * string/memrchr.c: Likewise.
25356 * string/rawmemchr.c: Likewise.
25357 * sysdeps/posix/getcwd.c: Likewise.
25358 * time/strftime_l.c: Likewise.
25359
3b100462
JM
253602012-01-30 Joseph Myers <joseph@codesourcery.com>
25361
25362 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25363 * config.make.in (config-cflags-sse2avx): Define.
25364 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25365 Fix typo.
25366
607998af
CM
253672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25368
25369 * scripts/config.guess: Update from upstream config git repository.
25370 * scripts/config.sub: Likewise.
25371
3601428f
CM
253722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25373
3ac8b282
CM
25374 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25375 (EM_NUM): Update.
25376 (R_TILEPRO_*, R_TILEGX_*): New macros.
25377
e034841e
CM
25378 * scripts/firstversions.awk: Fix bug in version range handling.
25379
540d7568
CM
25380 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25381
3601428f
CM
25382 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25383
463de862
CM
25384 * include/sys/epoll.h: New file.
25385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25386 libc_hidden_def.
25387
73139a76
UD
253882012-01-28 Ulrich Drepper <drepper@gmail.com>
25389
96bc5b45
UD
25390 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25391 Avoid unnecessary __WORDSIZE == 64 test.
25392 (fmaxf): Use VEX format if possible.
25393 (fmax): Likewise.
25394 (fminf): Likewise.
25395 (fmin): Likewise.
25396
56f6f6a2
UD
25397 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25398 * math/math_private.h: Remove libc_fegetround* and
25399 libc_fesetround*.
25400 * sysdeps/i386/configure.in: Check for -msse2avx.
25401 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25402 also if SSE2AVX is defined.
25403 Remove libc_fegetround* and libc_fesetround*.
25404 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25405 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25407 of HAS_YMM_USABLE.
25408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25411 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25412 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25413
73139a76
UD
25414 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25415
d73f93a4
AZ
254162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25417
25418 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25419 size is not set.
25420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25421
6ee65ed6
UD
254222012-01-27 Ulrich Drepper <drepper@gmail.com>
25423
25424 [BZ #13618]
25425 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25426 relocation.
25427 * Makeconfig (libm): Define.
25428 * elf/Makefile: Add rules to build and run tst-relsort1.
25429 * elf/tst-relsort1.c: New file.
25430 * elf/tst-relsort1mod1.c: New file.
25431 * elf/tst-relsort1mod2.c: New file.
25432
8db21882
JM
254332012-01-27 Joseph Myers <joseph@codesourcery.com>
25434
25435 * math/s_ldexp.c: Remove __STDC__ conditionals.
25436 * math/s_ldexpf.c: Likewise.
25437 * math/s_ldexpl.c: Likewise.
25438 * math/s_nextafter.c: Likewise.
25439 * math/s_nexttowardf.c: Likewise.
25440 * math/s_significand.c: Likewise.
25441 * math/s_significandf.c: Likewise.
25442 * math/s_significandl.c: Likewise.
25443 * math/w_jnl.c: Likewise.
25444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25463 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25464 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25466 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25468 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25469 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25472 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25479 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25484 * sysdeps/ieee754/k_standard.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25546 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25551 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25564 * sysdeps/ieee754/s_matherr.c: Likewise.
25565 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25566 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25569
965a54a4
JM
255702012-01-26 Joseph Myers <joseph@codesourcery.com>
25571
25572 * crypt/md5.h: Remove __STDC__ conditionals.
25573 * libio/libioP.h: Likewise.
25574 * locale/programs/config.h: Likewise.
25575 * sysdeps/generic/sysdep.h: Likewise.
25576 * sysdeps/i386/asm-syntax.h: Likewise.
25577 * sysdeps/s390/asm-syntax.h: Likewise.
25578 * sysdeps/unix/sysdep.h: Likewise.
25579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25581
7071ad79
JM
255822012-01-26 Joseph Myers <joseph@codesourcery.com>
25583
25584 * libio/libio.h: Remove __STDC__ conditionals.
25585 * malloc/obstack.h: Likewise.
25586 * math/complex.h: Likewise.
25587 * math/math.h: Likewise.
25588 * sysdeps/generic/_G_config.h: Likewise.
25589 * sysdeps/gnu/_G_config.h: Likewise.
25590 * sysdeps/mach/hurd/_G_config.h: Likewise.
25591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25592 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25593 * sysdeps/sparc/bits/mathdef.h: Likewise.
25594
afc5ed09
UD
255952012-01-26 Ulrich Drepper <drepper@gmail.com>
25596
25597 [BZ #13583]
25598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25599 Clean up HAS_* macros.
afc5ed09 25600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25601 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25602 possible.
25603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25604 HAS_AVX.
25605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25610
bdb6de1d
JM
256112012-01-25 Joseph Myers <joseph@codesourcery.com>
25612
25613 * elf/tst-unique3.cc (gets): Remove declaration.
25614 * elf/tst-unique3lib.cc (gets): Likewise.
25615 * elf/tst-unique3lib2.cc (gets): Likewise.
25616 * elf/tst-unique4.cc (gets): Likewise.
25617
b15549e6
UD
256182012-01-24 Ulrich Drepper <drepper@gmail.com>
25619
25620 * include/stdio.h: Add C++ protection. Add gets declarations and
25621 definitions.
25622 * debug/tst-chk1.c: Don't declare gets here.
25623 * stdio-common/tst-gets.c: Likewise.
25624
a037381f
JM
256252012-01-24 Joseph Myers <joseph@codesourcery.com>
25626
25627 * posix/glob: Remove directory.
25628
f1d4aa75
JM
256292012-01-24 Joseph Myers <joseph@codesourcery.com>
25630
25631 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25632
81c0c964
PT
256332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25634
25635 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25636 of the non-standard EPFNOSUPPORT.
25637
0ea698ae
ST
256382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25639
25640 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25641 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25642 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25643
d220b117
UD
256442012-01-21 Ulrich Drepper <drepper@gmail.com>
25645
25646 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25647
3e1aa84e
UD
256482012-01-20 Ulrich Drepper <drepper@gmail.com>
25649
25650 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25651 transient errors.
25652 * nscd/grpcache.c (cache_addgr): Likewise.
25653 * nscd/hstcache.c (cache_addhst): Likewise.
25654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25655 * nscd/pwdcache.c (cache_addpw): Likewise.
25656 * nscd/servicescache.c (cache_addserv): Likewise.
25657
400aa020
UD
256582012-01-16 Ulrich Drepper <drepper@gmail.com>
25659
d77e7869
UD
25660 * malloc/malloc.c: Various cleanups.
25661 * malloc/hooks.c: Likewise.
25662
400aa020
UD
25663 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25664 * stdlib/bug-fmtmsg1.c: New file.
25665
25666 * stdlib/fmtmsg.c (init): Add missing unlock.
25667 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25668
e0a309cf
MP
256692012-01-12 Marek Polacek <polacek@redhat.com>
25670
25671 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25672 and _GNU_SOURCE.
25673
929d11c7
WS
256742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25675
25676 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25677 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25678 macro to ensure uniqueness of label name.
25679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25681
41d0e869
UD
256822012-01-11 Ulrich Drepper <drepper@gmail.com>
25683
0cc5ed3b
UD
25684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25685
41d0e869
UD
25686 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25690
a47a831a
UD
256912012-01-10 Ulrich Drepper <drepper@gmail.com>
25692
daa891c0
UD
25693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25694
25695 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25697 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25698
e58ef0f2
UD
25699 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25700
a47a831a 25701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25702 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25705
25706 * math/bits/math-finite.h: Add ldexp support.
25707
a0bfc9c7
MP
257082012-01-10 Marek Polacek <polacek@redhat.com>
25709
25710 * locale/programs/localedef.h (show_archive_content): Add noreturn
25711 attribute.
25712
d6e97a1d
UD
257132012-01-09 Ulrich Drepper <drepper@gmail.com>
25714
25715 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25716
d5835c26
UD
257172012-01-08 Ulrich Drepper <drepper@gmail.com>
25718
e5f484c6
UD
25719 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25720
d5835c26
UD
25721 * io/Makefile (headers): Add bits/poll2.h.
25722
d1f741e9
WS
257232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25724
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25726 typo #include statement.
25727
ec09c1c4
UD
257282012-01-08 Ulrich Drepper <drepper@gmail.com>
25729
25730 * include/sys/cdefs.h: Define __attribute_alloc_size.
25731 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25732 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25733 * elf/pldd.c: Likewise.
25734 * iconv/iconv_charmap.c: Likewise.
25735 * iconv/iconvconfig.c: Likewise.
25736 * iconv/strtab.c: Likewise.
25737 * locale/programs/locale.c: Likewise.
25738 * locale/programs/localedef.h: Likewise.
25739 * locale/programs/simple-hash.c: Likewise.
25740 * nscd/nscd.h: Likewise.
25741 * nss/makedb.c: Likewise.
25742 * sysdeps/generic/ldconfig.h: Likewise.
25743 * locale/programs/localedef.c: Remove xmalloc prototype.
25744 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25745
20b38e03
PP
257462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25747
25748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25749 appropriate.
25750
a0da5fe1
UD
257512012-01-08 Ulrich Drepper <drepper@gmail.com>
25752
1d5a644a 25753 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25754 * math/tst-CMPLX.c: New file.
1d5a644a 25755
8784a6db
UD
25756 * math/complex.h (CMPLXL): Fix typo.
25757
d9a216c0
UD
25758 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25759 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25760 GLIBC_2.16.
25761 * debug/tst-chk1.c: Add poll and ppoll tests.
25762 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25763 * include/sys/poll.h: Add hidden proto for ppoll.
25764 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25765 * sysdeps/mach/hurd/ppoll.c: Likewise.
25766 * io/ppoll.c: Likewise.
25767 * debug/poll_chk.c: New file.
25768 * debug/ppoll_chk.c: New file.
25769 * include/bits/poll2.h: New file.
25770 * io/bits/poll2.h: New file.
25771
ac097f5c
UD
25772 [BZ #1350]
25773 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25774
2119dcfa
UD
25775 * configure.in: static is always set to yes. Remove.
25776 * config.make.in: Don't set build-static.
25777 * Makeconfig: Remove use of build-static.
25778 * dlfcn/Makefile: Likewise.
25779 * elf/Makefile: Likewise.
25780 * math/Makefile: Likewise.
25781 * misc/Makefile: Likewise.
25782 * nptl/Makefile: Likewise.
25783 * sysdeps/mach/hurd/Makefile: Likewise.
25784
121766a9
UD
25785 * configure.in: PWD_P is not used anymore.
25786 * config.make.in: Remove PWD_P entry.
25787
51a1d39c 25788 * configure.in: Remove last remnants of RANLIB.
8720d066 25789 No need to check for signed size_t anymore.
215f4bdc
UD
25790 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25791 and IA-64.
3857022a 25792 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25793 * aclocal.m4: Likewise.
25794
d3ed7225
UD
25795 * wcsmbs/mbrtoc16.c: Implement using towc function.
25796 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25797 * wcsmbs/wcsmbsload.c: Likewise.
25798 * iconv/gconv_simple.c: Likewise.
25799 * iconv/gconv_int.h: Likewise.
25800 * iconv/gconv_builtin.h: Likewise.
25801 * iconv/iconv_prog.c: Remove CHAR16 handling.
25802
25803 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25804
25805 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25806
a0da5fe1
UD
25807 * configure.in: Remove --with-elf and --enable-bounded options.
25808 Dont set base_machine for ia64. More non-ELF conditions removed.
25809 Remove testing and setting of leading underscore information.
25810 * config.make.in (build-bounded): Set to no.
25811 * config.h.in: Remove NO_UNDERSCORES entry.
25812 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25813 them.
25814 * csu/start.c: Remove !NO_UNDERSCORE code.
25815 * locale/localeinfo.h: Likewise.
25816 * sysdeps/generic/machine-gmon.h: Likewise.
25817 * sysdeps/generic/sysdep.h: Likewise.
25818 * sysdeps/i386/sysdep.h: Likewise.
25819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25820 * sysdeps/mach/sysdep.h: Likewise.
25821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25823 * sysdeps/sh/sysdep.h: Likewise.
25824 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25825 * sysdeps/unix/i386/sysdep.S: Likewise.
25826 * sysdeps/unix/sparc/start.c: Likewise.
25827 * sysdeps/unix/sparc/sysdep.S: Likewise.
25828 * sysdeps/unix/sparc/sysdep.h: Likewise.
25829 * sysdeps/unix/start.c: Likewise.
25830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25831 * sysdeps/x86_64/sysdep.h: Likewise.
25832
df78418a
UD
258332012-01-07 Ulrich Drepper <drepper@gmail.com>
25834
a784e502
UD
25835 [BZ #13553]
25836 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25837 for non-gcc.
25838 * argp/argp-fmtstream.h: Use const instead __const.
25839 * argp/argp.h: Likewise.
25840 * assert/assert.h: Likewise.
25841 * bits/fenv.h: Likewise.
25842 * bits/sched.h: Likewise.
25843 * bits/sigset.h: Likewise.
25844 * bits/sigthread.h: Likewise.
25845 * catgets/nl_types.h: Likewise.
25846 * conform/data/pthread.h-data: Likewise.
25847 * crypt/crypt-private.h: Likewise.
25848 * crypt/crypt.h: Likewise.
25849 * crypt/crypt_util.c: Likewise.
25850 * ctype/ctype.h: Likewise.
25851 * debug/execinfo.h: Likewise.
25852 * debug/mbsnrtowcs_chk.c: Likewise.
25853 * debug/mbsrtowcs_chk.c: Likewise.
25854 * debug/wcsnrtombs_chk.c: Likewise.
25855 * debug/wcsrtombs_chk.c: Likewise.
25856 * debug/wcstombs_chk.c: Likewise.
25857 * dirent/dirent.h: Likewise.
25858 * dlfcn/dlfcn.h: Likewise.
25859 * elf/neededtest4.c: Likewise.
25860 * grp/grp.h: Likewise.
25861 * gshadow/gshadow.h: Likewise.
25862 * iconv/gconv.h: Likewise.
25863 * iconv/gconv_int.h: Likewise.
25864 * iconv/gconv_simple.c: Likewise.
25865 * iconv/iconv.h: Likewise.
25866 * iconv/loop.c: Likewise.
25867 * iconv/skeleton.c: Likewise.
25868 * include/aio.h: Likewise.
25869 * include/aliases.h: Likewise.
25870 * include/argz.h: Likewise.
25871 * include/arpa/inet.h: Likewise.
25872 * include/assert.h: Likewise.
25873 * include/dirent.h: Likewise.
25874 * include/dlfcn.h: Likewise.
25875 * include/execinfo.h: Likewise.
25876 * include/fcntl.h: Likewise.
25877 * include/fenv.h: Likewise.
25878 * include/glob.h: Likewise.
25879 * include/grp.h: Likewise.
25880 * include/libintl.h: Likewise.
25881 * include/mntent.h: Likewise.
25882 * include/netdb.h: Likewise.
25883 * include/pwd.h: Likewise.
25884 * include/rpc/netdb.h: Likewise.
25885 * include/sched.h: Likewise.
25886 * include/search.h: Likewise.
25887 * include/shadow.h: Likewise.
25888 * include/signal.h: Likewise.
25889 * include/stdio.h: Likewise.
25890 * include/stdlib.h: Likewise.
25891 * include/string.h: Likewise.
25892 * include/sys/socket.h: Likewise.
25893 * include/sys/stat.h: Likewise.
25894 * include/sys/statfs.h: Likewise.
25895 * include/sys/statvfs.h: Likewise.
25896 * include/sys/syslog.h: Likewise.
25897 * include/sys/time.h: Likewise.
25898 * include/sys/uio.h: Likewise.
25899 * include/time.h: Likewise.
25900 * include/unistd.h: Likewise.
25901 * include/utmp.h: Likewise.
25902 * include/wchar.h: Likewise.
25903 * include/wctype.h: Likewise.
25904 * inet/aliases.h: Likewise.
25905 * inet/arpa/inet.h: Likewise.
25906 * inet/netinet/ether.h: Likewise.
25907 * inet/netinet/in.h: Likewise.
25908 * intl/libintl.h: Likewise.
25909 * io/bits/fcntl2.h: Likewise.
25910 * io/fcntl.h: Likewise.
25911 * io/ftw.h: Likewise.
25912 * io/sys/poll.h: Likewise.
25913 * io/sys/stat.h: Likewise.
25914 * io/sys/statfs.h: Likewise.
25915 * io/sys/statvfs.h: Likewise.
25916 * io/utime.h: Likewise.
25917 * libio/bits/stdio.h: Likewise.
25918 * libio/bits/stdio2.h: Likewise.
25919 * libio/libio.h: Likewise.
25920 * libio/libioP.h: Likewise.
25921 * libio/stdio.h: Likewise.
25922 * locale/lc-ctype.c: Likewise.
25923 * locale/locale.h: Likewise.
25924 * login/utmp.h: Likewise.
25925 * malloc/arena.c: Likewise.
25926 * malloc/malloc.c: Likewise.
25927 * malloc/malloc.h: Likewise.
25928 * malloc/mcheck.c: Likewise.
25929 * malloc/mtrace.c: Likewise.
25930 * math/bits/mathcalls.h: Likewise.
25931 * math/fenv.h: Likewise.
25932 * math/math_private.h: Likewise.
25933 * misc/bits/error.h: Likewise.
25934 * misc/bits/syslog.h: Likewise.
25935 * misc/err.h: Likewise.
25936 * misc/error.h: Likewise.
25937 * misc/fstab.h: Likewise.
25938 * misc/mntent.h: Likewise.
25939 * misc/regexp.h: Likewise.
25940 * misc/search.h: Likewise.
25941 * misc/sgtty.h: Likewise.
25942 * misc/sys/mman.h: Likewise.
25943 * misc/sys/syslog.h: Likewise.
25944 * misc/sys/uio.h: Likewise.
25945 * misc/sys/xattr.h: Likewise.
25946 * misc/ttyent.h: Likewise.
25947 * nis/rpcsvc/ypclnt.h: Likewise.
25948 * nss/nss.h: Likewise.
25949 * posix/bits/unistd.h: Likewise.
25950 * posix/fnmatch.h: Likewise.
25951 * posix/glob.h: Likewise.
25952 * posix/sched.h: Likewise.
25953 * posix/spawn.h: Likewise.
25954 * posix/sys/wait.h: Likewise.
25955 * posix/unistd.h: Likewise.
25956 * posix/wordexp.h: Likewise.
25957 * pwd/pwd.h: Likewise.
25958 * resolv/netdb.h: Likewise.
25959 * resource/sys/resource.h: Likewise.
25960 * rt/aio.h: Likewise.
25961 * rt/bits/mqueue2.h: Likewise.
25962 * rt/mqueue.h: Likewise.
25963 * shadow/shadow.h: Likewise.
25964 * signal/signal.h: Likewise.
25965 * socket/send.c: Likewise.
25966 * socket/sendto.c: Likewise.
25967 * socket/sys/socket.h: Likewise.
25968 * stdio-common/printf.h: Likewise.
25969 * stdlib/bits/stdlib.h: Likewise.
25970 * stdlib/fmtmsg.h: Likewise.
25971 * stdlib/monetary.h: Likewise.
25972 * stdlib/stdlib.h: Likewise.
25973 * stdlib/ucontext.h: Likewise.
25974 * streams/stropts.h: Likewise.
25975 * string/argz.h: Likewise.
25976 * string/bits/string2.h: Likewise.
25977 * string/string.h: Likewise.
25978 * string/strings.h: Likewise.
25979 * sunrpc/rpc/auth.h: Likewise.
25980 * sunrpc/rpc/auth_des.h: Likewise.
25981 * sunrpc/rpc/clnt.h: Likewise.
25982 * sunrpc/rpc/netdb.h: Likewise.
25983 * sunrpc/rpc/pmap_clnt.h: Likewise.
25984 * sunrpc/rpc/xdr.h: Likewise.
25985 * sysdeps/generic/inttypes.h: Likewise.
25986 * sysdeps/generic/net/if.h: Likewise.
25987 * sysdeps/generic/sys/swap.h: Likewise.
25988 * sysdeps/gnu/net/if.h: Likewise.
25989 * sysdeps/gnu/utmpx.h: Likewise.
25990 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25991 * sysdeps/i386/i486/bits/string.h: Likewise.
25992 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25993 * sysdeps/s390/bits/string.h: Likewise.
25994 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25995 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25999 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26000 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26001 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26002 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26003 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26004 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26005 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26006 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26008 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26009 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26010 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26016 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26017 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26018 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26019 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26022 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26024 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26025 * sysvipc/sys/ipc.h: Likewise.
26026 * sysvipc/sys/msg.h: Likewise.
26027 * sysvipc/sys/sem.h: Likewise.
26028 * sysvipc/sys/shm.h: Likewise.
26029 * termios/termios.h: Likewise.
26030 * time/sys/time.h: Likewise.
26031 * time/time.h: Likewise.
26032 * wcsmbs/bits/wchar2.h: Likewise.
26033 * wcsmbs/uchar.h: Likewise.
26034 * wcsmbs/wchar.h: Likewise.
26035 * wctype/wctype.h: Likewise.
26036
0269750c
UD
26037 [BZ #13551]
26038 * Makeconfig: Remove all but ELF support including AIX support.
26039 * Makerules: Likewise.
26040 * config.h.in: Likewise.
26041 * config.make.in: Likewise.
26042 * configure: Likewise.
26043 * configure.in: Likewise.
26044 * csu/Makefile: Likewise.
26045 * csu/version.c: Likewise.
26046 * debug/Makefile: Likewise.
26047 * dlfcn/Makefile: Likewise.
26048 * elf/Makefile: Likewise.
26049 * extra-lib.mk: Likewise.
26050 * iconv/Makefile: Likewise.
26051 * include/libc-symbols.h: Likewise.
26052 * include/shlib-compat.h: Likewise.
26053 * resolv/Makefile: Likewise.
26054 * resolv/res_libc.c: Likewise.
26055 * rt/Makefile: Likewise.
26056 * sysdeps/i386/asm-syntax.h: Likewise.
26057 * sysdeps/i386/sysdep.h: Likewise.
26058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26059 * sysdeps/mach/sysdep.h: Likewise.
26060 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26061 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26062 * sysdeps/s390/asm-syntax.h: Likewise.
26063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26064 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26065 * sysdeps/sh/sysdep.h: Likewise.
26066 * sysdeps/unix/sparc/sysdep.h: Likewise.
26067 * sysdeps/wordsize-32/divdi3.c: Likewise.
26068 * sysdeps/x86_64/sysdep.h: Likewise.
26069
00bbd29b
UD
26070 * argp/Versions: Remove _argp_unlock_xxx.
26071
26072 [BZ #13559]
26073 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26074 * abilist/libBrokenLocale.abilist: Likewise.
26075 * abilist/libanl.abilist: Likewise.
26076 * abilist/libc.abilist: Likewise.
26077 * abilist/libcrypt.abilist: Likewise.
26078 * abilist/libdl.abilist: Likewise.
26079 * abilist/libm.abilist: Likewise.
26080 * abilist/libnsl.abilist: Likewise.
26081 * abilist/libpthread.abilist: Likewise.
26082 * abilist/libresolv.abilist: Likewise.
26083 * abilist/librt.abilist: Likewise.
26084 * abilist/libthread_db.abilist: Likewise.
26085 * abilist/libutil.abilist: Likewise.
26086 * abilist/libnss_db.abilist: New file.
26087
26088 * scripts/abilist.awk: Add support for indirect functions.
26089
a2693a0e
UD
26090 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26091
3f05895f
UD
26092 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26093
ecb6fb48
UD
26094 * shlib-versions: Remove entries for ports architectures.
26095
664f8cb9
UD
26096 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26097 files in ports.
26098 * elf/stackguard-macros.h: Remove support for IA-64.
26099 * elf/tst-auditmod1.c: Likewise.
26100 * sysdeps/generic/ldsodefs.h: Likewise.
26101
7ae81d88
UD
26102 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26103 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26104 configure files.
26105
bdeba135
UD
26106 [BZ #13552]
26107 * configure.in: Remove --enable-omitfp support.
26108 * FAQ.in: Adjust.
26109 * config.make.in: Likewise.
26110 * Makeconfig: Likewise.
26111 * manual/install.texi: Likewise.
26112
d75a0a62
UD
26113 In case anyone cares, the IA-64 architecture could move to ports.
26114 * sysdeps/ia64/*: Removed.
26115 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26116 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26117
dcc9756b
UD
26118 [BZ #13555]
26119 * configure.in: Remove entries for unsupported architectures.
26120
d3761ebc 26121 [BZ #13533]
9954432e
UD
26122 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26123 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26124 routines.
26125 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26126 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26127 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26128 fall back to using wcrtomb.
26129 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26130 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26131 renaming.
26132 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26133 * wcsmbs/tst-c16c32-1.c: New file.
26134
26135 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26136 local variable.
26137
c3a87236
UD
26138 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26139
28926a1b
UD
26140 * elf/tst-unique3.cc: Add explicit declaration of gets.
26141 * elf/tst-unique3lib.cc: Likewise.
26142 * elf/tst-unique3lib2.cc: Likewise.
26143 * elf/tst-unique4.cc: Likewise.
26144
df78418a
UD
26145 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26146
8ecd6b2a
JM
261472012-01-06 Joseph Myers <joseph@codesourcery.com>
26148
26149 [BZ #13566]
26150 * assert/assert.h (static_assert): Don't define for C++.
26151 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26152 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26153
9f115170
UD
261542012-01-03 Ulrich Drepper <drepper@gmail.com>
26155
5e0d0300
UD
26156 * iconv/loop.c (single loop): Fix assertion in storing of
26157 remaining bytes.
26158
9f115170
UD
26159 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26160
81fb02b0
UD
261612012-01-01 Ulrich Drepper <drepper@gmail.com>
26162
26163 * posix/getconf.c: Update copyright year.
26164 * nss/getent.c: Likewise.
a316c1f6 26165 * nss/makedb.c: Likewise.
81fb02b0
UD
26166 * iconv/iconvconfig.c: Likewise.
26167 * iconv/iconv_prog.c: Likewise.
26168 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26169 * elf/pldd.c: Likewise.
26170 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26171 * catgets/gencat.c: Likewise.
26172 * csu/version.c: Likewise.
26173 * elf/ldd.bash.in: Likewise.
26174 * elf/sprof.c (print_version): Likewise.
26175 * locale/programs/locale.c: Likewise.
26176 * locale/programs/localedef.c: Likewise.
a316c1f6 26177 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26178 * nscd/nscd.c (print_version): Likewise.
26179 * debug/xtrace.sh: Likewise.
26180 * malloc/memusage.sh: Likewise.
26181 * malloc/mtrace.pl: Likewise.
26182 * debug/catchsegv.sh: Likewise.
26183
2ba92745
JJ
261842011-12-30 Jakub Jelinek <jakub@redhat.com>
26185
26186 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26187 pure attribute.
26188
dadebdae
UD
261892011-12-24 Ulrich Drepper <drepper@gmail.com>
26190
d3761ebc 26191 [BZ #13533]
db6af3eb
UD
26192 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26193 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26194 transformations.
26195 * iconv/gconv_int.h: Likewise.
26196 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26197 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26198 from libc for GLIBC_2.16.
26199 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26200 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26201 * wcsmbs/uchar.h: Really define mbstate_t.
26202 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26203 * wcsmbs/c16rtomb.c: New file.
26204 * wcsmbs/mbrtoc16.c: New file.
26205 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26206 for C/POSIX locale.
26207 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26208 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26209
dadebdae
UD
26210 * wcsmbs/wchar.h: Add missing __restrict.
26211
67371b56
UD
262122011-12-23 Ulrich Drepper <drepper@gmail.com>
26213
74033a25
UD
26214 [BZ #13532]
26215 * time/Makefile (routines): Add timespec_get.
26216 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26217 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26218 timespec for ISO C11.
26219 * time/timespec_get.c: New file.
26220 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26221 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26222
380d7e87
UD
26223 [BZ #13531]
26224 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26225 * stdlib/stdlib.h: Declare aligned_alloc.
26226 * Versions.def: Add GLIBC_2.16 for libc.
26227 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26228
4e9e7a35
UD
26229 [BZ 13527]
26230 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26231 ISO C11.
26232
380d7e87 26233 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26234 code.
26235
03a71829
UD
26236 [BZ #13528]
26237 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26238
839e283e
UD
26239 [BZ #13529]
26240 * assert/assert.h (static_assert): Define.
26241
ce5294e2 26242 * version.h: Update for 2.16 development version.
90fa7312 26243
8d44e150 26244 [BZ #13526]
d7809905
UD
26245 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26246 _ISOC11_SOURCE.
26247
c0da14cd
UD
26248 * version.h (RELEASE): Bump for 2.15 release.
26249 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26250
530a3249
MP
26251 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26252 Patch by Marek Polacek <mpolacek@redhat.com>.
26253
67371b56
UD
26254 * bits/byteswap.h: Protect long long constants with __extension__.
26255 * sysdeps/i386/bits/byteswap.h: Likewise.
26256 * sysdeps/ia64/bits/byteswap.h: Likewise.
26257 * sysdeps/s390/bits/byteswap.h: Likewise.
26258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26259
15db4de1
LD
262602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26261
26262 [BZ #13540]
bbe315ea
LD
26263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26264 destination buffer.
15db4de1
LD
26265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26266
2b2596b1
MP
262672011-12-23 Marek Polacek <polacek@redhat.com>
26268
26269 * elf/dl-addr.c (determine_info): Add inline keyword.
26270 * elf/tst-auditmod4b.c (check_avx): Likewise.
26271 * elf/tst-auditmod6b.c (check_avx): Likewise.
26272 * elf/tst-auditmod6c.c (check_avx): Likewise.
26273 * elf/tst-auditmod7b.c (check_avx): Likewise.
26274
70c6c246
UD
262752011-12-23 Ulrich Drepper <drepper@gmail.com>
26276
26277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26278 !__SSE_MATH__.
26279
c044cf14
LD
262802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26281
15db4de1 26282 [BZ #13540]
c044cf14
LD
26283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26284 processing for last bytes.
26285
6b13d9d9
BH
262862011-08-06 Bruno Haible <bruno@clisp.org>
26287
d455f537
BH
26288 [BZ #13061]
26289 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26290 U+0385, not to U+1FEE.
26291
6b13d9d9
BH
26292 [BZ #13062]
26293 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26294 entry for U+00A5 U+0301.
26295
db910efd
UD
262962011-12-22 Ulrich Drepper <drepper@gmail.com>
26297
27deeafc
UD
26298 [BZ #13166]
26299 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26300 buffer for the output is too small.
26301
aed9d171
UD
26302 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26303 optimization.
26304
db910efd
UD
26305 [BZ #13185]
26306 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26307 SSE flags if possible.
26308
2bd779ae
LD
263092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26310
e7f9dac3 26311 [BZ #13540]
2bd779ae
LD
26312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26313 processing for last bytes.
26314
154bfc16
JM
263152011-12-22 Joseph Myers <joseph@codesourcery.com>
26316
26317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26318 (syscall-list-default-options, syscall-list-default-condition)
26319 (syscall-list-includes): Define.
26320 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26321 list of ABIs and options and #if conditions for each ABI. Do not
26322 handle common syscalls between ABIs specially.
26323 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26324 Remove.
26325 (syscall-list-variants, syscall-list-32bit-options)
26326 (syscall-list-32bit-condition, syscall-list-64bit-options)
26327 (syscall-list-64bit-condition): Define.
26328 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26329 (syscall-list-variants, syscall-list-32bit-options)
26330 (syscall-list-32bit-condition, syscall-list-64bit-options)
26331 (syscall-list-64bit-condition): Define.
26332 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26333 Remove.
26334 (syscall-list-variants, syscall-list-32bit-options)
26335 (syscall-list-32bit-condition, syscall-list-64bit-options)
26336 (syscall-list-64bit-condition): Define.
26337 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26338 Remove.
26339 (syscall-list-variants, syscall-list-32bit-options)
26340 (syscall-list-32bit-condition, syscall-list-64bit-options)
26341 (syscall-list-64bit-condition): Define.
26342
21eaf3a5
UD
263432011-12-22 Ulrich Drepper <drepper@gmail.com>
26344
16c6f992
UD
26345 * locale/iso-639.def: Add brx entry.
26346
41043168
UD
26347 [BZ #13328]
26348 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26349 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26350
21eaf3a5
UD
26351 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26352 __feraiseexcept_renamed.
26353
e3a851a2
UD
263542011-12-21 Ulrich Drepper <drepper@gmail.com>
26355
4920765e
UD
26356 [BZ #13538]
26357 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26358 EPOLLET with unsigned values.
26359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26361
e3a851a2
UD
26362 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26363 to large cancellation.
26364 * math/s_cacoshf.c: Likewise.
26365 * math/s_cacoshl.c: Likewise.
26366
b27e24b8
RK
263672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26368
26369 [BZ #13305]
aebefeee 26370 [BZ #12786]
b27e24b8
RK
26371 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26372 * math/s_cacoshf.c: Likewise.
26373 * math/s_cacoshl.c: Likewise.
26374
ee190f67
UD
263752011-12-21 Ulrich Drepper <drepper@gmail.com>
26376
26377 [BZ #13439]
26378 * iconv/gconv.h: Define __GCONV_SWAP.
26379 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26380 * iconvdata/utf-16.c: Likewise.
26381 * iconvdata/utf-32.c: Likewise.
26382
707f25df
AS
263832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26384
26385 [BZ #13524]
26386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26387 numerator after shifting it by one limb.
26388
d2daaa1e
RÁE
263892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26390
26391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26392 under [__USE_EXTERN_INLINES].
26393
a4647e72
UD
263942011-12-17 Ulrich Drepper <drepper@gmail.com>
26395
26396 [BZ #13446]
26397 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26398
f0b264f1
AZ
263992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26400
26401 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26402 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26403 optimized code.
26404 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26405 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26406 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26407 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26408 for strncasecmp/strncasecmp_l compilation.
26409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26410 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26411
8ef4f244
MP
264122011-12-08 Marek Polacek <mpolacek@redhat.com>
26413
26414 [BZ #13484]
26415 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26416 of __asm__.
26417
97ac2654
UD
264182011-12-17 Ulrich Drepper <drepper@gmail.com>
26419
26420 [BZ #13506]
26421 * time/tzfile.c (__tzfile_read): Check values from file header.
26422
91d2a845
WS
264232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26424
26425 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26426 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26427 * powerpc/powerpc32/dl-start.S: Likewise.
26428 * powerpc/powerpc32/elf/start.S: Likewise.
26429 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26430 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26431 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26432 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26433 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26434 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26435 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26436 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26437 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26438 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26439 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26440 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26441 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26442 * powerpc/powerpc32/memset.S: Likewise.
26443 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26444 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26445 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26446 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26447 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26448 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26449 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26450 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26451 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26452 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26456
a1267ba1
AZ
264572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26458
26459 * math/libm-test.inc: Added more nearbyint tests.
26460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26464
ad8ac1bd
RL
264652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26466
26467 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26468 FD_CLOEXEC.
26469
1d3e4b61
UD
264702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26471
26472 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26473 Add wcscpy-ssse3 wcscpy-c.
26474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26475 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26476 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26477 * sysdeps/x86_64/wcschr.S: New file.
26478 * sysdeps/x86_64/wcsrchr.S: New file.
26479 * string/test-strcmp.c: Remove checking of wcscmp function for
26480 wrong alignments.
26481 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26482 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26483 wcsrchr-sse2 wcsrchr-c.
26484 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26485 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26487 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26488 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26489 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26490 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26493 * wcsmbc/wcschr.c (WCSCHR): New macro.
26494
5b330a2d
UD
264952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26496
26497 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26498 * wcsmbs/test-wcsrchr.c: New file.
26499 * string/test-strrchr.c: Add wcsrchr support.
26500 (WIDE): New macro.
26501 * wcsmbs/test-wcscpy.c: New file.
26502 * string/test-strcpy.c: Add wcscpy support.
26503 (WIDE): New macro.
26428b7c 26504
f039c043
UD
265052011-12-10 Ulrich Drepper <drepper@gmail.com>
26506
26507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26508 the inner loop.
26509
850fb039
AS
265102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26511
26512 [BZ #13472]
26513 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26514
4efbd5cb
UD
265152011-12-04 Ulrich Drepper <drepper@gmail.com>
26516
52ff5dd0 26517 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26518 Minor optimizations.
52ff5dd0 26519
4efbd5cb
UD
26520 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26521 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26522 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26523
8a426e12
UD
265242011-12-03 Ulrich Drepper <drepper@gmail.com>
26525
aff2453d
UD
26526 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26527 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26528 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26529 for gcc to avoid warnings.
26530 * inet/Makefile (tests): Add tst-checks.
26531 * inet/tst-checks.c: New file.
26532
26533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26534 warning.
26535
26536 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26537 __wmemcmp_sse2.
26538
26539 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26540 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26541
8a426e12
UD
26542 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26543
9bea3473
UD
265442011-12-02 Ulrich Drepper <drepper@gmail.com>
26545
3a965496
UD
26546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26547 problem.
26548
9bea3473
UD
26549 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26550
f101631b
UD
265512011-11-29 Joseph Myers <joseph@codesourcery.com>
26552
26553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26554 conditional on GCC version.
26555 (__arch_compare_and_exchange_val_8_acq)
26556 (__arch_compare_and_exchange_val_16_acq)
26557 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26558 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26559 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26560
a98275aa
UD
265612011-12-02 Joseph Myers <joseph@codesourcery.com>
26562
26563 * sysdeps/sh/backtrace.c: New file.
26564
d4cc29a2
AS
265652011-12-02 Andreas Schwab <schwab@redhat.com>
26566
26567 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26568 parenthesis.
26569
6257af2d
AS
265702011-12-01 Andreas Schwab <schwab@redhat.com>
26571
26572 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26573 falling back to utime.
26574
b5f44c1a
AS
265752011-11-30 Andreas Schwab <schwab@redhat.com>
26576
26577 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26578 expectations for float.
26579
f3a6cc0a
AS
265802011-11-29 Andreas Schwab <schwab@redhat.com>
26581
26582 * locale/weight.h (findidx): Add parameter len.
26583 * locale/weightwc.h (findidx): Likewise.
26584 * posix/fnmatch_loop.c (FCT): Adjust caller.
26585 * posix/regcomp.c (build_equiv_class): Likewise.
26586 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26587 * posix/regexec.c (check_node_accept_bytes): Likewise.
26588 * string/strcoll_l.c (STRCOLL): Likewise.
26589 * string/strxfrm_l.c (STRXFRM): Likewise.
26590
9d65ea3a
UD
265912011-11-17 Ulrich Drepper <drepper@gmail.com>
26592
26593 * Makefile.in: Remove CVSOPT handling.
26594 * configure.in: Remove use of AC_REVISION.
26595 * iconvdata/Makefile (distribute): No need to filter out CVS.
26596 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26597 handling.
26598
5583a086
AS
265992011-11-16 Andreas Schwab <schwab@redhat.com>
26600
26601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26602 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26603 [USE_AS_STRNCASECMP_L]: Likewise.
26604 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26605 NO_TLS_DIRECT_SEG_REFS.
26606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26607 Fix argument offsets for non-PIC.
26608 [USE_AS_STRNCASECMP_L]: Likewise.
26609 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26610 NO_TLS_DIRECT_SEG_REFS.
26611
d62a8200
UD
266122011-11-15 Ulrich Drepper <drepper@gmail.com>
26613
9d65ea3a 26614 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26615 O_CLOEXEC.
26616 * locale/loadlocale.c (_nl_load_locale): Likewise.
26617
09f93bd3
AS
266182011-11-15 Andreas Schwab <schwab@redhat.com>
26619
446514f9
AS
26620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26621 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26623 (SYSCALL_GETTIME): Set errno on error.
26624
09f93bd3
AS
26625 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26626 count references to noai6ai_cached.
26627
312be3f9
UD
266282011-11-15 Ulrich Drepper <drepper@gmail.com>
26629
26630 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26631
26632 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26633 FD_CLOEXEC for /proc/self/maps.
26634
26635 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26636 FD_CLOEXEC for /proc/meminfo.
26637
26638 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26639 gai.conf.
26640
26641 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26642 FD_CLOEXEC for given file.
26643
26644 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26645
26646 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26647 FD_CLOEXEC for /etc/hosts.
26648 (_gethtent): Likewise.
26649
26650 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26651
26652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26653 cancellation and set FD_CLOEXEC for /etc/netgroup.
26654
26655 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26656 reading /etc/publickey.
26657
26658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26659 allow cancellation when reading /etc/group.
26660
26661 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26662 cancellation.
26663 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26664
26665 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26666 when using data file.
26667
26668 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26669
26670 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26671 (write_nis_obj): Use "c" and "e" in fopen.
26672
26673 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26674
26675 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26676
26677 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26678
26679 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26680
26681 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26682 locale.alias.
26683
26684 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26685
26686 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26687
26688 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26689
26690 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26691 file parsing and set FD_CLOEXEC.
26692
82af0fa8
UD
266932011-11-14 Ulrich Drepper <drepper@gmail.com>
26694
26695 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26696
a5fb313c
AS
266972011-11-14 Andreas Schwab <schwab@redhat.com>
26698
26699 * malloc/arena.c (arena_get2): Don't call reused_arena when
26700 _int_new_arena failed.
26701
6abf3465
UD
267022011-11-14 Ulrich Drepper <drepper@gmail.com>
26703
26704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26705 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26707 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26710 to compile strcasecmp and strncasecmp.
26711 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26712 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26713
26714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26715
76e3966e
UD
267162011-11-13 Ulrich Drepper <drepper@gmail.com>
26717
26718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26719 locale-defines.sym to gen-as-const-headers.
26720 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26721 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26723 to compile strcasecmp and strncasecmp.
26724 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26725 strcasecmp_l and strncasecmp_l.
26726 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26727 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26728 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26730 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26731 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26732 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26733 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26734 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26735 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26736 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26737
ab26144e
UD
267382011-11-12 Ulrich Drepper <drepper@gmail.com>
26739
7edb22ef
UD
26740 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26741 result of SYSDEP_GETTIME_CPU to retval.
26742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26743 parameter list to macro. Remove trailing semicolon. Adjust users.
26744
9694fc44
UD
26745 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26746 variable.
26747
8ad89ef8
UD
26748 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26749 mantissa words.
26750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26751
0c822ef9
UD
26752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26753 from unused variable.
26754
874e0564
UD
26755 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26756 DWARF definitions.
26757 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26758 for assembling.
26759
3a2edc79
UD
26760 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26761 over namespaces.
26762
f3c2577f
UD
26763 * sunrpc/rpc_prot.c (rejected): Fix case value.
26764
294ce126
UD
26765 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26766 unsigned long long int to avoid warnings in shift.
26767
5e2b63c6
UD
26768 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26769 of use of trans.
26770 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26771 variable tmp.
26772
e7f4b08e
UD
26773 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26775 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26776
ab26144e
UD
26777 * nis/nis_table.c (nis_list): Use variable of correct type for
26778 result of __follow_path call.
26779
8a6d5255
AZ
267802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26781
26782 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26783 of math functions ceil, trunc, floor, round, and sqrt, when
26784 avaliable on the platform.
26785 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26786 name clash.
26787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26790
aaddc98c
MP
267912011-10-30 Marek Polacek <mpolacek@redhat.com>
26792
26793 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26795
95b7042b
RM
267962011-11-11 Roland McGrath <roland@hack.frob.com>
26797
26798 * include/unistd.h: Fix __readlink return type.
26799 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26800
57769839
UD
268012011-11-11 Ulrich Drepper <drepper@gmail.com>
26802
26803 * stdlib/ucontext.h: Undo last change for makecontext.
26804
edc5984d
AS
268052011-11-11 Andreas Schwab <schwab@redhat.com>
26806
98591e58
AS
26807 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26808
edc5984d
AS
26809 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26810 * setjmp/setjmp.h: Mark functions as non-leaf.
26811 * setjmp/bits/setjmp2.h: Likewise.
26812 * stdlib/ucontext.h: Likewise.
26813
77cdc054
AS
268142011-11-10 Andreas Schwab <schwab@redhat.com>
26815
26816 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26817 (reused_arena): Don't check arena limit.
26818 (arena_get2): Atomically check arena limit.
26819
fe72eebd
UD
268202011-11-08 Ulrich Drepper <drepper@gmail.com>
26821
5f078c32
UD
26822 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26823 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26824
fe72eebd
UD
26825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26826 instructions.
26827
ae1bc2fa
AS
268282011-11-07 Andreas Schwab <schwab@redhat.com>
26829
7583a88d
AS
26830 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26831 handler when locking.
26832
ae1bc2fa
AS
26833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26834 Fix size of allocated buffer.
26835
10fb0bfa
AS
268362011-11-04 Andreas Schwab <schwab@redhat.com>
26837
998832a4
AS
26838 [BZ #10103]
26839 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26840 declarations for long double functions.
26841 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26842
10fb0bfa
AS
26843 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26844
3d7ba52b
AS
268452011-11-03 Andreas Schwab <schwab@redhat.com>
26846
a9ae54a1
AS
26847 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26848 installed.
26849
3d7ba52b
AS
26850 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26851 is disabled.
26852
bc8db248
ST
268532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26854
26855 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26856
45b96dd6
AS
268572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26858
647776f6
AS
26859 * include/alloca.h (stackinfo_alloca_round): Define.
26860 (extend_alloca): Use it.
26861 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26862 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26863 here.
26864
d91a8b93
AS
26865 * scripts/check-local-headers.sh: Ignore libaudit.h.
26866
45b96dd6
AS
26867 * nscd/Makefile (extra-objs): Make recursively expanded.
26868
432d41ce
UD
268692011-11-01 Ulrich Drepper <drepper@gmail.com>
26870
34372fc6
UD
26871 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26873
fadb59f8
UD
26874 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26875 * posix/tst-rfc3484-2.c: Likewise.
26876 * posix/tst-rfc3484-3.c: Likewise.
26877
78239589
UD
26878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26879 process_vm_writev.
26880 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26881 process_vm_writev.
26882 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26883 process_vm_writev from libc using GLIBC_2.15 version.
26884
432d41ce
UD
26885 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26886
02f9c6cf
PP
268872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26888
26889 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26890 stack usage.
26891
3a2c0242
UD
268922011-10-31 Ulrich Drepper <drepper@gmail.com>
26893
f4ec4833
UD
26894 [BZ #13367]
26895 * nss/getent.c (initgroups_keys): Show error message in case no group
26896 names are given.
26897
3a2c0242
UD
26898 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26899 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26900 __bump_nl_timestamp.
26901 * nscd/connections (nscd_init): When host database is served open
26902 netlink socket and request notification about configuration changes.
26903 (main_loop_poll): Track netlink file descriptor and bump timestamp
26904 in case data becomes available.
26905 (main_loop_epoll): Likewise.
26906 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26907 (database_pers_head): Add extra_data fileds.
26908 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26910 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26911 Adjust caller.
26912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26913 in6ai data, call __free_in6ai.
26914 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26915 Add -DHAVE_NETLINK.
26916 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26917 interface information. Reuse previous data if netlink timestamp
26918 is not changed.
26919 (__bump_nl_timestamp): New function.
26920 (__free_in6ai): New function.
26921
636064eb
UD
269222011-10-30 Ulrich Drepper <drepper@gmail.com>
26923
26924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26925 close_not_cancel_no_status here.
26926 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26927
9beb2334
UD
269282011-10-29 Ulrich Drepper <drepper@gmail.com>
26929
6ef76f3b
UD
26930 [BZ #13276]
26931 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26932 return value.
26933
0ffc4f3e 26934 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26935 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26936 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26937
cb95113e
UD
269382011-07-03 Andreas Jaeger <aj@suse.de>
26939
26940 [BZ #10709]
26941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26942 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26943 * math/libm-test.inc (sin_test): Add test case.
26944
a1b560ff
UD
269452011-10-29 Ulrich Drepper <drepper@gmail.com>
26946
c9aaface
UD
26947 [BZ #13337]
26948 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26950
d272e7f1
UD
26951 * elf/chroot_canon.c (chroot_canon): Cleanups.
26952
1bc33071
UD
26953 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26954
1760874d
TJ
26955 [BZ #13335]
26956 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26957 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26958
51d91b18
UD
26959 * string/test-strchr.c: Make usable for strchrnul testing.
26960 * string/test-strchrnul.c: New file.
26961 * string/Makefile (strop-tests): Add strchrnul.
26962
a1b560ff 26963 * po/it.po: Update from translation team.
b611fb81 26964 * po/es.po: Likewise.
a1b560ff 26965
a5b81e1f
UD
269662011-10-28 Ulrich Drepper <drepper@gmail.com>
26967
fd52bc6d
UD
26968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26969 the three constants needed as parameters. Drop the others.
26970 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26971 __m128i_strloadu_tolower.
52e4b9eb
UD
26972 Create and initialize variable zero and use it in all the places
26973 where _mm_setzero_si128 was used.
fd52bc6d 26974
a5b81e1f
UD
26975 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26976 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26977 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26979 anymore.
26980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26981 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26982 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26983 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26985 __mpranred, __mptan.
26986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26990 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26991 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26995
b4343346
AS
269962011-10-28 Andreas Schwab <schwab@redhat.com>
26997
0c92d8a8
AS
26998 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26999 redefine if SHARED.
27000 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27001
b4343346
AS
27002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27003 wide char related routines to wcsmbs subdir.
27004
3871f58f
AS
270052011-10-27 Andreas Schwab <schwab@redhat.com>
27006
27007 [BZ #13344]
27008 * misc/sys/cdefs.h (__THROWNL): Define.
27009 * posix/unistd.h: Use __THREADNL instead of __THREAD
27010 for memory synchronization functions.
27011
94d44d9f
RM
270122011-10-26 Roland McGrath <roland@hack.frob.com>
27013
21b64b15 27014 [BZ #13349]
94d44d9f
RM
27015 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27016 doesn't exist.
27017 * manual/stdio.texi (Obstack Streams): Node removed.
27018
f6ce9294
AS
270192011-10-26 Andreas Schwab <schwab@redhat.com>
27020
80479147
AS
27021 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27024
f6ce9294
AS
27025 * math/math_private.h (math_force_eval): Allow non-addressable
27026 arguments.
27027 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27028
618280a1
UD
270292011-10-25 Ulrich Drepper <drepper@gmail.com>
27030
e0016b11
UD
27031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27032 file is not needed.
27033
27034 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27041 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27042 Add AVX variants.
27043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27048 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27049 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27050 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27051 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27052 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27053 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27054 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27062
27063 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27064 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27065
618280a1
UD
27066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27067 place. Use VEX encoding when compiling for AVX.
27068
37822576
AS
270692011-10-25 Andreas Schwab <schwab@redhat.com>
27070
1f1e1947
AS
27071 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27073
37822576
AS
27074 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27075
31ea014d
UD
270762011-10-25 Ulrich Drepper <drepper@gmail.com>
27077
d7826aa1 27078 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27079 useless if() expression.
d7826aa1
UD
27080 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27092 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27099
31ea014d
UD
27100 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27101
16437fec
AS
271022011-10-25 Andreas Schwab <schwab@redhat.com>
27103
27104 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27105 condition.
27106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27107
31d3cc00
UD
271082011-10-25 Ulrich Drepper <drepper@gmail.com>
27109
27110 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27111 .text section. Avoid duplicate constants.
27112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27124 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27136 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27137 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27138 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27142 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27143 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27145 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27146 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27148 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27150 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27151 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27154 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27156 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27157
58985aa9
UD
271582011-10-24 Ulrich Drepper <drepper@gmail.com>
27159
202c9deb
UD
27160 * sysdeps/x86_64/dla.h: Move to ...
27161 * sysdeps/x86_64/fpu/dla.h: ...here.
27162 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27163 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27164
af968f62
UD
27165 * config.make.in: Add have-mfma4 entry.
27166 * configure.in: Substitute libc_cv_cc_fma4.
27167 * math/Makefile (dbl-only-routines): Add sincostab.
27168 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27169 Use __sincostab not sincos.
27170 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27171 name is a macro.
27172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27176 using __copysign.
27177 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27178 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27179 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27180 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27181 and __inv.
27182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27183 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27184 __copysign.
27185 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27186 define aliases when function name is a macro.
27187 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27188 sysdeps/ieee754/dbl-64/sincos.tbl.
27189 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27190 fma4-enabled routines.
27191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27192 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27193 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27194 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27201 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27203 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27204 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27206 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27208 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27221
58985aa9
UD
27222 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27223 rename.
27224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27232
a201fbcf
AS
272332011-10-24 Andreas Schwab <schwab@redhat.com>
27234
27235 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27236
fc2ee42a
LD
272372011-10-23 Ulrich Drepper <drepper@gmail.com>
27238
bb3129bd
UD
27239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27240
0275fff8
UD
27241 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27242 prediction.
27243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27244
2fa2ae85
UD
27245 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27246 Remove unused variable magic_bits.
27247 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27248
fc2ee42a
LD
27249 * string/strnlen.c: Define and use STRNLEN macro.
27250 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27251 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27253 * wcsmbs/wcslen.c: Define and use WCSLEN.
27254 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27255 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27256 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27257 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27258 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27259 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27261
ce7dd29f
LD
272622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27263
27264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27265 strnlen-sse2-no-bsf.
27266 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27268 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27269 Add strnlen support.
27270 (USE_AS_STRNLEN): New macro.
27271 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27272 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27273 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27274 * sysdeps/x86_64/wcslen.S: New file.
27275
979c70a3
MZ
272762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27277
27278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27279 XMM-moves are used for copying on small sizes.
27280
2d09f82f
LD
272812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27282
27283 * wcsmbs/Makefile (strop-tests): Add wcschr.
27284 * wcsmbs/test-wcschr.c: New file.
27285 * string/test-strchr.c: Update.
27286 Add wcschr support.
27287 (WIDE): New macro.
27288
619fccca
LD
272892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27290
2d09f82f 27291 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27292 * wcsmbs/test-wcslen.c: New file.
27293 * string/test-strlen.c: Update.
27294 Add wcslen support.
27295 (WIDE): New macro.
27296
09f699ea
UD
272972011-10-23 Ulrich Drepper <drepper@gmail.com>
27298
27299 * po/it.po: Update from translation team.
27300
95584d3b
LD
273012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27302
27303 * sysdeps/x86_64/wcscmp.S: Update.
27304 Fix wrong comparison semantics.
27305 wcscmp shall use signed comparison not unsigned.
27306 Don't use substraction to avoid overflow bug.
27307 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27308 * wcsmbc/wcscmp.c: Likewise.
27309 * string/test-strcmp.c: Likewise.
27310 Add new tests to check cases with negative values.
27311
c8b3296b
UD
273122011-10-23 Ulrich Drepper <drepper@gmail.com>
27313
27314 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27315 * sysdeps/x86_64/dla.h: ...here. New file.
27316 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27321 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27325
246ad57a
AS
273262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27327
27328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27329 __ynl_finite aliases.
27330
a1a87169
UD
273312011-10-22 Ulrich Drepper <drepper@gmail.com>
27332
0d355eb7
UD
27333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27334
a1a87169
UD
27335 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27336 define DLA_FMA.
27337 [DLA_FMA] (EMULV): Use DLA_FMA.
27338 [DLA_FMA] (MUL12): Use EMULV.
27339 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27340 that are not needed.
27341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27348
ee2aafe0
AS
273492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27350
27351 * math/s_nan.c: Undef __nan.
27352 * math/s_nanf.c: Undef __nanf.
27353 * math/s_nanl.c: Undef __nanl.
27354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27355 "math_private.h".
27356
bc62c2fb
UD
273572011-10-22 Ulrich Drepper <drepper@gmail.com>
27358
77425c63
UD
27359 * math/s_catan.c: Add branch predictions.
27360 * math/s_catanf.c: Likewise.
27361 * math/s_catanh.c: Likewise.
27362 * math/s_catanhf.c: Likewise.
27363 * math/s_catanhl.c: Likewise.
27364 * math/s_catanl.c: Likewise.
27365 * math/s_cexp.c: Likewise.
27366 * math/s_cexpf.c: Likewise.
27367 * math/s_cexpl.c: Likewise.
27368 * math/s_clog.c: Likewise.
27369 * math/s_clog10.c: Likewise.
27370 * math/s_clog10f.c: Likewise.
27371 * math/s_clog10l.c: Likewise.
27372 * math/s_clogf.c: Likewise.
27373 * math/s_clogl.c: Likewise.
27374 * math/s_csqrt.c: Likewise.
27375 * math/s_csqrtf.c: Likewise.
27376 * math/s_csqrtl.c: Likewise.
27377 * math/s_ctanf.c: Likewise.
27378 * math/s_ctanh.c: Likewise.
27379 * math/s_ctanhf.c: Likewise.
27380 * math/s_ctanhl.c: Likewise.
27381 * math/s_ctanl.c: Likewise.
27382
bc62c2fb
UD
27383 * math/math_private.h: Define __nan, __nanf, __nanl.
27384 * math/s_cacosh.c: Include <math_private.h>.
27385 * math/s_cacoshl.c: Likewise.
27386 * math/s_casinh.c: Likewise.
27387 * math/s_casinhf.c: Likewise.
27388 * math/s_casinhl.c: Likewise.
27389 * math/s_ccos.c: Rely entire on ccosh.
27390 * math/s_ccosf.c: Rely entire on ccoshf.
27391 * math/s_ccosl.c: Rely entirely on ccoshl.
27392 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27393 Remove tests for FE_INVALID.
27394 * math/s_ccoshf.c: Likewise.
27395 * math/s_ccoshl.c: Likewise.
27396 * math/s_csin.c: Likewise.
27397 * math/s_csinf.c: Likewise.
27398 * math/s_csinh.c Likewise.
27399 * math/s_csinhf.c: Likewise.
27400 * math/s_csinhl.c: Likewise.
27401 * math/s_csinl.c: Likewise.
27402 * math/s_ctan.c: Likewise.
27403 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27404 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27406
8ec250a4
UD
274072011-10-21 Ulrich Drepper <drepper@gmail.com>
27408
c196fed8
UD
27409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27410 compilation problems.
27411
8ec250a4
UD
27412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27413 __builtin_expect.
27414
8d4f46c6
UD
274152011-10-20 Ulrich Drepper <drepper@gmail.com>
27416
ed72b654
UD
27417 * sysdeps/i386/configure.in: Test for -mfma4 option.
27418 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27419 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27420 COMMON_CPUID_INDEX_80000001.
27421 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27422 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27423 use it if FMA3 is not supported.
27424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27425
8d4f46c6
UD
27426 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27428
d45c60c2
AS
274292011-10-20 Andreas Schwab <schwab@redhat.com>
27430
27431 [BZ #12892]
27432 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27433 it would create a cycle with a link time dependency.
27434
d9a4d2ab
UD
274352011-10-19 Ulrich Drepper <drepper@gmail.com>
27436
855d1560
UD
27437 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27438 instruction.
27439 * string/Makefile (strop-tests): Add rawmemchr.
27440 * string/test-rawmemchr.c: New file.
27441
d9a4d2ab
UD
27442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27444 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27445 when compiling str{,n}casecmp and when AVX is available. Hook up
27446 new optimized code in initializers.
27447
8f3b1ffe
AS
274482011-10-19 Andreas Schwab <schwab@redhat.com>
27449
27450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27451 __feraiseexcept instead of feraiseexcept.
27452
d38f1dba
UD
274532011-10-18 Ulrich Drepper <drepper@gmail.com>
27454
d9a8d0ab
UD
27455 * math/math_private.h: Define defaults for libc_fetestexcept and
27456 libc_feupdateenv.
27457 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27458 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27462 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27463 libc_fetestexcept and libc_feupdateenv.
27464
4855e3dd
UD
27465 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27466 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27467 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27468 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27469 libc_feholdexcept_setround.
27470
581d30e3
UD
27471 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27472 Add s_nearbyint-c and s_nearbyintf-c.
27473 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27474 nearbyintf inlines.
27475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27479
d38f1dba
UD
27480 * math/math_private.h: Define defaults for libc_fegetround,
27481 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27482 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27483 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27485 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27486 standard functions.
27487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27488 Remove comments and hacks for old compiler versions.
27489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27490 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27491 libc_feholdexceptl.
27492
caa6c9d8
AS
274932011-10-18 Andreas Schwab <schwab@redhat.com>
27494
27495 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27496 (__feraiseexcept_renamed): Add __NTH.
27497 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27498 namespace violations.
27499
97c066e6
UD
275002011-10-17 Ulrich Drepper <drepper@gmail.com>
27501
99ce7b04
UD
27502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27503
1004d182
UD
27504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27505
228a984d
UD
27506 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27507 recently added interfaces.
27508 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27509
c8553a6a
UD
27510 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27511 about macro parameter expansion.
27512
ed22dcf6
UD
27513 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27514 __NO_MATH_INLINES is defined. Cleanups.
27515
27516 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27517 and __floorf is target has SSE4.1.
27518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27519 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27520 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27522
b171c137
UD
27523 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27524 name.
27525 (floorf): Likewise.
27526
97c066e6
UD
27527 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27528
629f62ef
AS
275292011-10-17 Andreas Schwab <schwab@redhat.com>
27530
49a43d80
AS
27531 * misc/sys/cdefs.h: Fix last change.
27532
629f62ef
AS
27533 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27534 database lookup.
27535
e453f6cd
UD
275362011-10-16 Ulrich Drepper <drepper@gmail.com>
27537
aa78043a
UD
27538 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27539
ad0f5cad
UD
27540 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27549 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27550 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27551 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27552 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27553 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27555 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27557 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27559 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27561 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27562
27563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27564 ceil, ceilf, floor, floorf.
27565
27566 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27567 Perform IRELATIVE relocations last.
27568
e453f6cd
UD
27569 * elf/do-rel.h: Add another parameter nrelative, replacing the
27570 local variable with the same name. Change name of the function
27571 to end in Rel or Rela (uppercase).
27572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27573 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27574 elf_dynamic_do_##reloc function.
27575
fd5bdc09
UD
275762011-10-15 Ulrich Drepper <drepper@gmail.com>
27577
79b195b5
UD
27578 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27579 is sufficient, at least on modern CPUs.
27580
d4a28569
UD
27581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27582
b61099b5
UD
27583 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27585
bcf01e6d
UD
27586 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27587 __expl_finite.
27588 * math/bits/math-finite.h: Add entries for exp.
27589 * math/e_expl.c: Add __*_finite alias.
27590 * sysdeps/i386/fpu/e_exp.S: Likewise.
27591 * sysdeps/i386/fpu/e_expf.S: Likewise.
27592 * sysdeps/i386/fpu/e_expl.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27597 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27600
ba1a0d59
UD
27601 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27602 is sufficient, at least on modern CPUs.
27603
fd5bdc09
UD
27604 * ctype/ctype-info.c (__ctype_init): Define.
27605 * include/ctype.h (__ctype_init): Declare.
27606 (__ctype_b_loc): The variable is always initialized.
27607 (__ctype_toupper_loc): Likewise.
27608 (__ctype_tolower_loc): Likewise.
27609 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27610 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27611
7872cfb0
AS
276122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27613
b468825a
AS
27614 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27615
7872cfb0
AS
27616 * configure.in: Also look in $cxxmachine/include for C++ system
27617 headers.
27618
be13f7bf
LD
276192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27620
27621 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27622 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27623 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27624 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27626 (USE_AS_WMEMCMP): New macro.
27627 Fixing indents.
27628 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27629 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27630 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27631 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27633 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27634 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27636 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27637 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27639 (USE_AS_WMEMCMP): New macro.
27640 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27641 * sysdeps/string/test-memcmp.c: Update.
27642 Fix simple_wmemcmp.
27643 Add new tests.
27644 * wcsmbs/wmemcmp.c: Update.
27645 (WMEMCMP): New macro.
27646 Fix overflow bug.
27647
556a2007
AJ
276482011-10-12 Andreas Jaeger <aj@suse.de>
27649
27650 [BZ #13268]
27651 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27652
538faaa7
UD
276532011-10-15 Ulrich Drepper <drepper@gmail.com>
27654
ab6737ff
UD
27655 * libio/iofwide.c (do_length): Avoid warning.
27656
538faaa7
UD
27657 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27658
396a21b1
UD
276592011-10-14 Ulrich Drepper <drepper@gmail.com>
27660
cdf2901f
UD
27661 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27662
38ad40ce
UD
27663 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27664 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27665 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27666 * sysdeps/i386/i686/fpu/e_log.S: New file.
27667 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27668 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27669
396a21b1
UD
27670 * ctype/ctype.h: Add support for inlined isXXX functions when
27671 compiling C++ code.
27672
6b1f68c9
AS
276732011-10-14 Andreas Schwab <schwab@redhat.com>
27674
349290c0
AS
27675 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27676
6b1f68c9
AS
27677 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27678
f2282d42
RM
276792011-10-13 Roland McGrath <roland@hack.frob.com>
27680
27681 [BZ #13291]
27682 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27683
5298ffa8
AS
276842011-10-13 Andreas Schwab <schwab@redhat.com>
27685
714fad23
AS
27686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27687 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27688 feraiseexcept.
27689
81dcc7fb
AS
27690 * sysdeps/x86_64/memrchr.S: Check for zero size.
27691
5298ffa8
AS
27692 * string/stratcliff.c: Add memrchr tests.
27693
951fbcec
LD
276942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27695
27696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27697 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27698 rawmemchr-sse2 rawmemchr-sse2-bsf.
27699 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27700 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27701 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27702 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27703 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27704 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27705 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27706 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27708 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27709 * string/memrchr.c (MEMRCHR): New macro.
27710
0ac5ae23
UD
277112011-10-12 Ulrich Drepper <drepper@gmail.com>
27712
27713 Add integration with gcc's -ffinite-math-only and optimize wrapper
27714 functions in libm.
27715 * Versions.def: Define GLIBC_2.15 version for libm.
27716 * math/Makefile (headers): Add bits/math-finite.h.
27717 * math/bits/math-finite.h: New file.
27718 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27719 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27720 * math/e_acoshl.c: Add __*_finite alias.
27721 * math/e_acosl.c: Likewise.
27722 * math/e_asinl.c: Likewise.
27723 * math/e_atan2l.c: Likewise.
27724 * math/e_atanhl.c: Likewise.
27725 * math/e_coshl.c: Likewise.
27726 * math/e_exp10.c: Likewise.
27727 * math/e_exp10f.c: Likewise.
27728 * math/e_exp10l.c: Likewise.
27729 * math/e_exp2l.c: Likewise.
27730 * math/e_fmodl.c: Likewise.
27731 * math/e_gammal_r.c: Likewise.
27732 * math/e_hypotl.c: Likewise.
27733 * math/e_j0l.c: Likewise.
27734 * math/e_j1l.c: Likewise.
27735 * math/e_jnl.c: Likewise.
27736 * math/e_lgammal_r.c: Likewise.
27737 * math/e_log10l.c: Likewise.
27738 * math/e_log2l.c: Likewise.
27739 * math/e_logl.c: Likewise.
27740 * math/e_powl.c: Likewise.
27741 * math/e_sinhl.c: Likewise.
27742 * math/e_sqrtl.c: Likewise.
27743 * math/e_scalb.c: Completely rewritten and optimized.
27744 * math/e_scalbf.c: Likewise.
27745 * math/e_scalbl.c: Likewise.
27746 * math/w_acos.c: Likewise.
27747 * math/w_acosf.c: Likewise.
27748 * math/w_acosl.c: Likewise.
27749 * math/w_acosh.c: Likewise.
27750 * math/w_acoshf.c: Likewise.
27751 * math/w_acoshl.c: Likewise.
27752 * math/w_asin.c: Likewise.
27753 * math/w_asinf.c: Likewise.
27754 * math/w_asinl.c: Likewise.
27755 * math/w_atan2.c: Likewise.
27756 * math/w_atan2f.c: Likewise.
27757 * math/w_atan2l.c: Likewise.
27758 * math/w_atanh.c: Likewise.
27759 * math/w_atanhf.c: Likewise.
27760 * math/w_atanhl.c: Likewise.
27761 * math/w_exp10.c: Likewise.
27762 * math/w_exp10f.c: Likewise.
27763 * math/w_exp10l.c: Likewise.
27764 * math/w_fmod.c: Likewise.
27765 * math/w_fmodf.c: Likewise.
27766 * math/w_fmodl.c: Likewise.
27767 * math/w_j0.c: Likewise.
27768 * math/w_j0f.c: Likewise.
27769 * math/w_j0l.c: Likewise.
27770 * math/w_j1.c: Likewise.
27771 * math/w_j1f.c: Likewise.
27772 * math/w_j1l.c: Likewise.
27773 * math/w_jn.c: Likewise.
27774 * math/w_jnf.c: Likewise.
27775 * math/w_log.c: Likewise.
27776 * math/w_logf.c: Likewise.
27777 * math/w_logl.c: Likewise.
27778 * math/w_log10.c: Likewise.
27779 * math/w_log10f.c: Likewise.
27780 * math/w_log10l.c: Likewise.
27781 * math/w_log2.c: Likewise.
27782 * math/w_log2f.c: Likewise.
27783 * math/w_log2l.c: Likewise.
27784 * math/w_pow.c: Likewise.
27785 * math/w_powf.c: Likewise.
27786 * math/w_powl.c: Likewise.
27787 * math/w_remainder.c: Likewise.
27788 * math/w_remainderf.c: Likewise.
27789 * math/w_remainderl.c: Likewise.
27790 * math/w_scalb.c: Likewise.
27791 * math/w_scalbf.c: Likewise.
27792 * math/w_scalbl.c: Likewise.
27793 * math/w_sqrt.c: Likewise.
27794 * math/w_sqrtf.c: Likewise.
27795 * math/w_sqrtl.c: Likewise.
27796 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27797 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27798 used.
27799 * math/math_private.h: Declare __kernel_standard_f.
27800 * math/w_cosh.c: Remove cruft and optimize a bit.
27801 * math/w_coshf.c: Likewise.
27802 * math/w_coshl.c: Likewise.
27803 * math/w_exp2.c: Likewise.
27804 * math/w_exp2f.c: Likewise.
27805 * math/w_exp2l.c: Likewise.
27806 * math/w_hypot.c: Likewise.
27807 * math/w_hypotf.c: Likewise.
27808 * math/w_hypotl.c: Likewise.
27809 * math/w_lgamma.c: Likewise.
27810 * math/w_lgamma_r.c: Likewise.
27811 * math/w_lgammaf.c: Likewise.
27812 * math/w_lgammaf_r.c: Likewise.
27813 * math/w_lgammal.c: Likewise.
27814 * math/w_lgammal_r.c: Likewise.
27815 * math/w_sinh.c: Likewise.
27816 * math/w_sinhf.c: Likewise.
27817 * math/w_sinhl.c: Likewise.
27818 * math/w_tgamma.c: Likewise.
27819 * math/w_tgammaf.c: Likewise.
27820 * math/w_tgammal.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27823 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27824 Minor optimizations. Pretty printing. Remove cruft.
27825 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27829 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27830 * sysdeps/i386/fpu/e_asin.S: Likewise.
27831 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27832 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27833 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27834 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27838 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27839 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27840 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27841 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27842 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27843 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27844 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27845 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27846 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27847 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27848 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27849 * sysdeps/i386/fpu/e_log.S: Likewise.
27850 * sysdeps/i386/fpu/e_log10.S: Likewise.
27851 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27852 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27853 * sysdeps/i386/fpu/e_log2.S: Likewise.
27854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27856 * sysdeps/i386/fpu/e_logf.S: Likewise.
27857 * sysdeps/i386/fpu/e_logl.S: Likewise.
27858 * sysdeps/i386/fpu/e_pow.S: Likewise.
27859 * sysdeps/i386/fpu/e_powf.S: Likewise.
27860 * sysdeps/i386/fpu/e_powl.S: Likewise.
27861 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27862 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27863 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27865 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27867 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27868 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27869 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27895 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27899 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27900 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27904 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27905 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27906 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27907 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27965 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27966 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27967 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27968 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27969 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27970 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27971 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27972 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27973 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27974 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27975 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27978 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27979 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27980 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27981 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27982 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27983 (__isnanf): Likewise.
27984 (__isinf_ns): Likewise.
27985 (__isinf_nsf): Likewise.
27986 (__finite): Likewise.
27987 (__finitef): Likewise.
27988 (__ieee754_sqrt): Define as macro.
27989 (__ieee754_sqrtf): Define as macro.
27990 (__ieee754_sqrtl): Define as macro.
27991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27992 inlined copy.
27993 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27994 __FINITE_MATH_ONLY__ consistent.
27995 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27996
12cc2fcd
AS
279972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27998
a843a204
AS
27999 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28000 of rawmemchr.
28001
12cc2fcd
AS
28002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28003
c853acd5
UD
280042011-10-09 Ulrich Drepper <drepper@gmail.com>
28005
28006 * po/ja.po: Update from translation team.
28007
c658d255
RM
280082011-10-08 Roland McGrath <roland@hack.frob.com>
28009
110946e4
RM
28010 * locale/programs/locarchive.c (prepare_address_space): New function.
28011 (create_archive, enlarge_archive, open_archive): Use it.
28012
50604220
RM
28013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28014 inside [SHARED], where it is used.
28015
c658d255
RM
28016 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28017
28018 * nss/getent.c (netgroup_keys): Remove unused variable.
28019 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28020
6a621eb7
UD
280212011-10-08 Ulrich Drepper <drepper@gmail.com>
28022
7edb55ce
UD
28023 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28027 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28028 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28029 * math/Makefile (libm-calls): Add s_isinf_ns.
28030 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28031 * math/multc3.c: Likewise.
28032 * math/s_casin.c: Likewise.
28033 * math/s_casinf.c: Likewise.
28034 * math/s_casinl.c: Likewise.
28035 * math/s_ccos.c: Likewise.
28036 * math/s_ccosf.c: Likewise.
28037 * math/s_ccosl.c: Likewise.
28038 * math/s_ctan.c: Likewise.
28039 * math/s_ctanf.c: Likewise.
28040 * math/s_ctanh.c: Likewise.
28041 * math/s_ctanhf.c: Likewise.
28042 * math/s_ctanhl.c: Likewise.
28043 * math/s_ctanl.c: Likewise.
28044 * math/w_fmod.c: Likewise.
28045 * math/w_fmodf.c: Likewise.
28046 * math/w_fmodl.c: Likewise.
28047 * math/w_remainder.c: Likewise.
28048 * math/w_remainderf.c: Likewise.
28049 * math/w_remainderl.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28051 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28054 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28055 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28056 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28057 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28058
187da0ae
UD
28059 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28060 of the number.
28061 * stdio-common/printf_fphex.c: Likewise.
28062 * stdio-common/printf_size.c: Likewise.
28063
9277c064
UD
28064 * math/e_exp10.c: Include math_private.h using <...> not "...".
28065 * math/e_exp10f.c: Likewise.
28066 * math/e_exp10l.c: Likewise.
28067 * math/e_exp2l.c: Likewise.
28068 * math/e_j0l.c: Likewise.
28069 * math/e_j1l.c: Likewise.
28070 * math/e_jnl.c: Likewise.
28071 * math/e_lgammal_r.c: Likewise.
28072 * math/e_rem_pio2l.c: Likewise.
28073 * math/e_scalb.c: Likewise.
28074 * math/e_scalbf.c: Likewise.
28075 * math/e_scalbl.c: Likewise.
28076 * math/k_cosl.c: Likewise.
28077 * math/k_sinl.c: Likewise.
28078 * math/k_tanl.c: Likewise.
28079 * math/s_cacoshf.c: Likewise.
28080 * math/s_catan.c: Likewise.
28081 * math/s_catanf.c: Likewise.
28082 * math/s_catanh.c: Likewise.
28083 * math/s_catanhf.c: Likewise.
28084 * math/s_catanhl.c: Likewise.
28085 * math/s_catanl.c: Likewise.
28086 * math/s_ccosh.c: Likewise.
28087 * math/s_ccoshf.c: Likewise.
28088 * math/s_ccoshl.c: Likewise.
28089 * math/s_cexp.c: Likewise.
28090 * math/s_cexpf.c: Likewise.
28091 * math/s_cexpl.c: Likewise.
28092 * math/s_clog.c: Likewise.
28093 * math/s_clog10.c: Likewise.
28094 * math/s_clog10f.c: Likewise.
28095 * math/s_clog10l.c: Likewise.
28096 * math/s_clogf.c: Likewise.
28097 * math/s_clogl.c: Likewise.
28098 * math/s_csin.c: Likewise.
28099 * math/s_csinf.c: Likewise.
28100 * math/s_csinh.c: Likewise.
28101 * math/s_csinhf.c: Likewise.
28102 * math/s_csinhl.c: Likewise.
28103 * math/s_csinl.c: Likewise.
28104 * math/s_csqrt.c: Likewise.
28105 * math/s_csqrtf.c: Likewise.
28106 * math/s_csqrtl.c: Likewise.
28107 * math/s_ctan.c: Likewise.
28108 * math/s_ctanf.c: Likewise.
28109 * math/s_ctanh.c: Likewise.
28110 * math/s_ctanhf.c: Likewise.
28111 * math/s_ctanhl.c: Likewise.
28112 * math/s_ctanl.c: Likewise.
28113 * math/s_ldexp.c: Likewise.
28114 * math/s_ldexpf.c: Likewise.
28115 * math/s_ldexpl.c: Likewise.
28116 * math/s_significand.c: Likewise.
28117 * math/s_significandf.c: Likewise.
28118 * math/s_significandl.c: Likewise.
28119 * math/w_acos.c: Likewise.
28120 * math/w_acosf.c: Likewise.
28121 * math/w_acosh.c: Likewise.
28122 * math/w_acoshf.c: Likewise.
28123 * math/w_acoshl.c: Likewise.
28124 * math/w_acosl.c: Likewise.
28125 * math/w_asin.c: Likewise.
28126 * math/w_asinf.c: Likewise.
28127 * math/w_asinl.c: Likewise.
28128 * math/w_atan2.c: Likewise.
28129 * math/w_atan2f.c: Likewise.
28130 * math/w_atan2l.c: Likewise.
28131 * math/w_atanh.c: Likewise.
28132 * math/w_atanhf.c: Likewise.
28133 * math/w_atanhl.c: Likewise.
28134 * math/w_cosh.c: Likewise.
28135 * math/w_coshf.c: Likewise.
28136 * math/w_coshl.c: Likewise.
28137 * math/w_dremf.c: Likewise.
28138 * math/w_exp10.c: Likewise.
28139 * math/w_exp10f.c: Likewise.
28140 * math/w_exp10l.c: Likewise.
28141 * math/w_exp2.c: Likewise.
28142 * math/w_exp2f.c: Likewise.
28143 * math/w_fmod.c: Likewise.
28144 * math/w_fmodf.c: Likewise.
28145 * math/w_fmodl.c: Likewise.
28146 * math/w_hypot.c: Likewise.
28147 * math/w_hypotf.c: Likewise.
28148 * math/w_hypotl.c: Likewise.
28149 * math/w_j0.c: Likewise.
28150 * math/w_j0f.c: Likewise.
28151 * math/w_j0l.c: Likewise.
28152 * math/w_j1.c: Likewise.
28153 * math/w_j1f.c: Likewise.
28154 * math/w_j1l.c: Likewise.
28155 * math/w_jn.c: Likewise.
28156 * math/w_jnf.c: Likewise.
28157 * math/w_jnl.c: Likewise.
28158 * math/w_lgamma.c: Likewise.
28159 * math/w_lgamma_r.c: Likewise.
28160 * math/w_lgammaf.c: Likewise.
28161 * math/w_lgammaf_r.c: Likewise.
28162 * math/w_lgammal.c: Likewise.
28163 * math/w_lgammal_r.c: Likewise.
28164 * math/w_log.c: Likewise.
28165 * math/w_log10.c: Likewise.
28166 * math/w_log10f.c: Likewise.
28167 * math/w_log10l.c: Likewise.
28168 * math/w_log2.c: Likewise.
28169 * math/w_log2f.c: Likewise.
28170 * math/w_log2l.c: Likewise.
28171 * math/w_logf.c: Likewise.
28172 * math/w_logl.c: Likewise.
28173 * math/w_pow.c: Likewise.
28174 * math/w_powf.c: Likewise.
28175 * math/w_powl.c: Likewise.
28176 * math/w_remainder.c: Likewise.
28177 * math/w_remainderf.c: Likewise.
28178 * math/w_remainderl.c: Likewise.
28179 * math/w_scalb.c: Likewise.
28180 * math/w_scalbf.c: Likewise.
28181 * math/w_scalbl.c: Likewise.
28182 * math/w_sinh.c: Likewise.
28183 * math/w_sinhf.c: Likewise.
28184 * math/w_sinhl.c: Likewise.
28185 * math/w_sqrt.c: Likewise.
28186 * math/w_sqrtf.c: Likewise.
28187 * math/w_sqrtl.c: Likewise.
28188 * math/w_tgamma.c: Likewise.
28189 * math/w_tgammaf.c: Likewise.
28190 * math/w_tgammal.c: Likewise.
28191
6a621eb7
UD
28192 * po/ja.po: Update from translation team.
28193
bf582445
AJ
281942011-09-29 Andreas Jaeger <aj@suse.de>
28195
f9efbf3a
AJ
28196 [BZ #13179]
28197 * sunrpc/netname.c (netname2host): Fix logic.
28198
bf582445
AJ
28199 [BZ #6779]
28200 [BZ #6783]
28201 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28202 correctly.
28203 * math/w_remainder.c (__remainder): Likewise.
28204 * math/w_remainderf.c (__remainderf): Likewise.
28205 * math/libm-test.inc (remainder_test): Add test cases.
28206
48693bea
AK
282072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28208
28209 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28210 sdiv_qrnnd.
28211
42622229
LD
282122011-10-07 Ulrich Drepper <drepper@gmail.com>
28213
28214 * string/test-memcmp.c: Avoid unncessary #defines.
28215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28216
093ecf92
LD
282172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28218
28219 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28220 Use new sse2 version for core i3 - i7 as it's faster
28221 than sse42 version.
28222 (bit_Prefer_PMINUB_for_stringop): New.
28223 * sysdeps/x86_64/rawmemchr.S: Update.
28224 Replace with faster SSE2 version.
28225 * sysdeps/x86_64/memrchr.S: New file.
28226 * sysdeps/x86_64/memchr.S: Update.
28227 Replace with faster SSE2 version.
28228
fde56e5c
MP
282292011-09-12 Marek Polacek <mpolacek@redhat.com>
28230
28231 * elf/dl-load.c (lose): Add cast to avoid warning.
28232
21fd49a9
UD
282332011-10-07 Ulrich Drepper <drepper@gmail.com>
28234
5a06e643
UD
28235 * po/ca.po: Update from translation team.
28236
684ae515
UD
28237 * inet/getnetgrent_r.c: Hook up nscd.
28238 * nscd/Makefile (routines): Add nscd_netgroup.
28239 (nscd-modules): Add netgroupcache.
28240 (CFLAGS-netgroupcache.c): Define.
28241 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28242 (cache_search): Add const to second parameter.
28243 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28244 INNETGR.
28245 (dbs): Add netgrdb entry.
28246 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28247 (verify_persistent_db): Handle netgrdb.
28248 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28249 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28250 GETFDNETGR.
28251 (netgroup_response_header): Define.
28252 (innetgroup_response_header): Define.
28253 (datahead): Add netgroup_response_header and innetgroup_response_header
28254 elements.
28255 * nscd/nscd.conf: Add entries for netgroup cache.
28256 * nscd/nscd.h (dbtype): Add netgrdb.
28257 (_PATH_NSCD_NETGROUP_DB): Define.
28258 (netgroup_iov_disabled): Declare.
28259 (xmalloc, xcalloc, xrealloc): Move declarations here.
28260 (cache_search): Adjust prototype.
28261 Add netgroup-related prototypes.
28262 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28263 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28264 (__nscd_innetgr): Declare.
28265 * nscd/selinux.c (perms): Use access_vector_t as element type and
28266 add netgroup-related initializers.
28267 * nscd/netgroupcache.c: New file.
28268 * nscd/nscd_netgroup.c: New file.
28269 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28270 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28271 For four parameters use innetgr.
28272 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28273 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28274 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28275 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28276
21fd49a9
UD
28277 * nscd/connections.c (register_traced_file): Don't register file
28278 for disabled databases.
28279
054c0457
UD
282802011-10-06 Ulrich Drepper <drepper@gmail.com>
28281
32b63198
UD
28282 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28283
054c0457
UD
28284 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28285 from tree and freeing node.
28286
64031225
JO
282872011-09-25 Jiri Olsa <jolsa@redhat.com>
28288
28289 * nss/nsswitch.c (__nss_database_lookup): Handle
28290 nss_parse_service_list out of memory case.
28291
0490345c
JO
282922011-09-15 Jiri Olsa <jolsa@redhat.com>
28293
28294 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28295 out of memory case.
28296
3a62d00d
AS
282972011-10-04 Andreas Schwab <schwab@redhat.com>
28298
28299 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28300 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28301 pass it down.
28302 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28303 elf_machine_rela, elf_machine_lazy_rel.
28304 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28305 (ELF_DYNAMIC_DO_REL): Likewise.
28306 (ELF_DYNAMIC_DO_RELA): Likewise.
28307 (ELF_DYNAMIC_RELOCATE): Likewise.
28308 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28309 to ELF_DYNAMIC_DO_REL.
28310 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28311 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28312 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28313 elf_machine_rela.
28314 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28315 skip_ifunc, don't call ifunc function if non-zero.
28316 (elf_machine_rela): Likewise.
28317 (elf_machine_lazy_rel): Likewise.
28318 (elf_machine_lazy_rela): Likewise.
28319 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28320 (elf_machine_lazy_rel): Likewise.
28321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28322 Likewise.
28323 (elf_machine_lazy_rel): Likewise.
28324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28325 Likewise.
28326 (elf_machine_lazy_rel): Likewise.
28327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28328 (elf_machine_lazy_rel): Likewise.
28329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28330 (elf_machine_lazy_rel): Likewise.
28331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28332 (elf_machine_lazy_rel): Likewise.
28333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28334 (elf_machine_lazy_rel): Likewise.
28335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28336 (elf_machine_lazy_rel): Likewise.
28337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28338 (elf_machine_lazy_rel): Likewise.
28339
68577918
UD
283402011-09-28 Ulrich Drepper <drepper@gmail.com>
28341
28342 * nss/nss_files/files-init.c (_nss_files_init): Use static
28343 initialization for all the *_traced_file variables.
28344
68822d74
AS
283452011-09-28 Andreas Schwab <schwab@redhat.com>
28346
28347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28348
2056100b
RM
283492011-09-27 Roland McGrath <roland@hack.frob.com>
28350
28351 [BZ #13226]
28352 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28353
32c76b63
AS
283542011-09-27 Andreas Schwab <schwab@redhat.com>
28355
28356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28357 Reread the line before reparsing it.
28358
bf972c9d
AS
283592011-09-26 Andreas Schwab <schwab@redhat.com>
28360
28361 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28362
e057a1b5
JM
283632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28364 Maxim Kuvyrkov <maxim@codesourcery.com>
28365 Joseph Myers <joseph@codesourcery.com>
28366
28367 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28368 if needed for __stack_chk_guard.
28369
bc7e1c36
RM
283702011-09-19 Roland McGrath <roland@hack.frob.com>
28371
ecb1482f
RM
28372 * sysdeps/posix/spawni.c (script_execute): Always define it.
28373 It will be optimized away if unused.
28374 (maybe_script_execute): New function.
28375 (__spawni): Call it.
28376
bc7e1c36
RM
28377 * Makerules: Don't include tls.make.
28378 (config-tls): Always set to thread.
28379 * tls.make.c: File removed.
28380
1c3b002b
MF
283812011-09-19 Mike Frysinger <vapier@gentoo.org>
28382
28383 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28384 * config.make.in (CPPFLAGS-config): New substituted variable.
28385
2840865d
UD
283862011-09-15 Ulrich Drepper <drepper@gmail.com>
28387
88738eb6
UD
28388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28389
cbf645a6 28390 [BZ #13192]
2840865d
UD
28391 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28392 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28393
b402e91a
RM
283942011-09-15 Roland McGrath <roland@hack.frob.com>
28395
28396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28397 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28399 (CALL_FAIL): Likewise.
28400 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28401 (CALL_FAIL): Macro removed.
28402 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28403
4c1a1f71
UD
284042011-09-15 Ulrich Drepper <drepper@gmail.com>
28405
28406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28407 for __FINITE_MATH_ONLY__ == 1.
28408
edc121be
AS
284092011-09-15 Andreas Schwab <schwab@redhat.com>
28410
28411 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28412 __ieee754_sqrt instead of sqrt.
28413 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28414 __ieee754_sqrtf instead of sqrtf.
28415 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28416 __floorf instead of floorf.
28417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28418 __floorf, __truncf instead of floorf, truncf.
28419
cd205654
UD
284202011-09-14 Ulrich Drepper <drepper@gmail.com>
28421
ee4d0315
UD
28422 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28423
cd205654
UD
28424 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28425 __extern_always_inline.
28426 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28427 32-bit.
28428
48b67d71
AS
284292011-09-14 Andreas Schwab <schwab@redhat.com>
28430
28431 * elf/rtld.c (dl_main): Also relocate in dependency order when
28432 doing symbol dependency testing.
28433
1ae12c75
AS
284342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28435
28436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28437 Always define `refsym'.
28438
995a80df
AS
284392011-09-13 Andreas Schwab <schwab@redhat.com>
28440
e529793b
AS
28441 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28442 (__FD_ELT): Renamed from __FDELT.
28443 * misc/bits/select2.h (__FD_ELT): Likewise.
28444 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28445 __FD_MASK instead of __FDELT, __FDMASK.
28446 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28447 Likewise.
28448 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28449 Likewise.
28450
52d4fef8
AS
28451 * elf/Makefile (gen-ldd): Fix pattern.
28452
995a80df
AS
28453 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28454 (init_tls): Likewise.
28455
8682f8b0
UD
284562011-09-12 Ulrich Drepper <drepper@gmail.com>
28457
28458 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28459
de82006d
AS
284602011-09-12 Andreas Schwab <schwab@redhat.com>
28461
a7c8e6a1
AS
28462 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28463 `struct cmsghdr *' instead of `void *'.
28464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28465 Likewise.
28466
0f31fe77
AS
284672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28468
28469 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28470 if non-absolute.
28471 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28472 ldd_rewrite_script.
0f31fe77 28473
32b4c839
UD
284742011-09-11 Ulrich Drepper <drepper@gmail.com>
28475
83cd1420
UD
28476 * configure.in: Remove --with-tls option.
28477 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28478 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28479 out in case it is missing.
28480 * sysdeps/ia64/elf/configure.in: Likewise.
28481 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28482 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28483 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28484 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28485 * sysdeps/sh/elf/configure.in: Likewise.
28486 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28487 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28488 * sysdeps/x86_64/elf/configure.in: Likewise.
28489 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28490 * sysdeps/mach/hurd/tls.h: Likewise.
28491
633f745d
UD
28492 [BZ #13067]
28493 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28494
f318beb8
UD
28495 [BZ #13090]
28496 * configure.in: Fix use of AC_INIT.
28497
32b4c839
UD
28498 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28499
3ce1f295
UD
285002011-09-10 Ulrich Drepper <drepper@gmail.com>
28501
bb016596
UD
28502 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28503 __set_errno.
8e58439c
UD
28504 * malloc/hooks.c: Likewise.
28505
aebae053 28506 [BZ #11929]
02d46fc4
UD
28507 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28508 variables statically.
28509 (narenas): Initialize.
28510 (list_lock): Initialize.
bb016596
UD
28511 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28512 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28513 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28514 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28515 Add initializers to main_arena and mp_.
28516 (malloc_state): Remove pagesize member. Change all users to use
28517 GLRO(dl_pagesize).
28518
28519 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28520 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28521 is always initialized.
28522
22a89187
UD
28523 * malloc/malloc.c: Removed unused configurations and dead code.
28524 * malloc/arena.c: Likewise.
28525 * malloc/hooks.c: Likewise.
02d46fc4 28526 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28527
d063d164
UD
28528 * include/tls.h: Removed. USE___THREAD must always be defined.
28529 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28530 * elf/dl-libc.c: Likewise.
28531 * elf/dl-tsd.c: Likewise.
28532 * include/errno.h: Likewise.
28533 * include/netdb.h: Likewise.
28534 * include/resolv.h: Likewise.
28535 * inet/herrno-loc.c: Likewise.
28536 * inet/herrno.c: Likewise.
28537 * malloc/arena.c: Likewise.
28538 * malloc/hooks.c: Likewise.
28539 * malloc/malloc.c: Likewise.
28540 * resolv/res-state.c: Likewise.
28541 * resolv/res_libc.c: Likewise.
28542 * sysdeps/i386/dl-machine.h: Likewise.
28543 * sysdeps/ia64/dl-machine.h: Likewise.
28544 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28545 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28548 * sysdeps/sh/dl-machine.h: Likewise.
28549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28551 * sysdeps/unix/i386/sysdep.S: Likewise.
28552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28553 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28555 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28557 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28558 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28563 * sysdeps/x86_64/dl-machine.h: Likewise.
28564 * tls.make.c: Likewise.
28565
3ce1f295
UD
28566 * configure.in: Remove --with-__thread option. Make tests for
28567 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28568 tls_model attribute fail if no support is available. Remove
28569 USE_IN_LIBIO.
28570 * Makeconfig: Adjust for dropped configure option. All features are
28571 now mandatory.
28572 * Makerules: Likewise.
28573 * Versions.def: Likewise.
28574 * argp/argp-fmtstream.c: Likewise.
28575 * argp/argp-fmtstream.h: Likewise.
28576 * argp/argp-help.c: Likewise.
28577 * assert/assert.c: Likewise.
28578 * config.h.in: Likewise.
28579 * config.make.in: Likewise.
28580 * configure: Likewise.
28581 * configure.in: Likewise.
28582 * csu/Versions: Likewise.
28583 * csu/init.c: Likewise.
28584 * elf/tst-audit2.c: Likewise.
28585 * elf/tst-tls10.c: Likewise.
28586 * elf/tst-tls10.h: Likewise.
28587 * elf/tst-tls11.c: Likewise.
28588 * elf/tst-tls12.c: Likewise.
28589 * elf/tst-tls14.c: Likewise.
28590 * elf/tst-tlsmod11.c: Likewise.
28591 * elf/tst-tlsmod12.c: Likewise.
28592 * elf/tst-tlsmod13.c: Likewise.
28593 * elf/tst-tlsmod13a.c: Likewise.
28594 * elf/tst-tlsmod14a.c: Likewise.
28595 * elf/tst-tlsmod15b.c: Likewise.
28596 * elf/tst-tlsmod16a.c: Likewise.
28597 * elf/tst-tlsmod16b.c: Likewise.
28598 * elf/tst-tlsmod7.c: Likewise.
28599 * elf/tst-tlsmod8.c: Likewise.
28600 * elf/tst-tlsmod9.c: Likewise.
28601 * gmon/gmon.c: Likewise.
28602 * grp/fgetgrent_r.c: Likewise.
28603 * grp/putgrent.c: Likewise.
28604 * hurd/fopenport.c: Likewise.
28605 * include/libc-symbols.h: Likewise.
28606 * include/tls.h: Likewise.
28607 * intl/gettextP.h: Likewise.
28608 * intl/loadinfo.h: Likewise.
28609 * locale/global-locale.c: Likewise.
28610 * locale/localeinfo.h: Likewise.
28611 * mach/devstream.c: Likewise.
28612 * malloc/arena.c: Likewise.
28613 * malloc/set-freeres.c: Likewise.
28614 * misc/err.c: Likewise.
28615 * misc/getttyent.c: Likewise.
28616 * misc/mntent_r.c: Likewise.
28617 * posix/getopt.c: Likewise.
28618 * posix/wordexp.c: Likewise.
28619 * pwd/fgetpwent_r.c: Likewise.
28620 * resolv/Versions: Likewise.
28621 * resolv/res_hconf.c: Likewise.
28622 * shadow/fgetspent_r.c: Likewise.
28623 * shadow/putspent.c: Likewise.
28624 * stdio-common/printf_fphex.c: Likewise.
28625 * stdio-common/tmpfile.c: Likewise.
28626 * stdlib/abort.c: Likewise.
28627 * stdlib/fmtmsg.c: Likewise.
28628 * sunrpc/auth_unix.c: Likewise.
28629 * sunrpc/clnt_perr.c: Likewise.
28630 * sunrpc/clnt_tcp.c: Likewise.
28631 * sunrpc/clnt_udp.c: Likewise.
28632 * sunrpc/clnt_unix.c: Likewise.
28633 * sunrpc/openchild.c: Likewise.
28634 * sunrpc/svc_simple.c: Likewise.
28635 * sunrpc/svc_tcp.c: Likewise.
28636 * sunrpc/svc_udp.c: Likewise.
28637 * sunrpc/svc_unix.c: Likewise.
28638 * sunrpc/xdr.c: Likewise.
28639 * sunrpc/xdr_array.c: Likewise.
28640 * sunrpc/xdr_rec.c: Likewise.
28641 * sunrpc/xdr_ref.c: Likewise.
28642 * sunrpc/xdr_stdio.c: Likewise.
28643
1248c1c4
PB
286442011-09-09 Ulrich Drepper <drepper@gmail.com>
28645
28646 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28647
286482011-07-03 Andreas Jaeger <aj@suse.de>
28649
28650 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28652 regenerate with gen-libm-tests.pl.
28653
286542010-05-12 Petr Baudis <pasky@suse.cz>
28655
28656 [BZ #11589]
28657 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28658 around j0() zero points by switching to j1().
28659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28663
f22e1074
UD
286642011-09-09 Ulrich Drepper <drepper@gmail.com>
28665
f19009c1
UD
28666 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28667 instead of 0.
28668 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28669 instead of 0.
f19009c1
UD
28670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28671 Patch in part by Pavel Roskin <proski@gnu.org>.
28672
3f8cc204
UD
28673 [BZ #13138]
28674 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28675 realloc.
28676 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28677 Free memory block if necessary.
28678
f22e1074
UD
28679 [BZ #12847]
28680 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28681 be NULL. Don't lock in this case.
28682
0a2349f9
RM
286832011-09-09 Roland McGrath <roland@hack.frob.com>
28684
28685 * elf/elf.h (ELFOSABI_GNU): New macro.
28686 (ELFOSABI_LINUX): Define to that.
28687
f3cdd467
DZ
286882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28689
28690 * string/strncat.c (strncat): Undef the symbol in case it has been
28691 defined in bits/string.h.
28692
74718d13
UD
286932011-09-09 Ulrich Drepper <drepper@gmail.com>
28694
633e9e0f
UD
28695 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28696
0a2349f9 28697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28698 link map.
28699
f9924780
AJ
287002011-08-17 Andreas Jaeger <aj@suse.de>
28701
28702 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28703
7f5517aa
PP
287042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28705 Ian Lance Taylor <iant@google.com>
28706
28707 * math/libm-test.inc (lround_test): New testcase.
28708 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28709
762011fe
UD
287102011-09-08 Ulrich Drepper <drepper@gmail.com>
28711
92963737
UD
28712 * Makefile: Remove support for automatic cvs check-ins.
28713 * Makerules: Likewise.
28714 * config.make.in: Likewise.
28715 * configure.in: Likewise.
28716 * intl/Makefile: Likewise.
28717 * locale/Makefile: Likewise.
28718 * po/Makefile: Likewise.
28719 * posix/Makefile: Likewise.
28720 * sysdeps/gnu/Makefile: Likewise.
28721 * sysdeps/mach/hurd/Makefile: Likewise.
28722 * sysdeps/sparc/sparc32/Makefile: Likewise.
28723
b0727fd8
JS
28724 [BZ #13118]
28725 * posix/Makefile (bug-regex32-ENV): Define.
28726 Patch by John Stanley <jpsinthemix@verizon.net>.
28727
a0f33f99
UD
28728 * misc/Makefile (headers): Add bits/select2.h.
28729 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28730 * misc/bits/select2.h: New file.
28731 * include/bits/select2.h: New file.
28732 * debug/Makefile (routines): Add fdelt_chk.
28733 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28734 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28735 FD_ISSET.
28736 * debug/fdelt_chk.c: New file.
28737
762011fe
UD
28738 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28739 * wcsmbs/test-wmemcmp.c: Likewise.
28740 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28741 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28742
287432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28744
28745 * string/Makefile (strop-tests): Add memcmp.
28746 * string/test-wmemcmp.c: New file.
28747 * string/test-memcmp.c: Add wmemcmp support.
28748
7f513ec8
RM
287492011-09-08 Roland McGrath <roland@hack.frob.com>
28750
0442afb4
RM
28751 [BZ #13153]
28752 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28753 2011-07-19 change.
28754
7f513ec8
RM
28755 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28756 garbage value in a __mach_port_mod_refs call in the cases of the
28757 task-self and thread-self ports.
28758
a12b2239
ST
287592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28760
28761 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28762
610f9ab4
AS
287632011-09-08 Andreas Schwab <schwab@redhat.com>
28764
7f513ec8 28765 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28766
48882a1a
LD
287672011-09-07 Ulrich Drepper <drepper@gmail.com>
28768
b49865be
UD
28769 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28770
fdc86bc9
UD
28771 * elf/dl-libc.c (dlerror_run): Pass back error code from
28772 dl_catch_error.
28773
c966526a
UD
28774 [BZ #13123]
28775 * elf/dl-load.c (lose): Free l_origin if it is valid.
28776
48882a1a
LD
28777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28778 names.
28779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28784 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28785
77a2a8b4
AZ
287862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28787
28788 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28789 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28791 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28792 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28793 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28794 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28795 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28796 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28797 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28798
24f579d8
AM
287992011-08-15 Alan Modra <amodra@gmail.com>
28800
28801 [BZ #13092]
28802 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28803 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28804 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28805 ppc_mcount to static-only-routines.
28806 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28807 __mcount_internal.
28808 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28809 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28810
3d4837df
UD
288112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28812
28813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28814 for finite and infinity parameters.
28815
22700377
WS
288162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28817
28818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28819 and add nop instructions for throughput optimization.
28820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28821
5025581e
WS
288222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28823
28824 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28825 aligned copy for power7 with vector-scalar instructions.
28826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28827
08a300c9
L
288282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28831 AVX check.
28832
59178ef9
AS
288332011-09-07 Andreas Schwab <schwab@redhat.com>
28834
28835 [BZ #13144]
28836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28837 last change.
28838
e38ba7ab
UD
288392011-09-07 Ulrich Drepper <drepper@gmail.com>
28840
28841 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28842 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28843 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28845 clock_gettime.
28846
d53a73ac
UD
288472011-09-06 Ulrich Drepper <drepper@gmail.com>
28848
fc8bffcc
UD
28849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28850 Forgot to demangle the pointer.
28851
ceaa0c5d
UD
28852 * sysdeps/i386/sysdep.h: Define atom_text_section.
28853 * sysdeps/x86_64/sysdep.h: Likewise.
28854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28855 section with atom_text_section.
28856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28858 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28861
a77d3c17
UD
28862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28864 already be defined. Change to take two parameters and don't assign
28865 result to variable. Adjust all users.
28866 Define INTERNAL_GETTIME if not already defined.
28867 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28868 call.
28869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28870 HAVE_CLOCK_GETTIME_VSYSCALL.
28871 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28872
d53a73ac
UD
28873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28874 gettimeofday vsyscall, just use time.
28875
a8f84144
AS
288762011-09-06 Andreas Schwab <schwab@redhat.com>
28877
28878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28879 <errno.h>.
28880
ef606249
UD
288812011-09-06 Ulrich Drepper <drepper@gmail.com>
28882
28883 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28884 syscall on x86-64.
28885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28886 syscall.
28887 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28889 syscall if possible.
28890
6585cb60
UD
288912011-09-05 Ulrich Drepper <drepper@gmail.com>
28892
28893 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28894 e_ident. Don't pass to find_mapsXX.
28895 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28896
a5f524e4
LD
288972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28898
28899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28900 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28901 * sysdeps/x86_64/multiarch/strchr.S: Update.
28902 Check bit_slow_BSF bit.
28903 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28906
554881ef
UD
289072011-09-05 Ulrich Drepper <drepper@gmail.com>
28908
d96de963
UD
28909 [BZ #13134]
28910 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28911 before glibc 2.15.
28912 (tryshell): Define.
28913 (__spawni): Change last parameter to be flag. Test
28914 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28915 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28916 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28917 * posix/spawni.c: Likewise.
28918 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28919 * posix/spawnp.c: Likewise. Change normal version to use
28920 SPAWN_XFLAGS_USE_PATH.
28921 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28922 SPAWN_XFLAGS_TRY_SHELL.
28923
d48e5868
UD
28924 [BZ #13150]
28925 * posix/glob.h: Remove gcc 1.x support.
28926
554881ef
UD
28927 [BZ #13068]
28928 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28929
693fb948
LD
289302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28931
28932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28933 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28934 strrchr-sse2-bsf
28935 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28936 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28941
1b48c537
UD
289422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28943
49d42c37
UD
28944 * sysdeps/x86_64/wcscmp.S: New file.
28945
1b48c537
UD
28946 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28947 wcscmp-c wcscmp-sse2
28948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28949 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28951 * wcsmbs/wcscmp.c: Allow renaming.
28952
15c95c5d
DM
289532011-09-05 David S. Miller <davem@davemloft.net>
28954
28955 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28956 stack slot, rather than the struct return pointer slot.
28957 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28958 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28961
2f0ad8f3
UD
289622011-09-05 Ulrich Drepper <drepper@gmail.com>
28963
d88ae418
UD
28964 * po/ja.po: Update from translation team.
28965
2f0ad8f3
UD
28966 [BZ #13144]
28967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28968 kernel in 64-bit binaries.
28969
5f4318d1
DM
289702011-09-01 David S. Miller <davem@davemloft.net>
28971
28972 * elf/elf.h (HWCAP_SPARC_*): Move to..
28973 * sysdeps/sparc/sysdep.h: this new file and add new values.
28974 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28975 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28976 _DL_HWCAP_COUNT to 24.
28977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28978 entries.
28979 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28980 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28981 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28983 instead of magic constants.
28984 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28985
3ba57516
DM
289862011-08-31 David S. Miller <davem@davemloft.net>
28987
28988 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28990 Reimplement to do errno handling inline.
28991 (SYSCALL_ERROR_HANDLER): New macro.
28992 (__SYSCALL_STRING): Do not do errno handling in asm.
28993 (__CLONE_SYSCALL_STRING): Delete.
28994 (__INTERNAL_SYSCALL_STRING): Delete.
28995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28996 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28997 (PSEUDO): Reimplement to do errno handling inline.
28998 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28999 (SYSCALL_ERROR_HANDLER): New macro.
29000 (__SYSCALL_STRING): Do not do errno handling in asm.
29001 (__CLONE_SYSCALL_STRING): Delete.
29002 (__INTERNAL_SYSCALL_STRING): Delete.
29003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29004 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29005 i386.
29006 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29007 (inline_syscall*): Add 'err' argument.
29008 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29009 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29010 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29011 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29012
29013 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29014 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29015
2bc17433
AS
290162011-08-30 Andreas Schwab <schwab@redhat.com>
29017
29018 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29019
fbeb5f4d
JO
290202011-08-29 Jiri Olsa <jolsa@redhat.com>
29021
29022 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29023 directive.
29024
ad69cc26
DM
290252011-08-24 David S. Miller <davem@davemloft.net>
29026
29027 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29028
39dd69df
AS
290292011-08-24 Andreas Schwab <schwab@redhat.com>
29030
29031 * elf/Makefile: Add rules to build and run unload8 test.
29032 * elf/unload8.c: New file.
29033 * elf/unload8mod1.c: New file.
29034 * elf/unload8mod1x.c: New file.
29035 * elf/unload8mod2.c: New file.
29036 * elf/unload8mod3.c: New file.
29037
29038 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29039 it wasn't used.
29040
2c0b250a
DM
290412011-08-23 David S. Miller <davem@davemloft.net>
29042
29043 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29044 subtract stack bias.
29045 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29046 %sp not %fp in calculations.
29047 (_JMPBUF_UNWINDS_ADJ): Likewise.
29048
22044b48
DM
29049 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29050 (aio_suspend): Call it to force an exception region around the
29051 AIO_MISC_WAIT() invocation.
29052
2cae4995
AS
290532011-08-23 Andreas Schwab <schwab@redhat.com>
29054
29055 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29056 backslash.
29057
873a772e
AJ
290582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29059
29060 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29061 protection macro.
29062 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29063 and <dl-machine.h>.
29064 (Elf64_FuncDesc): Remove.
29065
25ad0df1
DM
290662011-08-22 David S. Miller <davem@davemloft.net>
29067
29068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29069 sigaltstack check, add missing cfi directives.
29070 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29071 missing cfi directives, and sigaltstack handling.
29072
e888bcbe
AS
290732011-08-16 Andreas Schwab <schwab@redhat.com>
29074
29075 [BZ #11724]
29076 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29077 object is seen twice.
29078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29079
29080 * elf/Makefile (distribute): Add tst-initorder2.c.
29081 (tests): Add tst-initorder2.
29082 (modules-names): Add tst-initorder2a tst-initorder2b
29083 tst-initorder2c tst-initorder2d. Add rules to build them.
29084 ($(objpfx)tst-initorder2.out): New rule.
29085 * elf/tst-initorder2.c: New file.
29086 * elf/tst-initorder2.exp: New file.
29087
87162f46
AS
290882011-08-22 Andreas Schwab <schwab@redhat.com>
29089
70538b7f
AS
29090 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29091
f55ffe58
AS
29092 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29093 dependencies back to end of function.
29094
87162f46
AS
29095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29096 $(elfobjdir)/ld.so.
29097
91b392a4
UD
290982011-08-21 Ulrich Drepper <drepper@gmail.com>
29099
29100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29101 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29103 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29104 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29105 of __vdso_gettimeofday.
29106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29107 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29108 attribute_hidden.
29109 (_libc_vdso_platform_setup): Remove initialization of
29110 __vdso_gettimeofday and __vdso_time.
29111
5c43483f
UD
291122011-08-20 Ulrich Drepper <drepper@gmail.com>
29113
775a77e7
UD
29114 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29115 and fgetc_unlocked.
29116 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29117 getc_unlocked.
89f447ed 29118
49c74ba9
UD
29119 * elf/dl-open.c (add_to_global): Report additions to the global scope
29120 for LD_DEBUG=scopes.
29121 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29122 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29123
5c43483f
UD
29124 [BZ #13114]
29125 * stdio-common/Makefile (tests): Add bug24.
29126 * stdio-common/bug24.c: New file.
29127
a101b025
AJ
291282011-08-19 Andreas Jaeger <aj@suse.de>
29129
29130 [BZ #13114]
29131 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29132 non-existant file when using close-on-exec mode.
29133
c88f1766
UD
291342011-08-20 Ulrich Drepper <drepper@gmail.com>
29135
0276a718
UD
29136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29137 the very first instruction.
29138
c88f1766
UD
29139 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29140 the CFI state in the end.
29141 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29142 inclusion of dl-trampoline.h.
29143 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29144
51ccffa0
AS
291452011-08-19 Andreas Schwab <schwab@redhat.com>
29146
94d7165f
AS
29147 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29148 expectations for long double.
29149
51ccffa0
AS
29150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29151 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29152
fd708658 291532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29154
29155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29156 artificual limit depends upon the system page size.
29157
44f0a71e
UD
291582011-08-17 Ulrich Drepper <drepper@gmail.com>
29159
29160 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29161 * resolv/Makefile: Define CFLAGS-libresolv.
29162
8de79a24
AS
291632011-08-17 Andreas Schwab <schwab@redhat.com>
29164
29165 * nss/makedb.c (compute_tables): Make variables used in nested
29166 function static.
29167
27724598
UD
291682011-08-17 Ulrich Drepper <drepper@gmail.com>
29169
c5305d88
UD
29170 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29171 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29172 if buffer was too small.
29173
27724598
UD
29174 * elf/pldd.c (main): Attach to all threads in the process.
29175 Rewrite /proc handling to use *at functions.
29176
076fe015
UD
291772011-08-16 Ulrich Drepper <drepper@gmail.com>
29178
174baab3
UD
29179 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29180 specifies first scope to show.
29181 (dl_open_worker): Update callers. Move printing scope of new
29182 object to before the relocation.
44f0a71e 29183 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29184 * sysdeps/generic/ldsodefs.h: Update declaration.
29185
076fe015
UD
29186 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29187 string for the scope number.
29188
a60df2c3
UD
291892011-08-14 Ulrich Drepper <drepper@gmail.com>
29190
29191 * nscd/servicescache.c (cache_addserv): Make sure written is always
29192 initialized.
29193
5e4287d1
RM
291942011-08-14 Roland McGrath <roland@hack.frob.com>
29195
85ae0589
RM
29196 * sysdeps/i386/i486/bits/atomic.h
29197 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29198 statement expression, so as to suppress "set but not used" warning.
29199 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29200
69f63097
RM
29201 * string/strncat.c (STRNCAT): Use prototype definition.
29202
675456ef
RM
29203 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29204 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29205 -Iprograms here.
29206 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29207 (localedef-modules): Add localedef.
29208 (locale-modules): Add locale.
29209
5e4287d1
RM
29210 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29211 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29212 to avoid a warning.
29213
9c96ff23
DM
292142011-08-14 David S. Miller <davem@davemloft.net>
29215
29216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29217 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29218
f9ddf089
UD
292192011-08-13 Ulrich Drepper <drepper@gmail.com>
29220
44f0a71e 29221 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29222 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29223 * elf/rtld.c (dl_main): Set l_name of vDSO.
29224 Call _dl_show_scope when DL_DEBUG_SCOPES.
29225 (process_dl_debug): Recognize scopes flag and also set it for all.
29226 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29227 Declare _dl_show_scope.
29228
1dc27704
UD
29229 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29230 (do_dlopen): Pass caller_dlopen to dl_open.
29231 (__libc_dlopen_mode): Initialize caller_dlopen.
29232
f9ddf089
UD
29233 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29234 of libc. Make tolower call locale-independent. Optimize a bit by
29235 using isdigit instead of isalnum.
29236 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29237
9ac533d3
UD
292382011-08-12 Ulrich Drepper <drepper@gmail.com>
29239
29240 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29241 was a dependency or dynamically loaded.
29242
89edf2e9
UD
292432011-08-11 Ulrich Drepper <drepper@gmail.com>
29244
8e999d29
UD
29245 * intl/l10nflist.c: Allow architecture-specific pop function.
29246 * sysdeps/x86_64/l10nflist.c: New file.
29247
89edf2e9
UD
29248 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29249 classification.
29250
14d96785
AS
292512011-08-10 Andreas Schwab <schwab@redhat.com>
29252
29253 * include/dirent.h: Add libc_hidden_proto for scandirat and
29254 scandirat64. Don't declare __scandirat64.
29255 * dirent/scandirat.c: Add libc_hidden_def.
29256 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29257 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29258
6761ac04
DM
292592011-08-10 David S. Miller <davem@davemloft.net>
29260
29261 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29262 enum.
29263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29266
c55fbd1e
UD
292672011-08-09 Ulrich Drepper <drepper@gmail.com>
29268
29269 * Versions.def [libc]: Add GLIBC_2.15.
29270 * dirent/Makefile (routines): Add scandirat and scandirat64.
29271 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29272 GLIBC_2.15.
29273 * dirent/dirent.h: Declare scandirat and scandirat64.
29274 * dirent/scandirat.c: New file.
29275 * dirent/scandirat64.c: New file.
29276 * sysdeps/wordsize-64/scandirat.c: New file.
29277 * sysdeps/wordsize-64/scandirat64.c: New file.
29278 * dirent/opendir.c: Define opendirat.
29279 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29280 using scandirat.
29281 * dirent/scandir64.c: Adjust for scandir.c change.
29282 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29283 __scandirat64, and __scandir_cancel_handler.
29284 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29285 additional parameter and use openat instead of open (outside of ld.so).
29286 Add new __opendir as wrapper around __opendirat.
29287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29288 here without requiring old scandirat implementation.
29289
879165f2
UD
292902011-08-08 Ulrich Drepper <drepper@gmail.com>
29291
29292 * dirent/scandir.c (cancel_handler): Renamed to
29293 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29294 defined. Adjust users.
29295 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29296 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29297
cb7e923b
UD
292982011-08-04 Ulrich Drepper <drepper@gmail.com>
29299
16292edd
UD
29300 * string/test-string.h (IMPL): Use __STRING to expand name and then
29301 stringify it.
29302
cb7e923b
UD
29303 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29304 of cleanups.
29305
cff82933
LD
293062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29307
29308 * string/Makefile: Update.
29309 (strop-tests): Append strncat.
29310 * string/test-wcscmp.c: New file.
29311 New comprehensive test for wcscmp.
29312 * string/test-strcmp.c: Update.
29313 (WIDE): New define.
29314
9be9bfcc
AS
293152011-07-22 Andreas Schwab <schwab@redhat.com>
29316
29317 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29318 line.
29319
2e96f1c7
AS
293202011-07-26 Andreas Schwab <schwab@redhat.com>
29321
29322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29323 encoding to ACE if AI_IDN.
29324
85188888
JJ
293252011-08-01 Jakub Jelinek <jakub@redhat.com>
29326
29327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29328 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29329
5fa16e9b
LD
293302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29331
29332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29333 Fix overflow bug in strncat.
29334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29335
29336 * string/test-strncat.c: Update.
29337 Add new tests for checking overflow bugs.
29338
293392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29340
29341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29342 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29343 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29344 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29346 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29347 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29348 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29349 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29350
29351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29352 (USE_AS_STRCAT): Define.
29353 Add strcat and strncat support.
29354 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29355
8c1a459f
AS
293562011-07-25 Andreas Schwab <schwab@redhat.com>
29357
29358 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29359 __n bigger than INT_MAX+1.
29360 (__strncmp_g): Likewise.
29361
bba33c28
UD
293622011-07-23 Ulrich Drepper <drepper@gmail.com>
29363
798be72d
UD
29364 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29365 * libio/stido.h: Likewise.
29366
8accd4dc
UD
29367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29368 (AF_NFC): Define.
29369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29370 (AF_NFC): Define.
29371
cbff0d96
UD
29372 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29377
9191c04a
UD
29378 [BZ #13021]
29379 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29380 installed.
29381
bba33c28
UD
29382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29383 typo.
29384 (_dl_x86_64_save_sse): Likewise.
29385
90f139dd
UD
293862011-07-22 Ulrich Drepper <drepper@gmail.com>
29387
1aae088a
UD
29388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29389 OSXSAVE.
29390 (_dl_x86_64_save_sse): Likewise.
29391
8e2045f5
UD
29392 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29393
90f139dd
UD
29394 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29395
1d002f25
AS
293962011-07-21 Andreas Schwab <schwab@redhat.com>
29397
29398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29399 change.
29400 (_dl_x86_64_save_sse): Use correct AVX check.
29401
21137f89
UD
294022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29403
29404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29405 bug in strncpy/strncat.
29406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29407
a65c0b7a
UD
294082011-07-21 Ulrich Drepper <drepper@gmail.com>
29409
29410 * string/tester.c (test_strcat): Add tests for different alignments
29411 of source and destination.
29412 (test_strncat): Likewise.
29413
6986b98a
UD
294142011-07-20 Ulrich Drepper <drepper@gmail.com>
29415
90bb2039
UD
29416 [BZ #12852]
29417 * posix/glob.c (glob): Check passed in values before using them in
29418 expressions to avoid some overflows.
29419 (glob_in_dir): Likewise.
29420
5644ef54
UD
29421 [BZ #13007]
29422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29423 check for AVX enablement so that we don't crash with old kernels and
29424 new hardware.
29425 * elf/tst-audit4.c: Add same checks here.
29426 * elf/tst-audit6.c: Likewise.
29427
29428 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29429
bfc9dc9b
AS
294302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29431
29432 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29433
702e64bb
UD
294342011-07-20 Ulrich Drepper <drepper@gmail.com>
29435
29436 * po/cs.po: Update from translation team.
29437 * po/bg.po: Likewise.
29438
295e904f
MP
294392011-07-12 Marek Polacek <mpolacek@redhat.com>
29440
29441 * misc/sys/cdefs.h: Add support for const attribute.
29442 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29443 to gnu_dev_{major,minor,makedev} functions.
29444
3ff94596
MP
294452011-07-20 Marek Polacek <mpolacek@redhat.com>
29446
29447 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29448
28b59fca
AS
294492011-07-20 Andreas Schwab <schwab@redhat.com>
29450
29451 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29452 strlen results.
29453
19df733e
AK
294542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29455
29456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29457 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29458 register in order to avoid conflicts with the soft frame pointer
29459 being held in r11 when necessary.
29460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29461 (INTERNAL_VSYSCALL_NCS): Likewise.
29462
c8835729
MP
294632011-07-14 Marek Polacek <mpolacek@redhat.com>
29464
29465 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29466 * elf/dl-fini.c (_dl_fini): Adjust caller.
29467 * elf/dl-close.c (_dl_close_worker): Likewise.
29468 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29469
b902330c
MP
294702011-07-15 Marek Polacek <mpolacek@redhat.com>
29471
8991e135
MP
29472 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29473 "aux_cache->nlibs < 0".
29474
b902330c
MP
29475 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29476 in the reload-count case.
29477
99710781
LD
294782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29479
29480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29481 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29482 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29484 * sysdeps/x86_64/multiarch/strcat.S: New file.
29485 * sysdeps/x86_64/multiarch/strncat.S: New file.
29486 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29488 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29489 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29491 (USE_AS_STRCAT): Define.
29492 Add strcat and strncat support.
29493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29495 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29496 * string/strncat.c: Update.
29497 (USE_AS_STRNCAT): Define.
29498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29499 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29500 and i7.
29501 * sysdeps/x86_64/multiarch/init-arch.h
29502 (bit_Prefer_PMINUB_for_stringop): New.
29503 (index_Prefer_PMINUB_for_stringop): Likewise.
29504 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29505 bit_Prefer_PMINUB_for_stringop.
29506
7dc6bd90
UD
295072011-07-19 Ulrich Drepper <drepper@gmail.com>
29508
29509 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29510 buffer64.
29511 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29512 of casting of buffer.
29513 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29514 buffer32 and buffer64.
29515 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29516 writes instead of casting of buffer.
29517 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29518 buffer32.
29519 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29520 casting of buffer.
29521
e0e72284
AS
295222011-07-19 Andreas Schwab <schwab@redhat.com>
29523
29524 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29525
feb1eb0b
UD
295262011-07-19 Ulrich Drepper <drepper@gmail.com>
29527
29528 * nscd/nscd.c (termination_handler): Don't do anything for a database
29529 if it has not yet been initialized.
29530
298711ff
UD
295312011-07-18 Ulrich Drepper <drepper@gmail.com>
29532
29533 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29534
295352011-07-15 Marek Polacek <mpolacek@redhat.com>
29536
29537 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29538
f9d68389
UD
295392011-07-18 Ulrich Drepper <drepper@gmail.com>
29540
29541 * po/nl.po: Update from translation team.
29542 * po/sv.po: Likewise.
29543
db290cf5
RM
295442011-07-16 Roland McGrath <roland@hack.frob.com>
29545
29546 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29547 now disallowed by GCC.
5c550700 29548
fd5e21c7
RM
29549 * configure.in (use-default-link): Default to yes if a test -shared
29550 link meets our qualifications.
29551 * configure: Regenerated.
29552
5c550700
RM
29553 * config.make.in (output-format): New variable.
29554 * configure.in: Check for ld --print-output-format support.
29555 * configure: Regenerated.
29556 * Makerules ($(common-objpfx)format.lds)
29557 [$(output-format) != unknown]: Just use $(output-format),
29558 instead of the linker-script munging.
29559
9fa2c032
RM
295602011-07-14 Roland McGrath <roland@hack.frob.com>
29561
a6928d51
RM
29562 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29563 of $(common-objpfx)shlib.lds.
29564 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29565
661607b3
RM
29566 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29567 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29568
9fa2c032
RM
29569 * configure.in (-z relro check): Adjust test code to add a large
29570 writable data section after it.
29571 * configure: Regenerated.
29572
defe9061
RM
295732011-07-11 Roland McGrath <roland@hack.frob.com>
29574
29575 * configure.in (-z relro check): Fix test code to make the variable
29576 truly const.
29577 * configure: Regenerated.
29578
319b9ad4
UD
295792011-07-11 Ulrich Drepper <drepper@gmail.com>
29580
29581 * nscd/nscd.h (struct traced_file): Define.
29582 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29583 elements. Add traced_files.
29584 (inotify_fd): Declare.
29585 (register_traced_file): Declare.
29586 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29587 (inotify_fd): Export.
29588 (resolv_conf_descr): Remove.
29589 (nscd_init): Move inotify descriptor creation to main.
29590 Don't register files for notification here.
29591 (register_traced_file): New function.
29592 (invalidate_cache): Don't use reset_res to determine whether to call
29593 res_init, go through the list of registered files.
29594 (main_loop_poll): The inotify descriptors are now stored in the
29595 structures for the traced files.
29596 (main_loop_epoll): Likewise
29597 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29598 to __nss_disable_nscd.
29599 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29600 for a database anymore. Check the records for all the registered
29601 files instead.
29602 * nss/Makefile (libnss_files-routines): Add files-init.
29603 (libnss_db-routines): Add db-init.
29604 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29605 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29606 * nss/nss_db/db-init.c: New file.
29607 * nss/nss_files/files-init.c: New file.
29608 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29609 __nss_lookup_function.
29610 (__nss_lookup_function): Call nss_load_library.
29611 (nss_load_all_libraries): New function.
29612 (__nss_disable_nscd): Take parameter with callback function for files
29613 to register. Set is_nscd. Load all the DSOs for the NSS modules
29614 used for the cached services.
29615 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29617 options for features to all the files in nscd.
29618
29619 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29620
23bee3e8
RM
296212011-07-10 Roland McGrath <roland@hack.frob.com>
29622
29623 * csu/elf-init.c (__libc_csu_init): Comment typo.
29624
46a5b7f0
UD
296252011-07-09 Ulrich Drepper <drepper@gmail.com>
29626
29627 * po/pl.po: Update from translation team.
29628 * po/ja.po: Likewise.
29629 * po/ru.po: Likewise.
29630 * po/ko.po: Likewise.
29631 * po/fr.po: Likewise.
29632
d30cf5bb
RM
296332011-07-09 Roland McGrath <roland@hack.frob.com>
29634
113ddea4
RM
29635 * configure.in (.ctors/.dtors header and trailer check):
29636 Use an empirical test on a built program.
29637 * configure: Regenerated.
29638
574920b4
RM
29639 * configure.in (-z relro check): Use an empirical test on a built DSO.
29640 Detect, but do not require, on ia64.
29641 * configure: Regenerated.
29642
d30cf5bb
RM
29643 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29644 Update tests that use readelf to use $READELF instead.
29645 * configure: Regenerated.
29646
8538fdb3
UD
296472011-07-08 Ulrich Drepper <drepper@gmail.com>
29648
29649 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29650 if the result is not used.
29651
04d08991
AJ
296522011-07-05 Andreas Jaeger <aj@suse.de>
29653
29654 [BZ#9696]
29655 * stdlib/tst-strtod.c: Add testcase.
29656
de283087
AD
296572011-07-07 Ulrich Drepper <drepper@gmail.com>
29658
4e5f31c8 29659 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29660 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29661 The latter has a higher limit. Take additional parameter to pass to
29662 the new function.
29663 (__pathconf): Pass file to __statfs_link_max.
29664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29665 __statfs_link_max.
29666 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29667 __statfs_link_max.
29668
de283087
AD
29669 [BZ #12868]
29670 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29672 Handle Lustre.
29673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29674 (__statfs_filesize_max): Likewise.
29675 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29676
c75fa153
AJ
296772011-07-05 Andreas Jaeger <aj@suse.de>
29678
29679 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29680
1a544854
UD
296812011-07-06 Marek Polacek <mpolacek@redhat.com>
29682
29683 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29684 `status' variable.
29685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29686 Likewise.
29687
6f0eec67
UD
296882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29689
29690 * Makefile (strop-tests): Add strncat.
29691 * string/test-strncat.c: New file.
29692
aae30307
UD
296932011-06-30 Marek Polacek <mpolacek@redhat.com>
29694
29695 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29696
c0cfb5eb
UD
296972011-06-21 Andreas Jaeger <aj@suse.de>
29698
29699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29700 Copy rule from iconvdata/Makefile.
29701
01636b21
UD
297022011-07-06 Ulrich Drepper <drepper@gmail.com>
29703
29704 [BZ #12922]
29705 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29706 but no long options are defined, just return 'W'.
29707
9895c8bc
UD
297082011-06-22 Marek Polacek <mpolacek@redhat.com>
29709
29710 [BZ #9696]
29711 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29712
5d4cf042
UD
297132011-07-06 Ulrich Drepper <drepper@gmail.com>
29714
29715 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29716 netgroups to read.
960e5535 29717 (innetgr): Likewise.
5d4cf042 29718
751eb97e
RM
297192011-07-05 Roland McGrath <roland@hack.frob.com>
29720
29721 * config.make.in (install_root): Default to $(DESTDIR).
29722
f15f1e45
UD
297232011-07-05 Ulrich Drepper <drepper@gmail.com>
29724
29725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29726
4e34ac6a
RM
297272011-07-02 Roland McGrath <roland@hack.frob.com>
29728
5e9b6af4
RM
29729 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29730
84f9ea0f
RM
29731 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29732 containing directory rather than embedding absolute directory names.
29733
ea5ee9f7
RM
29734 * scripts/check-local-headers.sh: Rewritten using awk.
29735 Match by word, not by line. Print error messages for matches.
29736 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29737
1b74661a
RM
29738 * Makerules [shlib-lds-flags empty]:
29739 ($(common-objpfx)libc_pic.opts): New target.
29740 ($(common-objpfx)libc_pic.os.clean): New target.
29741 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29742
29743 * config.make.in (OBJCOPY): New variable.
29744 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29745 * configure: Regenerated.
29746
f781ef40
RM
29747 * config.make.in (use-default-link): New variable.
29748 * configure.in (use_default_link): Grok --with-default-link to set it.
29749 * configure: Regenerated.
29750 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29751 (shlib-lds, shlib-lds-flags): Define to empty.
29752
2d4fa81e
RM
29753 * Makerules (shlib-lds): New variable.
29754 (shlib-lds-flags): New variable.
29755 (build-shlib, build-moduile, build-module-asneeded): Use it.
29756 ($(common-objpfx)libc.so): Use $(shlib-lds).
29757 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29758 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29759
31fffa6b
RM
29760 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29761 DT_FLAGS/DT_FLAGS_1 with zero flags.
29762
4e34ac6a
RM
29763 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29764 linker script munging.
29765
fcfc776b
UD
297662011-07-02 Ulrich Drepper <drepper@gmail.com>
29767
29768 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29769 as 128-bit value.
29770 * crypt/sha512.c (sha512_process_block): Perform total addition using
29771 128-bit if possible.
29772 (__sha512_finish_ctx): Likewise.
29773 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29774 as 64-bit value.
29775 * crypt/sha256.c (SWAP64): Define.
29776 (sha256_process_block): Perform total addition using 64-bit if
29777 possible.
29778 (__sha256_finish_ctx): Likewise.
29779
99231d9a
UD
297802011-07-01 Ulrich Drepper <drepper@gmail.com>
29781
29782 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29784 * nscd/hstcache.c (cache_addhst): Likewise.
29785 * nscd/grpcache.c (cache_addgr): Likewise.
29786 * nscd/aicache.c (addhstaiX): Likewise
29787 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29788
445b4a53
TK
297892011-07-01 Thorsten Kukuk <kukuk@suse.de>
29790
29791 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29793 * nscd/hstcache.c (cache_addhst): Likewise.
29794 * nscd/grpcache.c (cache_addgr): Likewise.
29795 * nscd/aicache.c (addhstaiX): Likewise
29796
6d4d8e8e
AS
297972011-07-01 Andreas Schwab <schwab@redhat.com>
29798
29799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29800 domain only when needed.
29801
89f654c5
AS
298022011-06-30 Andreas Schwab <schwab@redhat.com>
29803
29804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29805 is always restored.
29806
cf3b23ff
UD
298072011-06-29 Ulrich Drepper <drepper@gmail.com>
29808
29809 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29810 are re-adding the entry.
29811 * nscd/servicescache.c (cache_addserv): Likewise.
29812
751626f9
AJ
298132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29814
29815 * sysdeps/generic/dl-irel.h: fix protection against multiple
29816 inclusions.
29817 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29818
9113ea1f
UD
298192011-06-28 Ulrich Drepper <drepper@gmail.com>
29820
5c0b8d90
UD
29821 [BZ #12935]
29822 * malloc/memusage.sh: Fix quoting in message.
29823 * debug/xtrace.sh: Likewise.
29824
9113ea1f
UD
29825 * configure.in: Remove support for --experimental-malloc option, make
29826 it the default.
29827 * config.make.in: Likewise.
29828 * malloc/Makefile: Likewise.
29829
a4172181
AS
298302011-06-27 Andreas Schwab <schwab@redhat.com>
29831
29832 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29833 two-byte characters.
29834
78a7eee7
RM
298352011-06-27 Roland McGrath <roland@hack.frob.com>
29836
62bede13
RM
29837 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29838 AC_CACHE_CHECK invocation.
29839 * configure: Regenerated.
29840
78a7eee7
RM
29841 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29842
5ce33a62
UD
298432011-06-27 Ulrich Drepper <drepper@gmail.com>
29844
034807a9
UD
29845 [BZ #12350]
29846 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29847 bit from old_res_options.
29848
4902da17
UD
29849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29850
5ce33a62
UD
29851 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29852 value type for setfct.
29853
c2344f56
L
298542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29855
29856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29857 __gettimeofday instead of gettimeofday.
29858
68468076
UD
298592011-06-26 Ulrich Drepper <drepper@gmail.com>
29860
29861 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29862
acb0d739
L
298632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29866
29867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29868 info.
29869
8912479f
L
298702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29871
29872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29873 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29874 strcpy-sse2-unaligned strncpy-sse2-unaligned
29875 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29876 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29877 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29878 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29879 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29881 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29882 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29883 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29884 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29885 (STRCPY): Support SSE2 and SSSE3 versions.
29886
d5495a11
UD
298872011-06-24 Ulrich Drepper <drepper@gmail.com>
29888
29889 [BZ #12874]
29890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29891 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29892 kernels which artificially limit size of requests.
29893
0b1cbaae
L
298942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29895
29896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29897 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29898 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29899 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29900 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29901 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29902 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29903 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29906 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29907 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29908 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29909 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29910 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29912 Enable unaligned load optimization for Intel Core i3, i5 and i7
29913 processors.
29914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29915 Define.
29916 (index_Fast_Unaligned_Load): Define.
29917 (HAS_FAST_UNALIGNED_LOAD): Define.
29918
07f494a0
MP
299192011-06-23 Marek Polacek <mpolacek@redhat.com>
29920
29921 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29922
fa3fc0fe
UD
299232011-06-22 Ulrich Drepper <drepper@gmail.com>
29924
29925 [BZ #12907]
29926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29927 until it is clear that the information is realy needed.
29928 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29929
e12df166
AS
299302011-06-22 Andreas Schwab <schwab@redhat.com>
29931
29932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29933
852eb34d
UD
299342011-06-22 Ulrich Drepper <drepper@gmail.com>
29935
84e2a551
UD
29936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29937 /sys/devices/system/cpu/online if it is usable.
29938
852eb34d
UD
29939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29940 reading the information from the /proc filesystem to once a second.
29941
6e502e19
UD
299422011-06-21 Andreas Jaeger <aj@suse.de>
29943
29944 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29945 NULL after inclusion of kernel headers.
29946
75d39ff2
UD
299472011-06-21 Ulrich Drepper <drepper@gmail.com>
29948
51f9aa6a
UD
29949 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29950 calls to internal_setent.
29951
c0244a9d
UD
29952 [BZ #12885]
29953 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29954 addresses using gethostbyname4_r ignore IPv4 addresses.
29955
c5e3c2ae
UD
29956 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29957 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29958
75d39ff2
UD
29959 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29960
42675c6f
DM
299612011-06-20 David S. Miller <davem@davemloft.net>
29962
29963 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29964 inclusions.
29965 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29966
29967 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29968 (elf_irel): Use it.
29969 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29970 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29971 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29972 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29973 * sysdeps/x86_64/dl-irel.h: Likewise.
29974
29975 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29976 * elf/dl-sym.c: Likewise.
29977
57912a71
UD
299782011-06-15 Ulrich Drepper <drepper@gmail.com>
29979
29980 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29981 need to dereference resplen2.
29982
ee22793d
AS
299832011-06-14 Andreas Schwab <schwab@redhat.com>
29984
29985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29986
a9e836b0
UD
299872011-06-15 Ulrich Drepper <drepper@gmail.com>
29988
77fb9117
UD
29989 * Makeconfig: Define vardbdir and inst_vardbdir.
29990 * nss/Makefile: Add rules to install db-Makefile.
29991
40c1b22c
UD
29992 * nss/nss_db/db-XXX.c: Cleanup.
29993
9f2da732
UD
29994 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29995 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29996 GLIBC_PRIVATE.
29997 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29998 * nss/makedb.c: Implement -g option to specify that value strings
29999 are generated and should not be added to table iterated over for
30000 get*ent calls.
30001 * nss/nss_db/db-initgroups.c: New file.
30002
82e9a1f7
UD
30003 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30004 interface.
30005
c41af17e
UD
30006 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30007 (internal_getgrouplist): Adjust to name change.
30008 Update use_initgroups_entry if this is not the first call.
30009 * nss/databases.def: Add initgroups entry.
30010
a9e836b0
UD
30011 * nss/makedb.c (compute_tables): Check result of multiple hash table
30012 sizes to minimize maximum chain length.
30013
2666d441
UD
300142011-06-14 Ulrich Drepper <drepper@gmail.com>
30015
30016 * Versions.def: Add entry for libnss_db.
30017 * shlib-versions: Likewise.
30018 * nss/Makefile: Add rules to build libnss_db.
30019 * nss/Versions: Add libnss_db information. Organize libnss_files
30020 entries better.
30021 * nss/db-Makefile: Add gshadow support. Change rules for the new
30022 makedb progra. Some minor improvements to generate smaller files.
30023 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30024 here from...
30025 * nss/makedb.c: ...here.
30026 Improve database format to be smaller and require less memory at
30027 runtime.
30028 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30029 db anymore.
30030 * nss/nss_db/db-netgrp.c: Likewise.
30031 * nss/nss_db/db-open.c: Likewise.
30032 * nss/nss_files/flies-XXX.x: Adjust comments.
30033 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30034 * nss/nss_files/files-grp.c: Likewise.
30035 * nss/nss_files/files-hosts.c: Likewise.
30036 * nss/nss_files/files-network.c: Likewise.
30037 * nss/nss_files/files-proto.c: Likewise.
30038 * nss/nss_files/files-pwd.c: Likewise.
30039 * nss/nss_files/files-rpc.c: Likewise.
30040 * nss/nss_files/files-service.c: Likewise.
30041 * nss/nss_files/files-sgrp.c: Likewise.
30042 * nss/nss_files/files-spwd.c: Likewise.
30043 * nss/nss_db/db-alias.c: Removed.
30044 * nss/nss_db/dummy-db.h: Removed.
30045
9ee76b5a
UD
300462011-06-02 Ulrich Drepper <drepper@gmail.com>
30047
30048 * nss/makedb.c: Rewritten to not use database library.
30049 * nss/Makefile: Update to build new makedb program.
30050
c71ca1f8
AJ
300512011-06-14 Andreas Jaeger <aj@suse.de>
30052
30053 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30054 memset declaration.
30055
3154bfb8
UD
300562011-06-10 Andreas Schwab <schwab@redhat.com>
30057
30058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30059 tmpbuf.
30060
b350afab
RM
300612011-06-10 Roland McGrath <roland@hack.frob.com>
30062
decd4e50
RM
30063 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30064 * elf/Makefile ($(objpfx)ld.so): Likewise.
30065
5615eaf2
RM
30066 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30067 Don't list ld.so twice in dependencies.
30068
30069 * posix/bug-regex31.c: Include <stdlib.h>.
30070
30071 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30072
30073 * nis/nss_compat/compat-spwd.c
30074 (getspent_next_nss_netgr): Remove unused variable.
30075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30076
30077 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30078 nonmembers" output to use the right array.
30079
30080 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30081
30082 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30083
30084 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30085 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30086 * catgets/gencat.c (read_input_file): Likewise.
30087 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30088
30089 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30090 variable definition inside #if's controlling its use.
30091
30092 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30093
30094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30095
30096 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30097
30098 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30099 unreachable code.
30100
30101 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30102
b68e08db
RM
30103 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30104 * configure: Regenerated.
30105
b350afab
RM
30106 * Makerules: Revert last change.
30107 * elf/Makefile: Likewise.
30108
28368601
RM
301092011-06-09 Roland McGrath <roland@hack.frob.com>
30110
30111 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30112 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30113 (reloc-link): Likewise.
30114
11988f8f
UD
301152011-06-09 Ulrich Drepper <drepper@gmail.com>
30116
30117 * elf/Makefile: Add rules to build pldd.
30118 * elf/pldd.c: New file.
30119 * elf/pldd-xx.c: New file.
30120
e80fab37
UD
301212011-06-07 Ulrich Drepper <drepper@gmail.com>
30122
30123 * version.h: Update for 2.15 development version.
30124
9b849836
DM
301252011-06-07 David S. Miller <davem@davemloft.net>
30126
30127 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30128 ifuncs.
30129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30130 elf_machine_lazy_rel): Likewise.
30131 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30133 elf_machine_lazy_rel): Likewise.
30134 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30135 dl_hwcap via passed in argument.
30136 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30137 Likewise.
30138
5a31b283
AK
301392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30140
30141 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30142
069e52f8
RM
301432011-06-06 Roland McGrath <roland@hack.frob.com>
30144
30145 [BZ #12849]
30146 * manual/fdl-1.1.texi: New file, verbatim from:
30147 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30148 * manual/lgpl-2.1.texi: New file, verbatim from:
30149 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30150 * manual/Makefile (licenses): New variable, list those new file names.
30151 (texis): Use it.
30152 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30153
30154 * manual/fdl.texi: File removed.
30155 * manual/lesser.texi: File removed.
30156 * manual/libc.texinfo (Copying, Documentation License):
30157 Use new @include file names, put @appendix directive before @include.
30158
f16846a5
JJ
301592011-06-04 Jakub Jelinek <jakub@redhat.com>
30160
30161 [BZ #12841]
30162 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30163 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30164 (mq_open): Add __NTH.
30165
3d29045b
L
301662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30167
30168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30169 Assume Intel Core i3/i5/i7 processor if AVX is available.
30170
8c297311
UD
301712011-05-31 Ulrich Drepper <drepper@gmail.com>
30172
30173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30174 typo.
30175
c8fc0c91
UD
301762011-05-31 Andreas Schwab <schwab@redhat.com>
30177
30178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30179 memory. Use alloca_account. Fix memory leak when retrying.
30180
5b27a807
UD
301812011-05-31 Ulrich Drepper <drepper@gmail.com>
30182
356f8bc6
UD
30183 * version.h (RELEASE): Bump for 2.14 release.
30184 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30185
5b27a807
UD
30186 * config.make.in (RANLIB): Remove entry.
30187
01f16ab0
UD
301882011-05-30 Ulrich Drepper <drepper@gmail.com>
30189
41fce8bd
UD
30190 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30191 (libc.pot): Work around missing support for .ksh extension in xgettext.
30192
4769ae77
UD
30193 [BZ #12684]
30194 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30195 if both request failed.
30196 (send_dg): In case of server errors clear resplen or *resplen2.
30197
6b1e7d19
UD
30198 [BZ #12454]
30199 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30200 when there are multiple maps.
30201 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30202 (_dl_fini): Remove test here.
30203
01f16ab0
UD
30204 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30205
b1ebd700
UD
302062011-05-29 Ulrich Drepper <drepper@gmail.com>
30207
7ae22829
UD
30208 [BZ #12350]
30209 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30210 bit from old_res_options.
30211 (gaih_inet): Likewise.
30212
553149f6 30213 [BZ #11099]
18a84741 30214 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30215 as signed.
30216
652ffab1
UD
30217 * resolv/res_init.c (res_setoptions): Make the code more compact.
30218
16985fd0
UD
30219 [BZ #11558]
30220 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30221 set RES_USEVC.
30222
0464f746
UD
30223 [BZ #11634]
30224 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30225
7d17596c
UD
30226 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30227
cf6bbbd7
UD
30228 [BZ #11781]
30229 * malloc/malloc.h: Declare malloc hook variables as volatile.
30230
13f1ab36
UD
30231 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30232 in last patch.
30233
b1ebd700
UD
30234 [BZ #11799]
30235 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30236 raise in the comment.
80e2212d
UD
30237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30239 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30240
ce67228d
UD
302412011-05-28 Ulrich Drepper <drepper@gmail.com>
30242
8887a920
UD
30243 [BZ #12811]
30244 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30245 grow the buffers more if it already has to be sufficient.
30246 (build_wcs_upper_buffer): Likewise.
30247 * posix/regexec.c (check_matching): Likewise.
30248 (clean_state_log_if_needed): Likewise.
30249 (extend_buffers): Don't enlarge buffers beyond size of the input
30250 buffer.
30251 Patches mostly by Emil Wojak <emil@wojak.eu>.
30252 * posix/bug-regex32.c: New file.
30253 * posix/Makefile (tests): Add bug-regex32.
30254
4f031072
UD
30255 * locale/findlocale.c (_nl_find_locale): Return right away if
30256 _nl_explode_name failed.
30257 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30258
d0478f0c
UD
30259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30260
de81b246
UD
30261 * debug/xtrace.sh: Unify messages.
30262 * malloc/memusage.sh: Likewise.
30263
c738465a
UD
30264 [BZ #12813]
30265 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30266 time symbol from vDSO. Substitute with vsyscall if not available.
30267 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30268 __vdso_time.
30269
f1f929d7
UD
30270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30271 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30272 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30273 Add sendmmsg and internal_sendmmsg.
30274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30276 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30277
ce67228d
UD
30278 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30279 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30281
e57420c6
UD
302822011-05-27 Ulrich Drepper <drepper@gmail.com>
30283
a8509ca5
UD
30284 [BZ #12813]
30285 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30286 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30287 available.
30288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30289 __vdso_getcpu.
30290
e57420c6
UD
30291 [BZ #12814]
30292 * iconvdata/Makefile (tests): Add bug-iconv9.
30293 * iconvdata/bug-iconv9.c: New file.
30294
4d07db15
AS
302952011-05-27 Andreas Schwab <schwab@redhat.com>
30296
30297 [BZ #12814]
30298 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30299
ea486f69
JJ
303002011-05-25 Jakub Jelinek <jakub@redhat.com>
30301
30302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30303 (struct user_regs_struct): Change intcs field back to cs.
30304
6f038433
UD
303052011-05-25 Ulrich Drepper <drepper@gmail.com>
30306
30307 * po/ja.po: Update from translation team.
30308
67f86a25
UD
303092011-05-23 Ulrich Drepper <drepper@gmail.com>
30310
30311 [BZ #12795]
30312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30313 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30314
def7fbd6
AS
303152011-05-20 Andreas Schwab <schwab@redhat.com>
30316
30317 * stdlib/longlong.h: Update from GCC.
30318
f50ef8f1
AS
303192011-05-23 Andreas Schwab <schwab@redhat.com>
30320
30321 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30322 parameter name.
30323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30324 Add parameter name.
30325 (__sysconf): Pass it down.
30326
de7ce8f1
UD
303272011-05-22 Ulrich Drepper <drepper@gmail.com>
30328
f2962a71
UD
30329 [BZ #12671]
30330 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30331 some situations.
30332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30333 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30334 add in in __libc_use_alloca calls. Adjust callers.
30335 (glob): Use malloc in some situations.
30336
de7ce8f1
UD
30337 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30338 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30339 pltexit.
30340
aec84f53
UD
303412011-05-21 Ulrich Drepper <drepper@gmail.com>
30342
05bb4a68
UD
30343 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30344 and CLOCK_BOOTTIME_ALARM.
30345
7ea72f99
UD
30346 [BZ #12782]
30347 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30348 is returned.
30349
7e4afad5
UD
30350 * string/_strerror.c (__strerror_r): Print negative errors as signed
30351 numbers.
30352
8e211fec
UD
30353 [BZ #12777]
30354 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30355 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30356 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30357
f7d82dc9
UD
30358 * configure.in: Fix typo in redirection and correct removal of test
30359 files in two cases.
30360
cc9e536d
UD
30361 [BZ #12788]
30362 * locale/setlocale.c (new_composite_name): Fix test to check for
30363 identical name of all categories.
30364
aec84f53
UD
30365 [BZ #12792]
30366 * libio/filedoalloc.c (local_isatty): New function.
30367 (_IO_file_doallocate): Use local_isatty.
30368 * stdio-common/perror.c (perror): In case a new stream is used
30369 forward the stream error.
30370 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30371 error flag.
30372
78e64fdc
RT
303732011-05-20 Ulrich Drepper <drepper@gmail.com>
30374
34a9094f
UD
30375 [BZ #11869]
30376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30377 alloca.
30378 * include/alloca.h (extend_alloca_account): Define.
30379
78e64fdc
RT
30380 [BZ #11857]
30381 * posix/regex.h: Fix comments with documentation of user-accessible
30382 fields after compilation and describe correct free'ing of pattern
30383 after re_compile_pattern.
30384 Patch by Reuben Thomas <rrt@sc3d.org>.
30385
457bddfc
RA
303862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30387
30388 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30389 and -mno-altivec to prevent the compiler from using Altivec and/or
30390 VSX instructions when the corresponding registers are not available.
30391
a4527b51
AS
303922011-05-19 Andreas Schwab <schwab@redhat.com>
30393
30394 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30395
ed690b2f
UD
303962011-05-19 Ulrich Drepper <drepper@gmail.com>
30397
30398 * libio/freopen.c (freopen): Use __dup2, not dup2.
30399 * libio/freopen64.c (freopen64): Likewise.
30400
8db73634
L
304012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30402
30403 [BZ #12775]
30404 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30405 * math/Makefile (tests): Add test-powl.
30406 (CFLAGS-test-powl.c): Define.
30407 * math/test-powl.c: New file.
30408
0a197a9d
L
304092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30410
30411 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30412
ee30c380
UD
304132011-05-17 Ulrich Drepper <drepper@gmail.com>
30414
30415 [BZ #11837]
30416 * iconvdata/gb18030.c: Update to GB18020-2005.
30417
6ce75379
UD
304182011-05-16 Ulrich Drepper <drepper@gmail.com>
30419
a4b89fd8
AR
30420 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30421 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30422 Patch by Aharon Robbins <arnold@skeeve.com>.
30423
ea389b12
UD
30424 [BZ #11892]
30425 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30426 on the stack.
30427
68a3f91f
UD
30428 [BZ #11895]
30429 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30430 through underflows.
30431
15cc7dd1
UD
30432 [BZ #12766]
30433 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30434 point to strings before performing equality test for error_one_per_line
30435 mode.
30436
f3799213
UD
30437 [BZ #11697]
30438 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30439
d79a9c94
UD
30440 [BZ #11820]
30441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30442 (struct user_fpregs_struct): Avoid __uint*_t types.
30443
56e5eb46
UD
30444 [BZ #6420]
30445 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30446 symbol info. Use it instead of calling _dl_addr locally.
30447 (lock_and_info): New function.
30448 (tr_freehook): Call lock_and_info and pass symbol info as additional
30449 parameter to tr_where.
30450 (tr_mallochook): Likewise.
30451 (tr_reallochook): Likewise.
30452 (tr_memalignhook): Likewise.
30453
6ce75379
UD
30454 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30455 used and couldn't be at all thread-safe.
30456
f8a3b5bf
UD
304572011-05-15 Ulrich Drepper <drepper@gmail.com>
30458
94b7cc37
UD
30459 * libio/freopen.c (freopen): Don't close old file descriptor
30460 before the new one is opened. Instead dup the new file descriptor
30461 to the old one after the new stream is created.
30462 * libio/freopen64.c (freopen64): Likewise.
30463 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30464 * libio/fileops.c (_IO_new_file_close_it): Handle new
30465 _IO_FLAGS2_NOCLOSE flag.
30466 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30467 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30468 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30469 _IO_FLAGS2_NOCLOSE flag.
30470 * include/unistd.h: Add hidden_proto for dup3.
30471 Define __have_dup3.
30472 * io/dup3.c: Define hidden symbol.
30473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30474
bd25564e
UD
30475 [BZ #7101]
30476 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30477 when an incomplete long option is used.
30478 * posix/tst-getopt_long1.c: New file.
30479 * posix/Makefile (tests): Add tst-getopt_long1.
30480
c84cfef4
UD
30481 [BZ #10138]
30482 * scripts/config.guess: Update from autoconf-2.68.
30483 * scripts/config.sub: Likewise.
30484
3b85df27
UD
30485 [BZ #10157]
30486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30487 tests into ...
30488 (has_cpuclock): ...this. New function.
30489 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30490 macro here based on has_cpuclock code.
30491
15a856b1
UD
30492 [BZ #10149]
30493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30494 First byte (not low byte) is now always NUL.
30495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30496
05f399e6
UD
30497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30498 Use non-cancelable interfaces.
30499
10a52685 30500 [BZ #9809]
94ecc67d
UD
30501 * locale/iso-639.def: Add entry for Sorani.
30502
f8a3b5bf
UD
30503 [BZ #11901]
30504 * include/stdlib.h: Move include protection to the right place.
30505 Define abort_msg_s. Declare __abort_msg with it.
30506 * stdlib/abort.c (__abort_msg): Adjust type.
30507 * assert/assert.c (__assert_fail_base): New function. Majority
30508 of code from __assert_fail. Allocate memory for __abort_msg with
30509 mmap.
30510 (__assert_fail): Now call __assert_fail_base.
30511 * assert/assert-perr.c: Remove bulk of implementation. Use
30512 __assert_fail_base.
30513 * include/assert.hL Declare __assert_fail_base.
30514 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30515 mmap.
30516 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30517
1af4e298
UD
305182011-05-14 Ulrich Drepper <drepper@gmail.com>
30519
f8a3b5bf 30520 [BZ #11952]
d26dfc60
MG
30521 [BZ #12453]
30522 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30523 until all modules are registered in the DTV.
30524 * elf/Makefile: Add rules to build and run tst-tls19.
30525 * elf/tst-tls19.c: New file.
30526 * elf/tst-tls19mod1.c: New file.
30527 * elf/tst-tls19mod2.c: New file.
30528 * elf/tst-tls19mod3.c: New file.
30529 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30530
2fc54d6f
UD
30531 [BZ #12083]
30532 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30533 correctly.
30534
98d76b46
UD
30535 [BZ #12601]
30536 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30537 two-byte sequence errors.
30538 * iconvdata/Makefile (tests): Add bug-iconv8.
30539 * iconvdata/bug-iconv8.c: New file.
30540
da3c19ef
UD
30541 [BZ #12626]
30542 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30543 buf2 definition.
30544
ca408c15
UD
30545 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30546
d6f67f7d
UD
30547 [BZ #12432]
30548 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30549 (dummy_getcfa): New function.
30550 (init): Get _Unwind_GetCFA address, use dummy if not found.
30551 (backtrace_helper): In recursion check, also check whether CFA changes.
30552 (__backtrace): Completely initialize arg.
30553
1af4e298 30554 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30555 storing incomplete byte sequence in state object. Avoid testing for
30556 guaranteed too small input if we know there is enough data available.
1af4e298 30557
da62f81b
AS
305582011-05-11 Andreas Schwab <schwab@redhat.com>
30559
30560 * Makeconfig (+link-pie): Indent.
30561 * Rules (binaries-pie): Define if $(have-fpie) and
30562 $(build-shared).
30563 (binaries-shared): Also filter out $(binaries-pie).
30564 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30565 * nscd/Makefile (others-pie): Add nscd.
30566 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30567 ($(objpfx)nscd): Remove command override.
30568 * login/Makefile (others-pie): Add pt_chown.
30569 ($(objpfx)pt_chown): Remove command override.
30570 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30571 remove command overrides.
30572
fcabc0f8
UD
305732011-05-13 Ulrich Drepper <drepper@gmail.com>
30574
20030ae6
UD
30575 * libio/tst_putwc.c: Fix error messages.
30576
fcabc0f8
UD
30577 [BZ #12724]
30578 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30579 currently writing and seek to current position when not.
30580 * libio/Makefile (tests): Add bug-fclose1.
30581 * libio/bug-fclose1.c: New file.
30582
320a5dc0
PB
305832011-05-12 Ulrich Drepper <drepper@gmail.com>
30584
30585 [BZ #12511]
30586 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30587 don't set DF_1_NODELETE here.
30588 (do_lookup_x): When entering new entry test for copy relocation
30589 and if necessary set DF_1_NODELETE flag.
30590 * elf/tst-unique4.cc: New file.
30591 * elf/tst-unique4.h: New file.
30592 * elf/tst-unique4lib.cc: New file.
30593 * elf/Makefile: Add rules to build and run tst-unique4.
30594 Patch by Piotr Bury <pbury@goahead.com>.
30595
22836f52
UD
305962011-05-11 Ulrich Drepper <drepper@gmail.com>
30597
f574184a
UD
30598 [BZ #12052]
30599 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30600
e1fb097f
UD
30601 [BZ #12625]
30602 * misc/mntent_r.c (addmntent): Flush the stream after the output
30603
22836f52
UD
30604 [BZ #12393]
30605 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30606 (is_trusted_path_normalize): Skip initial colon. Append slash
30607 to empty buffer. Duplicate is_trusted_path code but allow
30608 constructed patch to be prefix.
30609 (is_dst): Allow $ORIGIN followed by /.
30610 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30611 Correct testing of result of is_trusted_path_normalize
30612 (decompose_rpath): Fix warning.
30613
7b3b0b2a
UD
306142011-05-10 Ulrich Drepper <drepper@gmail.com>
30615
30616 [BZ #11257]
30617 * grp/initgroups.c (internal_getgrouplist): When we found the service
30618 list through the initgroups entry in nsswitch.conf do not always
30619 continue on a successful lookup. Don't always use the
eac80ce2 30620 __nss_group_database value if it is set.
7b3b0b2a
UD
30621 * nss/nsswitch.conf (initgroups): Change action for successful db
30622 lookup to continue for compatibility.
30623
2a81eaa5
UD
306242011-05-09 Ulrich Drepper <drepper@gmail.com>
30625
be97a69e
UD
30626 [BZ #11532]
30627 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30628 and CP774 modules.
30629 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30630 and CP774 modules.
30631 * iconvdata/tst-tables.sh: Likewise.
30632 * iconvdata/cp770.c: New file.
30633 * iconvdata/cp771.c: New file.
30634 * iconvdata/cp772.c: New file.
30635 * iconvdata/cp773.c: New file.
30636 * iconvdata/cp774.c: New file.
30637 * iconvdata/testdata/CP770: New file.
30638 * iconvdata/testdata/CP770..UTF8: New file.
30639 * iconvdata/testdata/CP771: New file.
30640 * iconvdata/testdata/CP771..UTF8: New file.
30641 * iconvdata/testdata/CP772: New file.
30642 * iconvdata/testdata/CP772..UTF8: New file.
30643 * iconvdata/testdata/CP773: New file.
30644 * iconvdata/testdata/CP773..UTF8: New file.
30645 * iconvdata/testdata/CP774: New file.
30646 * iconvdata/testdata/CP774..UTF8: New file.
30647
30648 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30649 END CHARMAP line.
30650 * iconvdata/gen-8bit-gap.sh: Likewise.
30651 * iconvdata/gen-8bit.sh: Likewise.
30652
c1e9e399
UD
30653 * locale/iso-639.def: Add ary entry.
30654
24c55fb3 30655 [BZ #11258]
96b4b1b0
UD
30656 * locale/C-translit.h.in: Add U20A1 transliteration.
30657
bdc2f971
KB
30658 [BZ #12178]
30659 * locale/iso-639.def: Add wae entry.
30660 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30661
2952b117
UD
30662 [BZ #12545]
30663 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30664 for n.
30665
2a81eaa5
UD
30666 [BZ #12711]
30667 * locale/C-translit.h.in: Add entry for U20B9.
30668 Patch by pravin.d.s@gmail.com.
30669
28377d1b
UD
306702011-05-08 Ulrich Drepper <drepper@gmail.com>
30671
7fb90fb8
UD
30672 [BZ #12713]
30673 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30674 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30675 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30676 in rtld. Use *stat64.
7fb90fb8 30677 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30678 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30679 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30680 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30681 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30682 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30683 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30684 __fstatat64 macros.
7fb90fb8
UD
30685 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30686 * dirent/rewinddir.c: Add libc_hidden_def.
30687 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30688 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30689
28377d1b
UD
30690 * include/dirent.h (__alloc_dir): Add flags parameter.
30691 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30692 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30693 __alloc_dir.
30694 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30695 from fdopendir if O_CLOEXEC is already set.
30696
66bdbaa4
AM
306972011-03-15 Alan Modra <amodra@gmail.com>
30698
30699 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30700 l_tls_firstbyte_offset non-zero. Save padding offset in
30701 l_tls_firstbyte_offset for later use.
30702 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30703 freeing static tls block.
30704
95721191
JN
307052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30706
30707 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30708 where #ifdef was intended. The intent is to prevent ARG_MAX from
30709 being defined by the kernel headers.
30710
f87dfb1f
UD
307112011-05-07 Ulrich Drepper <drepper@gmail.com>
30712
30713 [BZ #12734]
30714 * resolv/resolv.h: Define RES_NOTLDQUERY.
30715 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30716 no-tld-query and set RES_NOTLDQUERY.
30717 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30718 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30719 modern BIND to search name as TLD unless forbidden.
30720
47c3cd7a
UD
307212011-05-07 Petr Baudis <pasky@suse.cz>
30722 Ulrich Drepper <drepper@gmail.com>
30723
30724 [BZ #12393]
30725 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30726 (is_trusted_path): ...to here.
c1e9ea35 30727 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30728 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30729 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30730
8a35c912
PP
307312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30732
30733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30734 __BEGIN/__END_DECLS.
30735
acd41f47
UD
307362011-05-06 Ulrich Drepper <drepper@gmail.com>
30737
30738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30739 NSS_STATUS_NOTFOUND if no record was found.
30740
597df647
AS
307412011-05-05 Andreas Schwab <schwab@redhat.com>
30742
30743 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30744 (headers-not-in-tirpc): Remove rpc/netdb.h
30745 * resolv/netdb.h: Revert last change.
30746
b9af1301
PP
307472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30748
30749 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30750 circular dependency between libgcc.a and libc.a.
30751
4e34d5f5
AS
307522011-05-05 Andreas Schwab <schwab@redhat.com>
30753
30754 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30755 * nis/Makefile: Don't install rpcsvc/*.
30756 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30757 instead of <rpc/types.h>.
30758 (MAXHOSTNAMELEN): Define.
30759
00ee369c
AS
307602011-05-03 Andreas Schwab <schwab@redhat.com>
30761
30762 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30763
0b592a30
MB
307642011-04-28 Maciej Babinski <mbabinski@google.com>
30765
30766 [BZ #12714]
30767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30768 gethostbyname4_r when IPv6 results are possible.
30769
6e04cbbe
UD
307702011-05-02 Ulrich Drepper <drepper@gmail.com>
30771
30772 [BZ #12723]
30773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30774 _PC_PIPE_BUF handling.
30775
e4ecafe0
BH
307762011-04-30 Bruno Haible <bruno@clisp.org>
30777
30778 [BZ #12717]
30779 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30780 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30781 to 'int'.
30782 * inet/getnameinfo.c (getnameinfo): Likewise.
30783
125ee683
UD
307842011-04-29 Ulrich Drepper <drepper@gmail.com>
30785
30786 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30787 to groups setting in database lookup.
30788 * nss/nsswitch.conf: Add initgroups entry.
30789
b722481a
EB
307902011-04-22 Ulrich Drepper <drepper@gmail.com>
30791
30792 [BZ #12685]
30793 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30794 mode string.
30795 Patch by Eric Blake <eblake@redhat.com>.
30796
4df46dbd
L
307972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30798
30799 * sunrpc/Makefile (need-export-routines): Add svc_run.
30800 (routines): Remove svc_run.
30801 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30802 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30803 * sunrpc/svc_run.c (svc_run): Likewise.
30804 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30805
e84142d2
UD
308062011-04-21 Ulrich Drepper <drepper@gmail.com>
30807
30808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30809 problem in reallocation in last patch.
30810
877175d8
UD
308112011-04-20 Ulrich Drepper <drepper@gmail.com>
30812
30813 * sunrpc/Makefile: Move inclusion of Rules.
30814
ab8eed78
UD
308152011-04-19 Ulrich Drepper <drepper@gmail.com>
30816
30817 * nss/nss_files/files-initgroups.c: New file.
30818 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30819 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30820 _nss_files_initgroups_dyn.
30821
e3d8f584
RS
308222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30823
30824 * elf/elf.h (R_ARM_IRELATIVE): Define.
30825
af190f45
UD
308262011-04-19 Ulrich Drepper <drepper@gmail.com>
30827
30828 * po/ru.po: Update from translation team.
30829
53cf59ef
UD
308302011-04-17 Ulrich Drepper <drepper@gmail.com>
30831
30832 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30833 dependencies.
30834
4c559bcd
MF
308352011-02-06 Mike Frysinger <vapier@gentoo.org>
30836
30837 [BZ #12653]
30838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30839 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30843
4420675c
AS
308442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30845
30846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30847 differing bytes.
30848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30851
75ea32ab
UD
308522011-04-17 Ulrich Drepper <drepper@gmail.com>
30853
30854 [BZ #12420]
30855 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30856 storing it.
30857 * stdlib/bug-getcontext.c: New file.
30858 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30859
27390476
AK
308602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30861
30862 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30863 instructions into .machine "z9-109".
30864 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30865 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30866
10442705
AK
308672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30868
30869 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30870 between environment variables and auxiliary vector.
30871
7b57bfe5
UD
308722011-04-16 Ulrich Drepper <drepper@gmail.com>
30873
30874 * Makefile: Add rules to build linkobj/libc.so.
30875 * include/libc-symbols.h: Define libc_hidden_nolink.
30876 * include/rpc/auth.h: Mark functions which are to be hidden.
30877 * include/rpc/auth_des.h: Likewise.
30878 * include/rpc/auth_unix.h: Likewise.
30879 * include/rpc/clnt.h: Likewise.
30880 * include/rpc/des_crypt.h: Likewise.
30881 * include/rpc/key_prot.h: Likewise.
30882 * include/rpc/pmap_clnt.h: Likewise.
30883 * include/rpc/pmap_prot.h: Likewise.
30884 * include/rpc/pmap_rmt.h: Likewise.
30885 * include/rpc/rpc_msg.h: Likewise.
30886 * include/rpc/svc.h: Likewise.
30887 * include/rpc/svc_auth.h: Likewise.
30888 * include/rpc/xdr.h: Likewise.
30889 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30890 * nss/Makefile: Likewise.
30891 * sunrpc/Makefile: Don't install headers. Build library with normal
30892 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30893 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30894 for the compat linking library. Remove use of INTDEF/INTUSE.
30895 * sunrpc/auth_none.c: Likewise.
30896 * sunrpc/auth_unix.c: Likewise.
30897 * sunrpc/authdes_prot.c: Likewise.
30898 * sunrpc/authuxprot.c: Likewise.
30899 * sunrpc/clnt_gen.c: Likewise.
30900 * sunrpc/clnt_perr.c: Likewise.
30901 * sunrpc/clnt_raw.c: Likewise.
30902 * sunrpc/clnt_simp.c: Likewise.
30903 * sunrpc/clnt_tcp.c: Likewise.
30904 * sunrpc/clnt_udp.c: Likewise.
30905 * sunrpc/clnt_unix.c: Likewise.
30906 * sunrpc/des_crypt.c: Likewise.
30907 * sunrpc/des_soft.c: Likewise.
30908 * sunrpc/get_myaddr.c: Likewise.
30909 * sunrpc/key_call.c: Likewise.
30910 * sunrpc/key_prot.c: Likewise.
30911 * sunrpc/netname.c: Likewise.
30912 * sunrpc/pm_getmaps.c: Likewise.
30913 * sunrpc/pm_getport.c: Likewise.
30914 * sunrpc/pmap_clnt.c: Likewise.
30915 * sunrpc/pmap_prot.c: Likewise.
30916 * sunrpc/pmap_prot2.c: Likewise.
30917 * sunrpc/pmap_rmt.c: Likewise.
30918 * sunrpc/publickey.c: Likewise.
30919 * sunrpc/rpc_cmsg.c: Likewise.
30920 * sunrpc/rpc_common.c: Likewise.
30921 * sunrpc/rpc_dtable.c: Likewise.
30922 * sunrpc/rpc_prot.c: Likewise.
30923 * sunrpc/rpc_thread.c: Likewise.
30924 * sunrpc/rtime.c: Likewise.
30925 * sunrpc/svc.c: Likewise.
30926 * sunrpc/svc_auth.c: Likewise.
30927 * sunrpc/svc_authux.c: Likewise.
30928 * sunrpc/svc_raw.c: Likewise.
30929 * sunrpc/svc_run.c: Likewise.
30930 * sunrpc/svc_simple.c: Likewise.
30931 * sunrpc/svc_tcp.c: Likewise.
30932 * sunrpc/svc_udp.c: Likewise.
30933 * sunrpc/svc_unix.c: Likewise.
30934 * sunrpc/svcauth_des.c: Likewise.
30935 * sunrpc/xcrypt.c: Likewise.
30936 * sunrpc/xdr.c: Likewise.
30937 * sunrpc/xdr_array.c: Likewise.
30938 * sunrpc/xdr_float.c: Likewise.
30939 * sunrpc/xdr_intXX_t.c: Likewise.
30940 * sunrpc/xdr_mem.c: Likewise.
30941 * sunrpc/xdr_rec.c: Likewise.
30942 * sunrpc/xdr_ref.c: Likewise.
30943 * sunrpc/xdr_sizeof.c: Likewise.
30944 * sunrpc/xdr_stdio.c: Likewise.
30945
e6c61494
UD
309462011-04-10 Ulrich Drepper <drepper@gmail.com>
30947
30948 [BZ #12650]
30949 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30950 * sysdeps/ia64/dl-tls.h: Likewise.
30951 * sysdeps/powerpc/dl-tls.h: Likewise.
30952 * sysdeps/s390/dl-tls.h: Likewise.
30953 * sysdeps/sh/dl-tls.h: Likewise.
30954 * sysdeps/sparc/dl-tls.h: Likewise.
30955 * sysdeps/x86_64/dl-tls.h: Likewise.
30956 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30957
34fe483e
AS
309582011-03-14 Andreas Schwab <schwab@redhat.com>
30959
30960 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30961 rpath element also skip the following colon.
30962 (expand_dynamic_string_token): Add is_path parameter and pass
30963 down to DL_DST_REQUIRED and _dl_dst_substitute.
30964 (decompose_rpath): Call expand_dynamic_string_token with
30965 non-zero is_path. Ignore empty rpaths.
30966 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30967 with zero is_path.
30968
f12a32e6
AS
309692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30970
30971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30972 Make cancelable.
30973
38a7d692
UD
309742011-04-09 Ulrich Drepper <drepper@gmail.com>
30975
30976 [BZ #12655]
30977 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30978 Patch by Filipe David Manana <fdmanana@apache.org>.
30979
e451d22b
AS
309802011-04-07 Andreas Schwab <schwab@redhat.com>
30981
30982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30983 Maintain aligned stack.
30984 (CHECK_RSP): Remove unused macro.
30985
dedc7c7b
UD
309862011-04-03 Ulrich Drepper <drepper@gmail.com>
30987
30988 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30990
94521213
UD
309912011-04-02 Ulrich Drepper <drepper@gmail.com>
30992
30993 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30994
8cb700c0 30995 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30996
0354e355
L
309972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 [BZ #12518]
31000 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31001 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31002 * sysdeps/x86_64/memmove.c: New file.
31003 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31004 (memcpy): Renamed to ...
31005 (__new_memcpy): This.
31006 (memcpy): Provide GLIBC_2_14 memcpy.
31007 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31008 (memcpy): Provide GLIBC_2_2_5 memcpy.
31009
8593482f
UD
310102011-04-01 Ulrich Drepper <drepper@gmail.com>
31011
31012 [BZ #12631]
31013 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31014
81a5726b
AS
310152011-03-30 Andreas Schwab <schwab@redhat.com>
31016
31017 * misc/syncfs.c: New file.
31018 * misc/Makefile (routines): Add syncfs.
31019 * posix/unistd.h: Declare syncfs.
31020 * sysdeps/unix/syscalls.list: Add syncfs.
31021
00e5419f
AS
310222011-04-01 Andreas Schwab <schwab@redhat.com>
31023
31024 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31025 open_by_handle_at.
31026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31029 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31031 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31033
748876bf
UD
310342011-04-01 Ulrich Drepper <drepper@gmail.com>
31035
658e451d
UD
31036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31043
748876bf
UD
31044 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31045 sync_file_range.c with -fexceptions.
31046 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31047 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31048 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31049 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31050 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31053 sync_file_range as cancellation point
31054 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31055 now a wrapper around __call_sync_file_range with cancellation handling.
31056 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31057 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31058 function name to __call_sync_file_range.
31059 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31060 Add call_sync_file_range.
748876bf 31061
6e63d5e1
AS
310622011-04-01 Andreas Schwab <schwab@redhat.com>
31063
31064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31065 bits/timex.h.
6e63d5e1 31066
46998f74
UD
310672011-04-01 Ulrich Drepper <drepper@gmail.com>
31068
4c1423ed
UD
31069 * iconv/iconv.h: Fix typo in comment.
31070 * io/fcntl.h: Likewise.
31071 * libio/stdio.h: Likewise.
31072 * posix/spawn.h: Likewise.
31073 * posix/unistd.h: Likewise.
31074 * stdlib/stdlib.h: Likewise.
31075 * time/time.h: Likewise.
31076 * wcsmbs/wchar.h: Likewise.
31077
158648c0
UD
31078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31079 open_by_handle): Add.
31080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31081 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31082 Augment a few comments.
31083 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31088 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31089 open_by_handle.
31090
46998f74
UD
31091 * io/fcntl.h (AT_EMPTY_PATH): Define.
31092
83fe108b
UD
310932011-03-30 Ulrich Drepper <drepper@gmail.com>
31094
31095 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31096 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31097 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31098 to...
31099 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31100 * Versions.def: Add GLIBC_2.14.
31101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31102 Export.
83fe108b 31103
bb242059
UD
311042011-03-22 Ulrich Drepper <drepper@gmail.com>
31105
31106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31107 round counter.
31108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31109
c97a1282
L
311102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31111
31112 [BZ #12597]
31113 * string/test-strncmp.c (do_page_test): New function.
31114 (check2): Likewise.
31115 (test_main): Call check2.
31116 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31117
2a115601
UD
311182011-03-20 Ulrich Drepper <drepper@gmail.com>
31119
31120 [BZ #12587]
31121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31122 Handle cache information in CPU leaf 4.
31123 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31124
8126d904
UD
311252011-03-18 Ulrich Drepper <drepper@gmail.com>
31126
042c49c6 31127 [BZ #12583]
8126d904
UD
31128 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31129 character representation.
31130 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31131
ccfe366e
RA
311322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31133
31134 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31135 END(__isnan) to END(__isnanf) to match function entry point/label
31136 EALIGN(__isnanf,...).
31137
c6e13027
JJ
311382011-03-10 Jakub Jelinek <jakub@redhat.com>
31139
31140 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31141
33f85a3f
UD
311422011-03-10 Ulrich Drepper <drepper@gmail.com>
31143
028478fa
UD
31144 [BZ #12510]
31145 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31146 copy from the symbol referenced in the relocation to initialize the
31147 used variable.
31148 Patch by Piotr Bury <pbury@goahead.com>.
31149 * elf/Makefile: Add rules to build and tst-unique3.
31150 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31151 * elf/tst-unique3.cc: New file.
31152 * elf/tst-unique3.h: New file.
31153 * elf/tst-unique3lib.cc: New file.
31154 * elf/tst-unique3lib2.cc: New file.
31155
33f85a3f
UD
31156 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31157
03592fc7
MF
311582011-03-10 Mike Frysinger <vapier@gentoo.org>
31159
31160 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31161 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31162 to _start.
03592fc7 31163
6a5ee102
UD
311642011-03-06 Ulrich Drepper <drepper@gmail.com>
31165
31166 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31167 to-be-loaded object along a path to loader is ld.so.
31168
7e4ba49c
HJ
311692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31170 Ulrich Drepper <drepper@gmail.com>
31171
31172 * sysdeps/x86_64/memset.S: After aligning destination, code
31173 branches to different locations depending on the value of
31174 misalignment, when multiarch is enabled. Fix this.
31175
311762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31177
31178 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31179 Set _x86_64_preferred_memory_instruction for AMD processsors.
31180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31181 Set bit_Prefer_SSE_for_memop for AMD processors.
31182
13a804de
UD
311832011-03-04 Ulrich Drepper <drepper@gmail.com>
31184
31185 * libio/fmemopen.c (fmemopen): Optimize a bit.
31186
9d25c392
AS
311872011-03-03 Andreas Schwab <schwab@redhat.com>
31188
31189 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31190
a5543c6a
RM
311912011-03-03 Roland McGrath <roland@redhat.com>
31192
31193 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31194
012d35f7
DM
311952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31196
7e4ba49c 31197 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31198 __bzero_ultra1 instead of __memset_ultra1.
31199
4bff6e01
AS
312002011-02-23 Andreas Schwab <schwab@redhat.com>
31201 Ulrich Drepper <drepper@gmail.com>
31202
31203 [BZ #12509]
31204 * include/link.h (struct link_map): Add l_orig_initfini.
31205 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31206 returning unsuccessfully.
31207 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31208 close of a file loaded at startup, restore the original l_initfini
31209 list.
31210 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31211 list, store the pointer.
31212 * elf/Makefile ($(objpfx)noload-mem): New rule.
31213 (noload-ENV): Define.
31214 (tests): Add $(objpfx)noload-mem.
31215 * elf/noload.c: Include <memcheck.h>.
31216 (main): Call mtrace. Close all opened handles.
31217
f2092faf
AS
312182011-02-17 Andreas Schwab <schwab@redhat.com>
31219
31220 [BZ #12454]
31221 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31222 dependencies are missing.
31223
6c8a2e88
ST
312242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31225
f2092faf 31226 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31227 Hurd needs munmap.
31228 * sysdeps/mach/hurd/ifreq.h: New file.
31229
84a42118
PB
312302011-01-27 Petr Baudis <pasky@suse.cz>
31231 Ulrich Drepper <drepper@gmail.com>
31232
071f805e 31233 [BZ 12445]#
84a42118
PB
31234 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31235 to extend_alloca().
31236 * stdio-common/bug23.c: New file.
31237 * stdio-common/Makefile (tests): Add bug23.
31238
e23fe25b
AS
312392010-09-28 Andreas Schwab <schwab@redhat.com>
31240 Ulrich Drepper <drepper@gmail.com>
31241
31242 [BZ #12489]
31243 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31244 before performing relro protection. At old place add assertion
31245 to make sure nothing changed.
31246
d3f02e10
NS
312472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31248 Glauber de Oliveira Costa <glommer@gmail.com>
31249
31250 * elf/elf.h: Add new ARM TLS relocs.
31251
d55fd7a5
RA
312522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31253
31254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31255 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31256 cast from r3.
31257 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31258 'tests' variable.
31259 * sysdeps/wordsize-64/tst-writev.c: New file.
31260
2206397e
RA
312612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31262
31263 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31264 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31265 insns in _dl_start to prevent a TOC reference before relocs are
31266 resolved.
31267
e9433893
UD
312682011-02-15 Ulrich Drepper <drepper@gmail.com>
31269
31270 [BZ #12469]
31271 * Makeconfig: Remove RANLIB definition.
31272 * Makerules: Don't use RANLIB.
31273 * aclocal.m4: Remove ranlib test.
31274 * configure.in: No need to check for ranlib.
31275 * elf/rtld-Rules: Don't use RANLIB.
31276
f75286c6
ST
312772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31278
8e31c82d
ST
31279 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31280 protection macro.
31281 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31282 inclusion protection macro.
31283
f75286c6
ST
31284 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31285 SIGRTMIN and SIGRTMAX and print information in that case only when
31286 SIGRTMIN is defined.
31287
c1d0e639
JJ
312882011-02-11 Jakub Jelinek <jakub@redhat.com>
31289
31290 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31291 arginfo fn returning -1.
31292
31293 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31294 and thousands string is zero terminated.
31295
edf9294e
AS
312962011-02-03 Andreas Schwab <schwab@redhat.com>
31297
31298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31299 sysdeps/unix/sysv/linux/bits/socket.h.
31300
2b7e92df
ST
313012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31302
edf9294e
AS
31303 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31304 (__CPU_COUNT): Remove old macros.
31305 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31306 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31307 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31308 (__sched_cpualloc, __sched_cpufree): Add declarations.
31309
a4c7ea7b
UD
313102011-02-05 Ulrich Drepper <drepper@gmail.com>
31311
31312 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31313 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31314 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31315 (readdhstai): Return value of addhstaiX call.
31316 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31317 (addgrbyX): Return value returned by cache_addgr.
31318 (readdgrbyname): Return value returned by addgrbyX.
31319 (readdgrbygid): Likewise.
31320 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31321 (addpwbyX): Return value returned by cache_addpw.
31322 (readdpwbyname): Return value returned by addhstbyX.
31323 (readdpwbyuid): Likewise.
31324 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31325 (addservbyX): Return value returned by cache_addserv.
31326 (readdservbyname): Return value returned by addservbyX:
31327 (readdservbyport): Likewise.
31328 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31329 (addhstbyX): Return value returned by cache_addhst.
31330 (readdhstbyname): Return value returned by addhstbyX.
31331 (readdhstbyaddr): Likewise.
31332 (readdhstbynamev6): Likewise.
31333 (readdhstbyaddrv6): Likewise.
31334 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31335 (readdinitgroups): Return value returned by addinitgroupsX.
31336 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31337 (prune_cache): Keep track of timeout value of re-added entries.
31338 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31339 * nscd/nscd.h: Adjust prototypes of readd* functions.
31340
a0bf67cc
RM
313412011-02-04 Roland McGrath <roland@redhat.com>
31342
31343 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31344 (nis_stats): Likewise.
31345 * nis/nis_modify.c (nis_modify): Likewise.
31346 * nis/nis_remove.c (nis_remove): Likewise.
31347 * nis/nis_add.c (nis_add): Likewise.
31348
31349 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31350
31351 * posix/fnmatch_loop.c: Add some consts.
31352
31353 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31354
435b95eb
L
313552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31356
31357 [BZ #12460]
31358 * config.make.in (config-cflags-novzeroupper): Define.
31359 * configure.in: Substitute libc_cv_cc_novzeroupper.
31360 * elf/Makefile (AVX-CFLAGS): Define.
31361 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31362 (CFLAGS-tst-auditmod4a.c): Likewise.
31363 (CFLAGS-tst-auditmod4b.c): Likewise.
31364 (CFLAGS-tst-auditmod6b.c): Likewise.
31365 (CFLAGS-tst-auditmod6c.c): Likewise.
31366 (CFLAGS-tst-auditmod7b.c): Likewise.
31367 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31368
8517b15e
UD
313692011-02-02 Ulrich Drepper <drepper@gmail.com>
31370
31371 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31372 function to the callback.
31373 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31374
10a656fe
AS
313752011-02-02 Andreas Schwab <schwab@redhat.com>
31376
31377 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31378 of errno.
31379
968dad0a
UD
313802011-01-19 Ulrich Drepper <drepper@gmail.com>
31381
9f94d2ea 31382 [BZ #11724]
968dad0a
UD
31383 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31384 of constructors.
31385 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31386 of destructors.
31387 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31388
31389 [BZ #11724]
31390 * elf/Makefile: Add rules to build and run new test.
31391 * elf/tst-initorder.c: New file.
31392 * elf/tst-initorder.exp: New file.
31393 * elf/tst-initordera1.c: New file.
31394 * elf/tst-initordera2.c: New file.
31395 * elf/tst-initordera3.c: New file.
31396 * elf/tst-initordera4.c: New file.
31397 * elf/tst-initorderb1.c: New file.
31398 * elf/tst-initorderb2.c: New file.
31399 * elf/tst-order-a1.c: New file.
31400 * elf/tst-order-a2.c: New file.
31401 * elf/tst-order-a3.c: New file.
31402 * elf/tst-order-a4.c: New file.
31403 * elf/tst-order-b1.c: New file.
31404 * elf/tst-order-b2.c: New file.
31405 * elf/tst-order-main.c: New file.
31406 New test case by George Gensure <werkt0@gmail.com>.
31407
86e92359
UD
314082010-10-01 Andreas Schwab <schwab@redhat.com>
31409
31410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31411 decoding ACE if AI_CANONIDN.
31412
5d5732b0
UD
314132011-01-18 Ulrich Drepper <drepper@gmail.com>
31414
31415 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31416
a77e8cbc
UD
314172011-01-17 Ulrich Drepper <drepper@gmail.com>
31418
6392473f
UD
31419 * version.h (RELEASE): Bump for 2.13 release.
31420 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31421
620a0529
UD
31422 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31423
18ba70a5
UD
31424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31425 MADV_NOHUGEPAGE.
32465c3e
UD
31426 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31432
c0dafcf1
UD
31433 * posix/getconf.c: Update copyright year.
31434 * catgets/gencat.c: Likewise.
31435 * csu/version.c: Likewise.
31436 * debug/catchsegv.sh: Likewise.
31437 * debug/xtrace.sh: Likewise.
31438 * elf/ldconfig.c: Likewise.
31439 * elf/ldd.bash.in: Likewise.
31440 * elf/sprof.c (print_version): Likewise.
31441 * iconv/iconv_prog.c: Likewise.
31442 * iconv/iconvconfig.c: Likewise.
31443 * locale/programs/locale.c: Likewise.
31444 * locale/programs/localedef.c: Likewise.
31445 * malloc/memusage.sh: Likewise.
31446 * malloc/mtrace.pl: Likewise.
31447 * nscd/nscd.c (print_version): Likewise.
31448 * nss/getent.c: Likewise.
31449
a77e8cbc
UD
31450 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31451 PF_CAIF, and PF_ALG.
31452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31453
77e8bddf
AS
314542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31455
1f20b93a
AS
31456 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31457 (modules-names): Use them.
31458 (ifunc-test-modules, ifunc-pie-tests): Define.
31459 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31460 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31461 (test-extras): Likewise.
31462 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31463 $(compile-command.c).
31464 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31465 (all-built-dso): Define.
31466 (check-textrel.out, check-execstack.out): Depend on it.
31467
77e8bddf
AS
31468 * configure.in: Don't override --enable-multi-arch.
31469
bc425b33
UD
314702011-01-15 Ulrich Drepper <drepper@gmail.com>
31471
31472 [BZ #6812]
31473 * nscd/hstcache.c (tryagain): Define.
31474 (cache_addhst): Return tryagain not notfound for temporary errors.
31475 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31476 failed.
31477
794c3ad3
UD
314782011-01-14 Ulrich Drepper <drepper@gmail.com>
31479
70181fdd
UD
31480 [BZ #10563]
31481 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31482 to make the syscall.
31483 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31484
794c3ad3
UD
31485 [BZ #12378]
31486 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31487 and fall back to matching as normal character if the string ends before
31488 the matching ']' is found. This is what POSIX requires.
31489 * posix/testfnm.c: Adjust test result.
31490 * posix/globtest.sh: Adjust test result. Add new test.
31491 * posix/tst-fnmatch.input: Likewise.
31492 * posix/tst-fnmatch2.c: Add new test.
31493
68dc9497
AS
314942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31495
31496 * elf/Makefile (check-execstack): Revert last change. Depend on
31497 check-execstack.h.
31498 (check-execstack.h): New target.
31499 (generated): Add check-execstack.h.
31500 * elf/check-execstack.c: Include "check-execstack.h".
31501 (main): Revert last change.
31502 (handle_file): Return zero if GNU_STACK is absent and
31503 DEFAULT_STACK_PERMS doesn't include PF_X.
31504
451f001b
UD
315052011-01-13 Ulrich Drepper <drepper@gmail.com>
31506
cfa28e56
UD
31507 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31508 in child fails because the descriptor is already closed.
8cf8ce17
UD
31509 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31510 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31512
1086d70d
UD
31513 [BZ #12397]
31514 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31515 syscall.
31516
451f001b
UD
31517 [BZ #10484]
31518 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31519 temporary buffer used to handle multi lookups locally.
a85b5cb4 31520 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31521
08769175
UD
315222011-01-12 Ulrich Drepper <drepper@gmail.com>
31523
31524 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31525 loader is ld.so.
31526
5e49c52e
UD
315272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31528
31529 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31530 alignment for SSE2.
31531
60522a5f
UD
315322011-01-12 Ulrich Drepper <drepper@gmail.com>
31533
31534 [BZ #12394]
31535 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31536 characters. When rounding increased number of integer digits recompute
31537 number of groups.
31538 * stdio-common/tst-grouping.c: New file.
31539 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31540
f257bbd7
UD
315412011-01-09 Ulrich Drepper <drepper@gmail.com>
31542
31543 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31544 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31545
31546 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31547 void.
31548 * bits/select.h: Likewise.
31549
fa9c15cb
UD
315502011-01-08 Ulrich Drepper <drepper@gmail.com>
31551
31552 * po/ja.po: Update from translation team.
31553
16c2895f
DM
315542011-01-04 David S. Miller <davem@sunset.davemloft.net>
31555
31556 [BZ #11155]
31557 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31558 implementation just like for lxstat, fxstatat, et al.
31559
2543fef2
JM
315602010-12-27 Jim Meyering <meyering@redhat.com>
31561
31562 [BZ #12348]
31563 * posix/regexec.c (build_trtable): Return failure indication upon
31564 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31565
98727dbe
UD
315662010-12-25 Ulrich Drepper <drepper@gmail.com>
31567
5bd6dc5c
UD
31568 [BZ #12201]
31569 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31570 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31571 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31572 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31573
97983464
UD
31574 [BZ #12207]
31575 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31576
98727dbe
UD
31577 [BZ #12204]
31578 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31579 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31580
4a531bb0
L
315812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31582
31583 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31584 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31585 script has SORT_BY_INIT_PRIORITY.
31586 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31587 NO_CTORS_DTORS_SECTIONS is defined.
31588 * elf/soinit.c: Likewise.
31589 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31590 NO_CTORS_DTORS_SECTIONS is defined.
31591 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31592 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31593 * sysdeps/sh/init-first.c: Likewise.
31594 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31595
07eb4b71
UD
315962010-12-24 Ulrich Drepper <drepper@gmail.com>
31597
31598 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31599 always use the slow path.
31600
30950a5f
RA
316012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31602
31603 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31604 similar rule which adds the sysdep directories to the header search in
31605 order to pick up the correct platform stackinfo.h.
31606 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31607 perform test if it is, otherwise return successfully without testing.
31608 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31609 DEFAULT_STACK_PERMS define in stackinfo.h.
31610 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31611 defined in stackinfo.h.
31612 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31613 DEFAULT_STACK_PERMS defined in stackinfo.h.
31614 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31615 * sysdeps/ia64/stackinfo.h: Likewise.
31616 * sysdeps/s390/stackinfo.h: Likewise.
31617 * sysdeps/sh/stackinfo.h: Likewise.
31618 * sysdeps/sparc/stackinfo.h: Likewise.
31619 * sysdeps/x86_64/stackinfo.h: Likewise.
31620 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31621 PF_X for powerpc64. Retain PF_X for powerpc32.
31622
db753e2c
UD
316232010-12-19 Ulrich Drepper <drepper@gmail.com>
31624
14b697f7
UD
31625 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31626 accurately.
db753e2c
UD
31627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31628 GETDENTS_64BIT_ALIGNED.
31629
28300719
UD
316302010-12-14 Ulrich Drepper <dreper@gmail.com>
31631
14b697f7 31632 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31633
4f197237
AS
316342010-12-10 Andreas Schwab <schwab@redhat.com>
31635
dbb0472f
AS
31636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31637 _GNU_SOURCE.
31638
4f197237
AS
31639 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31640 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31641 Remove __restrict.
31642 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31643 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31644
fb88ac72
UD
316452010-12-09 Ulrich Drepper <drepper@gmail.com>
31646
31647 [BZ #11655]
31648 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31649 are initialized.
31650
42acbb92
JJ
316512010-12-09 Jakub Jelinek <jakub@redhat.com>
31652
31653 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31654
c038d98d
UD
316552010-12-03 Ulrich Drepper <drepper@gmail.com>
31656
31657 * po/it.po: Update from translation team.
31658
3a4a2499
L
316592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31660
31661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31662 unused codes.
31663
1e24cf6e
UD
316642010-11-30 Ulrich Drepper <drepper@gmail.com>
31665
31666 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31667
a7690819
AS
316682010-11-24 Andreas Schwab <schwab@redhat.com>
31669
31670 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31671 specially.
31672 (gaih_getanswer_slice): Likewise.
31673
3bf8d1b1
JJ
316742010-10-20 Jakub Jelinek <jakub@redhat.com>
31675
31676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31677
6db52fbb
PB
316782010-05-31 Petr Baudis <pasky@suse.cz>
31679
31680 [BZ #11149]
31681 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31682 silently even in the chroot mode.
31683
eaca7569
UD
316842010-11-22 Ulrich Drepper <drepper@gmail.com>
31685
31686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31687 last patch a bit. Pretty printing
31688
3056dcdb
UD
316892010-05-31 Petr Baudis <pasky@suse.cz>
31690
31691 [BZ #10085]
31692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31693 initialization of skip_initgroups_dyn.
31694
cf7c9078
UD
316952010-11-19 Ulrich Drepper <drepper@gmail.com>
31696
31697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31699
a1fb5e3e
UD
317002010-11-16 Ulrich Drepper <drepper@gmail.com>
31701
31702 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31703
3540d66b
AS
317042010-11-11 Andreas Schwab <schwab@redhat.com>
31705
31706 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31707 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31708 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31709 ($(objpfx)tst-fnmatch-mem): New rule.
31710 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31711 * posix/tst-fnmatch.c (main): Call mtrace.
31712
13b69574
L
317132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31716 Support Intel processor model 6 and model 0x2c.
31717
da93d214
LM
317182010-11-10 Luis Machado <luisgpm@br.ibm.com>
31719
31720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31721 signed comparison.
31722
8ca52c6e
L
317232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31724
31725 [BZ #12205]
31726 * string/test-strncasecmp.c (check_result): New function.
31727 (do_one_test): Use it.
31728 (check1): New function.
31729 (test_main): Use it.
31730 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31731 Support strcasecmp and strncasecmp.
31732
69da074d
UD
317332010-11-08 Ulrich Drepper <drepper@gmail.com>
31734
31735 [BZ #12194]
31736 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31738
ff02d528
L
317392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31740
31741 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31742 IFUNC support.
31743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31744 memset-x86-64.
31745 * sysdeps/x86_64/multiarch/bzero.S: New file.
31746 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31747 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31748 * sysdeps/x86_64/multiarch/memset.S: New file.
31749 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31751 Set bit_Prefer_SSE_for_memop for Intel processors.
31752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31753 Define.
31754 (index_Prefer_SSE_for_memop): Define.
31755 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31756
344d0b54
LM
317572010-11-04 Luis Machado <luisgpm@br.ibm.com>
31758
31759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31760 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31761
c0dde15b
UD
317622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31763
31764 [BZ #12191]
31765 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31766 (__x86_64_raw_data_cache_size_half): Likewise.
31767 (__x86_64_raw_shared_cache_size): Likewise.
31768 (__x86_64_raw_shared_cache_size_half): Likewise.
31769
31770 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31771 (__x86_64_raw_data_cache_size_half): Likewise.
31772 (__x86_64_raw_shared_cache_size): Likewise.
31773 (__x86_64_raw_shared_cache_size_half): Likewise.
31774 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31775 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31776 and __x86_64_raw_shared_cache_size_half. Round
31777 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31778 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31779 to multiple of 256 bytes.
31780
0e516e0e
MS
317812010-11-03 Ulrich Drepper <drepper@gmail.com>
31782
31783 [BZ #12167]
31784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31785 of inacessible symlinks. Verify result of symlink before returning it.
31786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31787 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31788
0e012e87
ER
317892010-10-28 Erich Ritz <erichritz@gmail.com>
31790
31791 * math/math.h (isinf): Fix typo in comment.
31792
de0ff7bc
UD
317932010-11-01 Ulrich Drepper <drepper@gmail.com>
31794
31795 * po/da.po: Update from translation team.
31796
fa41c84d
UD
317972010-10-26 Ulrich Drepper <drepper@gmail.com>
31798
31799 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31800 is added to the list.
31801
f0967738
AK
318022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31803 Ulrich Drepper <drepper@gmail.com>
31804
31805 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31806 the global list here. Move code to...
31807 (_dl_add_to_namespace_list): ...here. New function.
31808 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31809 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31810 * elf/dl-load.c (lose): Don't remove the element from the list.
31811 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31812 (_dl_map_object): Likewise.
31813
318142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31815
31816 [BZ #12159]
31817 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31818 into all bytes of SSE register.
31819 Patch by Richard Li <richardpku@gmail.com>.
31820
f0967738 318212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31822
31823 [BZ #12140]
31824 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31825 perturbing.
31826
d0b9e94f
MB
318272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31828
31829 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31830 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31832 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31834 submachine.
31835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31836
8e9f92e9
AS
318372010-10-22 Andreas Schwab <schwab@redhat.com>
31838
31839 * include/dlfcn.h (__RTLD_SECURE): Define.
31840 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31841 mode & __RTLD_SECURE instead.
31842 (open_path): Rename preloaded parameter to secure.
31843 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31844 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31845 * elf/dl-deps.c (openaux): Likewise.
31846 * elf/rtld.c (struct map_args): Remove is_preloaded.
31847 (map_doit): Don't use it.
31848 (dl_main): Likewise.
31849 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31850 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31851
bc96fbda
AS
318522010-09-09 Andreas Schwab <schwab@redhat.com>
31853
31854 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31855 (sysd-rules-targets): Remove duplicates.
31856 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31857 rtld-%.$o dependency.
31858
22cd1c9b
AS
318592010-10-18 Andreas Schwab <schwab@redhat.com>
31860
31861 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31862 _dl_map_object do it.
31863
18edac48
UD
318642010-10-19 Ulrich Drepper <drepper@gmail.com>
31865
31866 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31867 fast fma builtins, define the macros in the C99 standard.
31868 (FP_FAST_FMAF): Likewise.
31869 (FP_FAST_FMAL): Likewise.
31870 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31871
31872 * bits/mathdef.h: Update copyright year.
31873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31874
d2050124
MM
318752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31876
31877 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31878 builtins, define the macros in the C99 standard.
31879 (FP_FAST_FMAF): Likewise.
31880 (FP_FAST_FMAL): Likewise.
31881 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31882 multiply/add.
31883 (FP_FAST_FMAF): Likewise.
31884
475facd1
JJ
318852010-10-15 Jakub Jelinek <jakub@redhat.com>
31886
31887 [BZ #3268]
31888 * math/libm-test.inc (fma_test): Some new testcases.
31889 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31891 y and infinite z. Do multiplication by C already in long double.
31892 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31894 y and infinite z. Do bitwise or of inexact bit into u.d.
31895 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31896 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31897 * sysdeps/i386/fpu/s_fma.S: Removed.
31898 * sysdeps/i386/fpu/s_fmal.S: Removed.
31899
7c08a05c
JJ
319002010-10-16 Jakub Jelinek <jakub@redhat.com>
31901
31902 [BZ #3268]
31903 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31905 computation is not scheduled after fetestexcept. Fix value
31906 of minimum denormal long double.
31907
f3f7372d
JJ
319082010-10-14 Jakub Jelinek <jakub@redhat.com>
31909
31910 [BZ #3268]
31911 * math/libm-test.inc (fma_test): Add some more tests.
31912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31913 correctly.
31914
14d43591
AS
319152010-10-15 Andreas Schwab <schwab@redhat.com>
31916
31917 * scripts/data/localplt-s390-linux-gnu.data: New file.
31918 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31919
5e908464
JJ
319202010-10-13 Jakub Jelinek <jakub@redhat.com>
31921
31922 [BZ #3268]
31923 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31924 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31925 instead of dbl-64.
31926 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31927 inlines.
31928 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31930 if one of x and y is very large and the other is subnormal.
31931 * sysdeps/s390/fpu/s_fmaf.c: New file.
31932 * sysdeps/s390/fpu/s_fma.c: New file.
31933 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31934 * sysdeps/powerpc/fpu/s_fma.S: New file.
31935 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31938
319392010-10-12 Jakub Jelinek <jakub@redhat.com>
31940
31941 [BZ #3268]
31942 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31943 fma tests.
31944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31945 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31946 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31947 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31948 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31949 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31950 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31951
b833d51f
UD
319522010-10-12 Ulrich Drepper <drepper@redhat.com>
31953
31954 [BZ #12078]
31955 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31956 * posix/bug-regex31.input: Add test case.
31957
1751705d
UD
319582010-10-11 Ulrich Drepper <drepper@gmail.com>
31959
e9b9cbf5
UD
31960 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31961 * posix/bug-regex31.input: New file.
31962
31963 [BZ #12078]
31964 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31965 (parse_sub_exp): Fix last change, use postorder.
31966
ef06edbe
UD
31967 * posix/bug-regex31.c: New file.
31968 * posix/Makefile: Add rules to build and run bug-regex31.
31969
a129c80d
UD
31970 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31971
31972 [BZ #12078]
31973 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31974
b76b818e
UD
31975 [BZ #12108]
31976 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31977 to have entries in sys_siglist.
31978
1751705d
UD
31979 [BZ #12093]
31980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31981 be NULL.
31982
9ff8d36f
JJ
319832010-10-07 Jakub Jelinek <jakub@redhat.com>
31984
31985 [BZ #3268]
31986 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31987 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31989 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31991 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31992 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31993 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31994 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31995 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31996 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31997 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31999 * math/ftestexcept.c (fetestexcept): Likewise.
32000 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32001 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32002 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32004 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32005 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32007
af325969
UD
320082010-10-11 Ulrich Drepper <drepper@gmail.com>
32009
c579b202 32010 [BZ #12107]
af325969
UD
32011 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32012 newline.
32013
67a67b95
UD
320142010-10-06 Ulrich Drepper <drepper@gmail.com>
32015
32016 * string/bug-strstr1.c: New file.
32017 * string/Makefile: Add rules to build and run bug-strstr1.
32018
5fb308bc
EB
320192010-10-05 Eric Blake <eblake@redhat.com>
32020
32021 [BZ #12092]
32022 * string/str-two-way.h (two_way_long_needle): Always clear memory
32023 when skipping input due to the shift table.
32024
45db99c7
UD
320252010-10-03 Ulrich Drepper <drepper@gmail.com>
32026
3b111893
UD
32027 [BZ #12005]
32028 * malloc/mcheck.c: Handle large requests.
32029
45db99c7
UD
32030 [BZ #12077]
32031 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32032 for strncmp and strncasecmp.
32033 * string/stratcliff.c: Add tests for strcmp and strncmp.
32034 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32035
cf7a1eb8
NI
320362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32037
32038 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32039 __set_fpscr.
32040
6484ba5e
AJ
320412010-09-30 Andreas Jaeger <aj@suse.de>
32042
32043 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32044 (CGROUP_SUPER_MAGIC): Define.
32045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32046 Handle btrfs and cgroup file systems.
32047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32048 Likewise.
32049
91c42559
LM
320502010-09-27 Luis Machado <luisgpm@br.ibm.com>
32051
32052 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32053 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32054
87a97932
AK
320552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32056
32057 [BZ #12067]
32058 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32059 trying to locate the ELF header.
32060
c21cc9bc
AS
320612010-09-27 Andreas Schwab <schwab@redhat.com>
32062
32063 [BZ #11611]
32064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32065 Mask out sign-bit copies when constructing f_fsid.
32066
315970f6
PB
320672010-09-24 Petr Baudis <pasky@suse.cz>
32068
32069 * debug/stack_chk_fail_local.c: Add missing licence exception.
32070 * debug/warning-nop.c: Likewise.
32071
1ac7a2c7
JM
320722010-09-15 Joseph Myers <joseph@codesourcery.com>
32073
32074 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32075 implementing getdents64 using getdents syscall, set d_type if
32076 __ASSUME_GETDENTS32_D_TYPE.
32077
56801c50
AS
320782010-09-16 Andreas Schwab <schwab@redhat.com>
32079
32080 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32081 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32082
dda51327
UD
320832010-09-21 Ulrich Drepper <drepper@redhat.com>
32084
32085 [BZ #12037]
32086 * posix/unistd.h: Undo change of feature selection for ftruncate from
32087 2010-01-11.
32088
8ffcee4a
UD
320892010-09-20 Ulrich Drepper <drepper@redhat.com>
32090
a545ecd9 32091 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32092 detection.
32093
e24f0a8b
AS
320942010-09-20 Andreas Schwab <schwab@redhat.com>
32095
32096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32097 fanotify_mark.
32098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32099
7291c56f
AS
321002010-09-14 Andreas Schwab <schwab@redhat.com>
32101
32102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32103 variables after CHECK_SP call.
32104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32105
bc5fb037
AS
321062010-09-13 Andreas Schwab <schwab@redhat.com>
32107 Ulrich Drepper <drepper@redhat.com>
32108
32109 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32110 re-relocationg ld.so.
32111 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32112 _dl_init_paths call.
32113 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32114 here anymore.
32115
e66e7419
UD
321162010-09-14 Ulrich Drepper <drepper@redhat.com>
32117
32118 * resolv/res_init.c (__res_vinit): Count the default server we added.
32119
c044aa75
CLT
321202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32121 Ulrich Drepper <drepper@redhat.com>
32122
32123 [BZ #11968]
32124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32125 (____longjmp_chk): Use %ebx for saving value across system call.
32126 Add unwind info.
32127
32cf4069
AS
321282010-09-06 Andreas Schwab <schwab@redhat.com>
32129
32130 * manual/Makefile: Don't mix pattern rules with normal rules.
32131
817328ee
AS
321322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32133
32134 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32135 operation.
32136 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32137 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32138 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32139 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32141 Likewise.
32142
29fddf61
UD
321432010-09-04 Ulrich Drepper <drepper@redhat.com>
32144
32145 [BZ #11979]
32146 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32147 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32148
0959ffc9
UD
321492010-09-02 Ulrich Drepper <drepper@redhat.com>
32150
32151 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32152 * sysdeps/x86_64/addmul_1.S: Likewise.
32153 * sysdeps/x86_64/lshift.S: Likewise.
32154 * sysdeps/x86_64/mul_1.S: Likewise.
32155 * sysdeps/x86_64/rshift.S: Likewise.
32156 * sysdeps/x86_64/sub_n.S: Likewise.
32157 * sysdeps/x86_64/submul_1.S: Likewise.
32158
ece29840
ST
321592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32160
0959ffc9
UD
32161 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32162 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32163 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32164 * bits/sched.h [__need_schedparam]
ece29840 32165 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32166 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32167 (__defined_schedparam): Define to 1.
ece29840
ST
32168 (__sched_param): New structure, identical to sched_param.
32169 (__need_schedparam): Undefine.
32170
e53a31fe
MF
321712010-08-31 Mike Frysinger <vapier@gentoo.org>
32172
fdc0c10d
MF
32173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32174 (epoll_create1): Declare.
32175
e53a31fe
MF
32176 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32177
a726d796
AS
321782010-08-31 Andreas Schwab <schwab@redhat.com>
32179
32180 [BZ #7066]
32181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32182 shifting retval into place.
32183
2f3e3dc7
UD
321842010-09-01 Ulrich Drepper <drepper@redhat.com>
32185
f2933da9
UD
32186 * nis/rpcsvc/nis.h: Update copyright notice.
32187 * nis/rpcsvc/nis.x: Likewise.
32188 * nis/rpcsvc/nis_callback.h: Likewise.
32189 * nis/rpcsvc/nis_callback.x: Likewise.
32190 * nis/rpcsvc/nis_object.x: Likewise.
32191 * nis/rpcsvc/nis_tags.h: Likewise.
32192 * nis/rpcsvc/yp.h: Likewise.
32193 * nis/rpcsvc/yp.x: Likewise.
32194 * nis/rpcsvc/ypupd.h: Likewise.
32195 * nis/yp_xdr.c: Likewise.
32196 * nis/ypupdate_xdr.c: Likewise.
32197
2f3e3dc7
UD
32198 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32199 mainly the body of pmap_getport. Add parameters to specify timeouts.
32200 (pmap_getport): Use __libc_rpc_getport.
32201 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32202 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32203 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32204
f3dcc2f9
AS
322052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32206
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32208 fanotify_mark.
32209
6d34eb5b
RM
322102010-08-27 Roland McGrath <roland@redhat.com>
32211
32212 * sysdeps/i386/i686/multiarch/Makefile
32213 (CFLAGS-varshift.c): New variable.
32214
9ea3de11
UD
322152010-08-27 Ulrich Drepper <drepper@redhat.com>
32216
c96d23fc
UD
32217 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32218 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32219
9ea3de11
UD
32220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32221
32222 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32223
623aac7f
L
322242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32225
32226 * sysdeps/x86_64/strlen.S: Unroll the loop.
32227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32228 strlen-sse2 strlen-sse2-bsf.
32229 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32230 __strlen_no_bsf if bit_Slow_BSF is set.
32231 (__strlen_sse42): Removed.
32232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32233 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32234
8b2b7715
RM
322352010-08-25 Roland McGrath <roland@redhat.com>
32236
32237 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32238 * sysdeps/x86_64/multiarch/varshift.c: New file.
32239 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32240 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32241 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32243
e73015f2
L
322442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32245
32246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32247 strlen-sse2 strlen-sse2-bsf.
32248 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32249 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32250 (__strlen_sse2): Removed.
32251 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32254 bit_Slow_BSF for Atom.
32255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32256 (index_Slow_BSF): Define.
32257 (HAS_SLOW_BSF): Define.
32258
df24a73e
UD
322592010-08-25 Ulrich Drepper <drepper@redhat.com>
32260
32261 [BZ #10851]
32262 * resolv/res_init.c (__res_vinit): When no server address at all
32263 is given default to loopback.
32264
f2ac4868
RM
322652010-08-24 Roland McGrath <roland@redhat.com>
32266
09055553
RM
32267 * configure.in: Remove config-name.h generation.
32268 * configure: Regenerated.
32269 * config-name.in: File removed.
32270 * scripts/config-uname.sh: New file.
32271 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32272 ($(objdir)config-name.h): New target.
32273
f2ac4868
RM
32274 * sunrpc/rpc_parse.h: Avoid nested comment.
32275
73f27d5e
RH
322762010-08-24 Richard Henderson <rth@redhat.com>
32277 Ulrich Drepper <drepper@redhat.com>
32278 H.J. Lu <hongjiu.lu@intel.com>
32279
32280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32282 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32283 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32284 _mm_alignr_epi8 with _mm_loadu_si128.
32285 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32286 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32287 (__m128i_shift_right): Removed.
32288 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32289 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32290 * sysdeps/x86_64/multiarch/varshift.h: New file.
32291 * sysdeps/x86_64/multiarch/varshift.S: New file.
32292
84b9230c
MF
322932010-08-21 Mike Frysinger <vapier@gentoo.org>
32294
32295 * configure.in: Move assembler checks to before sysdep dir checking.
32296
9bbd0ddc
PB
322972010-08-20 Petr Baudis <pasky@suse.cz>
32298
32299 * LICENSES: Sync the sunrpc license.
32300
9da4bb31
UD
323012010-08-19 Ulrich Drepper <drepper@redhat.com>
32302
a7ab6ec8
UD
32303 * sunrpc/auth_des.c: Update copyright notice once again.
32304 * sunrpc/auth_none.c: Likewise.
32305 * sunrpc/auth_unix.c: Likewise.
32306 * sunrpc/authdes_prot.c: Likewise.
32307 * sunrpc/authuxprot.c: Likewise.
32308 * sunrpc/bindrsvprt.c: Likewise.
32309 * sunrpc/clnt_gen.c: Likewise.
32310 * sunrpc/clnt_perr.c: Likewise.
32311 * sunrpc/clnt_raw.c: Likewise.
32312 * sunrpc/clnt_simp.c: Likewise.
32313 * sunrpc/clnt_tcp.c: Likewise.
32314 * sunrpc/clnt_udp.c: Likewise.
32315 * sunrpc/clnt_unix.c: Likewise.
32316 * sunrpc/des_crypt.c: Likewise.
32317 * sunrpc/des_soft.c: Likewise.
32318 * sunrpc/get_myaddr.c: Likewise.
32319 * sunrpc/getrpcport.c: Likewise.
32320 * sunrpc/key_call.c: Likewise.
32321 * sunrpc/key_prot.c: Likewise.
32322 * sunrpc/openchild.c: Likewise.
32323 * sunrpc/pm_getmaps.c: Likewise.
32324 * sunrpc/pm_getport.c: Likewise.
32325 * sunrpc/pmap_clnt.c: Likewise.
32326 * sunrpc/pmap_prot.c: Likewise.
32327 * sunrpc/pmap_prot2.c: Likewise.
32328 * sunrpc/pmap_rmt.c: Likewise.
32329 * sunrpc/rpc/auth.h: Likewise.
32330 * sunrpc/rpc/auth_unix.h: Likewise.
32331 * sunrpc/rpc/clnt.h: Likewise.
32332 * sunrpc/rpc/des_crypt.h: Likewise.
32333 * sunrpc/rpc/key_prot.h: Likewise.
32334 * sunrpc/rpc/netdb.h: Likewise.
32335 * sunrpc/rpc/pmap_clnt.h: Likewise.
32336 * sunrpc/rpc/pmap_prot.h: Likewise.
32337 * sunrpc/rpc/pmap_rmt.h: Likewise.
32338 * sunrpc/rpc/rpc.h: Likewise.
32339 * sunrpc/rpc/rpc_des.h: Likewise.
32340 * sunrpc/rpc/rpc_msg.h: Likewise.
32341 * sunrpc/rpc/svc.h: Likewise.
32342 * sunrpc/rpc/svc_auth.h: Likewise.
32343 * sunrpc/rpc/types.h: Likewise.
32344 * sunrpc/rpc/xdr.h: Likewise.
32345 * sunrpc/rpc_clntout.c: Likewise.
32346 * sunrpc/rpc_cmsg.c: Likewise.
32347 * sunrpc/rpc_common.c: Likewise.
32348 * sunrpc/rpc_cout.c: Likewise.
32349 * sunrpc/rpc_dtable.c: Likewise.
32350 * sunrpc/rpc_hout.c: Likewise.
32351 * sunrpc/rpc_main.c: Likewise.
32352 * sunrpc/rpc_parse.c: Likewise.
32353 * sunrpc/rpc_parse.h: Likewise.
32354 * sunrpc/rpc_prot.c: Likewise.
32355 * sunrpc/rpc_sample.c: Likewise.
32356 * sunrpc/rpc_scan.c: Likewise.
32357 * sunrpc/rpc_scan.h: Likewise.
32358 * sunrpc/rpc_svcout.c: Likewise.
32359 * sunrpc/rpc_tblout.c: Likewise.
32360 * sunrpc/rpc_util.c: Likewise.
32361 * sunrpc/rpc_util.h: Likewise.
32362 * sunrpc/rpcinfo.c: Likewise.
32363 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32364 * sunrpc/rpcsvc/key_prot.x: Likewise.
32365 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32366 * sunrpc/rpcsvc/mount.x: Likewise.
32367 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32368 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32369 * sunrpc/rpcsvc/rex.x: Likewise.
32370 * sunrpc/rpcsvc/rstat.x: Likewise.
32371 * sunrpc/rpcsvc/rusers.x: Likewise.
32372 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32373 * sunrpc/rpcsvc/spray.x: Likewise.
32374 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32375 * sunrpc/rtime.c: Likewise.
32376 * sunrpc/svc.c: Likewise.
32377 * sunrpc/svc_auth.c: Likewise.
32378 * sunrpc/svc_authux.c: Likewise.
32379 * sunrpc/svc_raw.c: Likewise.
32380 * sunrpc/svc_run.c: Likewise.
32381 * sunrpc/svc_simple.c: Likewise.
32382 * sunrpc/svc_tcp.c: Likewise.
32383 * sunrpc/svc_udp.c: Likewise.
32384 * sunrpc/svc_unix.c: Likewise.
32385 * sunrpc/svcauth_des.c: Likewise.
32386 * sunrpc/xcrypt.c: Likewise.
32387 * sunrpc/xdr.c: Likewise.
32388 * sunrpc/xdr_array.c: Likewise.
32389 * sunrpc/xdr_float.c: Likewise.
32390 * sunrpc/xdr_mem.c: Likewise.
32391 * sunrpc/xdr_rec.c: Likewise.
32392 * sunrpc/xdr_ref.c: Likewise.
32393 * sunrpc/xdr_sizeof.c: Likewise.
32394 * sunrpc/xdr_stdio.c: Likewise.
32395
9da4bb31
UD
32396 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32397 handling.
32398
bdaa77bc
AS
323992010-08-19 Andreas Schwab <schwab@redhat.com>
32400
32401 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32402
fe2f79db
LM
324032010-08-19 Luis Machado <luisgpm@br.ibm.com>
32404
32405 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32408 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32410 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32412 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32415 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32417 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32419
b9b42ee0
AB
324202010-07-26 Anton Blanchard <anton@samba.org>
32421
32422 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32423 * malloc/arena.c (heap_trim): Likewise.
32424
1c06ba31
UD
324252010-08-16 Ulrich Drepper <drepper@redhat.com>
32426
32427 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32428 here. Not...
32429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32430 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32431
f8392f40
L
324322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/i386/elf/Makefile: New file.
32435
3162f12e
AS
324362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32437
32438 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32439 from fanotify_init.
32440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32442
28c90b2c
UD
324432010-08-15 Ulrich Drepper <drepper@redhat.com>
32444
32445 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32446 of strncasecmp_l.
1feccb6c 32447 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32448
ca6bb004
UD
324492010-08-14 Ulrich Drepper <drepper@redhat.com>
32450
e9f82e0d
UD
32451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32452 strncase_l-nonascii.
32453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32454 Add strncase_l-ssse3.
32455 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32456 * sysdeps/x86_64/strcmp.S: Likewise.
32457 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32458 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32459 * sysdeps/x86_64/strncase.S: New file.
32460 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32461 * sysdeps/x86_64/strncase_l.S: New file.
32462 * string/Makefile (strop-tests): Add strncasecmp.
32463 * string/test-strncasecmp.c: New file.
32464
32465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32466 warning.
32467
ca6bb004
UD
32468 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32470
052fa7b3
AS
324712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32472
32473 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32474
962dba78
UD
324752010-08-12 Ulrich Drepper <drepper@redhat.com>
32476
32477 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32480
bebff237
AM
324812010-05-01 Alan Modra <amodra@gmail.com>
32482
32483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32484 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32485 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32486 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32487 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32488 tidying. Don't tail-call __sigjmp_save for static lib.
32489 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32490 save location.
32491 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32492 (CALL_MCOUNT): Add eh info, and nop after bl.
32493 (TAIL_CALL_SYSCALL_ERROR): New macro.
32494 (PSEUDO_RET): Use it.
32495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32496 Correct save location of integer regs and cr.
32497 (_dl_profile_resolve): Correct cr save location. Delete nops
32498 after bl when SHARED. Reduce cfi size a little by better
32499 placement of cfi directives.
32500 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32501 make a stack frame. Instead use parm save area as a temp.
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32503 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32505 Don't make a stack frame for parent, use parm save area.
32506 Increase child stack frame to 112 bytes. Don't save unused reg,
32507 and adjust reg usage. Set up cfi on error recovery and
32508 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32510 (__makecontext): Add dummy nop after jump to exit.
32511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32512 Use correct parm save area and cr save, reduce stack frame.
32513 Correct cfi for possible PSEUDO_RET frame setup.
32514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32515 Branch to local label emitted by PSEUDO_RET rather than
32516 __syscall_error.
32517
02637374
AS
325182010-08-12 Andreas Schwab <schwab@redhat.com>
32519
32520 [BZ #11904]
32521 * locale/programs/locale.c (print_assignment): New function.
32522 (show_locale_vars): Use it.
32523
c3e2f19b
UD
325242010-08-11 Ulrich Drepper <drepper@redhat.com>
32525
3cdaa6ad
UD
32526 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32527 field.
32528 (struct statfs64): Likewise.
32529 (_STATFS_F_FLAGS): Define.
32530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32532 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32533 (ST_VALID): Define locally.
32534 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32535 __statvfs_getflags, use the provided value.
32536 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32537 __ASSUME_STATFS_F_FLAGS.
32538
754f7da3
UD
32539 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32540
10b3bedc
UD
32541 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32542 Add sys/fanotify.h.
32543 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32544 fanotify_mask for GLIBC_2.13.
32545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32546 fanotify_init and fanotify_mark.
32547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32548 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32549
c08fb0d7
UD
32550 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32551 Add prlimit.
32552 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32553 prlimit64 for GLIBC_2.13.
32554 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32555 prlimit64.
32556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32557 syscall.
32558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32563 add prlimit alias.
32564 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32565
15bac72b
UD
32566 [BZ #11903]
32567 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32568 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32569
c3e2f19b
UD
32570 * nss/Makefile: Add rules to build and run tst-nss-test1.
32571 * shlib-versions: Add entry for libnss_test1.
32572 * nss/nss_test1.c: New file.
32573 * nss/tst-nss-test1.c: New file.
32574
32575 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32576 (__nss_configure_lookup): Set appropriate entry in
32577 __nss_configure_lookup to true.
32578 * nss/nsswitch.h: Define enum with indeces of databases in
32579 databases and __nss_database_custom arrays. Declare
32580 __nss_database_custom.
32581 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32582 to avoid using nscd when custom rules are installed.
32583 * nss/getXXbyYY_r.c: Likewise.
32584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32585
32586 * nss/nss_files/files-parse.c: Whitespace fixes.
32587
f15ce4d8
UD
325882010-08-09 Ulrich Drepper <drepper@redhat.com>
32589
32590 [BZ #11883]
32591 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32592 * posix/fnmatch_loop.c: Likewise.
32593
d22e4cc9
AK
325942010-07-17 Andi Kleen <ak@linux.intel.com>
32595
32596 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32597 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32598 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32599 * Versions.def [GLIBC_2.13]: Add.
32600
805bc17d
UD
326012010-08-06 Ulrich Drepper <drepper@redhat.com>
32602
32603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32604 Also fail if tpwd after pwuid call is NULL.
32605
5a42321d
ST
326062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32607
32608 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32609 when converting to ms.
32610
fd3ebeda
ST
326112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32612
32613 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32614 EOPNOTSUPP errors with ENOTTY.
32615 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32616 EOPNOTSUPP errors with ENOTTY.
32617
73507d3a
UD
326182010-07-31 Ulrich Drepper <drepper@redhat.com>
32619
32620 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32621 Add strcasecmp_l-ssse3.
32622 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32623 strcasecmp.
32624 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32627
fe36dd02
UD
326282010-07-30 Ulrich Drepper <drepper@redhat.com>
32629
66f6765a
UD
32630 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32631
42e08a54
UD
32632 * string/Makefile (strop-tests): Add strcasecmp.
32633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32634 strcasecmp_l-nonascii.
32635 (gen-as-const-headers): Add locale-defines.sym.
32636 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32637 * sysdeps/x86_64/strcasecmp.S: New file.
32638 * sysdeps/x86_64/strcasecmp_l.S: New file.
32639 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32640 * sysdeps/x86_64/locale-defines.sym: New file.
32641 * string/test-strcasecmp.c: New file.
32642
fe36dd02
UD
32643 * string/test-strcasestr.c: Test both ends of the range of characters.
32644 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32645
48cbc0d6
RM
326462010-07-29 Roland McGrath <roland@redhat.com>
32647
76e6d6bc 32648 [BZ #11856]
48cbc0d6
RM
32649 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32650
880113d9
UD
326512010-07-27 Ulrich Drepper <drepper@redhat.com>
32652
32653 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32654 for ld.so.
32655
deb9cabb
AS
326562010-07-27 Andreas Schwab <schwab@redhat.com>
32657
32658 * manual/memory.texi (Malloc Tunable Parameters): Document
32659 M_PERTURB.
32660
1c7570ff
RM
326612010-07-26 Roland McGrath <roland@redhat.com>
32662
32663 [BZ #11840]
32664 * configure.in (-fgnu89-inline check): Set and substitute
32665 gnu89_inline, not libc_cv_gnu89_inline.
32666 * configure: Regenerated.
32667 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32668
24fb0f88
UD
326692010-07-26 Ulrich Drepper <drepper@redhat.com>
32670
32671 * string/test-strnlen.c: New file.
32672 * string/Makefile (strop-tests): Add strnlen.
32673 * string/tester.c (test_strnlen): Add a few more test cases.
32674 * string/tst-strlen.c: Better error reporting.
32675
32676 * sysdeps/x86_64/strnlen.S: New file.
32677
8e96b93a
UD
326782010-07-24 Ulrich Drepper <drepper@redhat.com>
32679
32680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32681 lower-latency instructions.
32682
dbc676d4
UD
326832010-07-23 Ulrich Drepper <drepper@redhat.com>
32684
32685 * string/test-strcasestr.c: New file.
32686 * string/test-strstr.c: New file.
32687 * string/Makefile (strop-tests): Add strstr and strcasestr.
32688 * string/str-two-way.h: Don't undefine MAX.
32689 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32690
f6a31e0e
AS
326912010-07-21 Andreas Schwab <schwab@redhat.com>
32692
32693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32694 strcasestr-nonascii.
32695 (CFLAGS-strcasestr-nonascii.c): Define.
32696 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32698 Remove unused attribute.
32699
5dbc3b6c
RM
327002010-07-20 Roland McGrath <roland@redhat.com>
32701
32702 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32703 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32704 ld.so.cache was broken. With it, there is no way to disable dsocaps
32705 like LD_HWCAP_MASK can disable hwcaps.
32706
23d101d8
EPM
327072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32708
32709 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32710
cc9f2e47
UD
327112010-07-16 Ulrich Drepper <drepper@redhat.com>
32712
32713 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32714 call in strcasestr.
32715 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32716 __strcasestr_sse42_nonascii.
32717 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32718 strcasestr-nonascii.c.
32719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32720
77c1b069
LM
327212010-06-15 Luis Machado <luisgpm@br.ibm.com>
32722
32723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32727
440566c3
UD
327282010-07-09 Ulrich Drepper <drepper@redhat.com>
32729
32730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32731 fcntl.
32732
5be9d05d
AS
327332010-07-06 Andreas Schwab <schwab@redhat.com>
32734
c30b7ee2 32735 [BZ #11577]
5be9d05d
AS
32736 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32737 dl_signal_cerror.
32738
8a492a67
UD
327392010-07-06 Ulrich Drepper <drepper@redhat.com>
32740
32741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32742 _PC_PIPE_BUF using F_GETPIPE_SZ.
32743
713df3d5
RM
327442010-07-05 Roland McGrath <roland@redhat.com>
32745
32746 * manual/arith.texi (Rounding Functions): Fix rint description
32747 implicit in round description.
32748
702e8f14
UD
327492010-07-02 Ulrich Drepper <drepper@redhat.com>
32750
32751 * elf/Makefile: Fix linking for a few tests to make recent linker
32752 happy.
32753
52ed8be9
AS
327542010-06-30 Andreas Schwab <schwab@redhat.com>
32755
32756 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32757 $(common-objpfx)libc_nonshared.a.
32758
f47c9a11
LM
327592010-06-21 Luis Machado <luisgpm@br.ibm.com>
32760
32761 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32762 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32763 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32764 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32765 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32767 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32768 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32783 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32784 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32785 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32786 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32787 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32788 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32789 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32790 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32791 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32792 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32793 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32794 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32809
6fb8cbcb
L
328102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32811
32812 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32813 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32814 * string/memmove.c (memmove): Renamed to ...
32815 (MEMMOVE): ...this. Default to memmove.
32816 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32817 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32818 (END_CHK): Define.
32819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32820 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32821 mempcpy-ssse3-back memmove-ssse3-back.
32822 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32825 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32826 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32827 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32828 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32829 * sysdeps/x86_64/multiarch/memmove.c: New file.
32830 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32831 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32832 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32833 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32836 Define.
32837 (index_Fast_Copy_Backward): Define.
32838 (HAS_ARCH_FEATURE): Define.
32839 (HAS_FAST_REP_STRING): Define.
32840 (HAS_FAST_COPY_BACKWARD): Define.
32841
4e733bac 328422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32843
32844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32845 Restore proper fallback handling.
32846
63c4ed22
UD
328472010-06-19 Ulrich Drepper <drepper@redhat.com>
32848
ac2b484c
UD
32849 [BZ #11701]
32850 * posix/group_member.c (__group_member): Correct checking loop.
32851
63c4ed22
UD
32852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32853 OOM in getpwuid_r correctly. Return error number when the caller
32854 should return, otherwise -1.
32855 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32856 call returning > 0 value.
32857 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32858
765ade4b
AS
328592010-06-07 Andreas Schwab <schwab@redhat.com>
32860
32861 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32862 libc_nonshared.a from targets in modules-names.
32863
80da2e09
KS
328642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32865
32866 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32867 requires it.
32868
158db122
LM
328692010-06-10 Luis Machado <luisgpm@br.ibm.com>
32870
32871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32875
caa78cf8
AS
328762010-06-02 Andreas Schwab <schwab@redhat.com>
32877
32878 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32879
b2ef2c01
UD
328802010-06-14 Ulrich Drepper <drepper@redhat.com>
32881
32882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32883 and F_GETPIPE_SZ.
32884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32888 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32890
fbd643b6
RM
328912010-06-14 Roland McGrath <roland@redhat.com>
32892
32893 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32894
f32f2869
JJ
328952010-06-07 Jakub Jelinek <jakub@redhat.com>
32896
32897 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32898 __REDIRECT followed by __THROW.
32899 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32900 * posix/getopt.h (getopt): Likewise.
32901
2a50c078
EPM
329022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32903
32904 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32905 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32906 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32907 in AT_FLAGS.
32908 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32909 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32910
eb5ad2eb
LM
329112010-05-28 Luis Machado <luisgpm@br.ibm.com>
32912
32913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32914
3c88fe1e
L
329152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32916
32917 [BZ #11640]
32918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32919 Properly check family and model.
32920
d2f73151
TY
329212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32922
32923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32924
ebd2e13d
LM
329252010-05-24 Luis Machado <luisgpm@br.ibm.com>
32926
32927 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32928
b32b8b45
UD
329292010-05-21 Ulrich Drepper <drepper@redhat.com>
32930
32931 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32932 symbol reference.
32933
9acbe24d
AS
329342010-05-19 Andreas Schwab <schwab@redhat.com>
32935
32936 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32937 symbol reference.
32938
f0ccf6ea
AS
329392010-05-21 Andreas Schwab <schwab@redhat.com>
32940
3d04ff3a
AS
32941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32942 and internal_recvmmsg.
32943 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32944 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32945 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32946 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32947
f0ccf6ea
AS
32948 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32951
5b08ac57
AS
329522010-05-20 Andreas Schwab <schwab@redhat.com>
32953
32954 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32955
4828935d
LM
329562010-05-17 Luis Machado <luisgpm@br.ibm.com>
32957
32958 POWER7 optimizations.
32959 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32960 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32961
373d545e
UD
329622010-05-19 Ulrich Drepper <drepper@redhat.com>
32963
32964 * version.h: Update for 2.13 development version.
32965
21a2b1ae
AS
329662010-05-12 Andrew Stubbs <ams@codesourcery.com>
32967
32968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32969 exceptions. Return 0.
32970
3f7dcb2b
RM
329712010-05-07 Roland McGrath <roland@redhat.com>
32972
32973 * elf/ldconfig.c (main): Add a const.
32974
5f24d53a 329752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32976
a160f8d8
UD
32977 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32978 (args_options): Add no-idn option.
32979 (ahosts_keys_int): Add idn_flags to ai_flags.
32980 (parse_option): Handle 'i' option to clear idn_flags.
32981
5f24d53a
UD
32982 * malloc/malloc.c (_int_free): Possible race in the most recently
32983 added check. Only act on the data if no current modification
32984 happened.
265bb1ce
UD
32985
32986See ChangeLog.17 for earlier changes.