]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix nesting of ifdefs in netgroupcache.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
83e43bf0
AM
12013-09-09 Allan McRae <allan@archlinux.org>
2
3 [BZ #15895]
4 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5
0c66b8e9
WN
62013-09-09 Will Newton <will.newton@linaro.org>
7
8 * malloc/Makefile: Add tst-realloc to tests.
9 * malloc/tst-realloc.c: New file.
10
f6b00fd1
AM
112013-09-09 Allan McRae <allan@archlinux.org>
12
13 [BZ #15844]
14 * COPYING: Update from GNU website to fix FSF address.
15 * COPYING.LIB: Likewise.
16
eec55e16
DM
172013-09-06 David S. Miller <davem@davemloft.net>
18
19 * po/zh_TW.po: Update Chinese (traditional) translation from
20 translation project.
21
1ecbb381
RS
222013-09-06 Richard Sandiford <richard@codesourcery.com>
23 Joseph Myers <joseph@codesourcery.com>
24
25 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26 "localeinfo.h".
27 (obstack_chunk_alloc): New macro.
28 (obstack_chunk_free): Likewise.
29 (record_offset): New function.
30 (init_locale_data): Likewise.
31 (align_locale_data): Likewise.
32 (add_locale_empty): Likewise.
33 (add_locale_raw_data): Likewise.
34 (add_locale_raw_obstack): Likewise.
35 (add_locale_string): Likewise.
36 (add_locale_wstring): Likewise.
37 (add_locale_uint32): Likewise.
38 (add_locale_uint32_array): Likewise.
39 (add_locale_char): Likewise.
40 (start_locale_structure): Likewise.
41 (end_locale_structure): Likewise.
42 (start_locale_prelude): Likewise.
43 (end_locale_prelude): Likewise.
44 (write_locale_data): Take locale_file structure rather than an
45 iovec.
46 * locale/programs/locfile.h: Include "obstack.h".
47 (struct locale_file): Change to store locale file contents instead
48 of header.
49 (init_locale_data): New prototype.
50 (align_locale_data): Likewise.
51 (add_locale_empty): Likewise.
52 (add_locale_raw_data): Likewise.
53 (add_locale_raw_obstack): Likewise.
54 (add_locale_string): Likewise.
55 (add_locale_wstring): Likewise.
56 (add_locale_uint32): Likewise.
57 (add_locale_uint32_array): Likewise.
58 (add_locale_char): Likewise.
59 (start_locale_structure): Likewise.
60 (end_locale_structure): Likewise.
61 (start_locale_prelude): Likewise.
62 (end_locale_prelude): Likewise.
63 (write_locale_data): Update prototype.
64 * locale/programs/3level.h (struct TABLE): Remove result field.
65 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
66 Use new locale_file interface.
67 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
68 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
69 * locale/programs/ld-address.c (address_output): Use new
70 locale_file interface.
71 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
72 NO_ADD_LOCALE.
73 (collate_finish): Don't call collseq_table_finalize.
74 (collate_output): Use new locale_file interface.
75 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
76 in file.
77 (NO_FINALIZE): Change to NO_ADD_LOCALE.
78 (TABLE): Move defines earlier in file.
79 (ELEMENT): Likewise.
80 (DEFAULT): Likewise.
81 (wctrans_table_add): Move macro and inline function earlier in
82 file.
83 (struct wctype_table): Move type earlier in file.
84 (add_locale_wctype_table): New static prototype.
85 (struct locale_ctype_t): Use logical types instead of struct iovec
86 pointers for members.
87 (ctype_output): Use new locale_file interface.
88 (wctype_table_finalize): Change to add_locale_wctype_table. Use
89 new locale_file interface.
90 (allocate_arrays): Update for use of new locale_file interface.
91 * locale/programs/ld-identification.c (identification_output): Use
92 new locale_file interface.
93 * locale/programs/ld-measurement.c (measurement_output): Likewise.
94 * locale/programs/ld-messages.c (messages_output): Likewise.
95 * locale/programs/ld-monetary.c (monetary_output): Likewise.
96 * locale/programs/ld-name.c (name_output): Likewise.
97 * locale/programs/ld-numeric.c (numeric_output): Likewise.
98 * locale/programs/ld-paper.c (paper_output): Likewise.
99 * locale/programs/ld-telephone.c (telephone_output): Likewise.
100 * locale/programs/ld-time.c (time_output): Likewise.
101
e029e2e5
AZ
1022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103
104 * benchtests/Makefile: Add memrchr benchmark.
105 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
106 benchmark as memrchr.
107 * benchtests/bench-memrchr-ifunc.c: New file.
108 * benchtests/bench-memrchr.c: New file.
109
bbf6e8e4
WN
1102013-09-06 Will Newton <will.newton@linaro.org>
111
112 * benchtests/Makefile (string-bench): Add memcpy.
113
6c82a2f8
CD
1142013-09-05 Carlos O'Donell <carlos@redhat.com>
115 Cong Wang <amwang@redhat.com>
116
117 * sysdeps/unix/sysv/linux/bits/in.h
118 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
119 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
120 before __USE_KERNEL_IPV6_DEFS uses.
121 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
122 IPPROTO_BEETPH.
123 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
124 sockaddr_in6, or ipv6_mreq.
125
5430fc65
AZ
1262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127
128 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
129 memory access for final bytes in some large inputs.
130 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
131
4660856c
AZ
1322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133
134 * string/test-memrchr.c: New file.
135 * string/test-memrchr-ifunc.c: New file.
136 * string/Makefile: Add new memrchr testcase.
137
bb8ea713
MF
1382013-09-05 Mike Frysinger <vapier@gentoo.org>
139
140 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
141 fanotify_init returns EPERM.
142
b92a20b5
JM
1432013-09-04 Joseph Myers <joseph@codesourcery.com>
144
145 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
146 errors.
147 (top level): Treat second token from macro or constant entries for
148 allowed headers as allowed.
149 * include/complex.h: Condition internal declarations on
150 [!_ISOMAC].
151 * include/fenv.h: Condition include of <stdbool.h> and internal
152 declarations on [!_ISOMAC].
7447ccd9
CL
153
1542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
155
156 [BZ #15923]
157 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
158
3f2e46a4
JM
1592013-09-04 Joseph Myers <joseph@codesourcery.com>
160
161 * configure.in (--enable-versioning): Remove configure option.
162 (libc_cv_asm_symver_directive): Remove configure test.
163 (libc_cv_ld_version_script_option): Likewise.
164 (VERSIONING): Remove variable and AC_SUBST.
165 (DO_VERSIONING): Remove AC_DEFINE.
166 * configure: Regenerated.
167 * config.h.in (DO_VERSIONING): Remove macro.
168 * Makerules [$(versioning) = yes]: Change conditionals to
169 [$(build-shared) = yes].
170 * config.make.in (versioning): Remove variable.
171 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
172 [$(build-shared) = yes].
173 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
174 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
175 * elf/Makefile [$(versioning) = yes]: Change conditionals to
176 [$(build-shared) = yes].
177 * extra-lib.mk [$(versioning) = yes]: Likewise.
178 * hurd/Makefile [$(versioning) = yes]: Likewise.
179 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
180 [SHARED].
181 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
182 [SHARED].
183 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
184 [SHARED && !NO_HIDDEN].
185 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
186 [SHARED].
187 [SHARED && DO_VERSIONING]: Likewise..
188 * libio/Makefile [$(versioning) = yes]: Change conditionals to
189 [$(build-shared) = yes].
190 * manual/install.texi (--disable-versioning): Remove
191 documentation.
192 * INSTALL: Regenerated.
193 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
194 to [SHARED].
195 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
196 [$(build-shared) = yes].
197 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
198 * sysdeps/i386/i686/multiarch/strstr-c.c
199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
200 [SHARED && !NO_HIDDEN].
201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
202 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
203 * sysdeps/powerpc/powerpc32/dl-machine.c
204 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
205 * sysdeps/powerpc/powerpc32/sysdep.h
206 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
207 to [SHARED && PIC && !NO_HIDDEN].
208 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
209 conditional to [SHARED].
210
44558701
WN
2112013-09-04 Will Newton <will.newton@linaro.org>
212
213 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
214 * benchtests/bench-string.h: Include bench-timing.h instead
215 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
216 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
217 call to HP_TIMING_DIFF_INIT.
218 * benchtests/bench-memccpy.c: Use bench-timing.h macros
219 instead of hp-timing.h macros.
220 * benchtests/bench-memchr.c: Likewise.
221 * benchtests/bench-memcmp.c: Likewise.
222 * benchtests/bench-memcpy.c: Likewise.
223 * benchtests/bench-memmem.c: Likewise.
224 * benchtests/bench-memmove.c: Likewise.
225 * benchtests/bench-memset.c: Likewise.
226 * benchtests/bench-rawmemchr.c: Likewise.
227 * benchtests/bench-strcasecmp.c: Likewise.
228 * benchtests/bench-strcasestr.c: Likewise.
229 * benchtests/bench-strcat.c: Likewise.
230 * benchtests/bench-strchr.c: Likewise.
231 * benchtests/bench-strcmp.c: Likewise.
232 * benchtests/bench-strcpy.c: Likewise.
233 * benchtests/bench-strcpy_chk.c: Likewise.
234 * benchtests/bench-strlen.c: Likewise.
235 * benchtests/bench-strncasecmp.c: Likewise.
236 * benchtests/bench-strncat.c: Likewise.
237 * benchtests/bench-strncmp.c: Likewise.
238 * benchtests/bench-strncpy.c: Likewise.
239 * benchtests/bench-strnlen.c: Likewise.
240 * benchtests/bench-strpbrk.c: Likewise.
241 * benchtests/bench-strrchr.c: Likewise.
242 * benchtests/bench-strspn.c: Likewise.
243 * benchtests/bench-strstr.c: Likewise.
244
cae16d66
WN
2452013-09-04 Will Newton <will.newton@linaro.org>
246
247 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
248
ffa3cd7f
JM
2492013-09-03 Joseph Myers <joseph@codesourcery.com>
250
251 [BZ #15427]
252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
253 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
254 * math/libm-test.inc (lgamma_test_data): Add more tests.
255 * sysdeps/i386/fpu/libm-test-ulps: Update.
256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257
8f02859f
OB
2582013-09-03 Ondřej Bílka <neleai@seznam.cz>
259
260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
262 Add ifunc.
263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
264 Add strcmp-sse2-unaligned
265 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
266
18d43716
MF
2672013-09-02 Mike Frysinger <vapier@gentoo.org>
268
269 * Versions.def (libc): Add GLIBC_2.19.
270
ac444012
MF
2712013-09-02 Mike Frysinger <vapier@gentoo.org>
272
273 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
274 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
275
b7835e32
JM
2762013-09-02 Joseph Myers <joseph@codesourcery.com>
277
278 [BZ #14155]
279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
280 intermediate calculations in recurrence.
281 (__ieee754_ynf): Likewise.
282 * math/libm-test.inc (jn_test_data): Do not allow spurious
283 underflow exception. Add more tests.
284 (yn_test_data): Add more tests.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
8220f4f0
OB
2882013-09-02 Ondřej Bílka <neleai@seznam.cz>
289
290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
291
f24a6d08
OB
2922013-08-30 Ondřej Bílka <neleai@seznam.cz>
293
294 * csu/init-first.c: Fix then/than typos.
295 * locale/programs/ld-collate.c: Likewise.
296 * locale/programs/linereader.h: Likewise.
297 * manual/charset.texi: Likewise.
298 * manual/filesys.texi: Likewise.
299 * manual/stdio.texi: Likewise.
300 * manual/string.texi: Likewise.
301 * stdlib/fmtmsg.c: Likewise.
302 * sysdeps/i386/stpncpy.S: Likewise.
303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
307
382466e0
OB
3082013-08-30 Ondřej Bílka <neleai@seznam.cz>
309
310 * elf/dl-open.c: Fix typos.
311 * iconvdata/gbbig5.c: Likewise.
312 * iconvdata/iso-2022-jp.c: Likewise.
313 * iconv/gconv_int.h: Likewise.
314 * iconv/loop.c: Likewise.
315 * nis/rpcsvc/nis.h: Likewise.
316 * resolv/ns_name.c: Likewise.
317 * stdio-common/vfscanf.c: Likewise.
318 * streams/stropts.h: Likewise.
319 * sunrpc/rpc_thread.c: Likewise.
320 * sysdeps/i386/strpbrk.S: Likewise.
321 * sysdeps/ieee754/k_standard.c: Likewise.
322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
324 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
325 * sysdeps/mach/hurd/profil.c: Likewise.
326 * sysdeps/s390/dl-procinfo.h: Likewise.
327 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
328 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
329 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
330 * sysdeps/x86_64/dl-trampoline.S: Likewise.
331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
332
0186c6e9
OB
3332013-08-30 Ondřej Bílka <neleai@seznam.cz>
334
335 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
337
d4e16af1
OB
3382013-08-29 Ondřej Bílka <neleai@seznam.cz>
339
340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
341 aix specific files.
342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
345 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
347 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
349 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
350
88335980
TS
3512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
352 Roland McGrath <roland@hack.frob.com>
353
354 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
355 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
356
ed479b02
ST
3572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
358
359 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
360 __executable_start symbol instead of _start.
361
f1cc4c86
TS
3622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
363
d821f07c
TS
364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
365 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
366 Move macros to...
367 * sysdeps/gnu/ldsodefs.h: ... this new file.
368
c54290cf
TS
369 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
370 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
371 instead of ELFOSABI_LINUX.
372
0007fc9b 373 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
374 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
375 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
376 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
377 Likewise.
378 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
379 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
380 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
381 Likewise.
382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
383 (ibm_extended_long_double): Add ieee_nan member.
384 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
385 (do_test): New function.
386
f1cc4c86
TS
387 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
388 TEST_TRUNC.
389 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
390 functions, renamed from truncdfsf_test, trunctfsf_test,
391 trunctfdf_test.
392 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
393 functions.
394 (do_test): Run all these.
395
6f65e668
OB
3962013-08-29 Ondřej Bílka <neleai@seznam.cz>
397
398 * argp/argp-help.c: Fix typos.
399 * argp/argp-parse.c: Likewise.
400 * debug/backtracesyms.c: Likewise.
401 * elf/elf.h: Likewise.
402 * malloc/malloc.c: Likewise.
403 * nis/nis_print.c: Likewise.
404 * resolv/res_comp.c: Likewise.
405 * stdlib/stdlib.h: Likewise.
406 * sunrpc/clnt_tcp.c: Likewise.
407 * sunrpc/clnt_udp.c: Likewise.
408 * sunrpc/clnt_unix.c: Likewise.
409 * sysdeps/unix/bsd/ptsname.c: Likewise.
410 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
413 Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
415 Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
417 Likewise.
6f65e668
OB
418 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
419
3a309239
SP
4202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
421
422 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
424
3b813b29
MF
4252013-08-27 Mike Frysinger <vapier@gentoo.org>
426
427 [BZ #15897]
428 * dlfcn/Makefile (tests): Add bug-dl-leaf.
429 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
430 ($(objpfx)bug-dl-leaf): New rule.
431 ($(objpfx)bug-dl-leaf.so): Likewise.
432 ($(objpfx)bug-dl-leaf.out): Likewise.
433 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
434 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
435 * dlfcn/bug-dl-leaf.c: New test.
436 * dlfcn/bug-dl-leaf-lib.c: Likewise.
437 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
438 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
439 (dlclose): Likewise.
440 (dlmopen): Likewise.
441
8cc3269f
RM
4422013-08-27 Roland McGrath <roland@hack.frob.com>
443
7f9d0034
RM
444 * include/netdb.h [!_ISOMAC]:
445 Don't include <tls.h>.
446 (h_errno, __libc_h_errno): Move declaration and macros out of
447 [_LIBC_REENTRANT].
448
fb431262
RM
449 * include/resolv.h [_RESOLV_H_]:
450 Don't include <tls.h>.
451 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
452 * resolv/res_libc.c: Don't include <tls.h>.
453 (_res): Use __attribute__ ((nocommon)) in place of
454 __attribute__ ((section (".bss"))).
455
bd81123a
RM
456 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
457 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
458
c4e42566
RM
459 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
460
f890a59b
RM
461 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
462 only under [SIOCGIFCONF && SIOCGIFNETMASK].
463
464 * resolv/res_mkquery.c: Include <sys/time.h>.
465
5d1f0a09
RM
466 * inet/ifreq.c: Moved to ...
467 * sysdeps/unix/ifreq.c: ... here.
468 * inet/ifreq.c: New file, true stub version.
469
6fcf28b3
RM
470 * socket/sa_len.c: New file.
471 * socket/Makefile (aux): Add it.
472 * sysdeps/unix/sysv/linux/Makefile
473 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
474 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
475 and #include <socket/sa_len.c>.
476 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
477 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
478
e041fb8b
RM
479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
480 * bits/socket.h: ... here.
481
8cc3269f
RM
482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
483 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
484 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
485
5d228a43
AS
4862013-08-27 Andreas Schwab <schwab@suse.de>
487
45b8accc
AS
488 [BZ #15736]
489 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
490 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
491 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
492 * string/test-strcasecmp.c (test_main): Run tests in several
493 locales.
494 * string/test-strncasecmp.c (test_main): Likewise.
495
5d228a43
AS
496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
497 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
498 to __strcasecmp_nonascii and __strncasecmp_nonascii.
499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
500 (__strncasecmp_ssse3) [PIC]: Likewise.
501
59d112a4
RM
5022013-08-26 Roland McGrath <roland@hack.frob.com>
503
53234cc3
RM
504 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
505
59d112a4
RM
506 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
507 instead of explicitly declaring xdecrypt.
508 * nis/nss_nis/nis-publickey.c: Likewise.
509
595aba70
SP
5102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
511
512 [BZ #15890]
513 * nscd/aicache.c: Include res_hconf.h.
514 (addhstaiX): Initialize res_hconf.
515
ffabd393
AS
5162013-08-26 Andreas Schwab <schwab@suse.de>
517
518 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
519 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
520
e0a69f5c
SP
5212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
522
523 * nscd/aicache.c (addhstaiX): Fix indentation.
524
8c12f01d
MF
5252013-08-25 Mike Frysinger <vapier@gentoo.org>
526
527 * configure.ac: Quote $build_pt_chown test.
528 * configure: Regenerated.
529
8fe89494
JM
5302013-08-23 Joseph Myers <joseph@codesourcery.com>
531
532 [BZ #15532]
533 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
534 * math/s_cexpf.c (__cexpf): Likewise.
535 * math/s_cexpl.c (__cexpl): Likewise.
536 * math/libm-test.inc (cexp_test_data): Correct expected return
537 value for NaN + i0. Add another test.
538
75b181d6
DM
5392013-08-22 David S. Miller <davem@davemloft.net>
540
541 * po/ca.po: Update Catalan translation from translation project.
936241e4 542 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 543
acd06bb1
JM
5442013-08-21 Joseph Myers <joseph@codesourcery.com>
545
546 [BZ #15797]
547 * math/s_fdim.c (__fdim): Check for infinite arguments if result
548 is infinite, not alongside NaN test.
549 * math/s_fdimf.c (__fdimf): Likewise.
550 * math/s_fdiml.c (__fdiml): Likewise.
551 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
552 errno is unchanged.
553
c0c3f78a
OB
5542013-08-21 Ondřej Bílka <neleai@seznam.cz>
555
556 * argp/argp-help.c: Fix typos.
557 * crypt/speeds.c: Likewise.
558 * csu/check_fds.c: Likewise.
559 * elf/dl-load.c: Likewise.
560 * elf/dl-open.c: Likewise.
561 * elf/reldep3.c: Likewise.
562 * elf/reldep.c: Likewise.
563 * elf/sprof.c: Likewise.
564 * iconv/iconv_charmap.c: Likewise.
565 * iconv/skeleton.c: Likewise.
566 * iconv/strtab.c: Likewise.
567 * io/lockf64.c: Likewise.
568 * libio/libioP.h: Likewise.
569 * resolv/gai_notify.c: Likewise.
570 * resolv/ns_name.c: Likewise.
571 * resolv/ns_samedomain.c: Likewise.
572 * resolv/res_send.c: Likewise.
573 * stdlib/random.c: Likewise.
574 * sunrpc/rpc/xdr.h: Likewise.
575 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
583 * sysdeps/mach/hurd/check_fds.c: Likewise.
584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
590 * sysdeps/pthread/aio_notify.c: Likewise.
591 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
592 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
595 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
596
46ed1038
LD
5972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
598
599 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
600 version if bit_Slow_SSE4_2 is set.
601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
603
d400dcac
AZ
6042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
605
606 [BZ #15867]
607 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
608 trampoline stack frame information.
609 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
611 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
612 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
613 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
615 (_libc_vdso_platform_setup): Initialize the signal trampolines.
616 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
617 sa_flags value.
618 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
619 interrupting a syscall and set with option SA_SIGINFO.
620
42c8fdd8
JM
6212013-08-20 Joseph Myers <joseph@codesourcery.com>
622
c980f2f4
JM
623 [BZ #15531]
624 * math/s_cproj.c (__cproj): Only return an infinity if one part of
625 argument is infinite.
626 * math/s_cprojf.c (__cprojf): Likewise.
627 * math/s_cprojl.c (__cprojl): Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
629 * math/libm-test.inc (cproj_test_data): Add more tests.
630
0716c4fc
JM
631 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
632
42c8fdd8
JM
633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
634 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
635 size. Use __ffs to determine corresponding shift.
636
b31469d0
JM
6372013-08-20 Joseph Myers <joseph@codesourcery.com>
638 Roland McGrath <roland@hack.frob.com>
639
640 * Makefile (INSTALL): Remove trailing blank lines from output of
641 makeinfo.
642
4e39af6e
AK
6432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
644
645 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
646 Align 32 bit compat elf_greg to 8 bytes.
647
f315524e
AA
6482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
649
650 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
651
1326ba1a
SP
6522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
653
654 * string/strcoll_l.c (coll_seq): New structure.
655 (get_next_seq_cached): New function.
656 (get_next_seq): New function.
657 (do_compare): New function.
658 (STRCOLL): Use GNU style definition. Simplify implementation
659 by using get_next_seq, get_next_seq_cached and do_compare.
660
91ce4085
FW
6612013-08-16 Florian Weimer <fweimer@redhat.com>
662
663 [BZ #14699]
664 CVE-2013-4237
665 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
666 member.
667 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
668 member.
669 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
670 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
671 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
672 conditional.
673 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
674 GETDENTS_64BIT_ALIGNED.
675 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
676 * manual/filesys.texi (Reading/Closing Directory): Document
677 ENAMETOOLONG return value of readdir_r. Recommend readdir more
678 strongly.
679 * manual/conf.texi (Limits for Files): Add portability note to
680 NAME_MAX, PATH_MAX.
681 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
682
ca0a6bc4
AS
6832013-08-13 Andreas Schwab <schwab@suse.de>
684
685 [BZ #15749]
686 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
687 of fabs.
688 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
689 LDBL_MAX_EXP >= 16384]: Add tests for it.
690
6c1fd795
DM
6912013-08-12 David S. Miller <davem@davemloft.net>
692
693 * version.h (RELEASE): Set to "development".
694 (VERSION): Set to "2.18.90".
695 * NEWS: Add 2.19 section.
696
31ad488d
DM
6972013-08-03 David S. Miller <davem@davemloft.net>
698
699 * po/ko.po: Update Korean translation from translation project.
700
db24e684
DM
7012013-08-01 David S. Miller <davem@davemloft.net>
702
703 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
704 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
705 Bilka.
706
f723285b
DM
7072013-07-30 David S. Miller <davem@davemloft.net>
708
709 * po/fr.po: Update French translation from translation project.
710
3cbc52db
DM
7112013-07-28 David S. Miller <davem@davemloft.net>
712
30bbc0cc
DM
713 * po/cs.po: Update Czech translation from translation project.
714
3cbc52db
DM
715 * po/sv.po: Update Swedish translation from translation project.
716
d492e6d0
DM
7172013-07-27 David S. Miller <davem@davemloft.net>
718
f1a7f492
DM
719 * po/eo.po: Update Esperanto translation from translation project.
720
90e62a4a
DM
721 * po/vi.po: Update Vietnamese translation from translation project.
722
d492e6d0
DM
723 * po/de.po: Update German translation from translation project.
724
d4baa62d
DM
7252013-07-26 David S. Miller <davem@davemloft.net>
726
641aa7b4
DM
727 * po/bg.po: Update Bulgarian translation from translation project.
728
d4baa62d
DM
729 * po/nl.po: Update Dutch translation from translation project.
730 * po/pl.po: Update Polish translation from translation project.
731 * po/ru.po: Update Russian translation from translation project.
732
61a9dcb9
DM
7332013-07-24 David S. Miller <davem@davemloft.net>
734
735 * po/libc.pot: Update.
736
7b1f8b58
AZ
7372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738
739 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
740 variable page size.
741 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
744
a8fc7a03
AK
7452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
746
747 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
748
e4608715
CD
7492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
750 Andreas Schwab <schwab@suse.de>
751 Roland McGrath <roland@hack.frob.com>
752 Joseph Myers <joseph@codesourcery.com>
753 Carlos O'Donell <carlos@redhat.com>
754
755 [BZ #15755]
756 * config.h.in: Define HAVE_PT_CHOWN.
757 * config.make.in (build-pt-chown): New variable.
758 * configure.in (--enable-pt_chown): New configure option.
759 * configure: Regenerate.
760 * login/Makefile: Include Makeconfig. Build pt_chown only if
761 build-pt-chown is enabled.
762 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
763 pt_chown to fix pty ownership.
764 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
765 CLOSE_ALL_FDS.
766 * manual/install.texi (Configuring and compiling): Mention
767 --enable-pt_chown. Add @findex for grantpt.
768 * INSTALL: Regenerate.
769
da2d62df
DM
7702013-07-20 David S. Miller <davem@davemloft.net>
771
772 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
773 difference between 32-bit and 64-bit.
774
d7e06450
CD
7752013-07-15 Carlos O'Donell <carlos@redhat.com>
776
777 [BZ #15711]
778 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
779 Avoid system header dependency with -ffreestanding.
780 ($(objpfx)bits/syscall%d): Likewise.
781
f959cfd7
DM
7822013-07-13 David S. Miller <davem@davemloft.net>
783
784 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
785 underflows from atanl/atan2l due to bug 15319.
786 (casinh_test_data): Likewise.
787
c61f8513
DM
7882013-07-07 David S. Miller <davem@davemloft.net>
789
790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
791
72c90ed0
JA
7922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
793
794 * sysdeps/i386/fpu/libm-test-ulps: Update.
795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
796
52dfbe13
SP
7972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
798
799 * configure.in (--enable-lock-elision): Fix message text.
800 * INSTALL: Regenerate.
801 * configure: Regenerate.
802
3f169543
AZ
8032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
804
805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
806
521c6785
AJ
8072013-07-03 Andreas Jaeger <aj@suse.de>
808
809 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
810 define.
811 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
812 (ptrace_peeksiginfo_args): Add.
813 (__ptrace_peeksiginfo_flags): Add.
814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
817
d2cc15cb
AM
8182013-07-03 Allan McRae <allan@archlinux.org>
819
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821
3aaeeca7
DM
8222013-07-02 David S. Miller <davem@davemloft.net>
823
824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
825
5314ed1a
MT
8262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
827
828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
829
67338156
JM
8302013-07-02 Joseph Myers <joseph@codesourcery.com>
831
832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
834
1717da59
AK
8352013-07-02 Andi Kleen <ak@linux.intel.com>
836
837 * config.h.in (ENABLE_LOCK_ELISION): Add.
838 * configure.in (--enable-lock-elision): Add option.
839 * manual/install.texi: Document --enable lock elision.
840 * configure: Regenerate
841 * INSTALL: Regenerate.
842
1c81621c
L
8432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
844
845 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
846 SSE4.2 strcasecmp for libc.a.
847 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
848
77f01ab5
JM
8492013-07-02 Joseph Myers <joseph@codesourcery.com>
850
851 [BZ #13304]
852 * soft-fp/op-common.h (_FP_FMA): New macro.
853 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
854 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
855 (_FP_MUL_MEAT_1_imm): ... here.
856 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
857 (_FP_MUL_MEAT_1_wide): ... here.
858 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
859 (_FP_MUL_MEAT_1_hard): ... here.
860 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
861 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
862 (_FP_MUL_MEAT_2_wide): ... here.
863 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
864 (_FP_MUL_MEAT_2_wide_3mul): ... here.
865 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
866 (_FP_MUL_MEAT_2_gmp): ... here.
867 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
868 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
869 (_FP_MUL_MEAT_4_wide): ... here.
870 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
871 (_FP_MUL_MEAT_4_gmp): ... here.
872 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
873 (_FP_WFRACBITS_DW_S): Likewise.
874 (_FP_WFRACXBITS_DW_S): Likewise.
875 (_FP_HIGHBIT_DW_S): Likewise.
876 (FP_FMA_S): Likewise.
877 (_FP_FRAC_HIGH_DW_S): Likewise.
878 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
879 (_FP_WFRACBITS_DW_D): Likewise.
880 (_FP_WFRACXBITS_DW_D): Likewise.
881 (_FP_HIGHBIT_DW_D): Likewise.
882 (FP_FMA_D): Likewise.
883 (_FP_FRAC_HIGH_DW_D): Likewise.
884 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
885 (_FP_WFRACBITS_DW_E): Likewise.
886 (_FP_WFRACXBITS_DW_E): Likewise.
887 (_FP_HIGHBIT_DW_E): Likewise.
888 (FP_FMA_E): Likewise.
889 (_FP_FRAC_HIGH_DW_E): Likewise.
890 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
891 (_FP_WFRACBITS_DW_Q): Likewise.
892 (_FP_WFRACXBITS_DW_Q): Likewise.
893 (_FP_HIGHBIT_DW_Q): Likewise.
894 (FP_FMA_Q): Likewise.
895 (_FP_FRAC_HIGH_DW_Q): Likewise.
896 * soft-fp/fmasf4.c: New file.
897 * soft-fp/fmadf4.c: Likewise.
898 * soft-fp/fmatf4.c: Likewise.
899
6308fd9a
LD
9002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
901
902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
903 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
904 Silvermont.
905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
906 macro.
907 (index_Slow_SSE4_2): Likewise.
908 (index_Prefer_PMINUB_for_stringop): Likewise.
909 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
910 bit_Slow_SSE4_2 is set.
911 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
912 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
913
89cd9569
RA
9142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
917 rtld_global._dl_hwcap2.
918 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
919 POWER8.
920 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
921 POWER8 feature descriptions defined in _dl_hwcap2.
922 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
923 string handling for POWER8 feature bits.
924 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
925 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
926 _dl_powerpc_cap_flags.
927 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
928 * sysdeps/powerpc/rtld-global-offsets.sym
929 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
930 _dl_hwcap2 in the rtld_global_ro structure.
931
1ae8bfe0
RA
9322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
933
934 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
935 hardware capabilities in support of AT_HWCAP2.
936 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
937 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
938 GLRO(dl_hwcap2).
939 (_dl_show_auxv): Add support for calling _dl_procinfo to display
940 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
941 explicitly the unknown a_type display mechanism is used.
942 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
943 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
944 struct member.
945 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
946 to macro prototype for AT_HWCAP2 support.
947 * sysdeps/i386/dl-procinfo.h: Likewise.
948 * sysdeps/s390/dl-procinfo.h: Likewise.
949 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
950 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
951 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
952 return -1 for unknown a_type display fallback.
953 * sysdeps/sparc/dl-procinfo.h: Likewise.
954 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
955 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
956
8fbec010
JM
9572013-06-28 Joseph Myers <joseph@codesourcery.com>
958
959 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
960 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
961
0432680e
PY
9622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
963
964 [BZ #12492]
965 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
966 mprotect making __stack_prot writable.
967
ce61a2ad
NF
9682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
969 Joseph Myers <joseph@codesourcery.com>
970
971 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
972 as being properly aligned.
973
f91f1c0f
MR
9742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
975
3d0f5d0c
MR
976 * dlfcn/modstatic5.c: New file.
977 * dlfcn/tststatic5.c: New file.
978 * dlfcn/Makefile (tests): Add tststatic5.
979 (tests-static): Likewise.
980 (modules-names): Add modstatic5.
981 (tststatic5-ENV): New variable.
982 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
983
f91f1c0f
MR
984 [BZ #15022]
985 * elf/dl-support.c (_dl_main_map): New variable.
986 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
987 (_dl_nns, _dl_load_adds): Set to 1.
988 (_dl_initial_searchlist): Refer to _dl_main_map.
989 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
990 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
991 call to _dl_get_origin.
992 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
993 around call_map.
994 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
995 * dlfcn/modstatic3.c: New file.
996 * dlfcn/tststatic3.c: New file.
997 * dlfcn/tststatic4.c: New file.
998 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
999 (tests-static): Likewise.
1000 (modules-names): Add modstatic3.
1001 (tststatic3-ENV, tststatic4-ENV): New variables.
1002 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1003 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1004
cbe7d24b
JM
10052013-06-26 Joseph Myers <joseph@codesourcery.com>
1006
1007 * configure.in (CC): Require GCC version 4.4 or later.
1008 * configure: Regenerated.
1009 * manual/install.texi (Tools for Compilation): Update GCC version
1010 requirement.
1011 * INSTALL: Regenerated.
1012
11b8a0e1
LD
10132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1014
1015 [BZ #15674]
bb5bb87c
L
1016 * string/test-memcmp.c (check2): New.
1017 (main): Call check2.
1018
11b8a0e1
LD
1019 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1020
b0037103
MR
10212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1022
1023 [BZ #15022]
1024 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1025 over to...
1026 (dl_open_worker) [!SHARED]: ... here.
1027
c18c701d
RA
10282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1029
1030 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1031
1d17fa5f
RH
10322013-06-25 Richard Henderson <rth@redhat.com>
1033
1034 * locale/programs/locarchive.c: Include <libc-internal.h>
1035
8fcb833a
JM
10362013-06-25 Joseph Myers <joseph@codesourcery.com>
1037
1038 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1039 trailing whitespace removed.
1040
17db6e8d
MF
10412013-06-24 Mike Frysinger <vapier@gentoo.org>
1042
1043 [BZ #10283]
17db6e8d
MF
1044 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1045 * locale/programs/locarchive.c: Include libc-mmap.h.
1046 (prepare_address_space): Take two new outputs (the mmap base and len).
1047 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1048 values.
1049 (create_archive): Declare new mmap base and len values for
1050 prepare_address_space, and store the result in ah.
1051 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1052 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1053 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1054 Declare new mmap base and len values for
1055 prepare_address_space, and store the result in new_ah.
1056 (open_archive): Declare new mmap base and len values for
1057 prepare_address_space, and store the result in ah.
1058 (close_archive): If ah->mmap_base is not NULL, use that and
1059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1060 * sysdeps/generic/libc-mmap.h: New file.
1061
d605071e
MF
10622013-06-24 Mike Frysinger <vapier@gentoo.org>
1063
1064 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1065 (ALIGN_UP): Likewise.
1066 (PTR_ALIGN_DOWN): Likewise.
1067 (PTR_ALIGN_UP): Likewise.
1068
2f063a6e
RA
10692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1070
1071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1072 entry mapped to PPC_PLATFORM_POWER8.
1073 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1074 POWER8.
1075 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1076 (_dl_string_platform): Add case for exporting platform position for
1077 POWER8.
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1079 search path to sysdeps/powerpc/powerpc32/power8 directory.
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1081 search path to sysdeps/powerpc/powerpc64/power8 directory.
1082 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1083 power7 directories.
1084 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1085 power7 directories.
1086
a31ee4b3
SP
10872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
a74ca98f
SP
1089 * INSTALL: Regenerate.
1090
a31ee4b3
SP
1091 * nscd/connections.c (nscd_init): Fix comment.
1092
695c378f
JM
10932013-06-22 Joseph Myers <joseph@codesourcery.com>
1094
d8412221
JM
1095 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1096
695c378f
JM
1097 [BZ #15667]
1098 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1099 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1100
d1d54715
MR
11012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1102
1103 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1104 DL_DST_REQ_STATIC.
1105 (DL_DST_REQ_STATIC): Remove macro.
1106
8fdda7af
JM
11072013-06-21 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #7006]
1110 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1111 with a shift of 0 bits.
1112
f3bc5e5a
MR
11132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1114
1115 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1116 $(tststatic-ENV).
1117
be09e8c9
KK
11182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1119
1120 [BZ #15655]
1121 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1122
85c2e611
AZ
11232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1124
1125 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1126 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1127 accepts -fno-tree-loop-distribute-patterns.
1128 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1129 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1130 recursive call.
1131 * string/memset.c (memset): Likewise.
1132 * string/test-memmove.c (simple_memmove): Disable loop transformation
1133 to library calls.
1134 * string/test-memset.c (simple_memset): Likewise.
1135 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1136 * benchtests/bench-memset.c (simple_memset): Likewise.
1137 * configure: Regenerated.
1138
c91e0825
JM
11392013-06-20 Joseph Myers <joseph@codesourcery.com>
1140
b8c792af
JM
1141 * math/test-misc.c (main): Ignore fesetround failure when failures
1142 of subsequent rounding tests would be ignored.
1143
c91e0825
JM
1144 [BZ #15654]
1145 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1146 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1147 * math/fegetenv.c (__fegetenv): Return 0.
1148 * math/fegetexcept.c (fegetexcept): Return 0.
1149 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1150 FE_TONEAREST.
1151 * math/feholdexcpt.c (feholdexcept): Return 0.
1152 * math/fesetenv.c (__fesetenv): Return 0.
1153 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1154 argument FE_TONEAREST.
1155 * math/feupdateenv.c (__feupdateenv): Return 0.
1156 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1157
bfcacbde
RM
11582013-06-18 Roland McGrath <roland@hack.frob.com>
1159
1160 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1161 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1162 ($(objpfx)rtld-%.os rules): Use them.
1163
e55a9b25
AZ
11642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165
1166 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1167 fields.
1168
346d65b3
RM
11692013-06-17 Roland McGrath <roland@hack.frob.com>
1170
12086fb4
RM
1171 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1172 length of target pattern, then descending length of dependency pattern.
1173 * configure.in (AWK): Require gawk 3.1.2 or newer.
1174 * manual/install.texi (Tools for Compilation): Say that we do.
1175 * configure: Regenerated.
1176
346d65b3
RM
1177 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1178 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1179 * scripts/sysd-rules.awk: ... this new script.
1180 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1181 than a glob-style pattern.
1182
1a846317
JM
11832013-06-17 Joseph Myers <joseph@codesourcery.com>
1184
1185 * math/test-misc.c (main): Do not treat incorrectly rounded
1186 conversions as failure unless ROUNDING_TESTS passes.
1187
8fc75e6f
JM
11882013-06-15 Joseph Myers <joseph@codesourcery.com>
1189
3711a167
JM
1190 [BZ #15631]
1191 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1192 restore exception state around main square root computation, then
1193 check for inexactness explicitly.
1194
8fc75e6f
JM
1195 * math/libm-test.inc (fma_test_data): Add another test.
1196
61dd6208
SP
11972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1198
adf23d2c
SP
1199 * manual/threads.texi (Non-POSIX Extensions): New document
1200 node. Document pthread_getattr_default_np and
1201 pthread_setattr_default_np.
1202
61dd6208
SP
1203 * Versions.def (libpthread): Add GLIBC_2.18.
1204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1206 Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1208 Likewise.
1209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1210 Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1214 Likewise.
1215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1216 Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1218 Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1220 Likewise.
1221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1222 Likewise.
1223
d086fc7b
LD
12242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1225
1226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1227 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1228
747ef469
SP
12292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1230 H.J. Lu <hjl.tools@gmail.com>
1231
1232 [BZ #15627]
1233 * sysdeps/x86_64/rtld-memset.c: Remove file.
1234 * sysdeps/x86_64/rtld-memset.S: New file.
1235
1b2feed2
JM
12362013-06-14 Joseph Myers <joseph@codesourcery.com>
1237
1238 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1239 (test_in_one_mode): Take arguments for whether the rounding mode
1240 is supported for each floating-point type.
1241 (do_test): Pass new arguments to test_in_one_mode using
1242 ROUNDING_TESTS.
1243
a58ad3f8
RM
12442013-06-13 Roland McGrath <roland@hack.frob.com>
1245
1246 * posix/tst-waitid.c (do_test): Distinguish different instances of
1247 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1248 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1249 before entering the kernel for waitpid.
1250
c204ab28
SP
12512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1252
1253 * NEWS: Fix note on clock function precision. Text by Roland
1254 McGrath.
1255
f4a29fba
RM
12562013-06-13 Roland McGrath <roland@hack.frob.com>
1257
1258 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1259 it into place only when and if the sanity check passes.
1260
1f24b9ad
JM
12612013-06-13 Joseph Myers <joseph@codesourcery.com>
1262
1263 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1264 output for whether conversion result is exact. Take argument
1265 indicating whether type is IBM long double.
1266 (round_for_all): Change need_exact field to ibm_ld.
1267 * stdlib/tst-strtod-round.c (struct exactness): New type.
1268 (struct test): Change bool ld_ok field to struct exactness exact.
1269 (TEST): Update all definitions for change to field.
1270 (tests): Regenerate array contents.
1271 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1272 field value. Check for IBM long double here.
1273 (do_test): Update calls to test_in_one_mode.
1274
58206c68
SP
12752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
1277 [BZ #12515]
1278 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1279 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1280
2d6f4c5b 12812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1282
1283 [BZ #15605]
1284 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1285 generated by the compiler on loop optimizations.
1286 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1287 general definitions.
1288
94f2c076
JM
12892013-06-12 Joseph Myers <joseph@codesourcery.com>
1290
1291 * math/bug-nextafter.c: Include <math-tests.h>.
1292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1293 the relevant type.
1294 * math/bug-nexttoward.c: Include <math-tests.h>.
1295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1296 the relevant type.
1297 * math/test-misc.c: Include <math-tests.h>.
1298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1299 the relevant type.
1300
e0e50a0a
AJ
13012013-06-12 Andreas Jaeger <aj@suse.de>
1302
1303 * po/ia.po: Update Interlingua translation from translation
1304 project.
1305
25061094
SP
13062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1307
1308 * include/fenv.h: Include stdbool.h.
1309 (struct rm_ctx): New structure.
1310 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1311 Define macro.
1312 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1313 (SET_RESTORE_ROUNDF): Likewise.
1314 (SET_RESTORE_ROUNDL): Likewise.
1315 (SET_RESTORE_ROUND_NOEX): Likewise.
1316 (SET_RESTORE_ROUND_NOEXF): Likewise.
1317 (SET_RESTORE_ROUND_NOEXL): Likewise.
1318 (SET_RESTORE_ROUND_53BIT): Likewise.
1319 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1320 (libc_feresetround_noexf_ctx): Likewise.
1321 (libc_feresetround_noexl_ctx): Likewise.
1322 (libc_feholdsetround_53bit_ctx): Likewise.
1323 (libc_feresetround_53bit_ctx): Likewise.
1324 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1325 (libc_feholdexcept_setround_sse_ctx): New function.
1326 (libc_fesetenv_sse_ctx): Likewise.
1327 (libc_feupdateenv_sse_ctx): Likewise.
1328 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1329 (libc_feholdexcept_setround_387_ctx): Likewise.
1330 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1331 (libc_feholdsetround_387_prec_ctx): Likewise.
1332 (libc_feholdsetround_387_ctx): Likewise.
1333 (libc_feholdsetround_387_53bit_ctx): Likewise.
1334 (libc_feholdsetround_sse_ctx): Likewise.
1335 (libc_feresetround_sse_ctx): Likewise.
1336 (libc_feresetround_387_ctx): Likewise.
1337 (libc_feupdateenv_387_ctx): Likewise.
1338 (libc_feholdexcept_setroundf_ctx): Define macro.
1339 (libc_fesetenvf_ctx): Likewise.
1340 (libc_feupdateenvf_ctx): Likewise.
1341 (libc_feholdsetroundf_ctx): Likewise.
1342 (libc_feresetroundf_ctx): Likewise.
1343 (libc_feholdexcept_setround_ctx): Likewise.
1344 (libc_fesetenv_ctx): Likewise.
1345 (libc_feupdateenv_ctx): Likewise.
1346 (libc_feholdsetround_ctx): Likewise.
1347 (libc_feresetround_ctx): Likewise.
1348 (libc_feholdexcept_setroundl_ctx): Likewise.
1349 (libc_feupdateenvl_ctx): Likewise.
1350 (libc_feholdsetroundl_ctx): Likewise.
1351 (libc_feresetroundl_ctx): Likewise.
1352 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1353 (libc_feresetround_53bit_ctx): Likewise.
1354
59b30555
SP
13552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1356
1357 * locale/iso-639.def: Convert to UTF-8.
1358
f1d73d30
JM
13592013-06-11 Joseph Myers <joseph@codesourcery.com>
1360
1361 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1362 (EXCEPTION_TESTS_double): Likewise.
1363 (EXCEPTION_TESTS_long_double): Likewise.
1364 (EXCEPTION_TESTS): Likewise.
1365 * math/libm-test.inc (test_exceptions): Only test exceptions if
1366 EXCEPTION_TESTS (FLOAT).
1367
94aca5e7
SP
13682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1369
1370 * benchtests/Makefile (string-bench): Add strcpy_chk and
1371 stpcpy_chk.
1372 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1373 * benchtests/bench-stpcpy_chk.c: New file.
1374 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1375 * benchtests/bench-strcpy_chk.c: New file.
1376 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1377 code.
1378 (do_test): Likewise.
1379
fac0c5f2
RA
13802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1381
1382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1383 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1384 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1385 with tabs where appropriate.
1386 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1387 dl-procinfo.h.
1388 [PPC_PLATFORM_PPC440]: Likewise.
1389 [PPC_PLATFORM_PPC464]: Likewise.
1390 [PPC_PLATFORM_PPC476]: Likewise.
1391 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1392 ppc464, and ppc476 platform strings merging from ports/
1393 dl-procinfo.h.
1394
f22bc486
AS
13952013-06-11 Andreas Schwab <schwab@suse.de>
1396
1397 [BZ #14991]
1398 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1399 (from_ucs4_idx): Regenerate.
1400 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1401 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1402 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1403 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1404 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1405 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1406 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1407 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1408 from FROM_LOOP and TO_LOOP specific macros.
1409 (BODY): Handle combining characters.
1410 * iconvdata/BIG5HKSCS.irreversible: Update.
1411 * iconvdata/BIG5HKSCS.precomposed: New file.
1412 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1413 characters.
1414 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1415
c1f75dc3
SP
14162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1417
4eacded2
SP
1418 * include/sys/time.h: Fix indentation and add copyright header.
1419
fec799f8
SP
1420 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1421 (do_test): Likewise.
1422 * string/test-memchr.c (do_one_test): Likewise.
1423 (do_test): Likewise.
1424 * string/test-memcmp.c (do_one_test): Likewise.
1425 (do_test): Likewise.
1426 * string/test-memcpy.c (do_one_test): Likewise.
1427 (do_test): Likewise.
1428 * string/test-memmem.c (do_one_test): Likewise.
1429 (do_test): Likewise.
1430 (do_random_tests): Likewise.
1431 * string/test-memmove.c (do_one_test): Likewise.
1432 (do_test): Likewise.
1433 * string/test-memset.c (do_one_test): Likewise.
1434 (do_test): Likewise.
1435 * string/test-rawmemchr.c (do_one_test): Likewise.
1436 (do_test): Likewise.
1437 * string/test-strcasecmp.c (do_one_test): Likewise.
1438 (do_test): Likewise.
1439 * string/test-strcasestr.c (do_one_test): Likewise.
1440 (do_test): Likewise.
1441 * string/test-strcat.c (do_one_test): Likewise.
1442 (do_test): Likewise.
1443 * string/test-strchr.c (do_one_test): Likewise.
1444 (do_test): Likewise.
1445 * string/test-strcmp.c (do_one_test): Likewise.
1446 (do_test): Likewise.
1447 * string/test-strcpy.c (do_one_test): Likewise.
1448 (do_test): Likewise.
1449 * string/test-string.h: Likewise.
1450 (test_init): Likewise.
1451 * string/test-strlen.c (do_one_test): Likewise.
1452 (do_test): Likewise.
1453 * string/test-strncasecmp.c (do_one_test): Likewise.
1454 (do_test): Likewise.
1455 * string/test-strncat.c (do_one_test): Likewise.
1456 (do_test): Likewise.
1457 * string/test-strncmp.c (do_one_test): Likewise.
1458 (do_test_limit): Likewise.
1459 (do_test): Likewise.
1460 * string/test-strncpy.c (do_one_test): Likewise.
1461 (do_test): Likewise.
1462 * string/test-strnlen.c (do_one_test): Likewise.
1463 (do_test): Likewise.
1464 * string/test-strpbrk.c (do_one_test): Likewise.
1465 (do_test): Likewise.
1466 * string/test-strrchr.c (do_one_test): Likewise.
1467 (do_test): Likewise.
1468 * string/test-strspn.c (do_one_test): Likewise.
1469 (do_test): Likewise.
1470 * string/test-strstr.c (do_one_test): Likewise.
1471 (do_test): Likewise.
1472
97020474
SP
1473 * benchtests/Makefile (string-bench): Add string benchmarks.
1474 * benchtests/bench-bcopy-ifunc.c: New file.
1475 * benchtests/bench-bcopy.c: New file.
1476 * benchtests/bench-bzero-ifunc.c: New file.
1477 * benchtests/bench-bzero.c: New file.
1478 * benchtests/bench-memccpy-ifunc.c: New file.
1479 * benchtests/bench-memccpy.c: New file.
1480 * benchtests/bench-memchr-ifunc.c: New file.
1481 * benchtests/bench-memchr.c: New file.
1482 * benchtests/bench-memcmp-ifunc.c: New file.
1483 * benchtests/bench-memcmp.c: New file.
1484 * benchtests/bench-memmem-ifunc.c: New file.
1485 * benchtests/bench-memmem.c: New file.
1486 * benchtests/bench-memmove-ifunc.c: New file.
1487 * benchtests/bench-memmove.c: New file.
1488 * benchtests/bench-mempcpy-ifunc.c: New file.
1489 * benchtests/bench-mempcpy.c: New file.
1490 * benchtests/bench-memset-ifunc.c: New file.
1491 * benchtests/bench-memset.c: New file.
1492 * benchtests/bench-rawmemchr-ifunc.c: New file.
1493 * benchtests/bench-rawmemchr.c: New file.
1494 * benchtests/bench-stpcpy-ifunc.c: New file.
1495 * benchtests/bench-stpcpy.c: New file.
1496 * benchtests/bench-stpncpy-ifunc.c: New file.
1497 * benchtests/bench-stpncpy.c: New file.
1498 * benchtests/bench-strcasecmp-ifunc.c: New file.
1499 * benchtests/bench-strcasecmp.c: New file.
1500 * benchtests/bench-strcasestr-ifunc.c: New file.
1501 * benchtests/bench-strcasestr.c: New file.
1502 * benchtests/bench-strcat-ifunc.c: New file.
1503 * benchtests/bench-strcat.c: New file.
1504 * benchtests/bench-strchr-ifunc.c: New file.
1505 * benchtests/bench-strchr.c: New file.
1506 * benchtests/bench-strchrnul-ifunc.c: New file.
1507 * benchtests/bench-strchrnul.c: New file.
1508 * benchtests/bench-strcmp-ifunc.c: New file.
1509 * benchtests/bench-strcmp.c: New file.
1510 * benchtests/bench-strcpy-ifunc.c: New file.
1511 * benchtests/bench-strcpy.c: New file.
1512 * benchtests/bench-strcspn-ifunc.c: New file.
1513 * benchtests/bench-strcspn.c: New file.
1514 * benchtests/bench-strlen-ifunc.c: New file.
1515 * benchtests/bench-strlen.c: New file.
1516 * benchtests/bench-strncasecmp-ifunc.c: New file.
1517 * benchtests/bench-strncasecmp.c: New file.
1518 * benchtests/bench-strncat-ifunc.c: New file.
1519 * benchtests/bench-strncat.c: New file.
1520 * benchtests/bench-strncmp-ifunc.c: New file.
1521 * benchtests/bench-strncmp.c: New file.
1522 * benchtests/bench-strncpy-ifunc.c: New file.
1523 * benchtests/bench-strncpy.c: New file.
1524 * benchtests/bench-strnlen-ifunc.c: New file.
1525 * benchtests/bench-strnlen.c: New file.
1526 * benchtests/bench-strpbrk-ifunc.c: New file.
1527 * benchtests/bench-strpbrk.c: New file.
1528 * benchtests/bench-strrchr-ifunc.c: New file.
1529 * benchtests/bench-strrchr.c: New file.
1530 * benchtests/bench-strspn-ifunc.c: New file.
1531 * benchtests/bench-strspn.c: New file.
1532 * benchtests/bench-strstr-ifunc.c: New file.
1533 * benchtests/bench-strstr.c: New file.
1534
c1f75dc3
SP
1535 * benchtests/Makefile: Disable parallel execution of targets.
1536 (string-bench): Add memcpy.
1537 (benchset): New variable to store a list of benchmark sets.
1538 (bench-func): Renamed from bench.
1539 (bench-set): New target.
1540 (bench): Depend on bench-func and bench-set.
1541 * benchtests/README: Add section on benchmark sets.
1542 * benchtests/bench-memcpy-ifunc.c: New file.
1543 * benchtests/bench-memcpy.c: New file.
1544 * benchtests/bench-string.h: New file.
1545
50fd745b
AS
15462013-06-11 Andreas Schwab <schwab@suse.de>
1547
1548 [BZ #15577]
1549 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1550 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1551 values in the triple.
1552 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1553 terminator in the group key.
1554
3ee7e9fe
AJ
15552013-06-11 Andreas Jaeger <aj@suse.de>
1556
1557 * po/zh_TW.po: Update Chinese (traditional) translation from
1558 translation project.
1559
89fb6835
SP
15602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
1562 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1563 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1564 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1566 (clock_getcpuclockid): Likewise.
1567 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1568 Add weak_alias and libc_hidden_def.
1569 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1570 * rt/clock_gettime.c (clock_gettime): Rename to
1571 __clock_gettime. Add weak_alias and libc_hidden_def.
1572 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1573 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1574 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1575 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1576 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1577 Likewise.
1578 * rt/clock_settime.c (clock_settime): Rename to
1579 __clock_settime. Add weak_alias and libc_hidden_def.
1580 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1581
0efa6f8b
JM
15822013-06-10 Joseph Myers <joseph@codesourcery.com>
1583
b8c61b4b
JM
1584 * mach/err_boot.sub: Remove trailing whitespace.
1585 * mach/err_ipc.sub: Likewise.
1586 * mach/err_mach.sub: Likewise.
1587
0efa6f8b
JM
1588 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1589 (ROUNDING_TESTS_double): Likewise.
1590 (ROUNDING_TESTS_long_double): Likewise.
1591 (ROUNDING_TESTS): Likewise.
1592 * math/libm-test.inc: Include <math-tests.h>.
1593 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1594 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1595 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1596 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1597
50b818bf
SP
15982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1599
1600 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1601 of assigning.
1602
60d2f8f3
JM
16032013-06-08 Joseph Myers <joseph@codesourcery.com>
1604
4902d2c3
JM
1605 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1606 otherwise empty TRANS lines.
1607 * sysdeps/gnu/errlist.c: Regenerated.
1608
60d2f8f3
JM
1609 * catgets/gencat.c (error_print): Use (void) in function
1610 definition.
1611 * crypt/crypt_util.c (__init_des): Likewise.
1612 * crypt/speeds.c (Stop): Likewise.
1613 (main): Likewise.
1614 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1615 * inet/ruserpass.c (token): Likewise.
1616 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1617 * intl/localealias.c (extend_alias_table): Likewise.
1618 * intl/plural-exp.c (init_germanic_plural): Likewise.
1619 * libio/fcloseall.c (__fcloseall): Likewise.
1620 * libio/genops.c (_IO_flush_all): Likewise.
1621 (_IO_flush_all_linebuffered): Likewise.
1622 (_IO_cleanup): Likewise.
1623 (_IO_iter_begin): Likewise.
1624 (_IO_iter_end): Likewise.
1625 (_IO_list_lock): Likewise.
1626 (_IO_list_unlock): Likewise.
1627 (_IO_list_resetlock): Likewise.
1628 * libio/getchar.c (getchar): Likewise.
1629 * libio/getchar_u.c (getchar_unlocked): Likewise.
1630 * libio/getwchar.c (getwchar): Likewise.
1631 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1632 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1633 * login/getpt.c (__getpt): Likewise.
1634 * login/tst-utmp.c (main): Likewise.
1635 * malloc/hooks.c (__malloc_check_init): Likewise.
1636 * malloc/malloc.c (__malloc_stats): Likewise.
1637 * malloc/mtrace.c (tr_break): Likewise.
1638 (mtrace): Likewise.
1639 (muntrace): Likewise.
1640 * misc/fstab.c (endfsent): Likewise.
1641 * misc/getclktck.c (__getclktck): Likewise.
1642 * misc/getdtsz.c (__getdtablesize): Likewise.
1643 * misc/gethostid.c (gethostid): Likewise.
1644 * misc/getpagesize.c (__getpagesize): Likewise.
1645 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1646 (__get_nprocs): Likewise.
1647 (__get_phys_pages): Likewise.
1648 (__get_avphys_pages): Likewise.
1649 * misc/getttyent.c (getttyent): Likewise.
1650 (setttyent): Likewise.
1651 (endttyent): Likewise.
1652 * misc/getusershell.c (getusershell): Likewise.
1653 (endusershell): Likewise.
1654 (setusershell): Likewise.
1655 (initshells): Likewise.
1656 * misc/hsearch.c (__hdestroy): Likewise.
1657 * misc/sync.c (sync): Likewise.
1658 * misc/syslog.c (closelog_internal): Likewise.
1659 (closelog): Likewise.
1660 * misc/ttyslot.c (ttyslot): Likewise.
1661 * misc/vhangup.c (vhangup): Likewise.
1662 * posix/fork.c (__fork): Likewise.
1663 * posix/getegid.c (__getegid): Likewise.
1664 * posix/geteuid.c (__geteuid): Likewise.
1665 * posix/getgid.c (__getgid): Likewise.
1666 * posix/getpid.c (__getpid): Likewise.
1667 * posix/getppid.c (__getppid): Likewise.
1668 * posix/getuid.c (__getuid): Likewise.
1669 * posix/pause.c (pause): Likewise.
1670 * posix/setpgrp.c (setpgrp): Likewise.
1671 * posix/setsid.c (__setsid): Likewise.
1672 * posix/test-vfork.c (noop): Likewise.
1673 * resolv/gethnamaddr.c (_endhtent): Likewise.
1674 (_gethtent): Likewise.
1675 (ht_endhostent): Likewise.
1676 (gethostent): Likewise.
1677 (dns_service): Likewise.
1678 * stdlib/drand48.c (drand48): Likewise.
1679 * stdlib/lrand48.c (lrand48): Likewise.
1680 * stdlib/mrand48.c (mrand48): Likewise.
1681 * stdlib/rand.c (rand): Likewise.
1682 * stdlib/random.c (__random): Likewise.
1683 * stdlib/setenv.c (clearenv): Likewise.
1684 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1685 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1686 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1687 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1688 (__get_nprocs): Likewise.
1689 (__get_phys_pages): Likewise.
1690 (__get_avphys_pages): Likewise.
1691 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1692 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1693 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1694 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1695 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1696 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1697 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1698 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1699 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1700 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1701 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1702 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1703 * sysdeps/posix/clock.c (clock): Likewise.
1704 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1705 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1706 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1707 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1708 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1710 (__get_nprocs_conf): Likewise.
1711 (__get_phys_pages): Likewise.
1712 (__get_avphys_pages): Likewise.
1713 * time/clock.c (clock): Likewise.
1714 * time/tzset.c (__tzname_max): Likewise.
1715
2e09a79a
JM
17162013-06-07 Joseph Myers <joseph@codesourcery.com>
1717
1718 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1719 (__bswap_32): Do not use "register".
1720 * crypt/crypt.c (_ufc_doit_r): Likewise.
1721 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1722 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1723 * gmon/gmon.c (__monstartup): Likewise.
1724 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1725 * hurd/hurdmalloc.c (more_memory): Likewise.
1726 (malloc): Likewise.
1727 (free): Likewise.
1728 (realloc): Likewise.
1729 (malloc_fork_prepare): Likewise.
1730 (malloc_fork_parent): Likewise.
1731 (malloc_fork_child): Likewise.
1732 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1733 (_svcauth_des): Likewise.
1734 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1735 * inet/inet_net.c (inet_network): Likewise.
1736 * inet/inet_netof.c (inet_netof): Likewise.
1737 * inet/rcmd.c (__validuser2_sa): Likewise.
1738 * io/fts.c (fts_open): Likewise.
1739 (fts_load): Likewise.
1740 (fts_close): Likewise.
1741 (fts_read): Likewise.
1742 (fts_children): Likewise.
1743 (fts_build): Likewise.
1744 (fts_stat): Likewise.
1745 (fts_sort): Likewise.
1746 (fts_alloc): Likewise.
1747 (fts_lfree): Likewise.
1748 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1749 (_IO_file_xsgetn): Likewise.
1750 (_IO_file_xsgetn_mmap): Likewise.
1751 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1752 (_IO_cookie_write): Likewise.
1753 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1754 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1755 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1756 * malloc/obstack.c (_obstack_begin): Likewise.
1757 (_obstack_begin_1): Likewise.
1758 (_obstack_newchunk): Likewise.
1759 (_obstack_allocated_p): Likewise.
1760 (obstack_free): Likewise.
1761 (_obstack_memory_used): Likewise.
1762 * misc/getttyent.c (getttynam): Likewise.
1763 (getttyent): Likewise.
1764 (skip): Likewise.
1765 (value): Likewise.
1766 * misc/getusershell.c (initshells): Likewise.
1767 * misc/syslog.c (__vsyslog_chk): Likewise.
1768 * misc/ttyslot.c (ttyslot): Likewise.
1769 * nis/nis_hash.c (__nis_hash): Likewise.
1770 * posix/fnmatch_loop.c (FCT): Likewise.
1771 * posix/getconf.c (print_all): Likewise.
1772 (main): Likewise.
1773 * posix/getopt.c (exchange): Likewise.
1774 * posix/glob.c (globfree): Likewise.
1775 (prefix_array): Likewise.
1776 (__glob_pattern_type): Likewise.
1777 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1778 (NS_GET32): Likewise.
1779 (NS_PUT16): Likewise.
1780 (NS_PUT32): Likewise.
1781 * resolv/gethnamaddr.c (getanswer): Likewise.
1782 (gethostbyname2): Likewise.
1783 (gethostbyaddr): Likewise.
1784 (_gethtent): Likewise.
1785 (_gethtbyname2): Likewise.
1786 (_gethtbyaddr): Likewise.
1787 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1788 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1789 * resolv/res_init.c (__res_vinit): Likewise.
1790 (net_mask): Likewise.
1791 * resolv/res_mkquery.c (outchar): Likewise.
1792 (PRINT): Likewise.
1793 * stdio-common/printf_fp.c (outchar): Likewise.
1794 (PRINT): Likewise.
1795 * stdio-common/printf_fphex.c (outchar): Likewise.
1796 (PRINT): Likewise.
1797 * stdio-common/printf_size.c (outchar): Likewise.
1798 (PRINT): Likewise.
1799 * stdio-common/test_rdwr.c (main): Likewise.
1800 * stdio-common/tfformat.c (matches): Likewise.
1801 * stdio-common/vfprintf.c (outchar): Likewise.
1802 (printf_unknown): Likewise.
1803 (buffered_vfprintf): Likewise.
1804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1805 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1806 (ReadFile): Likewise.
1807 * stdlib/qsort.c (SWAP): Likewise.
1808 (_quicksort): Likewise.
1809 * stdlib/setenv.c (__add_to_environ): Likewise.
1810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1811 * stdlib/strtol_l.c (__strtol_l): Likewise.
1812 * stdlib/tst-strtod.c (main): Likewise.
1813 * stdlib/tst-strtol.c (main): Likewise.
1814 * stdlib/tst-strtoll.c (main): Likewise.
1815 * string/bits/string2.h (__strcmp_cc): Likewise.
1816 (__strcmp_cg): Likewise.
1817 (__strcspn_c1): Likewise.
1818 (__strcspn_c2): Likewise.
1819 (__strcspn_c3): Likewise.
1820 (__strspn_c1): Likewise.
1821 (__strspn_c2): Likewise.
1822 (__strspn_c3): Likewise.
1823 (__strsep_1c): Likewise.
1824 (__strsep_2c): Likewise.
1825 (__strsep_3c): Likewise.
1826 * string/memccpy.c (__memccpy): Likewise.
1827 * string/stpcpy.c (__stpcpy): Likewise.
1828 * string/strcmp.c (strcmp): Likewise.
1829 * string/strrchr.c (strrchr): Likewise.
1830 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1831 Likewise.
1832 * sysdeps/mach/hurd/getcwd.c
1833 (_hurd_canonicalize_directory_name_internal): Likewise.
1834 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1835 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1836 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1837 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1838 Likewise, in both definitions.
1839 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1840 definitions.
1841 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1842 64] (__bswap_64): Likewise.
1843 * time/test_time.c (main): Likewise.
1844 * time/tzfile.c (__tzfile_read): Likewise.
1845 (__tzfile_compute): Likewise.
1846 * time/tzset.c (__tzset_parse_tz): Likewise.
1847 (tzset_internal): Likewise.
1848 (compute_change): Likewise.
1849 * wcsmbs/wcscat.c (__wcscat): Likewise.
1850 * wcsmbs/wcschr.c (wcschr): Likewise.
1851 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1852 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1853 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1854 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1855 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1856 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1857 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1858 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1859 * wcsmbs/wmemset.c (wmemset): Likewise.
1860
9e54314b
JM
18612013-06-06 Joseph Myers <joseph@codesourcery.com>
1862
1863 * scripts/config.guess: Update to version 2013-05-16.
1864 * scripts/config.sub: Update to version 2013-04-24.
1865 * scripts/install-sh: Update to version 2011-11-20.07.
1866 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1867 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1868
350635a5
OB
18692013-06-06 Ondřej Bílka <neleai@seznam.cz>
1870
1871 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1872 * elf/sln.c: Likewise.
1873 * hurd/hurd/ioctl.h: Likewise.
1874 * hurd/hurdmalloc.c: Likewise.
1875 * hurd/xattr.c: Likewise.
1876 * include/shlib-compat.h: Likewise.
1877 * inet/ruserpass.c: Likewise.
1878 * libio/iofgets_u.c: Likewise.
1879 * libio/iofgetws_u.c: Likewise.
1880 * locale/programs/ld-identification.c: Likewise.
1881 * locale/programs/ld-time.c: Likewise.
1882 * mach/msg-destroy.c: Likewise.
1883 * nss/nss_files/files-netgrp.c: Likewise.
1884 * resolv/res_data.c: Likewise.
1885 * soft-fp/op-1.h: Likewise.
1886 * soft-fp/op-2.h: Likewise.
1887 * soft-fp/op-4.h: Likewise.
1888 * soft-fp/op-common.h: Likewise.
1889 * stdio-common/printf_fphex.c: Likewise.
1890 * stdlib/strtod_l.c: Likewise.
1891 * sunrpc/rpc/clnt.h: Likewise.
1892 * sysdeps/generic/framestate.c: Likewise.
1893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1894 * sysdeps/i386/bsd-setjmp.S: Likewise.
1895 * sysdeps/i386/__longjmp.S: Likewise.
1896 * sysdeps/i386/setjmp.S: Likewise.
1897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1915 * sysdeps/ieee754/support.c: Likewise.
1916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1917 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1918 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1920 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1921 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1922 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1923 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1924 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1925 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1926 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1927 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1931 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1934
44a988af
OB
19352013-06-05 Ondřej Bílka <neleai@seznam.cz>
1936
25506f09 1937 * posix/transbug.c: Remove executable mode.
44a988af 1938
9c84384c
JM
19392013-06-05 Joseph Myers <joseph@codesourcery.com>
1940
1941 * crypt/speeds.c: Remove trailing whitespace.
1942 * dlfcn/default.c: Likewise.
1943 * elf/ifuncdep2.c: Likewise.
1944 * elf/ifuncmain1.c: Likewise.
1945 * elf/ifuncmain1vis.c: Likewise.
1946 * elf/testobj.h: Likewise.
1947 * elf/tst-stackguard1.c: Likewise.
1948 * gmon/sys/gmon.h: Likewise.
1949 * hurd/hurdmsg.c: Likewise.
1950 * hurd/new-fd.c: Likewise.
1951 * hurd/ports-get.c: Likewise.
1952 * iconvdata/ibm1008_420.c: Likewise.
1953 * inet/tst-getni1.c: Likewise.
1954 * inet/tst-getni2.c: Likewise.
1955 * libio/ioungetc.c: Likewise.
1956 * libio/wfiledoalloc.c: Likewise.
1957 * manual/libm-err-tab.pl: Likewise.
1958 * math/w_dremf.c: Likewise.
1959 * misc/ftruncate.c: Likewise.
1960 * posix/bug-glob2.c: Likewise.
1961 * posix/tst-pcre.c: Likewise.
1962 * posix/wait4.c: Likewise.
1963 * resolv/README: Likewise.
1964 * resolv/res_debug.h: Likewise.
1965 * resolv/tst-inet_ntop.c: Likewise.
1966 * setjmp/bug269-setjmp.c: Likewise.
1967 * soft-fp/extended.h: Likewise.
1968 * soft-fp/op-1.h: Likewise.
1969 * soft-fp/op-2.h: Likewise.
1970 * soft-fp/op-4.h: Likewise.
1971 * soft-fp/op-8.h: Likewise.
1972 * soft-fp/testit.c: Likewise.
1973 * stdio-common/bug16.c: Likewise.
1974 * stdlib/random.c: Likewise.
1975 * sunrpc/rpcsvc/rquota.x: Likewise.
1976 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1977 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1979 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2005 * sysdeps/ieee754/s_lib_version.c: Likewise.
2006 * sysdeps/mach/hurd/check_fds.c: Likewise.
2007 * sysdeps/mach/hurd/getsockname.c: Likewise.
2008 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2009 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2010 * sysdeps/powerpc/bits/link.h: Likewise.
2011 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2012 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2013 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2014 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2017 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2018 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2019 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2020 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2021 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2022 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2023 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2045 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2058 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2068 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2070 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2073 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2075 * sysdeps/powerpc/sysdep.h: Likewise.
2076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2077 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2078 * sysdeps/sh/dl-trampoline.S: Likewise.
2079 * sysdeps/sh/memset.S: Likewise.
2080 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2081 * sysdeps/sh/strlen.S: Likewise.
2082 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2083 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2084 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2085 * sysdeps/sparc/sparc32/rem.S: Likewise.
2086 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2087 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2088 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2089 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2090 * sysdeps/sparc/sparc32/urem.S: Likewise.
2091 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2092 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2093 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2094 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2095 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2096 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2097 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2098 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2099 * sysdeps/unix/bsd/times.c: Likewise.
2100 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2101 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2108 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2112 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2113 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2114 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2118 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2120 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2121 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2123 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2124 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2125 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2128 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2129 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2130 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2131 * sysdeps/x86_64/strcspn.S: Likewise.
2132
869378a5
RA
21332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2134
2135 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2136 generated file. Regenerate properly from gen-translit.pl.
2137 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2138 locale/C-translit.h.
2139
840e2943
AS
21402013-06-05 Andreas Schwab <schwab@suse.de>
2141
2142 [BZ #15100]
2143 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2144 week as 6 instead of -1.
2145 * time/tst-strptime.c (day_tests): Add test case.
2146
4c60cb0c
SP
21472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2148
2149 * sysdeps/generic/math_private.h
2150 (libc_feholdexcept_setround_53bit): Replace with
2151 libc_feholdsetround_53bit.
2152 (libc_feupdateenv_53bit): Replace with
2153 libc_feresetround_53bit.
2154 (SET_RESTORE_ROUND_53BIT): Adjust.
2155
d180203e
SP
21562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2157
96df079a
SP
2158 * string/test-strchrnul.c: Add copyright header.
2159
d180203e
SP
2160 * posix/tst-getaddrinfo4.c: Increase test timeout.
2161
8b0ccb2d
CD
21622013-06-03 Carlos O'Donell <carlos@redhat.com>
2163
2164 [BZ #15536]
2165 * math/libm-test.inc (MAX_EXP): Remove
2166 (MIN_EXP): Define.
2167 (ulp): Use MIN_EXP - MANT_DIG.
2168 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2169
3b3c4d40
CD
21702013-05-31 Carlos O'Donell <carlos@redhat.com>
2171
2172 * po/be.po: Revert last change.
2173 * po/zh_CN.po: Likewise.
2174 * po/header.pot: Likewise.
2175
fab7ce3f
JM
21762013-05-31 Joseph Myers <joseph@codesourcery.com>
2177
2178 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2179 link-libc-deps to empty as target-specific variable.
2180 * Makerules (link-libc-args): New variable.
2181 (libc-for-link): Likewise.
2182 (link-libc-deps): Likewise.
2183 (lib%.so): Depend on $(link-libc-deps). Link with
2184 $(link-libc-args).
2185 (build-module): Link with $(link-libc-args).
2186 (build-module-asneeded): Likewise.
2187 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2188 list of objects.
2189 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2190 target-specific variable.
2191 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2192 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2193 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2194 libc.
2195 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2196 libc and ld.so.
2197 ($(objpfx)libpcprofile.so): Likewise.
2198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2199 libc_nonshared.a.
2200 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2201 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2202 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2203 $(link-libc-deps).
2204 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2205 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2206 * login/Makefile ($(objpfx)libutil.so): Likewise.
2207 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2208 * math/Makefile ($(objpfx)libm.so): Likewise.
2209 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2210 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2211 variable instead of depending directly on libc.
2212 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2213 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2214 $(link-libc-deps).
2215 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2216 libc.
2217 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2218 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2219 ($(objpfx)libanl.so): Likewise.
2220 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2221 ld.so.
2222 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2223 $(link-libc-deps).
2224 * sysdeps/i386/fpu/Makefile: Remove file.
2225 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2226 ($(objpfx)libm.so): Remove dependency on ld.so.
2227
eca5920c
PF
22282013-05-30 Patsy Franklin <pfrankli@redhat.com>
2229
2230 [BZ # 15553]
2231 * nis/yp_xdr.c (XDRMAXNAME): Define.
2232 (XDRMAXRECORD): Define.
2233 (xdr_domainname): Use XDRMAXNAME.
2234 (xdr_mapname): Likewise.
2235 (xdr_peername): Likewise.
2236 (xdr_keydat): Use XDRMAXRECORD.
2237 (xdr_valdat): Likewise.
2238
22392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2240
2241 [BZ #14256]
2242 * manual/errno.texi (ESTALE): Update to account for more than
2243 just NFS file systems.
2244 * sysdeps/gnu/errlist.c: Regenerated.
2245
b9375348
SP
22462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2247
2248 [BZ #15465]
2249 * elf/Makefile (tests): Add tst-null-argv.
2250 (modules-names): Add tst-null-argv-lib.
2251 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2252 (tst-null-argv-ENV): Set environment for tst-null-argv.
2253 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2254 (RTLD_PROGNAME): New macro.
2255 * elf/tst-null-argv.c: New test case.
2256 * elf/tst-null-argv-lib.c: Library for test case.
2257 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2258 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2259 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2260 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2261 * elf/dl-init.c (call_init): Likewise.
2262 (_dl_init): Likewise.
2263 * elf/dl-load.c (print_search_path): Likewise.
2264 (_dl_map_object): Likewise.
2265 * elf/dl-lookup.c (do_lookup_x): Likewise.
2266 (add_dependency): Likewise.
2267 (_dl_lookup_symbol_x): Likewise.
2268 (_dl_debug_bindings): Likewise.
2269 * elf/dl-open.c (_dl_show_scope): Likewise.
2270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2271 * elf/dl-version.c (match_symbol): Likewise.
2272 (_dl_check_map_versions): Likewise.
2273 * elf/rtld.c (dl_main): Likewise.
2274 (print_unresolved): Use RTLD_PROGNAME.
2275 (print_missing_version): Likewise.
2276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2277 (elf_machine_rela): Likewise.
2278 * sysdeps/powerpc/powerpc32/dl-machine.c
2279 (__process_machine_rela): Likewise.
2280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2281 Likewise.
2282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2283 Likewise.
2284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2285 Likewise.
2286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2288 Likewise.
2289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2290 Likewise.
2291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2292
8a9f20c8
CD
22932013-05-28 Carlos O'Donell <carlos@redhat.com>
2294
2295 * po/be.po: Add descriptive title.
2296 * po/zh_CN.po: Likewise.
2297 * po/header.pot: Likewise.
2298
0e60d68e
MF
22992013-05-28 Mike Frysinger <vapier@gentoo.org>
2300
2301 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2302 error message.
2303 (enlarge_archive): Likewise.
2304
56b672e9
BN
23052013-05-28 Ben North <ben@redfrontdoor.org>
2306
2307 * manual/arith.texi (frexp): It is the magnitude of the return
2308 value which lies in [0.5, 1), not the return value itself.
2309
5e056687
AZ
23102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311
2312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2313
2b66ef5d
TS
23142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2315
528c2405
TS
2316 * stdio-common/bug26.c (main): Correct fscanf template.
2317
07b4c13d
TS
2318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2319 declare _dl_skip_args.
2320
ec9dd97c
TS
2321 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2322 Don't declare.
2323
2b66ef5d
TS
2324 * manual/platform.texi: Add missing @end deftypefun.
2325
4f8dfe27
JM
23262013-05-24 Joseph Myers <joseph@codesourcery.com>
2327
0323d086
JM
2328 [BZ #15529]
2329 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2330 bit of mantissa of 2^16382.
2331 * math/libm-test.inc (hypot_test_data): Add more tests.
2332
dd4259b9
JM
2333 * math/libm-test.inc: Add drem and pow10 to list of tested
2334 functions.
2335 (pow10_test): New function.
2336 (drem_test): Likewise.
2337 (drem_test_tonearest): Likewise.
2338 (drem_test_towardzero): Likewise.
2339 (drem_test_downward): Likewise.
2340 (drem_test_upward): Likewise.
2341 (main): Call the new functions.
2342
4f8dfe27
JM
2343 * math/libm-test.inc (finite_test_data): Remove.
2344 (finite_test): Run tests from isfinite_test_data.
2345 (gamma_test_data): Remove.
2346 (gamma_test): Run tests from lgamma_test_data.
2347 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349
d116b7c4
AZ
23502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351
2352 * manual/platform.texi: Add PowerPC PPR function set documentation.
2353 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2354 implementation.
2355
e96e3767
CD
23562013-05-24 Carlos O'Donell <carlos@redhat.com>
2357
2358 * math/libm-test.inc (MAX_EXP): Define.
2359 (ULPDIFF): Define.
2360 (ulp): New function.
2361 (check_float_internal): Use ULPDIFF.
2362 (cpow_test): Disable failing test.
2363 (check_ulp): Test ulp() implemetnation.
2364 (main): Call check_ulp before starting tests.
2365
b679a606
JM
23662013-05-24 Joseph Myers <joseph@codesourcery.com>
2367
e8bdba36
JM
2368 * math/gen-libm-test.pl (generate_testfile): Do not handle
2369 START_DATA and END_DATA.
2370 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2371 END_DATA.
2372 (acos_tonearest_test_data): Likewise.
2373 (acos_towardzero_test_data): Likewise.
2374 (acos_downward_test_data): Likewise.
2375 (acos_upward_test_data): Likewise.
2376 (acosh_test_data): Likewise.
2377 (asin_test_data): Likewise.
2378 (asin_tonearest_test_data): Likewise.
2379 (asin_towardzero_test_data): Likewise.
2380 (asin_downward_test_data): Likewise.
2381 (asin_upward_test_data): Likewise.
2382 (asinh_test_data): Likewise.
2383 (atan_test_data): Likewise.
2384 (atanh_test_data): Likewise.
2385 (atan2_test_data): Likewise.
2386 (cabs_test_data): Likewise.
2387 (cacos_test_data): Likewise.
2388 (cacosh_test_data): Likewise.
2389 (carg_test_data): Likewise.
2390 (casin_test_data): Likewise.
2391 (casinh_test_data): Likewise.
2392 (catan_test_data): Likewise.
2393 (catanh_test_data): Likewise.
2394 (cbrt_test_data): Likewise.
2395 (ccos_test_data): Likewise.
2396 (ccosh_test_data): Likewise.
2397 (ceil_test_data): Likewise.
2398 (cexp_test_data): Likewise.
2399 (cimag_test_data): Likewise.
2400 (clog_test_data): Likewise.
2401 (clog10_test_data): Likewise.
2402 (conj_test_data): Likewise.
2403 (copysign_test_data): Likewise.
2404 (cos_test_data): Likewise.
2405 (cos_tonearest_test_data): Likewise.
2406 (cos_towardzero_test_data): Likewise.
2407 (cos_downward_test_data): Likewise.
2408 (cos_upward_test_data): Likewise.
2409 (cosh_test_data): Likewise.
2410 (cosh_tonearest_test_data): Likewise.
2411 (cosh_towardzero_test_data): Likewise.
2412 (cosh_downward_test_data): Likewise.
2413 (cosh_upward_test_data): Likewise.
2414 (cpow_test_data): Likewise.
2415 (cproj_test_data): Likewise.
2416 (creal_test_data): Likewise.
2417 (csin_test_data): Likewise.
2418 (csinh_test_data): Likewise.
2419 (csqrt_test_data): Likewise.
2420 (ctan_test_data): Likewise.
2421 (ctan_tonearest_test_data): Likewise.
2422 (ctan_towardzero_test_data): Likewise.
2423 (ctan_downward_test_data): Likewise.
2424 (ctan_upward_test_data): Likewise.
2425 (ctanh_test_data): Likewise.
2426 (ctanh_tonearest_test_data): Likewise.
2427 (ctanh_towardzero_test_data): Likewise.
2428 (ctanh_downward_test_data): Likewise.
2429 (ctanh_upward_test_data): Likewise.
2430 (erf_test_data): Likewise.
2431 (erfc_test_data): Likewise.
2432 (exp_test_data): Likewise.
2433 (exp_tonearest_test_data): Likewise.
2434 (exp_towardzero_test_data): Likewise.
2435 (exp_downward_test_data): Likewise.
2436 (exp_upward_test_data): Likewise.
2437 (exp10_test_data): Likewise.
2438 (exp2_test_data): Likewise.
2439 (expm1_test_data): Likewise.
2440 (fabs_test_data): Likewise.
2441 (fdim_test_data): Likewise.
2442 (finite_test_data): Likewise.
2443 (floor_test_data): Likewise.
2444 (fma_test_data): Likewise.
2445 (fma_towardzero_test_data): Likewise.
2446 (fma_downward_test_data): Likewise.
2447 (fma_upward_test_data): Likewise.
2448 (fmax_test_data): Likewise.
2449 (fmin_test_data): Likewise.
2450 (fmod_test_data): Likewise.
2451 (fpclassify_test_data): Likewise.
2452 (frexp_test_data): Likewise.
2453 (gamma_test_data): Likewise.
2454 (hypot_test_data): Likewise.
2455 (ilogb_test_data): Likewise.
2456 (isfinite_test_data): Likewise.
2457 (isgreater_test_data): Likewise.
2458 (isgreaterequal_test_data): Likewise.
2459 (isinf_test_data): Likewise.
2460 (isless_test_data): Likewise.
2461 (islessequal_test_data): Likewise.
2462 (islessgreater_test_data): Likewise.
2463 (isnan_test_data): Likewise.
2464 (isnormal_test_data): Likewise.
2465 (issignaling_test_data): Likewise.
2466 (isunordered_test_data): Likewise.
2467 (j0_test_data): Likewise.
2468 (j1_test_data): Likewise.
2469 (jn_test_data): Likewise.
2470 (ldexp_test_data): Likewise.
2471 (lgamma_test_data): Likewise.
2472 (lrint_test_data): Likewise.
2473 (lrint_tonearest_test_data): Likewise.
2474 (lrint_towardzero_test_data): Likewise.
2475 (lrint_downward_test_data): Likewise.
2476 (lrint_upward_test_data): Likewise.
2477 (llrint_test_data): Likewise.
2478 (llrint_tonearest_test_data): Likewise.
2479 (llrint_towardzero_test_data): Likewise.
2480 (llrint_downward_test_data): Likewise.
2481 (llrint_upward_test_data): Likewise.
2482 (log_test_data): Likewise.
2483 (log10_test_data): Likewise.
2484 (log1p_test_data): Likewise.
2485 (log2_test_data): Likewise.
2486 (logb_test_data): Likewise.
2487 (logb_downward_test_data): Likewise.
2488 (lround_test_data): Likewise.
2489 (llround_test_data): Likewise.
2490 (modf_test_data): Likewise.
2491 (nearbyint_test_data): Likewise.
2492 (nextafter_test_data): Likewise.
2493 (nexttoward_test_data): Likewise.
2494 (pow_test_data): Likewise.
2495 (pow_tonearest_test_data): Likewise.
2496 (pow_towardzero_test_data): Likewise.
2497 (pow_downward_test_data): Likewise.
2498 (pow_upward_test_data): Likewise.
2499 (remainder_test_data): Likewise.
2500 (remainder_tonearest_test_data): Likewise.
2501 (remainder_towardzero_test_data): Likewise.
2502 (remainder_downward_test_data): Likewise.
2503 (remainder_upward_test_data): Likewise.
2504 (remquo_test_data): Likewise.
2505 (rint_test_data): Likewise.
2506 (rint_tonearest_test_data): Likewise.
2507 (rint_towardzero_test_data): Likewise.
2508 (rint_downward_test_data): Likewise.
2509 (rint_upward_test_data): Likewise.
2510 (round_test_data): Likewise.
2511 (scalb_test_data): Likewise.
2512 (scalbn_test_data): Likewise.
2513 (scalbln_test_data): Likewise.
2514 (signbit_test_data): Likewise.
2515 (sin_test_data): Likewise.
2516 (sin_tonearest_test_data): Likewise.
2517 (sin_towardzero_test_data): Likewise.
2518 (sin_downward_test_data): Likewise.
2519 (sin_upward_test_data): Likewise.
2520 (sincos_test_data): Likewise.
2521 (sinh_test_data): Likewise.
2522 (sinh_tonearest_test_data): Likewise.
2523 (sinh_towardzero_test_data): Likewise.
2524 (sinh_downward_test_data): Likewise.
2525 (sinh_upward_test_data): Likewise.
2526 (sqrt_test_data): Likewise.
2527 (tan_test_data): Likewise.
2528 (tan_tonearest_test_data): Likewise.
2529 (tan_towardzero_test_data): Likewise.
2530 (tan_downward_test_data): Likewise.
2531 (tan_upward_test_data): Likewise.
2532 (tanh_test_data): Likewise.
2533 (tgamma_test_data): Likewise.
2534 (trunc_test_data): Likewise.
2535 (y0_test_data): Likewise.
2536 (y1_test_data): Likewise.
2537 (yn_test_data): Likewise.
2538 (significand_test_data): Likewise.
2539
b679a606
JM
2540 * math/gen-libm-test.pl (@functions): Remove variable.
2541 (generate_testfile): Don't handle START and END lines.
2542 * math/libm-test.inc (START): New macro.
2543 (END): Likewise.
2544 (END_COMPLEX): Likewise.
2545 (acos_test): Use END macro without arguments.
2546 (acos_test_tonearest): Likewise.
2547 (acos_test_towardzero): Likewise.
2548 (acos_test_downward): Likewise.
2549 (acos_test_upward): Likewise.
2550 (acosh_test): Likewise.
2551 (asin_test): Likewise.
2552 (asin_test_tonearest): Likewise.
2553 (asin_test_towardzero): Likewise.
2554 (asin_test_downward): Likewise.
2555 (asin_test_upward): Likewise.
2556 (asinh_test): Likewise.
2557 (atan_test): Likewise.
2558 (atanh_test): Likewise.
2559 (atan2_test): Likewise.
2560 (cabs_test): Likewise.
2561 (cacos_test): Use END_COMPLEX macro without arguments.
2562 (cacosh_test): Likewise.
2563 (carg_test): Use END macro without arguments.
2564 (casin_test): Use END_COMPLEX macro without arguments.
2565 (casinh_test): Likewise.
2566 (catan_test): Likewise.
2567 (catanh_test): Likewise.
2568 (cbrt_test): Use END macro without arguments.
2569 (ccos_test): Use END_COMPLEX macro without arguments.
2570 (ccosh_test): Likewise.
2571 (ceil_test): Use END macro without arguments.
2572 (cexp_test): Use END_COMPLEX macro without arguments.
2573 (cimag_test): Use END macro without arguments.
2574 (clog_test): Use END_COMPLEX macro without arguments.
2575 (clog10_test): Likewise.
2576 (conj_test): Likewise.
2577 (copysign_test): Use END macro without arguments.
2578 (cos_test): Likewise.
2579 (cos_test_tonearest): Likewise.
2580 (cos_test_towardzero): Likewise.
2581 (cos_test_downward): Likewise.
2582 (cos_test_upward): Likewise.
2583 (cosh_test): Likewise.
2584 (cosh_test_tonearest): Likewise.
2585 (cosh_test_towardzero): Likewise.
2586 (cosh_test_downward): Likewise.
2587 (cosh_test_upward): Likewise.
2588 (cpow_test): Use END_COMPLEX macro without arguments.
2589 (cproj_test): Likewise.
2590 (creal_test): Use END macro without arguments.
2591 (csin_test): Use END_COMPLEX macro without arguments.
2592 (csinh_test): Likewise.
2593 (csqrt_test): Likewise.
2594 (ctan_test): Likewise.
2595 (ctan_test_tonearest): Likewise.
2596 (ctan_test_towardzero): Likewise.
2597 (ctan_test_downward): Likewise.
2598 (ctan_test_upward): Likewise.
2599 (ctanh_test): Likewise.
2600 (ctanh_test_tonearest): Likewise.
2601 (ctanh_test_towardzero): Likewise.
2602 (ctanh_test_downward): Likewise.
2603 (ctanh_test_upward): Likewise.
2604 (erf_test): Use END macro without arguments.
2605 (erfc_test): Likewise.
2606 (exp_test): Likewise.
2607 (exp_test_tonearest): Likewise.
2608 (exp_test_towardzero): Likewise.
2609 (exp_test_downward): Likewise.
2610 (exp_test_upward): Likewise.
2611 (exp10_test): Likewise.
2612 (exp2_test): Likewise.
2613 (expm1_test): Likewise.
2614 (fabs_test): Likewise.
2615 (fdim_test): Likewise.
2616 (finite_test): Likewise.
2617 (floor_test): Likewise.
2618 (fma_test): Likewise.
2619 (fma_test_towardzero): Likewise.
2620 (fma_test_downward): Likewise.
2621 (fma_test_upward): Likewise.
2622 (fmax_test): Likewise.
2623 (fmin_test): Likewise.
2624 (fmod_test): Likewise.
2625 (fpclassify_test): Likewise.
2626 (frexp_test): Likewise.
2627 (gamma_test): Likewise.
2628 (hypot_test): Likewise.
2629 (ilogb_test): Likewise.
2630 (isfinite_test): Likewise.
2631 (isgreater_test): Likewise.
2632 (isgreaterequal_test): Likewise.
2633 (isinf_test): Likewise.
2634 (isless_test): Likewise.
2635 (islessequal_test): Likewise.
2636 (islessgreater_test): Likewise.
2637 (isnan_test): Likewise.
2638 (isnormal_test): Likewise.
2639 (issignaling_test): Likewise.
2640 (isunordered_test): Likewise.
2641 (j0_test): Likewise.
2642 (j1_test): Likewise.
2643 (jn_test): Likewise.
2644 (ldexp_test): Likewise.
2645 (lgamma_test): Likewise.
2646 (lrint_test): Likewise.
2647 (lrint_test_tonearest): Likewise.
2648 (lrint_test_towardzero): Likewise.
2649 (lrint_test_downward): Likewise.
2650 (lrint_test_upward): Likewise.
2651 (llrint_test): Likewise.
2652 (llrint_test_tonearest): Likewise.
2653 (llrint_test_towardzero): Likewise.
2654 (llrint_test_downward): Likewise.
2655 (llrint_test_upward): Likewise.
2656 (log_test): Likewise.
2657 (log10_test): Likewise.
2658 (log1p_test): Likewise.
2659 (log2_test): Likewise.
2660 (logb_test): Likewise.
2661 (logb_test_downward): Likewise.
2662 (lround_test): Likewise.
2663 (llround_test): Likewise.
2664 (modf_test): Likewise.
2665 (nearbyint_test): Likewise.
2666 (nextafter_test): Likewise.
2667 (nexttoward_test): Likewise.
2668 (pow_test): Likewise.
2669 (pow_test_tonearest): Likewise.
2670 (pow_test_towardzero): Likewise.
2671 (pow_test_downward): Likewise.
2672 (pow_test_upward): Likewise.
2673 (remainder_test): Likewise.
2674 (remainder_test_tonearest): Likewise.
2675 (remainder_test_towardzero): Likewise.
2676 (remainder_test_downward): Likewise.
2677 (remainder_test_upward): Likewise.
2678 (remquo_test): Likewise.
2679 (rint_test): Likewise.
2680 (rint_test_tonearest): Likewise.
2681 (rint_test_towardzero): Likewise.
2682 (rint_test_downward): Likewise.
2683 (rint_test_upward): Likewise.
2684 (round_test): Likewise.
2685 (scalb_test): Likewise.
2686 (scalbn_test): Likewise.
2687 (scalbln_test): Likewise.
2688 (signbit_test): Likewise.
2689 (sin_test): Likewise.
2690 (sin_test_tonearest): Likewise.
2691 (sin_test_towardzero): Likewise.
2692 (sin_test_downward): Likewise.
2693 (sin_test_upward): Likewise.
2694 (sincos_test): Likewise.
2695 (sinh_test): Likewise.
2696 (sinh_test_tonearest): Likewise.
2697 (sinh_test_towardzero): Likewise.
2698 (sinh_test_downward): Likewise.
2699 (sinh_test_upward): Likewise.
2700 (sqrt_test): Likewise.
2701 (tan_test): Likewise.
2702 (tan_test_tonearest): Likewise.
2703 (tan_test_towardzero): Likewise.
2704 (tan_test_downward): Likewise.
2705 (tan_test_upward): Likewise.
2706 (tanh_test): Likewise.
2707 (tgamma_test): Likewise.
2708 (trunc_test): Likewise.
2709 (y0_test): Likewise.
2710 (y1_test): Likewise.
2711 (yn_test): Likewise.
2712 (significand_test): Likewise.
2713
bae143d2
OB
27142013-05-24 Ondřej Bílka <neleai@seznam.cz>
2715
2716 [BZ #15381]
2717 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2718
9323d39b
EM
27192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2720
d4ea44a0 2721 [BZ #14894]
9323d39b
EM
2722 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2723 __ppc_mdoio and __ppc_mdoom.
2724 * manual/platform.texi: Document new functions __ppc_yield,
2725 __ppc_mdoio and __ppc_mdoom.
2726
13e23af7
CD
27272013-05-22 Carlos O'Donell <carlos@redhat.com>
2728
2729 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2730 (main): Mention "tls" pseudo-hwcap is legacy.
2731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2732
351fe550
JM
27332013-05-22 Joseph Myers <joseph@codesourcery.com>
2734
2735 * math/gen-libm-test.pl (parse_args): Output only string of
2736 arguments as text for test name, not full call or descriptions of
2737 tests for extra outputs.
2738 (generate_testfile): Do not pass function name to parse_args.
2739 Generate this_func variable from START.
2740 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2741 field to arg_str.
2742 (struct test_ff_f_data): Likewise.
2743 (test_ff_f_data_nexttoward): Likewise.
2744 (struct test_fi_f_data): Likewise.
2745 (struct test_fl_f_data): Likewise.
2746 (struct test_if_f_data): Likewise.
2747 (struct test_fff_f_data): Likewise.
2748 (struct test_c_f_data): Likewise.
2749 (struct test_f_f1_data): Likewise. Remove field extra_name.
2750 (struct test_fF_f1_data): Likewise.
2751 (struct test_ffI_f1_data): Likewise.
2752 (struct test_c_c_data): Rename test_name field to arg_str.
2753 (struct test_cc_c_data): Likewise.
2754 (struct test_f_i_data): Likewise.
2755 (struct test_ff_i_data): Likewise.
2756 (struct test_f_l_data): Likewise.
2757 (struct test_f_L_data): Likewise.
2758 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2759 and extra2_name.
2760 (COMMON_TEST_SETUP): New macro.
2761 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2762 (COMMON_TEST_CLEANUP): Likewise.
2763 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2764 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2765 macros.
2766 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2767 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2768 macros.
2769 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2770 (RUN_TEST_fff_f): Take argument string. Call new setup and
2771 cleanup macros.
2772 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2773 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2774 macros.
2775 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2776 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2777 macros.
2778 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2779 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2780 cleanup macros.
2781 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2782 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2783 cleanup macros.
2784 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2785 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2786 cleanup macros.
2787 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2788 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2789 macros.
2790 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2791 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2792 macros.
2793 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2794 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2795 macros.
2796 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2797 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2798 cleanup macros.
2799 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2800 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2801 cleanup macros.
2802 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2803 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2804 macros.
2805 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2806 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2807 cleanup macros.
2808 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2809 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2810 macros.
2811 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2812 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2813 macros.
2814 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2815 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2816 cleanup macros.
2817 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2818
85118d4d
EBM
28192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2820
2821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2822 to _sifields.sigfault.
2823 (si_addr_lsb): Define new macro.
2824 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2827
7a44c18f
CD
28282013-05-03 Carlos O'Donell <carlos at redhat.com>
2829
2830 [BZ #15441]
2831 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2832 returns -1.
2833 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2834 null return -1.
2835 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2836 loading the domain.
2837
b50a7181
JM
28382013-05-22 Joseph Myers <joseph@codesourcery.com>
2839
2840 * math/gen-libm-test.pl (parse_args): Do not include expected
2841 result in test name.
2842 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848
051063c8
SP
28492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2850
3ce9e010
SP
2851 * benchtests/Makefile: Sort function entries.
2852
051063c8
SP
2853 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2854 tanh, asinh, acosh, atanh.
2855 * benchtests/acos-inputs: New file.
2856 * benchtests/acosh-inputs: New file.
2857 * benchtests/asin-inputs: New file.
2858 * benchtests/asinh-inputs: New file.
2859 * benchtests/atanh-inputs: New file.
2860 * benchtests/cosh-inputs: New file.
2861 * benchtests/log-inputs: New file.
2862 * benchtests/sinh-inputs: New file.
2863 * benchtests/tanh-inputs: New file.
2864
47c22455
DL
28652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2866
2867 [BZ #15339]
2868 * posix/tst-getaddrinfo4.c: New test.
2869 * posix/Makefile (tests): Add it.
2870
3d04f5db
SP
28712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2872
2873 [BZ #15339]
2874 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2875 when no services were used.
2876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2877 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2878
d5dd6189
AS
28792013-05-21 Andreas Schwab <schwab@suse.de>
2880
2881 [BZ #15014]
2882 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2883 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2884 successful.
2885 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2886 redundant variable declarations and reallocation of buffer when
2887 parsing as IPv6 address. Always set NSS status when called from
2888 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2889 buffer too small. Correct computation of needed size.
2890 * nss/Makefile (tests): Add test-digits-dots.
2891 * nss/test-digits-dots.c: New test.
2892
fef94eab
SP
28932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2894
2895 * benchtests/Makefile: Remove instructions for adding
2896 benchmark tests.
2897 * benchtests/README: New file to explain how to execute and
2898 enhance the benchmark tests.
2899
e39adf43
AS
29002013-05-21 Andreas Schwab <schwab@suse.de>
2901
2902 [BZ #15493]
2903 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2904 * setjmp/tst-sigsetjmp.c: New test.
2905
b2b671b6
OB
29062013-05-20 Ondřej Bílka <neleai@seznam.cz>
2907
2908 * sysdeps/x86_64/memset.S (memset): New implementation.
2909 (__bzero): Likewise.
2910 (__memset_tail): New function.
2911
2d48b41c
OB
29122013-05-20 Ondřej Bílka <neleai@seznam.cz>
2913
2914 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2915 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2916 __memcpy_sse2_unaligned ifunc selection.
2917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2918 Add memcpy-sse2-unaligned.S.
2919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2920 Add: __memcpy_sse2_unaligned.
2921
f16cc3eb
JM
29222013-05-19 Joseph Myers <joseph@codesourcery.com>
2923
3e694268
JM
2924 [BZ #15490]
2925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2926 math_force_eval before restoring floating-point envrionment.
2927 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2929 Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2931 <math_private.h>.
2932 (__nearbyintl): Use math_force_eval before restoring
2933 floating-point environment.
2934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2935
db62a907
JM
2936 * math/gen-libm-test.pl (special_functions): Remove.
2937 (parse_args): Don't handle TEST_extra. Handle functions with no
2938 return value.
2939 * math/libm-test.inc (struct test_sincos_data): Replace with
2940 struct test_fFF_11_data.
2941 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2942 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2943 (sincos_test_data): Change element type to struct
2944 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2945 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2946 RUN_TEST_LOOP_sincos.
2947 * math/README.libm-test: Don't mention special handling of
2948 individual functions.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955
f16cc3eb
JM
2956 * math/gen-libm-test.pl (get_variable): Remove function.
2957 (parse_args): Don't show pointer parameters to call in test
2958 names. Use "extra output N" in test names for extra outputs
2959 rather than naming variables.
2960
3779b5b6
JM
29612013-05-18 Joseph Myers <joseph@codesourcery.com>
2962
2ee094ff
JM
2963 [BZ #15488]
2964 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2965 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2966 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2967 double tests.
2968 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2969 disable.
2970 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2971 check_long_double.
2972
3779b5b6
JM
2973 * math/gen-libm-test.pl (@tests): Remove variable.
2974 ($count): Likewise.
2975 (new_test): Remove function.
2976 (show_exceptions): New function.
2977 (special_functions): Use show_exceptions instead of new_test.
2978 (parse_args): Likewise.
2979 (generate_testfile): Pass only function name in generated call to
2980 print_max_error or print_complex_max_error.
2981 (get_ulps): Do not handle complex tests specially.
2982 (output_test): Rename to ...
2983 (get_all_ulps_for_test): ... this. Return a string rather than
2984 printing to a file. Require ulps to be present.
2985 (output_ulps): Generate arrays rather than #defines.
2986 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2987 (struct ulp_data): New type.
2988 (BUILD_COMPLEX_ULP): Remove macro.
2989 (compare_ulp_data): New function.
2990 (find_ulps): Likewise.
2991 (find_test_ulps): Likewise.
2992 (find_function_ulps): Likewise.
2993 (find_complex_function_ulps): Likewise.
2994 (print_max_error): Determine allowed ulps using
2995 find_function_ulps.
2996 (print_complex_max_error): Determine allowed ulps using
2997 find_complex_function_ulps.
2998 (check_float_internal): Determine max ulps using find_test_ulps.
2999 (check_float): Do not take max_ulp parameter. Update call to
3000 check_float_internal.
3001 (check_complex): Likewise.
3002 (check_int): Do not take max_ulp parameter.
3003 (check_long): Likewise.
3004 (check_bool): Likewise.
3005 (check_longlong): Likewise.
3006 (struct test_f_f_data): Remove max_ulp field.
3007 (struct test_ff_f_data): Likewise.
3008 (struct test_ff_f_data_nexttoward): Likewise.
3009 (struct test_fi_f_data): Likewise.
3010 (struct test_fl_f_data): Likewise.
3011 (struct test_if_f_data): Likewise.
3012 (struct test_fff_f_data): Likewise.
3013 (struct test_c_f_data): Likewise.
3014 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3015 (struct test_fF_f1_data): Likewise.
3016 (struct test_ffI_f1_data): Likewise.
3017 (struct test_c_c_data): Remove max_ulp field.
3018 (struct test_cc_c_data): Likewise.
3019 (struct test_f_i_data): Likewise.
3020 (struct test_ff_i_data): Likewise.
3021 (struct test_f_l_data): Likewise.
3022 (struct test_f_L_data): Likewise.
3023 (struct test_sincos_data): Likewise.
3024 (RUN_TEST_f_f): Do not handle ulps.
3025 (RUN_TEST_LOOP_f_f): Likewise.
3026 (RUN_TEST_2_f): Likewise.
3027 (RUN_TEST_LOOP_2_f): Likewise.
3028 (RUN_TEST_fff_f): Likewise.
3029 (RUN_TEST_LOOP_fff_f): Likewise.
3030 (RUN_TEST_c_f): Likewise.
3031 (RUN_TEST_LOOP_c_f): Likewise.
3032 (RUN_TEST_f_f1): Likewise.
3033 (RUN_TEST_LOOP_f_f1): Likewise.
3034 (RUN_TEST_fF_f1): Likewise.
3035 (RUN_TEST_LOOP_fF_f1): Likewise.
3036 (RUN_TEST_fI_f1): Likewise.
3037 (RUN_TEST_LOOP_fI_f1): Likewise.
3038 (RUN_TEST_ffI_f1): Likewise.
3039 (RUN_TEST_LOOP_ffI_f1): Likewise.
3040 (RUN_TEST_c_c): Likewise.
3041 (RUN_TEST_LOOP_c_c): Likewise.
3042 (RUN_TEST_cc_c): Likewise.
3043 (RUN_TEST_LOOP_cc_c): Likewise.
3044 (RUN_TEST_f_i): Likewise.
3045 (RUN_TEST_LOOP_f_i): Likewise.
3046 (RUN_TEST_f_i_tg): Likewise.
3047 (RUN_TEST_LOOP_f_i_tg): Likewise.
3048 (RUN_TEST_ff_i_tg): Likewise.
3049 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3050 (RUN_TEST_f_b): Likewise.
3051 (RUN_TEST_LOOP_f_b): Likewise.
3052 (RUN_TEST_f_b_tg): Likewise.
3053 (RUN_TEST_LOOP_f_b_tg): Likewise.
3054 (RUN_TEST_f_l): Likewise.
3055 (RUN_TEST_LOOP_f_l): Likewise.
3056 (RUN_TEST_f_L): Likewise.
3057 (RUN_TEST_LOOP_f_L): Likewise.
3058 (RUN_TEST_sincos): Likewise.
3059 (RUN_TEST_LOOP_sincos): Likewise.
3060
8269107f
JM
30612013-05-17 Joseph Myers <joseph@codesourcery.com>
3062
bb38759d
JM
3063 [BZ #15480]
3064 [BZ #15485]
3065 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3066 main case of finite arguments, set rounding mode to FE_TONEAREST
3067 and discard exceptions.
3068 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3069 exceptions.
3070 (remainder_tonearest_test_data): New variable.
3071 (remainder_test_tonearest): New function.
3072 (remainder_towardzero_test_data): New variable.
3073 (remainder_test_towardzero): New function.
3074 (remainder_downward_test_data): New variable.
3075 (remainder_test_downward): New function.
3076 (remainder_upward_test_data): New variable.
3077 (remainder_test_upward): New function.
3078 (main): Call the new test functions.
3079
a00bdcf0
JM
3080 * math/libm-test.inc (struct test_f_f1_data): Remove field
3081 extra_init.
3082 (struct test_fF_f1_data): Likewise.
3083 (struct test_ffI_f1_data): Likewise.
3084 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3085 based on value of EXTRA_EXPECTED.
3086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3087 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3088 EXTRA_VAR based on value of EXTRA_EXPECTED.
3089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3090 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3091 EXTRA_VAR based on value of EXTRA_EXPECTED.
3092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3093 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3094 EXTRA_VAR based on value of EXTRA_EXPECTED.
3095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3096 * math/gen-libm-test.pl (parse_args): Don't output initializers
3097 for extra output values.
3098
de407f79
JM
3099 * math/libm-test.inc (check_int): Expect result to be exactly
3100 equal to expected value and do not handle ulps.
3101 (check_long): Likewise.
3102 (check_longlong): Likewise.
3103
8269107f
JM
3104 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3105 exceptions.
3106 (cimag_test_data): Likewise.
3107 (conj_test_data): Likewise.
3108 (copysign_test_data): Likewise.
3109 (cproj_test_data): Likewise.
3110 (creal_test_data): Likewise.
3111 (fabs_test_data): Likewise.
3112 (fdim_test_data): Likewise.
3113 (finite_test_data): Likewise.
3114 (floor_test_data): Likewise.
3115 (fmax_test_data): Likewise.
3116 (fmin_test_data): Likewise.
3117 (fmod_test_data): Likewise.
3118 (fpclassify_test_data): Likewise.
3119 (frexp_test_data): Likewise.
3120 (ilogb_test_data): Likewise.
3121 (isfinite_test_data): Likewise.
3122 (isgreater_test_data): Likewise.
3123 (isgreaterequal_test_data): Likewise.
3124 (isinf_test_data): Likewise.
3125 (isless_test_data): Likewise.
3126 (islessequal_test_data): Likewise.
3127 (islessgreater_test_data): Likewise.
3128 (isnan_test_data): Likewise.
3129 (isnormal_test_data): Likewise.
3130 (issignaling_test_data): Likewise.
3131 (isunordered_test_data): Likewise.
3132 (ldexp_test_data): Likewise.
3133 (lrint_test_data): Likewise.
3134 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3135 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3136 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3137 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3138 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3139 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3140 test input.
3141 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3142 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3143 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3144 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3145 that test input.
3146 (lrint_downward_test_data): Test for "inexact" exceptions.
3147 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3148 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3149 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3150 test input.
3151 (lrint_upward_test_data): Test for "inexact" exceptions.
3152 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3153 test input.
3154 (llrint_test_data): Test for "inexact" exceptions.
3155 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3156 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3157 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3158 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3159 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3160 (llrint_downward_test_data): Test for "inexact" exceptions.
3161 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3162 (llrint_upward_test_data): Test for "inexact" exceptions.
3163 (logb_test_data): Likewise.
3164 (logb_downward_test_data): Likewise.
3165 (nextafter_test_data): Likewise.
3166 (nexttoward_test_data): Likewise.
3167 (remainder_test_data): Likewise.
3168 (remquo_test_data): Likewise.
3169 (scalbn_test_data): Likewise.
3170 (scalbln_test_data): Likewise.
3171 (signbit_test_data): Likewise.
3172 (sqrt_test_data): Likewise.
3173 (significand_test_data): Likewise.
3174
48a18de1
SP
31752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3176
3177 [BZ #15424]
3178 * benchtests/bench-modf.c (struct args): Mark arg0 as
3179 volatile.
3180 * scripts/bench.pl: Mark members of struct args as volatile.
3181
13d3b41a
AZ
31822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183
68191c1d 3184 [BZ # 15497]
13d3b41a
AZ
3185 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3186 negative infinity on POWER6 or lower.
3187 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3188
2848b105
MR
31892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3190
3191 [BZ #15442]
3192 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3193 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3194 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3195 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3196 (_FP_SETQNAN): New macro.
3197 (_FP_SETQNAN_SEMIRAW): Likewise.
3198 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3199 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3200 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3201 (FP_EXTEND): Use _FP_FRAC_SNANP.
3202 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3203 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3204 into account.
3205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3206 New macro.
3207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3208 Likewise.
3209
323e5cb7
JM
32102013-05-16 Joseph Myers <joseph@codesourcery.com>
3211
c58b274f
JM
3212 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3213 with DIVIDE_BY_ZERO_EXCEPTION.
3214 (gamma_test_data): Likewise.
3215 (lgamma_test_data): Likewise.
3216 (log_test_data): Likewise.
3217 (log10_test_data): Likewise.
3218 (log2_test_data): Likewise.
3219 (tgamma_test_data): Likewise.
3220
0ab34904
JM
3221 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3222 (acos_test_tonearest): Likewise.
3223 (acos_test_towardzero): Likewise.
3224 (acos_test_downward): Likewise.
3225 (acos_test_upward): Likewise.
3226 (acosh_test): Likewise.
3227 (asin_test): Likewise.
3228 (asin_test_tonearest): Likewise.
3229 (asin_test_towardzero): Likewise.
3230 (asin_test_downward): Likewise.
3231 (asin_test_upward): Likewise.
3232 (asinh_test): Likewise.
3233 (atan_test): Likewise.
3234 (atanh_test): Likewise.
3235 (atan2_test): Likewise.
3236 (cabs_test): Likewise.
3237 (cacos_test): Likewise.
3238 (cacosh_test): Likewise.
3239 (casin_test): Likewise.
3240 (casinh_test): Likewise.
3241 (catan_test): Likewise.
3242 (catanh_test): Likewise.
3243 (cbrt_test): Likewise.
3244 (ccos_test): Likewise.
3245 (ccosh_test): Likewise.
3246 (cexp_test): Likewise.
3247 (clog_test): Likewise.
3248 (clog10_test): Likewise.
3249 (cos_test): Likewise.
3250 (cos_test_tonearest): Likewise.
3251 (cos_test_towardzero): Likewise.
3252 (cos_test_downward): Likewise.
3253 (cos_test_upward): Likewise.
3254 (cosh_test): Likewise.
3255 (cosh_test_tonearest): Likewise.
3256 (cosh_test_towardzero): Likewise.
3257 (cosh_test_downward): Likewise.
3258 (cosh_test_upward): Likewise.
3259 (cpow_test): Likewise.
3260 (csin_test): Likewise.
3261 (csinh_test): Likewise.
3262 (csqrt_test): Likewise.
3263 (ctan_test): Likewise.
3264 (ctan_test_tonearest): Likewise.
3265 (ctan_test_towardzero): Likewise.
3266 (ctan_test_downward): Likewise.
3267 (ctan_test_upward): Likewise.
3268 (ctanh_test): Likewise.
3269 (ctanh_test_tonearest): Likewise.
3270 (ctanh_test_towardzero): Likewise.
3271 (ctanh_test_downward): Likewise.
3272 (ctanh_test_upward): Likewise.
3273 (erf_test): Likewise.
3274 (erfc_test): Likewise.
3275 (exp_test): Likewise.
3276 (exp_test_tonearest): Likewise.
3277 (exp_test_towardzero): Likewise.
3278 (exp_test_downward): Likewise.
3279 (exp_test_upward): Likewise.
3280 (exp10_test): Likewise.
3281 (exp2_test): Likewise.
3282 (expm1_test): Likewise.
3283 (fmod_test): Likewise.
3284 (gamma_test): Likewise.
3285 (hypot_test): Likewise.
3286 (j0_test): Likewise.
3287 (j1_test): Likewise.
3288 (jn_test): Likewise.
3289 (lgamma_test): Likewise.
3290 (log_test): Likewise.
3291 (log10_test): Likewise.
3292 (log1p_test): Likewise.
3293 (log2_test): Likewise.
3294 (logb_test_downward): Likewise.
3295 (pow_test): Likewise.
3296 (pow_test_tonearest): Likewise.
3297 (pow_test_towardzero): Likewise.
3298 (pow_test_downward): Likewise.
3299 (pow_test_upward): Likewise.
3300 (remainder_test): Likewise.
3301 (remquo_test): Likewise.
3302 (sin_test): Likewise.
3303 (sin_test_tonearest): Likewise.
3304 (sin_test_towardzero): Likewise.
3305 (sin_test_downward): Likewise.
3306 (sin_test_upward): Likewise.
3307 (sincos_test): Likewise.
3308 (sinh_test): Likewise.
3309 (sinh_test_tonearest): Likewise.
3310 (sinh_test_towardzero): Likewise.
3311 (sinh_test_downward): Likewise.
3312 (sinh_test_upward): Likewise.
3313 (sqrt_test): Likewise.
3314 (tan_test): Likewise.
3315 (tan_test_tonearest): Likewise.
3316 (tan_test_towardzero): Likewise.
3317 (tan_test_downward): Likewise.
3318 (tan_test_upward): Likewise.
3319 (tanh_test): Likewise.
3320 (tgamma_test): Likewise.
3321 (y0_test): Likewise.
3322 (y1_test): Likewise.
3323 (yn_test): Likewise.
3324
323e5cb7
JM
3325 * math/gen-libm-test.pl (adjust_arg): Remove function.
3326 (special_function): Remove argument $in_func. Only handle
3327 generating output for tables of tests, not inside functions.
3328 (parse_args): Likewise.
3329 (generate_testfile): Remove variable $in_func. Update call to
3330 parse_args.
3331 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3332 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3333 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3334 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3335 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3336 (MAX_VALUE_INIT): Rename macro to max_value.
3337 (MIN_VALUE_INIT): Rename macro to min_value.
3338 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3339 (plus_zero): Remove variable.
3340 (minus_zero): Likewise.
3341 (plus_infty): Likewise.
3342 (minus_infty): Likewise.
3343 (qnan_value): Likewise.
3344 (max_value): Likewise.
3345 (min_value): Likewise.
3346 (min_subnorm_value): Likewise.
3347
e054f494
RA
33482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3349
3350 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3351 uint64_t or uint32_t usage.
3352 * crypt/sha256-block.c: Likewise.
3353 * crypt/sha256-crypt.c: Likewise.
3354 * crypt/sha256.c: Likewise.
3355 * crypt/sha512-block.c: Likewise.
3356 * crypt/sha512-crypt.c: Likewise.
3357 * crypt/sha512.c: Likewise.
3358 * debug/backtrace-tst.c: Likewise.
3359 * debug/pcprofiledump.c: Likewise.
3360 * elf/cache.c: Likewise.
3361 * elf/dl-cache.c: Likewise.
3362 * elf/dl-misc.c: Likewise.
3363 * elf/dl-profile.c: Likewise.
3364 * elf/dl-support.c: Likewise.
3365 * elf/ldconfig.c: Likewise.
3366 * elf/sprof.c: Likewise.
3367 * iconv/dummy-repertoire.c: Likewise.
3368 * iconv/iconv_charmap.c: Likewise.
3369 * iconv/skeleton.c: Likewise.
3370 * iconvdata/8bit-generic.c: Likewise.
3371 * iconvdata/cp737.h: Likewise.
3372 * iconvdata/cp775.h: Likewise.
3373 * iconvdata/ibm1008.h: Likewise.
3374 * iconvdata/ibm1025.h: Likewise.
3375 * iconvdata/ibm1046.h: Likewise.
3376 * iconvdata/ibm1097.h: Likewise.
3377 * iconvdata/ibm1112.h: Likewise.
3378 * iconvdata/ibm1122.h: Likewise.
3379 * iconvdata/ibm1123.h: Likewise.
3380 * iconvdata/ibm1124.h: Likewise.
3381 * iconvdata/ibm1129.h: Likewise.
3382 * iconvdata/ibm1130.h: Likewise.
3383 * iconvdata/ibm1132.h: Likewise.
3384 * iconvdata/ibm1133.h: Likewise.
3385 * iconvdata/ibm1137.h: Likewise.
3386 * iconvdata/ibm1140.h: Likewise.
3387 * iconvdata/ibm1141.h: Likewise.
3388 * iconvdata/ibm1142.h: Likewise.
3389 * iconvdata/ibm1143.h: Likewise.
3390 * iconvdata/ibm1144.h: Likewise.
3391 * iconvdata/ibm1145.h: Likewise.
3392 * iconvdata/ibm1146.h: Likewise.
3393 * iconvdata/ibm1147.h: Likewise.
3394 * iconvdata/ibm1148.h: Likewise.
3395 * iconvdata/ibm1149.h: Likewise.
3396 * iconvdata/ibm1153.h: Likewise.
3397 * iconvdata/ibm1154.h: Likewise.
3398 * iconvdata/ibm1155.h: Likewise.
3399 * iconvdata/ibm1156.h: Likewise.
3400 * iconvdata/ibm1157.h: Likewise.
3401 * iconvdata/ibm1158.h: Likewise.
3402 * iconvdata/ibm1160.h: Likewise.
3403 * iconvdata/ibm1161.h: Likewise.
3404 * iconvdata/ibm1162.h: Likewise.
3405 * iconvdata/ibm1163.h: Likewise.
3406 * iconvdata/ibm1164.h: Likewise.
3407 * iconvdata/ibm1166.h: Likewise.
3408 * iconvdata/ibm1167.h: Likewise.
3409 * iconvdata/ibm12712.h: Likewise.
3410 * iconvdata/ibm1390.h: Likewise.
3411 * iconvdata/ibm1399.h: Likewise.
3412 * iconvdata/ibm16804.h: Likewise.
3413 * iconvdata/ibm4517.h: Likewise.
3414 * iconvdata/ibm4899.h: Likewise.
3415 * iconvdata/ibm4909.h: Likewise.
3416 * iconvdata/ibm4971.h: Likewise.
3417 * iconvdata/ibm5347.h: Likewise.
3418 * iconvdata/ibm803.h: Likewise.
3419 * iconvdata/ibm856.h: Likewise.
3420 * iconvdata/ibm901.h: Likewise.
3421 * iconvdata/ibm902.h: Likewise.
3422 * iconvdata/ibm9030.h: Likewise.
3423 * iconvdata/ibm9066.h: Likewise.
3424 * iconvdata/ibm921.h: Likewise.
3425 * iconvdata/ibm922.h: Likewise.
3426 * iconvdata/ibm9448.h: Likewise.
3427 * iconvdata/isiri-3342.h: Likewise.
3428 * iconvdata/jis0201.h: Likewise.
3429 * include/link.h: Likewise.
3430 * include/netdb.h: Likewise.
3431 * inet/check_native.c: Likewise.
3432 * inet/check_pf.c: Likewise.
3433 * inet/getipv4sourcefilter.c: Likewise.
3434 * inet/getnameinfo.c: Likewise.
3435 * inet/getsourcefilter.c: Likewise.
3436 * inet/htonl.c: Likewise.
3437 * inet/setipv4sourcefilter.c: Likewise.
3438 * inet/setsourcefilter.c: Likewise.
3439 * inet/test-inet6_opt.c: Likewise.
3440 * inet/tst-network.c: Likewise.
3441 * locale/C-collate.c: Likewise.
3442 * locale/C-ctype.c: Likewise.
3443 * locale/C-time.c: Likewise.
3444 * locale/C-translit.h: Likewise.
3445 * locale/loadarchive.c: Likewise.
3446 * locale/programs/3level.h: Likewise.
3447 * locale/programs/charmap.c: Likewise.
3448 * locale/programs/charmap.h: Likewise.
3449 * locale/programs/ld-address.c: Likewise.
3450 * locale/programs/ld-collate.c: Likewise.
3451 * locale/programs/ld-ctype.c: Likewise.
3452 * locale/programs/ld-identification.c: Likewise.
3453 * locale/programs/ld-measurement.c: Likewise.
3454 * locale/programs/ld-messages.c: Likewise.
3455 * locale/programs/ld-monetary.c: Likewise.
3456 * locale/programs/ld-name.c: Likewise.
3457 * locale/programs/ld-numeric.c: Likewise.
3458 * locale/programs/ld-paper.c: Likewise.
3459 * locale/programs/ld-telephone.c: Likewise.
3460 * locale/programs/ld-time.c: Likewise.
3461 * locale/programs/linereader.c: Likewise.
3462 * locale/programs/locale.c: Likewise.
3463 * locale/programs/locarchive.c: Likewise.
3464 * locale/programs/locfile.h: Likewise.
3465 * locale/programs/repertoire.c: Likewise.
3466 * locale/programs/simple-hash.c: Likewise.
3467 * locale/programs/simple-hash.h: Likewise.
3468 * malloc/memusage.c: Likewise.
3469 * malloc/memusagestat.c: Likewise.
3470 * nis/nis_defaults.c: Likewise.
3471 * nis/nis_hash.c: Likewise.
3472 * nis/nis_print.c: Likewise.
3473 * nis/nis_xdr.c: Likewise.
3474 * nscd/connections.c: Likewise.
3475 * nscd/hstcache.c: Likewise.
3476 * nscd/nscd_gethst_r.c: Likewise.
3477 * nscd/nscd_getserv_r.c: Likewise.
3478 * nscd/nscd_helper.c: Likewise.
3479 * nscd/servicescache.c: Likewise.
3480 * nss/makedb.c: Likewise.
3481 * nss/nss_db/db-XXX.c: Likewise.
3482 * nss/nss_db/db-initgroups.c: Likewise.
3483 * nss/nss_db/db-netgrp.c: Likewise.
3484 * nss/nss_files/files-network.c: Likewise.
3485 * nss/nss_files/files-parse.c: Likewise.
3486 * posix/bug-regex5.c: Likewise.
3487 * posix/fnmatch_loop.c: Likewise.
3488 * posix/regcomp.c: Likewise.
3489 * posix/regexec.c: Likewise.
3490 * posix/tst-rfc3484-2.c: Likewise.
3491 * posix/tst-rfc3484-3.c: Likewise.
3492 * posix/tst-rfc3484.c: Likewise.
3493 * resolv/nss_dns/dns-canon.c: Likewise.
3494 * resolv/nss_dns/dns-network.c: Likewise.
3495 * resolv/res_init.c: Likewise.
3496 * resolv/res_mkquery.c: Likewise.
3497 * resolv/tst-aton.c: Likewise.
3498 * stdlib/cxa_atexit.c: Likewise.
3499 * stdlib/cxa_finalize.c: Likewise.
3500 * stdlib/gen-fpioconst.c: Likewise.
3501 * stdlib/strtol_l.c: Likewise.
3502 * string/tst-endian.c: Likewise.
3503 * sunrpc/auth_des.c: Likewise.
3504 * sunrpc/clnt_udp.c: Likewise.
3505 * sunrpc/rtime.c: Likewise.
3506 * sunrpc/svcauth_des.c: Likewise.
3507 * sunrpc/xdr.c: Likewise.
3508 * sunrpc/xdr_intXX_t.c: Likewise.
3509 * sunrpc/xdr_rec.c: Likewise.
3510 * sysdeps/generic/ldconfig.h: Likewise.
3511 * sysdeps/generic/ldsodefs.h: Likewise.
3512 * sysdeps/generic/memusage.h: Likewise.
3513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3523 * sysdeps/posix/getaddrinfo.c: Likewise.
3524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3528 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3529 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3530 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3531 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3532 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3533 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3534 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3536 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3537 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3538 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3539 * sysdeps/x86_64/dl-tls.h: Likewise.
3540 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3541 * time/alt_digit.c: Likewise.
3542 * time/era.c: Likewise.
3543 * wcsmbs/tst-c16c32-1.c: Likewise.
3544
8c75f674
JM
35452013-05-16 Joseph Myers <joseph@codesourcery.com>
3546
3547 * math/libm-test.inc (struct test_sincos_data): New type.
3548 (RUN_TEST_LOOP_sincos): New macro.
3549 (sincos_test_data): New variable.
3550 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3551
e6e49e59
RH
35522013-05-16 Richard Henderson <rth@redhat.com>
3553
3554 * math/atest-exp2.c (LIMB64): New macro.
3555 (CONSTSZ): New macro.
3556 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3557 (hexdig): Move ...
3558 (print_mpn_fp): ... to function scope.
3559 (read_mpn_hex): Remove.
3560 (get_log2): Remove.
3561 (exp2_mpn): Use mp_log2.
3562 (main): Use mp_exp1.
3563
15c7c18d
JM
35642013-05-16 Joseph Myers <joseph@codesourcery.com>
3565
105a07df
JM
3566 * math/libm-test.inc: Remove comment about not testing "inexact"
3567 exceptions.
3568 (INEXACT_EXCEPTION): New macro.
3569 (NO_INEXACT_EXCEPTION): Likewise.
3570 (INVALID_EXCEPTION_OK): Update value.
3571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3572 (OVERFLOW_EXCEPTION_OK): Likewise.
3573 (UNDERFLOW_EXCEPTION_OK): Likewise.
3574 (IGNORE_ZERO_INF_SIGN): Likewise.
3575 (ERRNO_UNCHANGED): Likewise.
3576 (ERRNO_EDOM): Likewise.
3577 (ERRNO_ERANGE): Likewise.
3578 (test_exceptions): Handle testing "inexact" exceptions.
3579 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3580 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3581 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3582 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3583 INEXACT_EXCEPTION.
3584 (rint_towardzero_test_data): Likewise.
3585 (rint_downward_test_data): Likewise.
3586 (rint_upward_test_data): Likewise.
3587
e9eee333
JM
3588 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3589 with OVERFLOW_EXCEPTION.
3590 (exp10_test_data): Likewise.
3591 (exp2_test_data): Likewise.
3592 (expm1_test_data): Likewise.
3593 (lgamma_test_data): Likewise.
3594 (pow_test_data): Likewise.
3595 (tgamma_test_data): Likewise.
3596 (yn_test_data): Remove duplicate test of overflow.
3597
1c38ff73
JM
3598 * math/libm-test.inc (struct test_cc_c_data): New type.
3599 (RUN_TEST_LOOP_cc_c): New macro.
3600 (cpow_test_data): New variable.
3601 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3602
15c7c18d
JM
3603 * math/libm-test.inc (struct test_f_L_data): New type.
3604 (RUN_TEST_LOOP_f_L): New macro.
3605 (llrint_test_data): New variable.
3606 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3607 (llrint_tonearest_test_data): New variable.
3608 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3609 (llrint_towardzero_test_data): New variable.
3610 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3611 (llrint_downward_test_data): New variable.
3612 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3613 (llrint_upward_test_data): New variable.
3614 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3615 (llround_test_data): New variable.
3616 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3617
f137ff13
PC
36182013-05-13 Peter Collingbourne <pcc@google.com>
3619
3620 * math/atest-exp2.c (get_log2): Remove const attribute.
3621
3608cb24
JM
36222013-05-15 Joseph Myers <joseph@codesourcery.com>
3623
3624 * math/libm-test.inc (struct test_f_l_data): New type.
3625 (RUN_TEST_LOOP_f_l): New macro.
3626 (lrint_test_data): New variable.
3627 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3628 (lrint_tonearest_test_data): New variable.
3629 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3630 (lrint_towardzero_test_data): New variable.
3631 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3632 (lrint_downward_test_data): New variable.
3633 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3634 (lrint_upward_test_data): New variable.
3635 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3636 (lround_test_data): New variable.
3637 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3638
39b1f617
PC
36392013-05-15 Peter Collingbourne <pcc@google.com>
3640
1deff3dc
PC
3641 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3642 (EXTRACT_WORDS64) Use where appropriate.
3643 (INSERT_WORDS64) Likewise.
3644
791f3ba0
PC
3645 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3646 constraints with x constraints.
3647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3648
39b1f617
PC
3649 * malloc/obstack.c (_obstack_compat): Add initializer.
3650
12fba011
EM
36512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3652
3653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3654 si_trapno and add si_addr_lsb to _sifields.sigfault.
3655 (si_trapno): Remove macro.
3656 (si_addr_lsb): Define new macro.
3657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3658
d369f531
JM
36592013-05-15 Joseph Myers <joseph@codesourcery.com>
3660
b861c6c4
JM
3661 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3662 instead of TEST_f_l.
3663 (llrint_test_tonearest): Likewise.
3664 (llrint_test_towardzero): Likewise.
3665 (llrint_test_downward): Likewise.
3666 (llrint_test_upward): Likewise.
3667 (llround_test): Likewise.
3668
7abeee12
JM
3669 * math/libm-test.inc (struct test_f_i_data): Add comment.
3670 (RUN_TEST_LOOP_f_b): New macro.
3671 (RUN_TEST_LOOP_f_b_tg): Likewise.
3672 (finite_test_data): New variable.
3673 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3674 (isfinite_test_data): New variable.
3675 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3676 (isinf_test_data): New variable.
3677 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3678 (isnan_test_data): New variable.
3679 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3680 (isnormal_test_data): New variable.
3681 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3682 (issignaling_test_data): New variable.
3683 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3684 (signbit_test_data): New variable.
3685 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3686
cbe8c4d3
JM
3687 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3688 with INVALID_EXCEPTION.
3689 (acosh_test_data): Likewise.
3690 (asin_test_data): Likewise.
3691 (atanh_test_data): Likewise.
3692 (fmod_test_data): Likewise.
3693 (log_test_data): Likewise.
3694 (log10_test_data): Likewise.
3695 (log2_test_data): Likewise.
3696 (pow_test_data): Likewise.
3697 (sqrt_test_data): Likewise.
3698 (y0_test_data): Likewise.
3699 (y1_test_data): Likewise.
3700 (yn_test_data): Likewise.
3701
5575c0e5
JM
3702 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3703 function contents.
3704
d369f531
JM
3705 * math/libm-test.inc (struct test_ff_i_data): New type.
3706 (RUN_TEST_LOOP_ff_i_tg): New macro.
3707 (isgreater_test_data): New variable.
3708 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3709 (isgreaterequal_test_data): New variable.
3710 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3711 (isless_test_data): New variable.
3712 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3713 (islessequal_test_data): New variable.
3714 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3715 (islessgreater_test_data): New variable.
3716 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3717 (isunordered_test_data): New variable.
3718 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3719
781fd748
DM
37202013-05-14 David S. Miller <davem@davemloft.net>
3721
3722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3723
87aa21df
JM
37242013-05-14 Joseph Myers <joseph@codesourcery.com>
3725
5e908270
JM
3726 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3727
f71172e5
JM
3728 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3729 extra_test to int.
3730 (struct test_f_i_data): Change type of max_ulp to int.
3731
8cfa635a
JM
3732 * math/libm-test.inc (test_ffI_f1_data): New type.
3733 (RUN_TEST_LOOP_ffI_f1): New macro.
3734 (remquo_test_data): New variable.
3735 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3736
2bcb36b2
JM
3737 * setjmp/tst-setjmp-fp.c: New file.
3738 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3739 (link-libm): New variable.
3740 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3741
acbd839a
JM
3742 * math/libm-test.inc (struct test_f_i_data): New type.
3743 (RUN_TEST_LOOP_f_i): New macro.
3744 (RUN_TEST_LOOP_f_i_tg): Likewise.
3745 (fpclassify_test_data): New variable.
3746 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3747 (ilogb_test_data): New variable.
3748 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3749
e414d745
JM
3750 * math/libm-test.inc (scalbln_test): Correct function name in END
3751 call.
3752
d9c2a0fd
JM
3753 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3754 (RUN_TEST_LOOP_fI_f1): New macro.
3755 (frexp_test_data): New variable.
3756 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3757
9dc9095d
JM
3758 * math/libm-test.inc (struct test_fF_f1_data): New type.
3759 (RUN_TEST_LOOP_fF_f1): New macro.
3760 (modf_test_data): New variable.
3761 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3762
87aa21df
JM
3763 * math/libm-test.inc (struct test_f_f1_data): New type.
3764 (RUN_TEST_LOOP_f_f1): New macro.
3765 (gamma_test_data): New variable.
3766 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3767 (lgamma_test_data): New variable.
3768 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3769
141af660
CD
37702013-05-13 Carlos O'Donell <carlos@redhat.com>
3771
3772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3773 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3774 (main): Comment "tls" pseudo-hwcap.
3775
6d33265c
JM
37762013-05-13 Joseph Myers <joseph@codesourcery.com>
3777
68fc074c
JM
3778 * math/libm-test.inc (struct test_fl_f_data): New type.
3779 (RUN_TEST_LOOP_fl_f): New variable.
3780 (scalbln_test_data): New variable.
3781 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3782
243216e1
JM
3783 * math/libm-test.inc (struct test_fi_f_data): New type.
3784 (RUN_TEST_LOOP_fi_f): New macro.
3785 (ldexp_test_data): New variable.
3786 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3787 (scalbn_test_data): New variable.
3788 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3789
6a1992e2
JM
3790 * math/libm-test.inc (struct test_c_f_data): New type.
3791 (RUN_TEST_LOOP_c_f): New macro.
3792 (cabs_test_data): New variable.
3793 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3794 (carg_test_data): New variable.
3795 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3796 (cimag_test_data): New variable.
3797 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3798 (creal_test_data): New variable.
3799 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3800
0e400df5
JM
3801 * math/libm-test.inc (struct test_if_f_data): New type.
3802 (RUN_TEST_LOOP_if_f): New macro.
3803 (jn_test_data): New variable.
3804 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3805 (yn_test_data): New variable.
3806 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3807
6d33265c
JM
3808 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3809
f98ece5f
AZ
38102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811
3812 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3813 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3814
0f7d347b
SP
38152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3816
43fe811b
SP
3817 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3818 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3819 (bench-deps): Add bench-timing.h.
3820 * benchtests-bench-skeleton.c: Include bench-timing.h.
3821 (main): Use TIMING_* macros instead of clock_gettime.
3822 * benchtests/bench-timing.h: New file.
3823
0f7d347b
SP
3824 [BZ #14582]
3825 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3826 Renamed from _LIB_VERSION.
3827 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3828
601a3a5f
JM
38292013-05-12 Joseph Myers <joseph@codesourcery.com>
3830
4f184d30
JM
3831 * math/libm-test.inc (struct test_fff_f_data): New type.
3832 (RUN_TEST_LOOP_fff_f): New macro.
3833 (fma_test_data): New variable.
3834 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3835 (fma_towardzero_test_data): New variable.
3836 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3837 (fma_downward_test_data): New variable.
3838 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3839 (fma_upward_test_data): New variable.
3840 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3841
08198877
JM
3842 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3843 (struct test_c_c_data): New type.
3844 (RUN_TEST_LOOP_c_c): New macro.
3845 (cacos_test_data): New variable.
3846 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3847 (cacosh_test_data): New variable.
3848 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3849 (casin_test_data): New variable.
3850 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3851 (casinh_test_data): New variable.
3852 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3853 (catan_test_data): New variable.
3854 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3855 (catanh_test_data): New variable.
3856 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3857 (ccos_test_data): New variable.
3858 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3859 (ccosh_test_data): New variable.
3860 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3861 (cexp_test_data): New variable.
3862 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3863 (clog_test_data): New variable.
3864 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3865 (clog10_test_data): New variable.
3866 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3867 (conj_test_data): New variable.
3868 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3869 (cproj_test_data): New variable.
3870 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3871 (csin_test_data): New variable.
3872 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3873 (csinh_test_data): New variable.
3874 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3875 (csqrt_test_data): New variable.
3876 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3877 (ctan_test_data): New variable.
3878 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3879 (ctan_tonearest_test_data): New variable.
3880 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3881 (ctan_towardzero_test_data): New variable.
3882 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3883 (ctan_downward_test_data): New variable.
3884 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3885 (ctan_upward_test_data): New variable.
3886 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3887 (ctanh_test_data): New variable.
3888 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3889 (ctanh_tonearest_test_data): New variable.
3890 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3891 (ctanh_towardzero_test_data): New variable.
3892 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3893 (ctanh_downward_test_data): New variable.
3894 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3895 (ctanh_upward_test_data): New variable.
3896 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3897 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3898 of BUILD_COMPLEX.
3899
601a3a5f
JM
3900 * math/libm-test.inc (struct test_ff_f_data): New type.
3901 (struct test_ff_f_data_nexttoward): Likewise.
3902 (RUN_TEST_LOOP_2_f): New macro.
3903 (RUN_TEST_LOOP_ff_f): Likewise.
3904 (atan2_test_data): New variable.
3905 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3906 (copysign_test_data): New variable.
3907 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3908 (fdim_test_data): New variable.
3909 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3910 (fmax_test_data): New variable.
3911 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3912 (fmin_test_data): New variable.
3913 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3914 (fmod_test_data): New variable.
3915 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3916 (hypot_test_data): New variable.
3917 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3918 (nextafter_test_data): New variable.
3919 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3920 (nexttoward_test_data): New variable.
3921 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3922 (pow_test_data): New variable.
3923 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3924 (pow_tonearest_test_data): New variable.
3925 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3926 (pow_towardzero_test_data): New variable.
3927 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3928 (pow_downward_test_data): New variable.
3929 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3930 (pow_upward_test_data): New variable.
3931 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3932 (remainder_test_data): New variable.
3933 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3934 (scalb_test_data): New variable.
3935 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937
74c57478
JM
39382013-05-11 Joseph Myers <joseph@codesourcery.com>
3939
8329e4da
JM
3940 * math/libm-test.inc (fma_test): Use max_value instead of local
3941 variable fltmax.
3942 (nextafter_test): Likewise.
3943
74c57478
JM
3944 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3945 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3946 (acos_downward_test_data): New variable.
3947 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3948 (acos_upward_test_data): New variable.
3949 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3950 (acosh_test_data): New variable.
3951 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3952 (asin_test_data): New variable.
3953 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3954 (asin_tonearest_test_data): New variable.
3955 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3956 (asin_towardzero_test_data): New variable.
3957 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3958 (asin_downward_test_data): New variable.
3959 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3960 (asin_upward_test_data): New variable.
3961 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3962 (asinh_test_data): New variable.
3963 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3964 (atan_test_data): New variable.
3965 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3966 (atanh_test_data): New variable.
3967 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3968 (cbrt_test_data): New variable.
3969 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3970 (ceil_test_data): New variable.
3971 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3972 (cos_test_data): New variable.
3973 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3974 (cos_tonearest_test_data): New variable.
3975 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3976 (cos_towardzero_test_data): New variable.
3977 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3978 (cos_downward_test_data): New variable.
3979 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3980 (cos_upward_test_data): New variable.
3981 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3982 (cosh_test_data): New variable.
3983 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3984 (cosh_tonearest_test_data): New variable.
3985 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3986 (cosh_towardzero_test_data): New variable.
3987 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3988 (cosh_downward_test_data): New variable.
3989 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3990 (cosh_upward_test_data): New variable.
3991 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3992 (erf_test_data): New variable.
3993 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3994 (erfc_test_data): New variable.
3995 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3996 (exp_test_data): New variable.
3997 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3998 (exp_tonearest_test_data): New variable.
3999 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4000 (exp_towardzero_test_data): New variable.
4001 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4002 (exp_downward_test_data): New variable.
4003 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4004 (exp_upward_test_data): New variable.
4005 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4006 (exp10_test_data): New variable.
4007 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4008 (exp2_test_data): New variable.
4009 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4010 (expm1_test_data): New variable.
4011 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4012 (fabs_test_data): New variable.
4013 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4014 (floor_test_data): New variable.
4015 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4016 (j0_test_data): New variable.
4017 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4018 (j1_test_data): New variable.
4019 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4020 (log_test_data): New variable.
4021 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4022 (log10_test_data): New variable.
4023 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4024 (log1p_test_data): New variable.
4025 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4026 (log2_test_data): New variable.
4027 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4028 (logb_test_data): New variable.
4029 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4030 (logb_downward_test_data): New variable.
4031 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4032 (nearbyint_test_data): New variable.
4033 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4034 (rint_test_data): New variable.
4035 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4036 (rint_tonearest_test_data): New variable.
4037 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4038 (rint_towardzero_test_data): New variable.
4039 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4040 (rint_downward_test_data): New variable.
4041 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4042 (rint_upward_test_data): New variable.
4043 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4044 (round_test_data): New variable.
4045 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4046 (sin_test_data): New variable.
4047 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4048 (sin_tonearest_test_data): New variable.
4049 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4050 (sin_towardzero_test_data): New variable.
4051 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4052 (sin_downward_test_data): New variable.
4053 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4054 (sin_upward_test_data): New variable.
4055 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4056 (sinh_test_data): New variable.
4057 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4058 (sinh_tonearest_test_data): New variable.
4059 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4060 (sinh_towardzero_test_data): New variable.
4061 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4062 (sinh_downward_test_data): New variable.
4063 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4064 (sinh_upward_test_data): New variable.
4065 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4066 (sqrt_test_data): New variable.
4067 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4068 (tan_test_data): New variable.
4069 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4070 (tan_tonearest_test_data): New variable.
4071 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4072 (tan_towardzero_test_data): New variable.
4073 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4074 (tan_downward_test_data): New variable.
4075 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4076 (tan_upward_test_data): New variable.
4077 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4078 (tanh_test_data): New variable.
4079 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4080 (tgamma_test_data): New variable.
4081 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4082 (trunc_test_data): New variable.
4083 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4084 (y0_test_data): New variable.
4085 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4086 (y1_test_data): New variable.
4087 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4088 (significand_test_data): New variable.
4089 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4090
7187d844
CG
40912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4092
4093 [BZ #12387]
4094 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4095
f63fae73
PT
40962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4097
4098 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4099
8a67a4b3
AJ
41002013-05-10 Andreas Jaeger <aj@suse.de>
4101
4102 [BZ #15448]
4103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4104 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4105
51df539d
JM
41062013-05-10 Joseph Myers <joseph@codesourcery.com>
4107
4108 * math/gen-libm-test.pl (adjust_arg): New function.
4109 (special_functions): Handle generating output in both functions
4110 and arrays.
4111 (parse_args): Likewise.
4112 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4113 $in_func argument to parse_args.
4114 * math/libm-test.inc (struct test_f_f_data): New type.
4115 (IF_ROUND_INIT_): New macro.
4116 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4117 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4118 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4119 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4120 (ROUND_RESTORE_): Likewise.
4121 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4122 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4123 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4124 (ROUND_RESTORE_FE_UPWARD): Likewise.
4125 (RUN_TEST_LOOP_f_f): New macro.
4126 (acos_test_data): New variable.
4127 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4128 (acos_tonearest_test_data): New variable.
4129 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4130
5c637fe5
SP
41312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4132
4133 * benchtests/bench-skeleton.c (startup): Fix coding style.
4134
ab2b9461
JM
41352013-05-10 Joseph Myers <joseph@codesourcery.com>
4136
4137 [BZ #6809]
4138 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4139 negative infinity argument.
4140 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4141 negative infinity argument.
4142 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4143 negative infinity argument.
4144 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4145 domain errors.
4146
4c0fe6fe
FW
41472013-05-10 Florian Weimer <fweimer@redhat.com>
4148
4149 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4150 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4151 * iconv/iconv_prog.c (main): Likewise.
4152 * locale/programs/charmap-dir.c (charmap_readdir)
4153 (fopen_uncompressed): Likewise.
4154 * locale/programs/locfile.c (siblings_uncached)
4155 (write_locale_data): Use lstat64 instead of lstat.
4156 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4157 stat.
4158
a3375d29
AJ
41592013-05-10 Andreas Jaeger <aj@suse.de>
4160
4161 [BZ #15395]
4162 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4163 localization.
4164 Include <locale.h>.
4165
36129722
CD
41662013-05-09 Carlos O'Donell <carlos@redhat.com>
4167
4168 * elf/dl-close.c (_dl_close_worker): Add comments.
4169
faa7f811
JM
41702013-05-09 Joseph Myers <joseph@codesourcery.com>
4171
ed41ffef
JM
4172 [BZ #15359]
4173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4174 high part of pi/2.
4175 (__ieee754_rem_pio2l): Update comments.
4176
d0213cd0
JM
4177 [BZ #15429]
4178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4179 high part of pi/2.
4180 (__ieee754_rem_pio2l): Update comments.
4181
0d3e777a
JM
4182 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4183 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4184
24f56066
JM
4185 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4186 M_PI_4l.
4187
faa7f811
JM
4188 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4189 (M_PI_34_LOG10El): Likewise.
4190 (M_PI2_LOG10El): Likewise.
4191 (M_PI4_LOG10El): Likewise.
4192 (M_PI_LOG10El): Likewise.
4193
e9a5e0fd
AZ
41942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4195
4196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4197
d8cd06db
JM
41982013-05-08 Joseph Myers <joseph@codesourcery.com>
4199
a0d9f9d7
JM
4200 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4201 (MINUS_ZERO_INIT): Likewise.
4202 (PLUS_INFTY_INIT): Likewise.
4203 (MINUS_INFTY_INIT): Likewise.
4204 (QNAN_VALUE_INIT): Likewise.
4205 (MAX_VALUE_INIT): Likewise.
4206 (MIN_VALUE_INIT): Likewise.
4207 (MIN_SUBNORM_VALUE_INIT): Likewise.
4208 (plus_zero): Initialize with PLUS_ZERO_INIT.
4209 (minus_zero): Initialize with MINUS_ZERO_INIT.
4210 (plus_infty): Initialize with PLUS_INFTY_INIT.
4211 (minus_infty): Initialize with MINUS_INFTY_INIT.
4212 (qnan_value): Initialize with QNAN_VALUE_INIT.
4213 (max_value): Initialize with MAX_VALUE_INIT.
4214 (min_value): Initialize with MIN_VALUE_INIT.
4215 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4216
ae08db3b
JM
4217 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4218 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4219 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4220 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4221
f44bf14a
JM
4222 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4223 (RUN_TEST_2_f): Likewise.
4224 (RUN_TEST_ff_f): Likewise.
4225 (RUN_TEST_fi_f): Likewise.
4226 (RUN_TEST_fl_f): Likewise.
4227 (RUN_TEST_fff_f): Likewise.
4228 (RUN_TEST_c_f): Likewise.
4229 (RUN_TEST_f_f1): Likewise.
4230 (RUN_TEST_fF_f1): Likewise.
4231 (RUN_TEST_fI_f1): Likewise.
4232 (RUN_TEST_ffI_f1): Likewise.
4233 (RUN_TEST_c_c): Likewise.
4234 (RUN_TEST_cc_c): Likewise.
4235 (RUN_TEST_f_i): Likewise.
4236 (RUN_TEST_f_i_tg): Likewise.
4237 (RUN_TEST_ff_i_tg): Likewise.
4238 (RUN_TEST_f_b): Likewise.
4239 (RUN_TEST_f_b_tg): Likewise.
4240 (RUN_TEST_f_l): Likewise.
4241 (RUN_TEST_f_L): Likewise.
4242 (RUN_TEST_sincos): Likewise.
4243 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4244 whether to show exceptions. Do not include ");\n" in return
4245 value.
4246 (special_functions): Output call to RUN_TEST_sincos instead of
4247 check_float calls. Update calls to new_test.
4248 (parse_args): Output call to single RUN_TEST_* macro instead of
4249 check_* calls and other assignments. Update calls to new_test.
4250
d8cd06db
JM
4251 [BZ #2546]
4252 [BZ #2560]
4253 [BZ #5159]
4254 [BZ #15426]
4255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4256 input to result for tgamma overflow.
4257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4258 (gamma_coeff): New variable.
4259 (NCOEFF): New macro.
4260 (gamma_positive): New function.
4261 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4262 underflow here. Use gamma_positive instead of exp (lgamma) for
4263 other arguments.
4264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4265 (gamma_coeff): New variable.
4266 (NCOEFF): New macro.
4267 (gammaf_positive): New function.
4268 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4269 underflow here. Use gamma_positive instead of exp (lgamma) for
4270 other arguments.
4271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4272 (gamma_coeff): New variable.
4273 (NCOEFF): New macro.
4274 (gammal_positive): New function.
4275 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4276 underflow here. Use gamma_positive instead of exp (lgamma) for
4277 other arguments.
4278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4279 (gamma_coeff): New variable.
4280 (NCOEFF): New macro.
4281 (gammal_positive): New function.
4282 (__ieee754_gammal_r): Handle positive infinity, overflow and
4283 underflow here. Handle NaN the same as positive infinity. Remove
4284 check x < 0xffffffff for negative integers. Use gamma_positive
4285 instead of exp (lgamma) for other arguments.
4286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4287 (gamma_coeff): New variable.
4288 (NCOEFF): New macro.
4289 (gammal_positive): New function.
4290 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4291 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4296 * sysdeps/generic/math_private.h (__gamma_productf): New
4297 prototype.
4298 (__gamma_product): Likewise.
4299 (__gamma_productl): Likewise.
4300 * math/Makefile (libm-calls): Add gamma_product.
4301 * math/libm-test.inc (tgamma_test): Add more tests.
4302 * sysdeps/i386/fpu/libm-test-ulps: Update.
4303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4304
bb7cf681
OB
43052013-05-08 Ondřej Bílka <neleai@seznam.cz>
4306
4307 * benchtests/bench-skeleton.c (main): Preheat CPU.
4308
ba853947
AJ
43092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4310
4311 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4312
8347c74c
RM
43132013-05-07 Roland McGrath <roland@hack.frob.com>
4314
4315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4316 and _dl_skip_args_internal.
4317
e8dd4791
CD
43182013-05-07 Carlos O'Donell <carlos@redhat.com>
4319
4320 * manual/message.texi (Message Translation): Talk about users.
4321 Message to key mapping impacts design.
4322
c7405830
RM
43232013-05-06 Roland McGrath <roland@hack.frob.com>
4324
a9173057
RM
4325 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4326
976e2f03
RM
4327 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4328
9723ffc5
RM
4329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4330 * sysdeps/wordsize-64/glob64.c: ... here.
4331
962e6658
RM
4332 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4333 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4334 New macros.
4335
ee586a6d
RM
4336 * debug/getlogin_r_chk.c: Moved to ...
4337 * login/getlogin_r_chk.c: ... here.
4338 * debug/Makefile (routines): Move getlogin_r_chk to ...
4339 * login/Makefile (routines): ... here.
4340 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4341 * login/Versions (libc: GLIBC_2.4): ... here.
4342
355f9165
RM
4343 * io/poll.c (__poll): Renamed from poll.
4344 Add libc_hidden_def.
4345 (poll): Define as weak alias.
4346
bd9ffde6
RM
4347 * debug/ptsname_r_chk.c: Moved to ...
4348 * login/ptsname_r_chk.c: ... here.
4349 * debug/Makefile (routines): Move ptsname_r_chk to ...
4350 * login/Makefile (routines): ... here.
4351 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4352 * login/Versions (libc: GLIBC_2.4): ... here.
4353
8fb16a04
RM
4354 * posix/getlogin.c: Moved to ...
4355 * login/getlogin.c: ... here.
4356 * posix/getlogin_r.c: Moved to ...
4357 * login/getlogin_r.c: ... here.
4358 * posix/getlogin_r.c: Moved to ...
4359 * login/getlogin_r.c: ... here.
4360 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4361 * login/Makefile (routines): ... here.
4362 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4363 * login/Versions (libc: GLIBC_2.0): ... here.
4364
b99b892f
RM
4365 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4366 (setrlimit): Define as weak alias.
4367
c7405830
RM
4368 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4369 Call __ names for open, ftruncate, and close.
4370 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4371 (truncate): Define as weak alias.
4372
5bf96de5
JM
43732013-05-06 Joseph Myers <joseph@codesourcery.com>
4374
9ea3513c
JM
4375 * math/gen-libm-test.pl (parse_args): Initialize x before each
4376 test of frexp, modf and remquo.
4377
5bf96de5
JM
4378 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4379 test signgam value.
4380
16e616a7
AZ
43812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4382
4383 [BZ #15418]
4384 [BZ #15419]
4385 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4386 internal tests.
4387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4388
d5e82754
RM
43892013-05-06 Roland McGrath <roland@hack.frob.com>
4390
4391 * elf/dl-writev.h: New file.
4392 * elf/dl-misc.c: Include it.
4393 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4394 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4395
a7548d41
JM
43962013-05-04 Joseph Myers <joseph@codesourcery.com>
4397
b7dab1e4
JM
4398 * math/libm-test.inc (noXFails): Remove variable.
4399 (noXPasses): Likewise.
4400 (BUILD_COMPLEX_INT): Remove macro.
4401 (print_screen): Remove xfail argument.
4402 (print_screen_max_error): Likewise.
4403 (update_stats): Likewise.
4404 (print_max_error): Likewise. Update calls to other affected
4405 functions.
4406 (print_complex_max_error): Likewise.
4407 (test_single_exception): Update calls to print_screen.
4408 (test_single_errno): Likewise.
4409 (check_float_internal): Remove xfail argument. Update calls to
4410 other affected functions.
4411 (check_float): Likewise.
4412 (check_complex): Likewise.
4413 (check_int): Likewise.
4414 (check_long): Likewise.
4415 (check_bool): Likewise.
4416 (check_longlong): Likewise.
4417 (main): Don't print noXFails and noXPasses.
4418 * math/gen-libm-test.pl (top level): Don't mention expected
4419 failure handling in comment.
4420 (new_test): Don't handle expected failures.
4421 (parse_args): Don't mention expected failure handling in comment.
4422 (generate_testfile): Don't handle expected failures.
4423 (parse_ulps): Likewise.
4424 (print_ulps_file): Likewise.
4425 (get_failure): Remove function.
4426 (output_test): Don't handle expected failures.
4427 * make/README.libm-test: Don't mention expected failure handling.
4428
a7548d41
JM
4429 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4430 (minus_zero): Likewise.
4431 (plus_infty): Likewise.
4432 (minus_infty): Likewise.
4433 (qnan_value): Likewise.
4434 (max_value): Likewise.
4435 (min_value): Likewise.
4436 (min_subnorm_value): Likewise.
4437 (initialize): Do not initialize those variables dynamically.
4438
60bfd54c
RM
44392013-05-03 Roland McGrath <roland@hack.frob.com>
4440
cc0e6ed8
RM
4441 * io/open.c (__open_2): Moved to ...
4442 * io/open_2.c: ... this new file.
4443 * io/open64.c (__open64_2): Moved to ...
4444 * io/open64_2.c: ... this new file.
4445 * io/openat.c (__openat_2): Moved to ...
4446 * io/openat_2.c: ... this new file.
4447 * io/openat64.c (__openat64_2): Moved to ...
4448 * io/openat64_2.c: ... this new file.
4449 * io/Makefile (routines): Add them.
4450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4451 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4452 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4454 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4455 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4456 (__openat64): Add hidden_ver.
4457 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4458 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4459
60bfd54c
RM
4460 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4461 Separately conditionalize setting of GLRO(dl_sysinfo) so
4462 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4463 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4464
83e7640f
AZ
44652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4466
4467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4469 definition.
4470 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4472 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4473 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4474 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4475
d5dc2af3
JM
44762013-05-03 Joseph Myers <joseph@codesourcery.com>
4477
c31a5b1e
JM
4478 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4479 test signgam value.
4480
d5dc2af3
JM
4481 * math/libm-test.inc (hypot_test): Do not use
4482 IGNORE_ZERO_INF_SIGN.
4483
164fd39d
AJ
44842013-05-03 Andreas Jaeger <aj@suse.de>
4485
4486 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4487 Linux 3.9.
4488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4489 (PF_MAX): Adjust for VSOCK change.
4490
8237f48c
AZ
44912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4492
4493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4494
9df02941
CD
44952013-05-02 Carlos O'Donell <carlos@redhat.com>
4496
4497 [BZ #15264]
4498 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4499 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4500 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4501
d422395e
DM
45022013-05-02 David S. Miller <davem@davemloft.net>
4503
4504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4505
a07c5731
OB
45062013-05-01 Ondřej Bílka <neleai@seznam.cz>
4507
4508 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4509
1324e37f
RM
45102013-05-01 Roland McGrath <roland@hack.frob.com>
4511
4512 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4513
0695940b
RS
45142013-05-01 Richard Smith <richard@metafoo.co.uk>
4515
bb5f27ad 4516 [BZ #14952]
0695940b
RS
4517 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4518 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4519 Use __attribute__ ((__gnu_inline__)).
4520 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4521 Don't use __attribute__ ((__gnu_inline__)).
4522
10de07f5
JM
45232013-05-01 Joseph Myers <joseph@codesourcery.com>
4524
4525 [BZ #15423]
4526 * math/s_catan.c (__catan): Handle small real or imaginary part of
4527 input specially to avoid spurious underflow.
4528 * math/s_catanf.c (__catanf): Likewise.
4529 * math/s_catanh.c (__catanh): Likewise.
4530 * math/s_catanhf.c (__catanhf): Likewise.
4531 * math/s_catanhl.c (__catanhl): Likewise.
4532 * math/s_catanl.c (__catanl): Likewise.
4533 * math/libm-test.inc (catan_test): Add more tests.
4534 (catanh_test): Likewise.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537
cb4d5414
AZ
45382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4539
4540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4541
caf84319
JM
45422013-04-30 Joseph Myers <joseph@codesourcery.com>
4543
4544 [BZ #15416]
4545 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4546 accurately for denominator in atan2.
4547 * math/s_catanf.c (__catanf): Likewise.
4548 * math/s_catanh.c (__catanh): Likewise.
4549 * math/s_catanhf.c (__catanhf): Likewise.
4550 * math/s_catanhl.c (__catanhl): Likewise.
4551 * math/s_catanl.c (__catanl): Likewise.
4552 * math/libm-test.inc (catan_test): Add more tests.
4553 (catanh_test): Likewise.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556
d569c6ee
SP
45572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4558
6dbe713d
SP
4559 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4560
f0ee064b
SP
4561 * benchtests/Makefile (bench): Remove slow benchmarks.
4562 * benchtests/atan-inputs: Add slow benchmark inputs.
4563 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4564 (BENCH_FUNC): Accept variant offset.
4565 (VARIANT): Define.
4566 * benchtests/bench-skeleton.c (main): Run benchmark for each
4567 variant.
4568 * benchtests/cos-inputs: Add slow benchmark inputs.
4569 * benchtests/exp-inputs: Likewise.
4570 * benchtests/pow-inputs: Likewise.
4571 * benchtests/sin-inputs: Likewise.
4572 * benchtests/slowatan-inputs: Remove.
4573 * benchtests/slowatan.c: Remove.
4574 * benchtests/slowcos-inputs: Remove.
4575 * benchtests/slowcos.c: Remove.
4576 * benchtests/slowexp-inputs: Remove.
4577 * benchtests/slowexp.c: Remove.
4578 * benchtests/slowpow-inputs: Remove.
4579 * benchtests/slowpow.c: Remove.
4580 * benchtests/slowsin-inputs: Remove.
4581 * benchtests/slowsin.c: Remove.
4582 * benchtests/slowtan-inputs: Remove.
4583 * benchtests/slowtan.c: Remove.
4584 * benchtests/tan-inputs: Add slow benchmark inputs.
4585 * scripts/bench.pl: Parse comments and directives.
4586
d569c6ee
SP
4587 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4588 in CPPFLAGS.
4589 ($(objpfx)bench-%.c): Remove *-ITER.
4590 * benchtests/bench-modf.c: Remove definition of ITER.
4591 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4592 (main): Loop for DURATION seconds instead of fixed number of
4593 iterations.
4594 * scripts/bench.pl: Don't expect iterations in parameters.
4595
a6a242fe
RM
45962013-04-29 Roland McGrath <roland@hack.frob.com>
4597
4598 * io/fchdir.c (__fchdir): Renamed from fchdir.
4599 (fchdir): Define as weak alias.
4600
f2da7793
JM
46012013-04-29 Joseph Myers <joseph@codesourcery.com>
4602
4603 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4604 (ERRNO_EDOM): Likewise.
4605 (ERRNO_ERANGE): Likewise.
4606 (noErrnoTests): New variable.
4607 (init_max_error): Set errno to 0.
4608 (test_single_errno): New function.
4609 (test_errno): Likewise.
4610 (check_float_internal): Call test_errno. Set errno to 0.
4611 (check_complex): Refer to errno tests in comment.
4612 (check_int): Call test_errno. Set errno to 0.
4613 (check_long): Likewise.
4614 (check_bool): Likewise.
4615 (check_longlong): Likewise.
4616 (cos_test): Use ERRNO_* flags for errno tests instead of
4617 check_int.
4618 (expm1_test): Likewise.
4619 (fmod_test): Likewise.
4620 (ilogb_test): Likewise.
4621 (lgamma_test): Likewise.
4622 (pow_test): Likewise.
4623 (remainder_test): Likewise.
4624 (sin_test): Likewise.
4625 (tan_test): Likewise.
4626 (yn_test): Likewise.
4627 (initialize): Set errno to 0.
4628 (main): Print number of errno tests.
4629 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4630
b1a36ceb
AJ
46312013-04-29 Andreas Jaeger <aj@suse.de>
4632
c3ed8088
AJ
4633 [BZ #15084]
4634 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4635 and RES_USEVC.
4636
f1a24198
AJ
4637 [BZ #15085]
4638 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4639 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4640 unimplemented.
4641
9ce3b2cb
AJ
4642 [BZ #15380]
4643 * stdlib/random.c (__initstate): Return NULL if
4644 __initstate fails.
4645
f1a24198 4646 [BZ #15086]
b1a36ceb
AJ
4647 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4648 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4649 RES_SNGLKUPREOP.
4650
7e7b6f36
AZ
46512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4652
4653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4654
4d14f449
JM
46552013-04-29 Joseph Myers <joseph@codesourcery.com>
4656
4657 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4658 of individual tests.
4659 (casin_test): Likewise.
4660 (casinh_test): Likewise.
4661
5b4217d7
JM
46622013-04-27 Joseph Myers <joseph@codesourcery.com>
4663
4664 [BZ #15409]
4665 * math/s_catan.c (__catan): Handle arguments with large real or
4666 imaginary part separately without squaring.
4667 * math/s_catanf.c (__catanf): Likewise.
4668 * math/s_catanh.c (__catanh): Likewise.
4669 * math/s_catanhf.c (__catanhf): Likewise.
4670 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4671 and redefine.
4672 (__catanhl): Handle arguments with large real or imaginary part
4673 separately without squaring.
4674 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4675 and redefine.
4676 (__catanl): Handle arguments with large real or imaginary part
4677 separately without squaring.
4678 * math/libm-test.inc (catan_test): Add more tests.
4679 (catanh_test): Likewise.
4680 * sysdeps/i386/fpu/libm-test-ulps: Update.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682
4220c3ef
AJ
46832013-04-27 Andreas Jaeger <aj@suse.de>
4684
4685 [BZ #15007]
4686 * stdlib/stdlib.h: Update guards for qecvt.
4687 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4688 <stdlib.h>.
4689
4721b2d1
AM
46902013-04-27 Allan McRae <allan@archlinux.org>
4691
4692 * sysdeps/i386/fpu/libm-test-ulps: Update.
4693
f0302940
JM
46942013-04-26 Joseph Myers <joseph@codesourcery.com>
4695
9457fd95
JM
4696 [BZ #15406]
4697 * math/s_catan.c: Include <float.h>.
4698 (__catan): Ensure underflow exception occurs for underflowed
4699 result.
4700 * math/s_catanf.c: Include <float.h>.
4701 (__catanf): Ensure underflow exception occurs for underflowed
4702 result.
4703 * math/s_catanh.c: Include <float.h>.
4704 (__catanh): Ensure underflow exception occurs for underflowed
4705 result.
4706 * math/s_catanhf.c: Include <float.h>.
4707 (__catanhf): Ensure underflow exception occurs for underflowed
4708 result.
4709 * math/s_catanhl.c: Include <float.h>.
4710 (__catanhl): Ensure underflow exception occurs for underflowed
4711 result.
4712 * math/s_catanl.c: Include <float.h>.
4713 (__catanl): Ensure underflow exception occurs for underflowed
4714 result.
4715 * math/libm-test.inc (catan_test): Add more tests.
4716 (catanh_test): Likewise.
4717
f0302940
JM
4718 [BZ #15405]
4719 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4720 underflowed result.
4721 * math/s_ccoshf.c (__ccoshf): Likewise.
4722 * math/s_ccoshl.c (__ccoshl): Likewise.
4723 * math/s_csin.c (__csin): Likewise.
4724 * math/s_csinf.c (__csinf): Likewise.
4725 * math/s_csinh.c (__csinh): Likewise.
4726 * math/s_csinhf.c (__csinhf): Likewise.
4727 * math/s_csinhl.c (__csinhl): Likewise.
4728 * math/s_csinl.c (__csinl): Likewise.
4729 * math/libm-test.inc (ccos_test): Add more tests.
4730 (ccosh_test): Likewise.
4731 (csin_test): Likewise.
4732 (csinh_test): Likewise.
4733
aa630f59
AZ
47342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4735
4736 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4737 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4738 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4739 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4740 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4741 powerpc/power5+/fpu folders.
4742 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4743
4744
1b835983
MT
47452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4746
4747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4748
73709b26
JM
47492013-04-25 Joseph Myers <joseph@codesourcery.com>
4750
4751 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4752 additions to variable.
4753 [$(config-machine) = x86_64] (modules-names): Likewise.
4754 ($(objpfx)tst-audit3): Remove dependency.
4755 ($(objpfx)tst-audit3.out): Likewise.
4756 ($(objpfx)tst-audit4): Likewise.
4757 ($(objpfx)tst-audit4.out): Likewise.
4758 ($(objpfx)tst-audit5): Likewise.
4759 ($(objpfx)tst-audit5.out): Likewise.
4760 ($(objpfx)tst-audit6): Likewise.
4761 ($(objpfx)tst-audit6.out): Likewise.
4762 ($(objpfx)tst-audit7): Likewise.
4763 ($(objpfx)tst-audit7.out): Likewise.
4764 (tst-audit3-ENV): Remove variable.
4765 (tst-audit4-ENV): Likewise.
4766 (tst-audit5-ENV): Likewise.
4767 (tst-audit6-ENV): Likewise.
4768 (tst-audit7-ENV): Likewise.
4769 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4770 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4771 addition to variable.
4772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4777 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4778 tst-audit3, tst-audit4 and tst-audit5.
4779 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4780 tst-audit6 and tst-audit7.
4781 [$(subdir) = elf] (modules-names): Add audit modules for those
4782 tests.
4783 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4784 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4785 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4786 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4787 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4788 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4789 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4790 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4791 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4792 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4793 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4794 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4795 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4796 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4797 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4798 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4799 Likewise.
4800 [$(subdir) = elf && $(config-cflags-avx) = yes]
4801 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4802 [$(subdir) = elf && $(config-cflags-avx) = yes]
4803 (CFLAGS-tst-auditmod4a.c): Likewise.
4804 [$(subdir) = elf && $(config-cflags-avx) = yes]
4805 (CFLAGS-tst-auditmod4b.c): Likewise.
4806 [$(subdir) = elf && $(config-cflags-avx) = yes]
4807 (CFLAGS-tst-auditmod6b.c): Likewise.
4808 [$(subdir) = elf && $(config-cflags-avx) = yes]
4809 (CFLAGS-tst-auditmod6c.c): Likewise.
4810 [$(subdir) = elf && $(config-cflags-avx) = yes]
4811 (CFLAGS-tst-auditmod7b.c): Likewise.
4812 * elf/tst-audit3.c: Move to ...
4813 * sysdeps/x86_64/tst-audit3.c: ... here.
4814 * elf/tst-audit4.c: Move to ...
4815 * sysdeps/x86_64/tst-audit4.c: ... here.
4816 * elf/tst-audit5.c: Move to ...
4817 * sysdeps/x86_64/tst-audit5.c: ... here.
4818 * elf/tst-audit6.c: Move to ...
4819 * sysdeps/x86_64/tst-audit6.c: ... here.
4820 * elf/tst-audit7.c: Move to ...
4821 * sysdeps/x86_64/tst-audit7.c: ... here.
4822 * elf/tst-auditmod3a.c: Move to ...
4823 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4824 * elf/tst-auditmod3b.c: Move to ...
4825 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4826 * elf/tst-auditmod4a.c: Move to ...
4827 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4828 * elf/tst-auditmod4b.c: Move to ...
4829 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4830 * elf/tst-auditmod5a.c: Move to ...
4831 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4832 * elf/tst-auditmod5b.c: Move to ...
4833 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4834 * elf/tst-auditmod6a.c: Move to ...
4835 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4836 * elf/tst-auditmod6b.c: Move to ...
4837 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4838 * elf/tst-auditmod6c.c: Move to ...
4839 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4840 * elf/tst-auditmod7a.c: Move to ...
4841 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4842 * elf/tst-auditmod7b.c: Move to ...
4843 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4844
1ef74943
PP
48452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4846
4847 [BZ #15366]
4848 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4849 define unconditionally.
4850 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4851 define unconditionally.
4852 (INT8_C, INT16_C, etc.): Likewise.
4853
93fd48c5
MR
48542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4855
ae9552cf
MR
4856 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4857 __ehdr_start with hidden visibility.
4858
93fd48c5
MR
4859 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4860
418601aa
CD
48612013-04-24 Carlos O'Donell <carlos@redhat.com>
4862
4863 * math/libm-test.inc (cos_test): Use accurate hex constants.
4864 (sincost_test): Likewise.
4865
2f38fbfe
JM
48662013-04-24 Joseph Myers <joseph@codesourcery.com>
4867
5e221800
JM
4868 * math/libm-test.inc (catan_test): Add more tests.
4869 (catanh_test): Likewise.
4870
77f143fd
JM
4871 * math/s_catanf.c (__catanf): Use suffixed floating-point
4872 constants.
4873 * math/s_catanhf.c (__catanhf): Likewise.
4874 * math/s_catanhl.c (__catanhl): Likewise.
4875 * math/s_catanl.c (__catanl): Likewise.
4876
2f38fbfe
JM
4877 [BZ #15394]
4878 * math/s_catan.c (__catan): Calculate imaginary part of result
4879 with log1p not log unless computing log of number close to 0.
4880 * math/s_catanf.c (__catanf): Likewise.
4881 * math/s_catanl.c (__catanl): Likewise.
4882 * math/s_catanh.c (__catanh): Calculate real part of result with
4883 log1p not log unless computing log of number close to 0.
4884 * math/s_catanhf.c (__catanhf): Likewise.
4885 * math/s_catanhl.c (__catanhl): Likewise.
4886 * math/libm-test.inc (catan_test): Add more tests.
4887 (catanh_test): Likewise.
4888 * sysdeps/i386/fpu/libm-test-ulps: Update.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4890
45d69176
SP
48912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4892
4893 * benchtests/Makefile: Mention files in which fast and slow
4894 paths of math functions are implemented.
4895
87f51853
RM
48962013-04-23 Roland McGrath <roland@hack.frob.com>
4897
4898 * sysdeps/posix/timespec_get.c: New file.
4899
3c026539
AZ
49002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4901
4902 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4903 POWER.
4904 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4905 for POWER.
4906 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4907 powerpc/power5/fpu folders.
4908 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4909 * benchtests/Makefile: Add modf testcase.
4910 * benchtests/bench-modf.c: New file: Benchmark test for mo
4911
ff491d14
SP
49122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4913
4914 [BZ #14888]
4915 * time/Makefile (tests): Add tst-strptime-whitespace.
4916 * time/strptime_l.c (get_number): Use ISSPACE.
4917 (__strptime_internal): Likewise.
4918 * time/tst-strptime-whitespace.c: New test case.
4919
7ed3f4e8
AS
49202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4921
4922 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4923 member.
4924 (_nss_files_init): Set it here.
4925
5c95f7b6
HC
49262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4927
4928 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4929 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4930 unsigned.
4931
d34c9158
JBG
49322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4933
4934 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4935
2169712d
SP
49362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4937
4938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4939 size just once.
4940
29c5de99
DM
49412013-04-21 David S. Miller <davem@davemloft.net>
4942
4943 * po/ru.po: Update Russion translation from translation project.
4944
ccdad15d
AC
49452013-04-17 Adam Conrad <adconrad@0c3.net>
4946
4947 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4948 and setfsgid.
4949
0f122b8d
CD
49502013-04-17 Carlos O'Donell <carlos@redhat.com>
4951
5c5b07da 4952 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4953 * configure: Regenerate.
5c5b07da 4954 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4955 Add example to error message.
4956 * sysdeps/i386/configure: Regenerate.
4957
037714dd
SP
49582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4959
4960 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4961 slowtan.
4962 * benchtests/cos-inputs: New file.
4963 * benchtests/slowcos-inputs: New file.
4964 * benchtests/slowcos.c: New file.
4965 * benchtests/slowtan-inputs: New file.
4966 * benchtests/slowtan.c: New file.
4967 * benchtests/tan-inputs: New file.
4968
e913141d
RM
49692013-04-16 Roland McGrath <roland@hack.frob.com>
4970
4971 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4972 considered kosher.
4973
a2964074
SP
49742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4975
4856bcd2
SP
4976 * benchtests/Makefile: Include cppflags-iterator.mk to add
4977 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4978
a2964074
SP
4979 * Makefile.in (bench-clean): New target.
4980 * benchtests/Makefile (bench-clean): Likewise.
4981
9fbf9aca
DH
49822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4983
4984 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4985
207d1e2a
TS
49862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4987
4988 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4989
306dfba9
AS
49902013-04-15 Andreas Schwab <schwab@suse.de>
4991
4992 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4994 * nscd/pwdcache.c (cache_addpw): Likewise.
4995 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4996 more than recsize.
4997
206a6699
SP
49982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4999
5000 * benchtests/Makefile (bench): Write all output to
5001 bench-out.tmp together.
5002
0582f6b3
AS
50032013-04-15 Andreas Schwab <schwab@suse.de>
5004
5005 * nscd/nscd.c (main): Don't fork again after closing files.
5006
acb4325f
SP
50072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5008
5cb26d0a
SP
5009 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5010
acb4325f
SP
5011 * benchtests/Rules (bench-deps): Collect dependencies into a
5012 single variable. Add Makefile to dependencies.
5013 ($(objpfx)bench-%.c): Depend on bench-deps.
5014
47792506
RM
50152013-04-12 Roland McGrath <roland@hack.frob.com>
5016 Xavier Roche <roche+kml2@exalead.com>
5017
5018 [BZ #15361]
5019 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5020 just that it's a file descriptor.
5021 * manual/llio.texi (Synchronizing AIO Operations): Update description
5022 for EBADF error from aio_fsync.
5023
8fc1bee5
SP
50242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5025
5026 * Rules (bench): Move target definition...
5027 * benchtests/Makefile: ... here.
5028
aba5e333
CD
50292013-04-11 Carlos O'Donell <carlos@redhat.com>
5030
5031 * math/libm-test.inc (cos_test): Fix PI/2 test.
5032 (sincos_test): Likewise.
5033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5034 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5035
273cdee8
AS
50362013-04-11 Andreas Schwab <schwab@suse.de>
5037
6ecec3b6
AS
5038 [BZ #13988]
5039 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5040 accept exponent character only when digits were seen.
5041 * stdio-common/Makefile (tests): Add bug26.
5042 * stdio-common/bug26.c: New file.
5043
273cdee8
AS
5044 [BZ #14293]
5045 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5046 non-freeable.
5047
8da491f5
SP
50482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5049
01dc6df9
SP
5050 * Makeconfig (rtld-prefix): Define built linker prefix.
5051 * Rules (run-bench): Use it.
5052 * math/Makefile (run-regen-ulps): Likewise.
5053
8da491f5
SP
5054 * Rules (bench): Remove eval.
5055
abe7f530
SP
50562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5057 Roland McGrath <roland@hack.frob.com>
5058 Ondrej Bilka <neleai@seznam.cz>
5059
5060 [BZ #15346]
5061 * time/getdate.c: Include ctype.h and alloca.h.
5062 (__getdate_r): Trim leading and trailing spaces of input.
5063 * time/tst-getdate.c (tests): Add tests with leading and
5064 trailing spaces.
5065
61c23e62
RM
50662013-04-08 Roland McGrath <roland@hack.frob.com>
5067
5068 [BZ #14280]
5069 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5070 when computing value.
5071
7208a313
CD
50722013-04-06 Carlos O'Donell <carlos@redhat.com>
5073
085b2d41
CD
5074 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5075 Use testrun.sh to run libm tests.
5076
7208a313
CD
5077 [BZ #15309]
5078 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5079
872c0acd
MM
50802013-04-06 Marko Myllynen <myllynen@redhat.com>
5081
5082 [BZ #15264]
5083 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5084
26510bdd
CD
50852013-04-06 Carlos O'Donell <carlos@redhat.com>
5086
5087 * Makefile.in (regen-ulps): New target.
5088 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5089 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5090 [ifneq (no,$(PERL)] (regen-ulps): New target.
5091 [ifeq (no,$(PERL)] (regen-ulps): New target.
5092 * math/libm-test.inc (ulps_file_name): Define.
5093 (output_dir): New variable.
5094 (options): Add "output-dir" option.
5095 (parse_opt): Handle 'o' case.
5096 (main): If output_dir is non-NULL use it as a prefix
5097 otherwise use "".
5098 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5099
a01f19c8
CD
51002013-04-06 Carlos O'Donell <carlos@redhat.com>
5101
5102 [BZ #10060, #10062]
5103 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5104 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5105 fail configure if __sync_val_compare_and_swap is not inlined.
5106 * sysdeps/i386/configure: Regenerate.
5107 * configure.in: Build for i686 when configured for i386.
5108 * configure: Regenerate.
5109 * README: Remove i386 reference.
5110
b7a329a5
CD
51112013-04-06 Carlos O'Donell <carlos@redhat.com>
5112
5113 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5115
bf0f50df
TS
51162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5117
ee091edf
TS
5118 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5119 (lmsnanval): New variables.
5120 (F): Add conversion tests.
5121 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5122 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5123
a8b792d6
TS
5124 * stdio-common/tstdiomisc.c (F): Properly collect individual
5125 tests' results.
5126
a1cbf437
TS
5127 [BZ #14686, #15336]
5128 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5129 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5130 Instead, use input NaN values or generate a qNaN by arithmetic
5131 operation. Also fix bugs to comply with the standard.
5132 * math/libm-test.inc (remainder_test): Add more tests.
5133
8b43a0c9
TS
5134 [BZ #15335, #15342]
5135 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5137 input NaN values or generate a qNaN by arithmetic operation.
5138
d91da4ce
TS
5139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5140 unreachable code.
5141
bf0f50df
TS
5142 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5143 definitions.
5144
05e166c8
JM
51452013-04-03 Joseph Myers <joseph@codesourcery.com>
5146
5147 [BZ #14478]
5148 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5149 underflowed result.
5150 * math/s_cexpf.c (__cexpf): Likewise.
5151 * math/s_cexpl.c (__cexpl): Likewise.
5152 * math/libm-test.inc (cexp_test): Add more tests.
5153
1cef1b19
AS
51542013-04-03 Andreas Schwab <schwab@suse.de>
5155
5156 [BZ #15330]
5157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5158 order arrays from heap if bigger than alloca cutoff.
5159
74d87055
TS
51602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5161
5162 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5163 (SNAN_TESTS_double): Refer to GCC PR56831.
5164 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5165 GCC PR56828.
5166
d755bba4
SP
51672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5168
90d5d5bb
SP
5169 * Rules (bench): Move bench.out after the run is complete.
5170
73e0cd5d
SP
5171 * Rules (bench): Echo currently running benchmark.
5172
64aabd4b
SP
5173 * benchtests/Makefile (bench): Add atan and slowatan.
5174 * benchtests/atan-inputs: New file.
5175 * benchtests/slowatan-inputs: New file.
5176 * benchtests/slowatan.c: New file.
5177
c871eccd
SP
5178 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5180 its value.
5181
d755bba4
SP
5182 [BZ #15305]
5183 * sysdeps/unix/sysv/linux/kernel-features.h
5184 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5185 __ASSUME_XFS_RESTRICTED_CHOWN.
5186 * sysdeps/unix/sysv/linux/pathconf.c
5187 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5188 Save and restore errno.
5189
52ce4860
JM
51902013-04-02 Joseph Myers <joseph@codesourcery.com>
5191
5192 [BZ #15327]
5193 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5194 arguments using __kernel_casinh.
5195 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5196 arguments using __kernel_casinhf.
5197 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5198 arguments using __kernel_casinhl.
5199 * math/libm-test.inc (cacosh_test): Add more tests.
5200 * sysdeps/i386/fpu/libm-test-ulps: Update.
5201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5202
81f311c2
SP
52032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5204
e7906a47
SP
5205 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5207
92e3664b
SP
5208 * bench/Makefile (bench): Add sin and slowsin.
5209 * benchtests/sin-inputs: New file.
5210 * benchtests/slowsin-inputs: New file.
5211 * benchtests/slowsin.c: New file.
5212
81f311c2
SP
5213 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5214 (bench): Add slowexp and slowpow.
5215 (exp-ITER): Increase iterations.
5216 (pow-ITER): Likewise.
5217 * benchtests/exp-inputs: Change input.
5218 * benchtests/pow-inputs: Likewise.
5219 * benchtests/slowexp-inputs: New file.
5220 * benchtests/slowexp.c: New file.
5221 * benchtests/slowpow-inputs: New file.
5222 * benchtests/slowpow.c: New file.
5223
ab0f1aa9
AZ
52242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5227 instructions.
5228 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5229 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5230 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5231 * benchtests/Makefile: Add rint benchtest.
5232 * benchtests/rint-inputs: Input for rint benchtest.
5233
57267616
TS
52342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5235
5236 * Versions.def (libm): Add GLIBC_2.18.
5237 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5238 hidden libm prototypes.
5239 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5240 * math/Makefile (libm-calls): Add s_issignaling.
5241 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5242 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5243 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5244 declaration.
5245 * math/math.h [__USE_GNU] (issignaling): New macro.
5246 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5247 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5252 * manual/arith.texi (issignaling): New section.
5253 * manual/libm-err-tab.pl (@all_functions): Update comment.
5254 * math/gen-libm-test.pl (parse_args): Apply special handling for
5255 issignaling.
5256 * math/libm-test.inc (print_float, issignaling_test): New
5257 functions.
5258 (check_float_internal): Add issignaling checks.
5259 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5260 default definition.
5261 * sysdeps/powerpc/math-tests.h: New file.
5262 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5263 tests.
5264 * math/test-snan.c (TEST_FUNC): Likewise.
5265
6142896d
DM
52662013-03-30 David S. Miller <davem@davemloft.net>
5267
5268 * po/de.po: Update from translation team.
5269
ccc8cadf
JM
52702013-03-30 Joseph Myers <joseph@codesourcery.com>
5271
5272 [BZ #10357]
5273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5274 imaginary part less than 1.0 and real part less than 0.5
5275 specially.
5276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5278 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5279 (cacos_test): Add more tests.
5280 (casin_test): Likewise.
5281 (casinh_test): Likewise.
5282 * sysdeps/i386/fpu/libm-test-ulps: Update.
5283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5284
0f6a8d4b
SP
52852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
0d1029de
SP
5287 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5288 ONE with its value.
5289
c2d94018
SP
5290 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5291 (__pow_mp): Replace ONE and MONE with their values.
5292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5294 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5295 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5297 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5298
27ec37f1
SP
5299 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5300
a64d7e0e
SP
5301 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5302 (__pow_mp): Replace ZERO and MZERO with their values.
5303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5307 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5308 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5309 (__sqr): Likewise.
5310
d26dd3eb
SP
5311 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5312
0f6a8d4b
SP
5313 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5314
e57b0c61
RM
53152013-03-28 Roland McGrath <roland@hack.frob.com>
5316
5317 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5318 Declare with __attribute__ ((weak)).
5319 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5320 Call __call_tls_dtors only if it's not NULL.
5321
356b3480
RM
53222013-03-28 Roland McGrath <roland@hack.frob.com>
5323
288f7d79
RM
5324 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5325 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5326 magic __ehdr_start linker symbol if it's defined.
5327 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5328 them up here if it was already done.
5329
dc0a0263
RM
5330 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5331 (_dl_aux_init): Use const in cast when setting it.
5332 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5334 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5335
3d3436ae
RM
5336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5337 Declare them here.
5338 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5339 * csu/libc-tls.c: Nor here.
5340 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5341
356b3480
RM
5342 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5343 (__libc_message): Never call vsyslog.
5344
b0f1246a
AM
53452013-03-28 Alan Modra <amodra@gmail.com>
5346
5347 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5348 Define as empty.
5349 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5350 Likewise.
5351
fbbe2b9a
AZ
53522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 [BZ #15214]
5355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5356 underflow.
5357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5358
1728ab37
SP
53592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
7a86be6e
SP
5361 [BZ #15304]
5362 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5363 Don't add gid passed as argument.
5364
1728ab37
SP
5365 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5366
3a7182a1
JM
53672013-03-27 Joseph Myers <joseph@codesourcery.com>
5368
5369 [BZ #15307]
5370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5371 imaginary part between 1.0 and 1.5 and real part less than 0.5
5372 specially.
5373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5375 * math/libm-test.inc (cacos_test): Add more tests.
5376 (casin_test): Likewise.
5377 (casinh_test): Likewise.
5378 * sysdeps/i386/fpu/libm-test-ulps: Update.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5380
6f2e90e7
SP
53812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5382
5739f705
SP
5383 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5384 constants.
5385 (norm): Likewise.
5386 (denorm): Likewise.
5387 (__dbl_mp): Likewise.
5388 (add_magnitudes): Likewise.
5389 (sub_magnitudes): Likewise.
5390 (__add): Likewise.
5391 (__sub): Likewise.
5392 (__mul): Likewise.
5393 (__sqr): Likewise.
5394 (__inv): Likewise.
5395 (__dvd): Likewise.
5396
e375e83d
SP
5397 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5398 commented code.
5399 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5400 (__dubcos): Likewise.
5401 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5402 (__ieee754_acos): Likewise.
5403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5405 (__exp1): Likewise.
5406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5408 (log1): Likewise.
5409 (my_log2): Likewise.
5410 (checkint): Likewise.
5411 * sysdeps/ieee754/dbl-64/e_remainder.c
5412 (__ieee754_remainder): Likewise.
5413 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5415 (bsloww): Likewise.
5416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5417
6f2e90e7
SP
5418 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5420 MANTISSA_STORE_T to store computations on mantissa. Use
5421 macros for rounding and division.
5422 (denorm): Likewise.
5423 (__dbl_mp): Likewise.
5424 (add_magnitudes): Likewise.
5425 (sub_magnitudes): Likewise.
5426 (__mul): Likewise.
5427 (__sqr): Likewise.
5428 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5429 powers of two in terms of TWOPOW macro.
5430 (mp_no): Make type of mantissa as MANTISSA_T.
5431 [!RADIXI]: Define RADIXI.
5432 [!TWO52]: Define TWO52.
5433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5434
fce14d4e
AZ
54352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5436
5437 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5438 llroundl symbol when building for PPC32.
5439
9ad027fb
MW
54402013-03-24 Mark H Weaver <mhw@netris.org>
5441
5442 * manual/arith.texi (Normalization Functions): Fix prototypes for
5443 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5444
e42a38dd
AZ
54452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 [BZ #13889]
5448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5449 high value to check if expl overflow.
5450 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5451 to check for underflow and overflow.
5452 * math/libm-test.inc: Add exp test.
5453
2e0fb521
DL
54542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5455
5456 [BZ #11120]
5457 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5458 with NOT_IN_libc.
5459
b5784d95
AZ
54602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461
5462 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5463 symbol.
5464
5aa4a1a1
TS
54652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5466
bdef0be7
TS
5467 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5468 wrap blocks consisting of several statements.
5469
5aa4a1a1
TS
5470 * sysdeps/generic/math-tests.h: New file.
5471 * sysdeps/i386/fpu/math-tests.h: Likewise.
5472 * math/test-snan.c: Include it.
5473 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5474
98c48fe5
JM
54752013-03-21 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #15285]
5478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5479 (__ieee754_j0l): Do not improve calculations using cos of twice
5480 input for inputs above LDBL_MAX / 2.0L.
5481 (__ieee754_y0l): Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5483 (__ieee754_j1l): Do not improve calculations using cos of twice
5484 input for inputs above LDBL_MAX / 2.0L.
5485 (__ieee754_y1l): Likewise.
5486 * math/libm-test.inc (j0_test): Add another test.
5487 (j1_test): Likewise.
5488 (y0_test): Likewise.
5489 (y1_test): Likewise.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491
3775a8bc
SP
54922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5493
5494 * Rules ($(objpfx)bench-%.c): Include code from a C source
5495 file.
5496
0a1b2ae6
JM
54972013-03-21 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #15287]
5500 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5501 imaginary part 1.0 and real part less than 0.5 specially.
5502 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5503 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5504 * math/libm-test.inc (cacos_test): Add more tests.
5505 (casin_test): Likewise.
5506 (casinh_test): Likewise.
5507 * sysdeps/i386/fpu/libm-test-ulps: Update.
5508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5509
b33d4ce4
SP
55102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5511
5512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5514
bef0b507
JM
55152013-03-20 Joseph Myers <joseph@codesourcery.com>
5516
5517 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5518 * config.make.in (config-cflags-sse4): Remove variable.
5519 (config-cflags-avx): Likewise.
5520 (config-cflags-sse2avx): Likewise.
5521 (config-cflags-novzeroupper): Likewise.
5522 (config-asflags-i686): Likewise.
5523 (have-mfma4): Likewise.
5524 (have-as-vis3): Likewise.
5525 (MIG): Likewise.
5526 * configure.in (MIG): Do not AC_SUBST.
5527 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5528 (libc_cv_cc_sse4): Do not AC_SUBST.
5529 (libc_cv_cc_avx): Likewise.
5530 (libc_cv_cc_sse2avx): Likewise.
5531 (libc_cv_cc_novzeroupper): Likewise.
5532 (libc_cv_cc_fma4): Likewise.
5533 (libc_cv_as_i686): Likewise.
5534 (libc_cv_sparc_as_vis3): Likewise.
5535 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5536 LIBC_CONFIG_VAR.
5537 (config-asflags-i686): Likewise.
5538 (config-cflags-avx): Likewise.
5539 (config-cflags-sse2avx): Likewise.
5540 (have-mfma4): Likewise.
5541 (config-cflags-novzeroupper): Likewise.
5542 * sysdeps/mach/configure.in (MIG): Likewise.
5543 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5544 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5545 LIBC_CONFIG_VAR.
5546 (config-cflags-avx): Likewise.
5547 (config-cflags-sse2avx): Likewise.
5548 (have-mfma4): Likewise.
5549 (config-cflags-novzeroupper): Likewise.
5550 * configure: Regenerated.
5551 * sysdeps/i386/configure: Likewise.
5552 * sysdeps/mach/configure: Likewise.
5553 * sysdeps/sparc/configure: Likewise.
5554 * sysdeps/x86_64/configure: Likewise.
5555
912cc4b3
RM
55562013-03-20 Roland McGrath <roland@hack.frob.com>
5557
5558 [BZ #14812]
5559 * locale/programs/localedef.c (options): Put N_ translation marker
5560 on argument names, not just descriptions.
5561
04eed2b0
MS
55622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5563
5564 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5565
a065ceff
OB
55662013-03-20 Ondřej Bílka <neleai@seznam.cz>
5567
9bb2a810 5568 [BZ #14176]
a065ceff
OB
5569 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5570
a600e5ce
RM
55712013-03-19 Roland McGrath <roland@hack.frob.com>
5572
5573 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5574 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5575 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5576 [!BEFORE_ABORT] (before_abort): New function.
5577 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5578 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5579 (writev_for_fatal): New function.
5580 (WRITEV_FOR_FATAL): New macro; call that.
5581 (backtrace_and_maps): New function.
5582 (BEFORE_ABORT): New macro; call that.
5583 (struct str_list): Type removed.
5584 (__libc_message, __libc_fatal): Functions removed.
5585 Include <sysdeps/posix/libc_fatal.c> instead.
5586
6b18bea6
JM
55872013-03-19 Joseph Myers <joseph@codesourcery.com>
5588
5589 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5590 constants.
5591 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5592 double constants.
5593
aaa8cb4b
AS
55942013-03-19 Andreas Schwab <schwab@suse.de>
5595
44673770
AS
5596 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5597 * sysdeps/gnu/configure: Regenerate.
5598
aaa8cb4b
AS
5599 * configure.in: Substitute libc_cv_rtlddir.
5600 * configure: Regenerate.
5601 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5602 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5603 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5604 * elf/Makefile (install-others, CFLAGS-interp.c)
5605 (ldso_install, common-ldd-rewrite): Likewise.
5606 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5607 $(inst_slibdir)/$(rtld-installed-name).
5608 * scripts/rellns-sh: Add -p option.
5609 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5610 for source.
5611
d3cfc668
SP
56122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5613
5614 * manual/nptl.texi: Renamed to ...
5615 * manual/threads.texi: ... this.
5616 * manual/Makefile (chapters): Update.
5617
0e2b9cdd
RM
56182013-03-18 Roland McGrath <roland@hack.frob.com>
5619
5620 [BZ #14812]
5621 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5622 on argument names, not just descriptions.
0e2b9cdd
RM
5623 * malloc/memusagestat.c (options): Likewise.
5624 * nss/getent.c (options): Likewise.
63270c24
RM
5625
56262013-03-18 Benno Schulenberg <bensberg@justemail.net>
5627
5628 [BZ #14812]
5629 * iconv/iconv_prog.c (options): Put N_ translation marker
5630 on argument names, not just descriptions.
5631 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5632
b2e1393c
OB
56332013-03-18 Ondrej Bilka <neleai@seznam.cz>
5634
5635 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5636 implementation which is faster on all x86_64 architectures.
5637 Tested on AMD, Intel Nehalem, SNB, IVB.
5638 * sysdeps/x86_64/strnlen.S: Likewise.
5639
5640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5641 Remove all multiarch strlen and strnlen versions.
5642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5643 Remove strlen and strnlen related parts.
5644
5645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5646 Inline strlen part.
5647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5648
5649 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5650 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5652 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5653 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5654 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5655
ec4ff04d
CD
56562013-03-17 Carlos O'Donell <carlos@redhat.com>
5657
5658 * manual/memory.texi (Malloc Tunable Parameters):
5659 Sort parameters alphabetically. Add comments for missing entries.
5660
cd18e90a
DM
56612013-03-17 David S. Miller <davem@davemloft.net>
5662
5663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5664
2a185d32
JM
56652013-03-16 Joseph Myers <joseph@codesourcery.com>
5666
d2f9799e
JM
5667 [BZ #15283]
5668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5669 for arguments at most half maximum finite value.
5670 * math/libm-test.inc (j0_test): Add more tests.
5671 (j1_test): Likewise.
5672 (y0_test): Likewise.
5673 (y1_test): Likewise.
5674 * sysdeps/i386/fpu/libm-test-ulps: Update.
5675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5676
2a185d32
JM
5677 [BZ #14155]
5678 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5679 1 / x and functions P and Q for arguments above 0x1p256L.
5680 (__ieee754_y0l): Likewise.
5681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5682 (__ieee754_y1l): Likewise.
5683 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5684 (j1_test): Likewise.
5685 (y0_test): Likewise.
5686 (y1_test): Likewise.
5687
6cbec759
TS
56882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5689
5690 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5691 variable.
5692
bc16e260
RM
56932013-03-15 Roland McGrath <roland@hack.frob.com>
5694
aefc9b8c
RM
5695 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5696 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5697 zero since it's initialized to EXEC_PAGESIZE.
5698
bc16e260
RM
5699 * sysdeps/unix/sysv/linux/ldsodefs.h
5700 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5701 * sysdeps/generic/ldsodefs.h: ... here.
5702
a57da955
TS
57032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5704
af00a34d
TS
5705 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5706
495ded2c
TS
5707 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5708 math/test-snan.c.
5709 * math/test-snan.c: Renamed from
5710 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5711 * math/Makefile (tests): Add test-snan.
5712 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5713 test-powerpc-snan.
5714
777b0332
TS
5715 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5716 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5717 functions.
5718 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5719 __builtin_nan family of functions.
5720 * math/libm-test.inc (initialize): Initialize qnan_value with
5721 __builtin_nan family of functions.
5722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5723 Remove variables.
5724 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5725 Remove functions.
5726 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5727 storage class. Initialize qNaN_var and sNaN_var with
5728 __builtin_nan and __builtin_nans families of functions,
5729 respectively.
5730
64d063b8
TS
5731 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5732 (sqrt_test): Remove duplicate test with qNaN input.
5733 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5734 (round_test, signbit_test, significand_test): Note missing +/-Inf
5735 as well as qNaN tests.
5736
67e971f1
TS
5737 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5738 qNaN_var. Fix a few strings, too.
5739 * math/libm-test.inc (nan_value): Rename to qnan_value.
5740 * math/gen-libm-test.pl (%beautify): Adjust to that.
5741 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5742 * math/test-misc.c (main): Likewise.
5743 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5744 to __qnan_bytes, and __qnan_union, respectively.
5745 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5746 Likewise.
5747 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5748 and lqnanval, respectively.
5749 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5750 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5752 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5753
64487e12
TS
5754 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5755 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5756 doubles.
5757
e015e27b
TS
5758 * math/test-misc.c (main): Fix copy'n'pastos.
5759 * misc/tst-efgcvt.c (special): Likewise.
5760
a57da955
TS
5761 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5762 Remove declarations.
5763
1e380345
SP
57642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
5766 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5767 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5768 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5770
ef26eece
AZ
57712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772
5773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5774 macro to return vdso values correctly in IFUNC implementations.
5775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5776 Optimization by using IFUNC.
5777
8cfdb7e0
SP
57782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5779 Richard Henderson <rth@redhat.com>
5780 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5781
5782 * Makefile.in (bench): New target.
5783 * NEWS: Mention the benchmark framework.
5784 * Rules (bench): Likewise.
5785 (binaries-bench): Generate binaries for functions to
5786 benchmark.
5787 * benchtests/Makefile: New makefile for benchmark tests.
5788 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5789 programs.
5790 * benchtests/exp-inputs: New input file for EXP function.
5791 * benchtests/pow-inputs: New input file for POW function.
5792 * scripts/bench.pl: New script to generate source files for
5793 benchmark programs.
5794
bcda9880
SP
57952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5796
d22ca8cd
SP
5797 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5799 computations on mantissa. Use macros for rounding and
5800 division.
5801 (denorm): Likewise.
5802 (__dbl_mp): Likewise.
5803 (add_magnitudes): Likewise.
5804 (sub_magnitudes): Likewise.
5805 (__mul): Likewise.
5806 (__sqr): Likewise.
5807 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5808 powers of two in terms of TWOPOW macro.
5809 (mp_no): Make type of mantissa as MANTISSA_T.
5810 [!RADIXI]: Define RADIXI.
5811 [!TWO52]: Define TWO52.
5812 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5813
bcda9880
SP
5814 * manual/nptl.texi (cindex): Modify threads to pthreads.
5815
06d5adfb
JM
58162013-03-15 Joseph Myers <joseph@codesourcery.com>
5817
5818 * sysdeps/x86_64/preconfigure: Regenerated.
5819
41c7328e
JM
58202013-03-14 Joseph Myers <joseph@codesourcery.com>
5821
5822 [BZ #14155]
5823 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5824 0x1p28 and above.
5825 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5826 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5827 0x1p28 and above.
5828 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5829 * math/libm-test.inc (j0_test): Do not allow one spurious
5830 underflow exception.
5831 (y1_test): Likewise.
5832
e25cfa60
SP
58332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5834
0409959c
SP
5835 * manual/Makefile (chapters): Add nptl.
5836 * manual/debug.texi (Debugging Support): Add link to Threads
5837 chapter.
5838 * manual/nptl.texi: New file.
5839
e25cfa60
SP
5840 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5841
58a1335e
PB
58422013-03-14 Petr Baudis <pasky@ucw.cz>
5843
5844 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5845 for non-NULL pointer before the memory validity test. Pointed
5846 out by Holger Brunck <holger.brunck@keymile.com>.
5847
9dc7c64f
AS
58482013-03-13 Andreas Schwab <schwab@suse.de>
5849
5850 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5851 instead of .os.
5852
54206aa6
JM
58532013-03-13 Joseph Myers <joseph@codesourcery.com>
5854
5855 * timezone/zic.c: Update from tzcode 2013b.
5856
e98cdb38
CD
58572013-03-12 Carlos O'Donell <carlos@redhat.com>
5858
5859 * manual/install.texi (Configuring and compiling):
5860 Mention i686 and i586.
5861 * INSTALL: Regenerate.
5862
9967e003
RM
58632013-03-12 Roland McGrath <roland@hack.frob.com>
5864
5865 * sysdeps/init_array/elf-init.c: New file.
5866 * csu/elf-init.c
5867 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5868 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5869
5870 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5871 __gmon_start__ as global, but as static with a .preinit_array pointer.
5872 * sysdeps/init_array/gmon-start.c: New file. Use that.
5873 * sysdeps/init_array/crti.S: New file, empty except for comments.
5874 * sysdeps/init_array/crtn.S: Likewise.
5875
e6b5a293 58762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5877
5878 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5879 definining bcopy.
80f844c9
OB
5880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5881 Remove Prefer_SSE_for_memop.
5882 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5883 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5884 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5886 memset-x86-64.
80f844c9 5887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5888 Remove bzero, memset ifunc support.
80f844c9
OB
5889 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5893
fb6b0fcb
AS
58942013-03-11 Andreas Schwab <schwab@suse.de>
5895
5896 [BZ #15234]
5897 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5898 by SHLIB_COMPAT.
5899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5900 (GLIBC_2.16): Remove pthread_atfork.
5901
3e6bd4b1
PP
59022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5903
5904 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5905 (ptestcases.h): Likewise.
5906
222d7f00
RM
59072013-03-08 Roland McGrath <roland@hack.frob.com>
5908
5909 * Makeconfig ($(common-objpfx)config.status): Depend on
5910 sysdeps/*/preconfigure{,.in} too.
5911
1ba4f030
JM
59122013-03-08 Joseph Myers <joseph@codesourcery.com>
5913
a222d91a
JM
5914 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5915 (__free_hook): Use void * instead of __malloc_ptr_t.
5916 (__malloc_hook): Likewise.
5917 (__realloc_hook): Likewise.
5918 (__memalign_hook): Likewise.
5919 (__after_morecore_hook): Likewise.
5920 * malloc/arena.c (save_malloc_hook): Likewise.
5921 (save_free_hook): Likewise.
5922 * malloc/hooks.c (malloc_hook_ini): Likewise.
5923 (realloc_hook_ini): Likewise.
5924 (memalign_hook_ini): Likewise.
5925 * malloc/malloc.c (malloc_hook_ini): Likewise.
5926 (realloc_hook_ini): Likewise.
5927 (memalign_hook_ini): Likewise.
5928 (__free_hook): Likewise.
5929 (__malloc_hook): Likewise.
5930 (__realloc_hook): Likewise.
5931 (__memalign_hook): Likewise.
5932 (__libc_malloc): Likewise.
5933 (__libc_free): Likewise.
5934 (__libc_realloc): Likewise.
5935 (__libc_memalign): Likewise.
5936 (__libc_valloc): Likewise.
5937 (__libc_pvalloc): Likewise.
5938 (__libc_calloc): Likewise.
5939 (__posix_memalign): Likewise.
5940 * malloc/morecore.c (__sbrk): Likewise.
5941 (__default_morecore): Likewise.
5942
5cc45e10
JM
5943 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5944
dd54b864
JM
5945 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5946 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5947 __malloc_ptrdiff_t.
5948
1ba4f030
JM
5949 * malloc/malloc.h (__malloc_size_t): Remove macro.
5950 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5951 __malloc_size_t.
5952 (old_memalign_hook): Likewise.
5953 (old_realloc_hook): Likewise.
5954 (struct hdr): Likewise.
5955 (flood): Likewise.
5956 (mallochook): Likewise.
5957 (memalignhook): Likewise.
5958 (reallochook): Likewise.
5959 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5960 (tr_old_realloc_hook): Likewise.
5961 (tr_old_memalign_hook): Likewise.
5962 (tr_mallochook): Likewise.
5963 (tr_reallochook): Likewise.
5964 (tr_memalignhook): Likewise.
5965
edf66e57
AZ
59662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
5968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5969 default_ldbl_pack and using as default implementation.
5970 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5971 implementation.
5972 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5973 redundant definition.
5974 (ldbl_insert_mantissa): Likewise.
5975 (ldbl_canonicalize): Likewise.
5976 (ldbl_nearbyint): Likewise.
5977 (ldbl_pack): Rename to ldbl_pack_ppc.
5978 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5979 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5980 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5981
6d9145d8
SP
59822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5983
5984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5985 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5987 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5990 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5991 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5992
4dd4e157
AJ
59932013-03-07 Andreas Jaeger <aj@suse.de>
5994
5995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5996 bits/mman-linux.h.
5997
adbb8027
SP
59982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5999
ce544b5b
SP
6000 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6001 Include mpa.h and declare __MPEXP.
6002 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6009
4cc149fd
SP
6010 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6011 (__slowpow): Use long double EXPL and LOGL functions to
6012 compute POW.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6019
e6ebd4a7
SP
6020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6021 intermediate variable to calculate exponent.
6022 (__sqr): Likewise.
6023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6024 Likewise.
6025 (__sqr): Likewise.
6026
82a9811d
SP
6027 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6028 [!NO__SQR]: Define __sqr.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6030 and NO__SQR. Remove all code except __mul and __sqr. Include
6031 sysdeps/ieee754/dbl-64/mpa.c.
6032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6033
adbb8027
SP
6034 [BZ #12723]
6035 * posix/Makefile (tests): Add tst-pathconf.
6036 * posix/tst-pathconf.c: New test case.
6037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6038 _PC_PIPE_BUF.
6039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6040
39120df9
PF
60412013-03-06 Patsy Franklin <pfrankli@redhat.com>
6042
6043 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6044
67525cb8
AJ
60452013-03-06 Andreas Jaeger <aj@suse.de>
6046
664a9ce4
AJ
6047 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6048 definition via __MAP_ANONYMOUS.
6049
8e39047d
AJ
6050 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6051 it's not part of Linux headers.
6052
67525cb8
AJ
6053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6054 (MAP_HUGE_MASK): Define.
6055
6056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6057 Define.
6058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6060 Define.
6061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6062 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6063 Define.
6064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6066 Define.
6067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6068
6069 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6070 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6071 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6072 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6073 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6075
6076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6077 Handle f2fs.
6078
6079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6080 Handle f2fs and efivarfs.
6081
6082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6083 f2fs.
6084
6085 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6086 (EFIVARFS_MAGIC): Add.
6087 (F2FS_LINK_MAX): Add.
6088
e1b42695
PP
60892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6090
6091 * stdio-common/vfprintf.c: Replace __builtin_expect with
6092 __glibc_unlikely.
6093
2d67d91a
JM
60942013-03-06 Joseph Myers <joseph@codesourcery.com>
6095
6096 [BZ #13550]
6097 * sysdeps/generic/bp-sym.h: Remove file.
6098 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6099 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6100 <bp-sym.h> and <bp-asm.h>.
6101 (__longjmp): Don't use BP_SYM.
6102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6103 and <bp-asm.h>.
6104 (memcpy): Don't use BP_SYM.
6105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6106 <bp-sym.h> and <bp-asm.h>.
6107 (memcpy): Don't use BP_SYM.
6108 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6109 <bp-asm.h>.
6110 (memcpy): Don't use BP_SYM.
6111 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6112 <bp-asm.h>.
6113 (memset): Don't use BP_SYM.
6114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6116 (__bzero): Don't use BP_SYM.
6117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6120 <bp-sym.h> and <bp-asm.h>.
6121 (memcmp): Don't use BP_SYM. Remove comment about bounded
6122 pointers.
6123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6124 <bp-sym.h> and <bp-asm.h>.
6125 (memcpy): Don't use BP_SYM.
6126 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6127 <bp-sym.h> and <bp-asm.h>.
6128 (memset): Don't use BP_SYM.
6129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6131 (__bzero): Don't use BP_SYM.
6132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6135 <bp-sym.h> and <bp-asm.h>.
6136 (strncmp): Don't use BP_SYM. Remove comment about bounded
6137 pointers.
6138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6139 <bp-sym.h> and <bp-asm.h>.
6140 (memcpy): Don't use BP_SYM.
6141 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6142 <bp-sym.h> and <bp-asm.h>.
6143 (memset): Don't use BP_SYM.
6144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6146 (__bzero): Don't use BP_SYM.
6147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6150 <bp-sym.h> and <bp-asm.h>.
6151 (__memchr): Don't use BP_SYM.
6152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6153 <bp-sym.h> and <bp-asm.h>.
6154 (memcmp): Don't use BP_SYM. Remove comment about bounded
6155 pointers.
6156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6157 <bp-sym.h> and <bp-asm.h>.
6158 (memcpy): Don't use BP_SYM.
6159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6160 <bp-sym.h> and <bp-asm.h>.
6161 (__mempcpy): Don't use BP_SYM.
6162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6163 <bp-sym.h> and <bp-asm.h>.
6164 (__memrchr): Don't use BP_SYM.
6165 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6166 <bp-sym.h> and <bp-asm.h>.
6167 (memset): Don't use BP_SYM.
6168 (__bzero): Likewise.
6169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6170 <bp-sym.h> and <bp-asm.h>.
6171 (__rawmemchr): Don't use BP_SYM.
6172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6173 <bp-sym.h> and <bp-asm.h>.
6174 (__STRCMP): Don't use BP_SYM.
6175 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6176 <bp-sym.h> and <bp-asm.h>.
6177 (strchr): Don't use BP_SYM.
6178 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6179 <bp-sym.h> and <bp-asm.h>.
6180 (__strchrnul): Don't use BP_SYM.
6181 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6182 <bp-sym.h> and <bp-asm.h>.
6183 (strlen): Don't use BP_SYM.
6184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6185 <bp-sym.h> and <bp-asm.h>.
6186 (strncmp): Don't use BP_SYM. Remove comment about bounded
6187 pointers.
6188 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6189 <bp-sym.h> and <bp-asm.h>.
6190 (__strnlen): Don't use BP_SYM.
6191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6192 <bp-sym.h> and <bp-asm.h>.
6193 (__GI__setjmp): Don't use BP_SYM.
6194 (_setjmp): Likewise.
6195 (__sigsetjmp): Likewise.
6196 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6197 (L(start_addresses)): Don't use BP_SYM.
6198 (_start): Likewise.
6199 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6200 <bp-asm.h>.
6201 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6202 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6203 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6204 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6205 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6206 <bp-asm.h>.
6207 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6208 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6209 about bounded pointers.
6210 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6211 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6212 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6213 <bp-asm.h>.
6214 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6215 about bounded pointers. Remove GKM FIXME comments.
6216 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6217 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6218 <bp-asm.h>.
6219 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6220 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6221 Remove GKM FIXME comments.
6222 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6223 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6224 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6225 <bp-asm.h>.
6226 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6227 about bounded pointers. Remove GKM FIXME comment.
6228 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6229 and <bp-asm.h>.
6230 (strncmp): Don't use BP_SYM. Remove comment about bounded
6231 pointers.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6233 <bp-sym.h> and <bp-asm.h>.
6234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6236 <bp-sym.h> and <bp-asm.h>.
6237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6238 comment.
6239
cdcf361f
PP
62402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6241
6242 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6243 call free(NULL).
6244
3c4a2b15
DM
62452013-03-05 David S. Miller <davem@davemloft.net>
6246
6247 * po/es.po: Update from translation team.
6248
cdcf361f 62492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6250
6251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6252 <bits/mman-linux.h>.
6253 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6254 is fine.
6255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6256 <bits/mman-linux.h> to end of file.
6257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6258 is fine.
6259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6260 <bits/mman-linux.h> to end of file.
6261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6262 is fine.
6263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6264 <bits/mman-linux.h> to end of file.
6265
6266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6267 (MCL_CURRENT, MCL_FUTURE): Define here.
6268
5f67c04f
AK
62692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6270
8a4473cc 6271 [BZ #15232]
5f67c04f
AK
6272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6273 attribute_hidden.
6274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6275
c3e94a95
AK
62762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6277
6278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6279 fourth parameter needed for rt_sigprocmask syscall.
6280 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6281 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6283 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6284 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6285 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6286
cfb6382a
JM
62872013-03-04 Joseph Myers <joseph@codesourcery.com>
6288
6289 [BZ #13550]
6290 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6291 comment about bounded pointers.
6292 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6293 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6294
539d8e01
AJ
62952013-03-04 Andreas Jaeger <aj@suse.de>
6296
6297 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6298 common definitions.
6299
6300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6301 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6302 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6303 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6306
2e167a70 63072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6308
6309 [BZ #15055]
6310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6311 __ieee754_sqrl instead of __sqrl.
6312
68508633
JM
63132013-03-01 Joseph Myers <joseph@codesourcery.com>
6314
6315 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6316 * sysdeps/powerpc/fpu_control.h: ... here.
6317 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6318 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6319 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6320 * sysdeps/powerpc/bits/mathinline.h: ... here.
6321
7775448e
RM
63222013-03-01 Roland McGrath <roland@hack.frob.com>
6323
6324 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6325 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6326 to just [NEED_DL_SYSINFO_DSO].
6327 * elf/dl-support.c: Likewise.
6328 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6329 * elf/rtld.c (dl_main): Likewise.
6330 * elf/setup-vdso.h (setup_vdso): Likewise.
6331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6332 * sysdeps/unix/sysv/linux/dl-sysdep.c
6333 (_dl_discover_osversion): Likewise.
6334
4e9b5995
CD
63352013-03-01 Carlos O'Donell <carlos@redhat.com>
6336
6337 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6338 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6339
e23872c8
SP
63402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6341
e5c74c63
SP
6342 * NEWS: Mention libm performance improvements and non-x86 PI
6343 futex support.
6344
e23872c8
SP
6345 * csu/libc-start.c (__pthread_initialize_minimal): Change
6346 function arguments.
6347 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6348
b5510883
JM
63492013-02-28 Joseph Myers <joseph@codesourcery.com>
6350
6351 [BZ #13550]
6352 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6353 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6354 <bp-sym.h> and <bp-asm.h>.
6355 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6357 and <bp-asm.h>.
6358 (memcpy): Don't use BP_SYM.
6359 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6360 <bp-asm.h>.
6361 (__mpn_add_n): Don't use BP_SYM.
6362 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6363 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6364 and <bp-asm.h>.
6365 (__mpn_addmul_1): Don't use BP_SYM.
6366 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6367 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6368 <bp-sym.h>.
6369 (_setjmp): Don't use BP_SYM.
6370 (__novmx_setjmp): Likewise.
6371 (__GI__setjmp): Likewise.
6372 (__vmx_setjmp): Likewise.
6373 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6374 <bp-sym.h>.
6375 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6376 (__bzero): Don't use BP_SYM.
6377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6380 <bp-sym.h> and <bp-asm.h>.
6381 (memcpy): Don't use BP_SYM.
6382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6383 <bp-sym.h> and <bp-asm.h>.
6384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6385 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6386 <bp-sym.h> and <bp-asm.h>.
6387 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6388 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6389 <bp-asm.h>.
6390 (__mpn_lshift): Don't use BP_SYM.
6391 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6392 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6393 <bp-asm.h>.
6394 (memset): Don't use BP_SYM.
6395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6397 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6398 <bp-asm.h>.
6399 (__mpn_mul_1): Don't use BP_SYM.
6400 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6402 <bp-sym.h> and <bp-asm.h>.
6403 (memcmp): Don't use BP_SYM.
6404 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6405 <bp-sym.h> and <bp-asm.h>.
6406 (memcpy): Don't use BP_SYM.
6407 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6408 <bp-sym.h> and <bp-asm.h>.
6409 (memset): Don't use BP_SYM.
6410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6411 <bp-sym.h> and <bp-asm.h>.
6412 (strncmp): Don't use BP_SYM.
6413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (memcpy): Don't use BP_SYM.
6416 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6417 <bp-sym.h> and <bp-asm.h>.
6418 (memset): Don't use BP_SYM.
6419 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6420 <bp-sym.h> and <bp-asm.h>.
6421 (__memchr): Don't use BP_SYM.
6422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6423 <bp-sym.h> and <bp-asm.h>.
6424 (memcmp): Don't use BP_SYM.
6425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6426 <bp-sym.h> and <bp-asm.h>.
6427 (memcpy): Don't use BP_SYM.
6428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6429 <bp-sym.h> and <bp-asm.h>.
6430 (__mempcpy): Don't use BP_SYM.
6431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6432 <bp-sym.h> and <bp-asm.h>.
6433 (__memrchr): Don't use BP_SYM.
6434 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6435 <bp-sym.h> and <bp-asm.h>.
6436 (memset): Don't use BP_SYM.
6437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6438 <bp-sym.h> and <bp-asm.h>.
6439 (__rawmemchr): Don't use BP_SYM.
6440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6441 <bp-sym.h> and <bp-asm.h>.
6442 (__STRCMP): Don't use BP_SYM.
6443 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6444 <bp-sym.h> and <bp-asm.h>.
6445 (strchr): Don't use BP_SYM.
6446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6447 <bp-sym.h> and <bp-asm.h>.
6448 (__strchrnul): Don't use BP_SYM.
6449 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6450 <bp-sym.h> and <bp-asm.h>.
6451 (strlen): Don't use BP_SYM.
6452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6453 <bp-sym.h> and <bp-asm.h>.
6454 (strncmp): Don't use BP_SYM.
6455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6456 <bp-sym.h> and <bp-asm.h>.
6457 (__strnlen): Don't use BP_SYM.
6458 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6459 <bp-asm.h>.
6460 (__mpn_rshift): Don't use BP_SYM.
6461 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6462 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6463 <bp-sym.h> and <bp-asm.h>.
6464 (__sigsetjmp): Don't use BP_SYM.
6465 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6466 (L(start_addresses)): Don't use BP_SYM.
6467 (_start): Likewise.
6468 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6469 <bp-asm.h>.
6470 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6473 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6474 <bp-asm.h>.
6475 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6476 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6477 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6478 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6479 <bp-asm.h>.
6480 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6481 comments.
6482 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6484 <bp-asm.h>.
6485 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6486 FIXME comments.
6487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6489 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6490 <bp-asm.h>.
6491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6492 comment.
6493 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6494 and <bp-asm.h>.
6495 (strncmp): Don't use BP_SYM,
6496 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6497 <bp-asm.h>.
6498 (__mpn_sub_n): Don't use BP_SYM.
6499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6500 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6501 and <bp-asm.h>.
6502 (__mpn_submul_1): Don't use BP_SYM.
6503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6505 <bp-sym.h> and <bp-asm.h>.
6506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6508 <bp-sym.h> and <bp-asm.h>.
6509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6510 comment.
6511
8d19fe64
SP
65122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6513
6514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6515 Use ZK to minimize writes to Z.
6516 (sub_magnitudes): Simplify code a bit.
6517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6518 Use ZK to minimize writes to Z.
6519 (sub_magnitudes): Simplify code a bit.
6520
85bd816a
RM
65212013-02-27 Roland McGrath <roland@hack.frob.com>
6522
6523 * csu/gmon-start.c: Add special exception to license text.
6524
b5977bf2
RH
65252013-02-27 Richard Henderson <rth@redhat.com>
6526
6527 * scripts/config.guess: Update from config.git.
6528 * scripts/config.sub: Likewise.
6529
11d6e2f2
SP
65302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6531
09c14ed2
SP
6532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6533
a688864e
SP
6534 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6535
6295157a
SP
6536 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6537
b8de2202
SP
6538 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6539
11d6e2f2
SP
6540 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6541
7e80ddb8
RM
65422013-02-26 Roland McGrath <roland@hack.frob.com>
6543
6544 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6545 [$(build-shared = yes].
7e80ddb8 6546
7da6d9ed
SP
65472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6548
45f05884
SP
6549 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6550 (__mul): Reduce iterations for calculating mantissa.
6551
2236d359
SP
6552 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6553 MPTWO.
6554 (__mpranred): Likewise.
6555
7da6d9ed
SP
6556 [BZ #15160]
6557 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6558 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6559
b7688c42
PE
65602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6561
6562 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6563 Define __attribute__.
6564
53a5c423
SP
65652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6566
6567 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6568 unused.
6569 * posix/regex_internal.h (__attribute): Remove.
6570 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6571 (re_string_context_at): Likewise.
6572 (bitset_not): Use __attribute__ and mark function as possibly
6573 unused.
6574 (bitset_merge): Likewise.
6575 (bitset_mask): Likewise.
6576 (re_string_char_size_at): Likewise.
6577 (re_string_wchar_at): Likewise.
6578 (re_string_elem_size_at): Likewise.
6579
60f5a8b5
SP
65802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6581
2a983a2e
SP
6582 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6583 code.
6584 (cc32): Likewise.
6585
e69804d1
SP
6586 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6587 (__acr): Likewise.
6588 (__cpy): Likewise.
6589 (norm): Likewise.
6590 (denorm): Likewise.
6591 (__dbl_mp): Likewise.
6592 (add_magnitudes): Likewise.
6593 (sub_magnitudes): Likewise.
6594 (__mul): Likewise.
6595 (__inv): Likewise.
6596
2f22a1e8
SP
6597 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6598 style.
6599
8930ddc7
SP
6600 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6601 style.
6602
dc60cb11
SP
6603 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6604 code.
6605
60f5a8b5
SP
6606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6607 up changes with default code.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6609 Likewise.
6610
b4d1fd33
AM
66112013-02-24 Allan McRae <allan@archlinux.org>
6612
faf6f8bc
AM
6613 * manual/socket.texi (The Internet Namespace): Order menu items
6614 to match that in the file.
6615
b4d1fd33
AM
6616 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6617 node listing of the info page menu.
6618
2366713d
JM
66192013-02-21 Joseph Myers <joseph@codesourcery.com>
6620
6621 [BZ #13550]
6622 * sysdeps/i386/bp-asm.h: Remove file.
6623 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6624 (PARMS): Do not use macros from bp-asm.h.
6625 (S1): Likewise.
6626 (S2): Likewise.
6627 (SIZE): Likewise.
6628 (__mpn_add_n): Do not use BP_SYM
6629 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6630 "bp-asm.h".
6631 (PARMS): Do not use macros from bp-asm.h.
6632 (S1): Likewise.
6633 (SIZE): Likewise.
6634 (__mpn_addmul_1): Do not use BP_SYM
6635 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6636 "bp-asm.h".
6637 (PARMS): Do not use macros from bp-asm.h.
6638 (SIGMSK): Likewise.
6639 (_setjmp): Likewise. Do not use BP_SYM.
6640 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6641 "bp-asm.h".
6642 (PARMS): Do not use macros from bp-asm.h.
6643 (SIGMSK): Likewise.
6644 (setjmp): Likewise. Do not use BP_SYM.
6645 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6646 "bp-asm.h".
6647 (PARMS): Do not use macros from bp-asm.h.
6648 (__frexp): Do not use BP_SYM.
6649 (frexp): Likewise.
6650 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6651 "bp-asm.h".
6652 (PARMS): Do not use macros from bp-asm.h.
6653 (__frexpf): Do not use BP_SYM.
6654 (frexpf): Likewise.
6655 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6656 "bp-asm.h".
6657 (PARMS): Do not use macros from bp-asm.h.
6658 (__frexpl): Do not use BP_SYM.
6659 (frexpl): Likewise.
6660 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6661 "bp-asm.h".
6662 (PARMS): Do not use macros from bp-asm.h.
6663 (__remquo): Do not use BP_SYM.
6664 (remquo): Likewise.
6665 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6666 "bp-asm.h".
6667 (PARMS): Do not use macros from bp-asm.h.
6668 (__remquof): Do not use BP_SYM.
6669 (remquof): Likewise.
6670 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6671 "bp-asm.h".
6672 (PARMS): Do not use macros from bp-asm.h.
6673 (__remquol): Do not use BP_SYM.
6674 (remquol): Likewise.
6675 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6676 "bp-asm.h".
6677 (PARMS): Do not use macros from bp-asm.h.
6678 (DEST): Likewise.
6679 (SRC): Likewise.
6680 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6681 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6682 "bp-asm.h".
6683 (PARMS): Do not use macros from bp-asm.h.
6684 (strlen): Do not use BP_SYM.
6685 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6686 "bp-asm.h".
6687 (PARMS): Do not use macros from bp-asm.h.
6688 (S1): Likewise.
6689 (S2): Likewise.
6690 (SIZE): Likewise.
6691 (__mpn_add_n): Do not use BP_SYM.
6692 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6693 "bp-asm.h".
6694 (PARMS): Do not use macros from bp-asm.h.
6695 (S1): Likewise.
6696 (SIZE): Likewise.
6697 (__mpn_addmul_1): Do not use BP_SYM.
6698 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6699 weak_alias.
6700 (bzero): Likewise.
6701 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6702 "bp-asm.h".
6703 (PARMS): Do not use macros from bp-asm.h.
6704 (S): Likewise.
6705 (SIZE): Likewise.
6706 (__mpn_lshift): Do not use BP_SYM.
6707 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6708 "bp-asm.h".
6709 (PARMS): Do not use macros from bp-asm.h.
6710 (DEST): Likewise.
6711 (SRC): Likewise.
6712 (LEN): Likewise.
6713 (memcpy): Likewise. Do not use BP_SYM.
6714 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6715 libc_hidden_def and weak_alias.
6716 (mempcpy): Do not use BP_SYM in weak_alias.
6717 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6718 "bp-asm.h".
6719 (PARMS): Do not use macros from bp-asm.h.
6720 (DEST): Likewise.
6721 (LEN): Likewise.
6722 [!BZERO_P] (CHR): Likewise.
6723 (memset): Likewise. Do not use BP_SYM.
6724 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6725 "bp-asm.h".
6726 (PARMS): Do not use macros from bp-asm.h.
6727 (S1): Likewise.
6728 (SIZE): Likewise.
6729 (__mpn_mul_1): Do not use BP_SYM.
6730 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6731 "bp-asm.h".
6732 (PARMS): Do not use macros from bp-asm.h.
6733 (S): Likewise.
6734 (SIZE): Likewise.
6735 (__mpn_rshift): Do not use BP_SYM.
6736 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6737 "bp-asm.h".
6738 (PARMS): Do not use macros from bp-asm.h.
6739 (STR): Likewise.
6740 (CHR): Likewise.
6741 (strchr): Likewise. Do not use BP_SYM.
6742 (index): Do not use BP_SYM in weak_alias.
6743 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6744 "bp-asm.h".
6745 (PARMS): Do not use macros from bp-asm.h.
6746 (DEST): Likewise.
6747 (SRC): Likewise.
6748 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6749 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6750 "bp-asm.h".
6751 (PARMS): Do not use macros from bp-asm.h.
6752 (strlen): Do not use BP_SYM.
6753 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6754 "bp-asm.h".
6755 (PARMS): Do not use macros from bp-asm.h.
6756 (S1): Likewise.
6757 (S2): Likewise.
6758 (SIZE): Likewise.
6759 (__mpn_sub_n): Do not use BP_SYM.
6760 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6761 "bp-asm.h".
6762 (PARMS): Do not use macros from bp-asm.h.
6763 (S1): Likewise.
6764 (SIZE): Likewise.
6765 (__mpn_submul_1): Do not use BP_SYM.
6766 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6767 "bp-asm.h".
6768 (PARMS): Do not use macros from bp-asm.h.
6769 (S1): Likewise.
6770 (S2): Likewise.
6771 (SIZE): Likewise.
6772 (__mpn_add_n): Do not use BP_SYM.
6773 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6774 weak_alias.
6775 (bzero): Likewise.
6776 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6777 "bp-asm.h".
6778 (PARMS): Do not use macros from bp-asm.h.
6779 (BLK2): Likewise.
6780 (LEN): Likewise.
6781 (memcmp): Do not use BP_SYM.
6782 (bcmp): Do not use BP_SYM in weak_alias.
6783 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 (PARMS): Do not use macros from bp-asm.h.
6786 (DEST): Likewise.
6787 (SRC): Likewise.
6788 (LEN): Likewise.
6789 (memcpy): Likewise. Do not use BP_SYM.
6790 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6791 "bp-asm.h".
6792 (PARMS): Do not use macros from bp-asm.h.
6793 (DEST): Likewise.
6794 (SRC): Likewise.
6795 (LEN): Likewise.
6796 (memmove): Likewise. Do not use BP_SYM.
6797 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6798 "bp-asm.h".
6799 (PARMS): Do not use macros from bp-asm.h.
6800 (DEST): Likewise.
6801 (SRC): Likewise.
6802 (LEN): Likewise.
6803 (__mempcpy): Likewise. Do not use BP_SYM.
6804 (mempcpy): Do not use BP_SYM in weak_alias.
6805 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6806 "bp-asm.h".
6807 (PARMS): Do not use macros from bp-asm.h.
6808 (DEST): Likewise.
6809 (LEN): Likewise.
6810 [!BZERO_P] (CHR): Likewise.
6811 (memset): Likewise. Do not use BP_SYM.
6812 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6813 "bp-asm.h".
6814 (PARMS): Do not use macros from bp-asm.h.
6815 (STR2): Likewise.
6816 (strcmp): Do not use BP_SYM.
6817 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6818 "bp-asm.h".
6819 (PARMS): Do not use macros from bp-asm.h.
6820 (STR): Likewise.
6821 (DELIM): Likewise.
6822 [USE_AS_STRTOK_R] (SAVE): Likewise.
6823 (FUNCTION): Likewise. Do not use BP_SYM.
6824 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6825 aliases.
6826 (strtok_r): Likewise.
6827 (__GI___strtok_r): Likewise.
6828 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6829 (PARMS): Do not use macros from bp-asm.h.
6830 (S): Likewise.
6831 (SIZE): Likewise.
6832 (__mpn_lshift): Do not use BP_SYM.
6833 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6834 (PARMS): Do not use macros from bp-asm.h.
6835 (STR): Likewise.
6836 (CHR): Likewise.
6837 (__memchr): Do not use BP_SYM.
6838 (memchr): Do not use BP_SYM in weak_alias.
6839 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6840 (PARMS): Do not use macros from bp-asm.h.
6841 (BLK2): Likewise.
6842 (LEN): Likewise.
6843 (memcmp): Do not use BP_SYM.
6844 (bcmp): Do not use BP_SYM in weak_alias.
6845 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6846 (PARMS): Do not use macros from bp-asm.h.
6847 (S1): Likewise.
6848 (SIZE): Likewise.
6849 (__mpn_mul_1): Do not use BP_SYM.
6850 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6851 "bp-asm.h".
6852 (PARMS): Do not use macros from bp-asm.h.
6853 (STR): Likewise.
6854 (CHR): Likewise.
6855 (__rawmemchr): Do not use BP_SYM.
6856 (rawmemchr): Do not use BP_SYM in weak_alias.
6857 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6858 (PARMS): Do not use macros from bp-asm.h.
6859 (S): Likewise.
6860 (SIZE): Likewise.
6861 (__mpn_rshift): Do not use BP_SYM.
6862 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6863 (PARMS): Do not use macros from bp-asm.h.
6864 (SIGMSK): Likewise.
6865 (__sigsetjmp): Likewise. Do not use BP_SYM.
6866 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6867 (_start): Do not use BP_SYM.
6868 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6869 (PARMS): Do not use macros from bp-asm.h.
6870 (DEST): Likewise.
6871 (SRC): Likewise.
6872 (__stpcpy): Likewise. Do not use BP_SYM.
6873 (stpcpy): Do not use BP_SYM in weak_alias.
6874 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6875 "bp-asm.h".
6876 (PARMS): Do not use macros from bp-asm.h.
6877 (DEST): Likewise.
6878 (SRC): Likewise.
6879 (LEN): Likewise.
6880 (__stpncpy): Likewise. Do not use BP_SYM.
6881 (stpncpy): Do not use BP_SYM in weak_alias.
6882 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6883 (PARMS): Do not use macros from bp-asm.h.
6884 (STR): Likewise.
6885 (CHR): Likewise.
6886 (strchr): Likewise. Do not use BP_SYM.
6887 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6888 "bp-asm.h".
6889 (PARMS): Do not use macros from bp-asm.h.
6890 (STR): Likewise.
6891 (CHR): Likewise.
6892 (__strchrnul): Likewise. Do not use BP_SYM.
6893 (strchrnul): Do not use BP_SYM in weak_alias.
6894 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6895 "bp-asm.h".
6896 (PARMS): Do not use macros from bp-asm.h.
6897 (STOP): Likewise.
6898 (strcspn): Do not use BP_SYM.
6899 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6900 "bp-asm.h".
6901 (PARMS): Do not use macros from bp-asm.h.
6902 (STR): Likewise.
6903 (STOP): Likewise.
6904 (strpbrk): Likewise. Do not use BP_SYM.
6905 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6906 "bp-asm.h".
6907 (PARMS): Do not use macros from bp-asm.h.
6908 (STR): Likewise.
6909 (CHR): Likewise.
6910 (strrchr): Likewise. Do not use BP_SYM.
6911 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6912 (PARMS): Do not use macros from bp-asm.h.
6913 (SKIP): Likewise.
6914 (strspn): Do not use BP_SYM.
6915 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6916 (PARMS): Do not use macros from bp-asm.h.
6917 (STR): Likewise.
6918 (DELIM): Likewise.
6919 (SAVE): Likewise.
6920 (FUNCTION): Likewise. Do not use BP_SYM.
6921 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6922 aliases.
6923 (strtok_r): Likewise.
6924 (__GI___strtok_r): Likewise.
6925 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6926 (PARMS): Do not use macros from bp-asm.h.
6927 (S1): Likewise.
6928 (S2): Likewise.
6929 (SIZE): Likewise.
6930 (__mpn_sub_n): Do not use BP_SYM.
6931 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6932 "bp-asm.h".
6933 (PARMS): Do not use macros from bp-asm.h.
6934 (S1): Likewise.
6935 (SIZE): Likewise.
6936 (__mpn_submul_1): Do not use BP_SYM.
6937 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6938 <bp-sym.h>.
6939 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6940 and <bp-asm.h>.
6941 (PARMS): Do not use macros from bp-asm.h.
6942 (FLAGS): Likewise.
6943 (PTID): Likewise.
6944 (TLS): Likewise.
6945 (CTID): Likewise.
6946 (__clone): Do not use BP_SYM.
6947 (clone): Do not use BP_SYM in weak_alias.
6948 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6949 and <bp-asm.h>.
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (LEN): Likewise.
6952 (__mmap64): Do not use BP_SYM.
6953 (mmap64): Do not use BP_SYM in weak_alias.
6954 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6955 <bp-sym.h> and <bp-asm.h>.
6956 (PARMS): Do not use macros from bp-asm.h.
6957 (__posix_fadvise64_l64): Do not use BP_SYM.
6958 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6959 (PARMS): Do not use macros from bp-asm.h.
6960 (NSOPS): Likewise.
6961 (semtimedop): Do not use BP_SYM.
6962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6963 and <bp-asm.h>.
6964
582a3cff
AM
69652013-02-21 Allan McRae <allan@archlinux.org>
6966
6967 * manual/message.texi (Charset conversion in gettext):
6968 Move @end statement to beginning of line.
6969
bab8a695
SP
69702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
80945231
SP
6972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6973 static.
6974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6975 Likewise.
6976
bab8a695
SP
6977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6978 (denorm): Likewise.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6981
e21d7aa7
AK
69822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6983
6984 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6985 tail-call to the resolved function if pltexit isn't needed.
6986
4c7a4263
SP
69872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6988
6989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6990 or Y being zero as being unlikely.
6991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6992 Likewise.
6993
41f49342
CD
69942013-02-20 Carlos O'Donell <carlos@redhat.com>
6995
6996 * manual/nss.texi (System Databases and Name Service Switch):
6997 Remove frobnicate @pxref.
6998
50022a93
TS
69992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7000
7001 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7002 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7003
08cbd996
PM
70042013-02-20 Petr Machata <pmachata@redhat.com>
7005
7006 * elf/elf.h (R_ARM_TARGET1): New macro.
7007 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7008 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7009 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7010 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7011 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7012 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7013 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7014 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7015 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7016 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7017 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7018 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7019 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7020 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7021 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7022 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7023 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7024 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7025 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7026 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7027 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7028 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7029 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7030 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7031 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7032 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7033 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7034 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7035 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7036 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7037 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7038 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7039 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7040 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7041 (R_ARM_THM_GOT_BREL12): Likewise.
7042 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7043 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7044 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7045 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7046 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7047 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7048 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7049 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7050 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7051
c7b275d6
TS
70522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7053
7054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7055 __attribute_used__ to __attribute__ ((unused)).
7056
20cd7fb3
SP
70572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7058
7059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7060 powerpc mpa.c.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7062 comment formatting.
7063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7064
92945b52
JM
70652013-02-19 Joseph Myers <joseph@codesourcery.com>
7066
7067 [BZ #13550]
7068 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7069 Remove macro.
7070 (ENTER): Remove both macro definitions.
7071 (LEAVE): Likewise.
7072 (CHECK_BOUNDS_LOW): Likewise.
7073 (CHECK_BOUNDS_HIGH): Likewise.
7074 (CHECK_BOUNDS_BOTH): Likewise.
7075 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7076 (RETURN_BOUNDED_POINTER): Likewise.
7077 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7078 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7079 (POP_ERRNO_LOCATION_RETURN): Likewise.
7080 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7082 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7083 macros.
7084 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7085 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7086 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7087 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7088 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7089 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7090 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7091 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7092 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7093 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7094 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7095 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7096 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7097 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7098 removed macros.
7099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7100 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7101 macros.
7102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7103 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7104 * sysdeps/i386/i586/memset.S (memset): Likewise.
7105 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7107 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7108 macros.
7109 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7110 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7111 Change uses of L(2) to L(out).
7112 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7113 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7114 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7116 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7117 removed macros.
7118 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7119 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7120 macros.
7121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7122 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7123 (RETURN): Do not use macro LEAVE.
7124 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7125 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7126 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7127 * sysdeps/i386/i686/memset.S (memset): Likewise.
7128 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7129 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7130 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7131 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7132 Likewise.
7133 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7134 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7135 L(1_2) and L(1_3) into L(1).
7136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7137 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7138 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7139 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7140 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7141 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7142 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7144 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7145 macros.
7146 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7147 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7148 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7149 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7150 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7151 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7152 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7153 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7154 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7155 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7156 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7157 * sysdeps/i386/strspn.S (strspn): Likewise.
7158 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7159 conditional code.
7160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7161 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7163 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7164 L(1_3) into L(1_1).
7165 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7167 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7168 macros.
7169 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7170
2389741a
JJ
71712013-02-19 Jakub Jelinek <jakub@redhat.com>
7172
7173 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7174 macro.
7175
2016b3cd
SP
71762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7177
e4f22324
SP
7178 * math/atest-exp.c (exp_mpn): Remove ROUND.
7179 * math/atest-exp2.c (exp_mpn): Likewise.
7180 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7181
2016b3cd
SP
7182 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7183 * stdlib/tst-tls-atexit-lib.c: Likewise.
7184 * stdlib/tst-tls-atexit.c: Likewise.
7185
4be9b544
MF
71862013-02-18 Mike Frysinger <vapier@gentoo.org>
7187
7188 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7189 and __attribute_alloc_size__.
7190
2f62b9ee
MF
71912013-02-18 Mike Frysinger <vapier@gentoo.org>
7192
7193 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7194 __attribute_alloc_size__.
7195 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7196 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7197
6ff444c4
MF
71982013-02-18 Mike Frysinger <vapier@gentoo.org>
7199
7200 * include/programs/xmalloc.h: New file.
7201 * catgets/gencat.c: Include it.
7202 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7203 * elf/pldd.c: Likewise.
7204 * iconv/iconv_charmap.c: Likewise.
7205 * iconv/iconvconfig.c: Likewise.
7206 * iconv/strtab.c: Likewise.
7207 * locale/programs/locale.c: Likewise.
7208 * locale/programs/localedef.h: Likewise.
7209 * locale/programs/simple-hash.c: Likewise.
7210 * nscd/nscd.h: Likewise.
7211 * nss/makedb.c: Likewise.
7212 * sysdeps/generic/ldconfig.h: Likewise.
7213
be179c8a
SP
72142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7215
ba384f6e
SP
7216 * Versions.def: Add GLIBC_2.18.
7217 * include/link.h (struct link_map): New member l_tls_dtor_count.
7218 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7219 (__call_tls_dtors): Likewise.
7220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7221 __cxa_thread_atexit_impl.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7223 Likewise.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7225 Likewise.
7226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7227 Likewise.
7228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7229 Likewise.
7230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7232 Likewise.
7233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7234 Likewise.
7235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7237 Likewise.
7238 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7239 (tests): Add test case tst-tls-atexit.
7240 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7241 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7242 (GLIBC_PRIVATE): Add __call_tls_dtors.
7243 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7244 for libstdc++.
7245 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7246 * stdlib/tst-tls-atexit.c: New test case.
7247 * stdlib/tst-tls-atexit-lib.c: New test case.
7248
ffaa74cf 7249 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7250
be179c8a
SP
7251 * elf/Versions (ld): Add _dl_find_dso_for_object.
7252 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7253 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7254 (dl_open_worker): Use _dl_find_dso_for_object.
7255 * elf/dl-sym.c (do_sym): Likewise.
7256 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7257
f78b5caa
AK
72582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7259
7260 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7261 Syntactic changes only.
7262 (_dl_runtime_profile): Do a tail-call to the resolved function.
7263
29691210
JM
72642013-02-17 Joseph Myers <joseph@codesourcery.com>
7265
7266 [BZ #13550]
7267 * sysdeps/x86_64/bp-asm.h: Remove file.
7268 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (__clone): Do not use BP_SYM.
7271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7272 <bp-sym.h> and <bp-asm.h>.
7273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7274 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7275 "bp-asm.h".
7276 (_setjmp): Do not use BP_SYM.
7277 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7278 "bp-asm.h".
7279 (setjmp): Do not use BP_SYM.
7280 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7281 libc_hidden_def.
7282 (mempcpy): Do not use BP_SYM in weak_alias.
7283 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7284 "bp-asm.h".
7285 (strchr): Do not use BP_SYM.
7286 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7287 "bp-asm.h".
7288 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7289 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7290 (_start): Do not use BP_SYM.
7291 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7292 "bp-asm.h".
7293 (strcat): Do not use BP_SYM.
7294 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7295 "bp-asm.h".
7296 (STRCMP): Do not use BP_SYM.
7297 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7298 "bp-asm.h".
7299 (STRCPY): Do not use BP_SYM.
7300 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7301 "bp-asm.h".
7302 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7303 "bp-asm.h".
7304 (FUNCTION): Do not use BP_SYM.
7305 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7306 weak_alias.
7307 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7308
f238fd19
AJ
73092013-02-17 Andreas Jaeger <aj@suse.de>
7310
7311 * time/Versions: Sort entries.
7312 * string/Versions: Likewise.
7313 * resolv/Versions: Likewise.
7314 * posix/Versions: Likewise.
7315 * iconv/Versions: Likewise.
7316 * elf/Versions: Likewise.
7317 * wcsmbs/Versions: Likewise.
7318
bd07f23c 73192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7320
22af19f9
SP
7321 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7322 loop termination condition.
7323
4709fe76
SP
7324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7325 variable to calculate EZ.
7326 (__sqr): Likewise.
2d0e0f29
SP
7327
7328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7329 the lower precision input.
7330
daaa7713
JM
73312013-02-15 Joseph Myers <joseph@codesourcery.com>
7332
7333 [BZ #13550]
7334 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7335 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7336 (run-via-rtld-prefix): Do not handle %-bp tests.
7337 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7338 (all-object-suffixes): Remove .ob.
7339 (bppfx): Remove variable.
7340 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7341 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7342 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7343 [$(build-bounded) = yes] (libtype.ob): Likewise.
7344 * Makerules (elide-routines.ob): Remove variable.
7345 (do-tests-clean): Do not handle *-bp.out.
7346 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7347 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7348 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7349 (tests): Do not include $(tests-bp.out).
7350 (xtests): Do not include $(xtests-bp.out).
7351 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7352 [$(build-bounded) = yes] ($(addprefix
7353 $(objpfx),$(binaries-bounded))): Remove rule.
7354 ($(objpfx)%-bp.out): Remove rule.
7355 * config.make.in (build-bounded): Remove variable.
7356 * crypt/Makefile [$(build-bounded) = yes]
7357 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7358 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7359 append to variable.
7360 [$(build-bounded) = yes] (install-lib): Likewise.
7361 [$(build-bounded) = yes] (generated): Likewise.
7362 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7363 Remove rule.
7364 * intl/Makefile [$(build-bounded) = yes]
7365 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7366 * math/Makefile [$(build-bounded) = yes]
7367 ($(tests:%=$(objpfx)%-bp): Likewise.
7368 * misc/Makefile [$(build-bounded) = yes]
7369 ($(objpfx)tst-tsearch-bp): Likewise.
7370 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7371 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7372 Remove dependency.
7373 * string/Makefile (o-objects.ob): Remove variable.
7374 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7375 (CFLAGS-.ob): Remove variable.
7376 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7378 both definitions of variable.
7379 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7380 (ASFLAGS-.ob): Remove variable.
7381
e97ed6dd
JM
73822013-02-14 Joseph Myers <joseph@codesourcery.com>
7383
2bdd4ca6
JM
7384 [BZ #13550]
7385 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7386 Remove __BOUNDED_POINTERS__ from condition.
7387 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7388 * string/bits/string2.h [!__NO_STRING_INLINES &&
7389 !__BOUNDED_POINTERS__]: Likewise.
7390 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7391 Likewise.
7392 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7393 Remove conditional code.
7394 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7395 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7396 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7397 condition.
7398
e97ed6dd
JM
7399 [BZ #13550]
7400 * csu/libc-start.c: Do not include <bp-sym.h>.
7401 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7402 * elf/dl-open.c: Do not include <bp-sym.h>.
7403 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7404 * math/fegetenv.c: Do not include <bp-sym.h>.
7405 (fegetenv): Do not use BP_SYM in versioned symbols.
7406 * nptl/sysdeps/pthread/bits/libc-lockP.h
7407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7408 <bp-sym.h>.
7409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7410 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7412 (__pthread_mutex_destroy): Likewise.
7413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7414 (__pthread_mutex_lock): Likewise.
7415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7416 (__pthread_mutex_trylock): Likewise.
7417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7418 (__pthread_mutex_unlock): Likewise.
7419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7420 (__pthread_mutexattr_init): Likewise.
7421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7422 (__pthread_mutexattr_destroy): Likewise.
7423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7424 (__pthread_mutexattr_settype): Likewise.
7425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7426 (__pthread_rwlock_init): Likewise.
7427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7428 (__pthread_rwlock_destroy): Likewise.
7429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7430 (__pthread_rwlock_rdlock): Likewise.
7431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7432 (__pthread_rwlock_tryrdlock): Likewise.
7433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7434 (__pthread_rwlock_wrlock): Likewise.
7435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7436 (__pthread_rwlock_trywrlock): Likewise.
7437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7438 (__pthread_rwlock_unlock): Likewise.
7439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7440 (__pthread_key_create): Likewise.
7441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7442 (__pthread_setspecific): Likewise.
7443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7444 (__pthread_getspecific): Likewise.
7445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7446 Likewise.
7447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7448 (_pthread_cleanup_push_defer): Likewise.
7449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7450 (_pthread_cleanup_pop_restore): Likewise.
7451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7452 (pthread_setcancelstate): Likewise.
7453 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7454 <bp-sym.h>.
7455 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7456 (memchr): Do not use BP_SYM in weak_alias.
7457 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7458 (fegetenv): Do not use BP_SYM in versioned symbols.
7459 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7460 (fesetenv): Do not use BP_SYM in versioned symbols.
7461 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7462 (feupdateenv): Do not use BP_SYM in versioned symbols.
7463 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7464 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7465 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7466 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7467 (open64): Do not use BP_SYM in weak_alias.
7468 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7469 (fegetenv): Do not use BP_SYM in versioned symbols.
7470 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7471 (fesetenv): Do not use BP_SYM in versioned symbols.
7472 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7473 (feupdateenv): Do not use BP_SYM in versioned symbols.
7474 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7475 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7476 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7477 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7478 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7479 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7481 <bp-sym.h>.
7482 (__libc_start_main): Do not use BP_SYM.
7483
d6752ccd
SP
74842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7485
cb57ce60
SP
7486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7487 redundant return line.
7488 (norm): Likewise.
7489 (denorm): Likewise.
7490 (dbl_mp): Likewise.
7491 (sub_magnitudes): Likewise.
7492 (__add): Likewise.
7493 (__sub): Likewise.
7494 (__mul): Likewise.
7495 (__inv): Likewise.
7496 (__dvd): Likewise.
7497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7498 (norm): Likewise.
7499 (denorm): Likewise.
7500 (dbl_mp): Likewise.
7501 (sub_magnitudes): Likewise.
7502 (__add): Likewise.
7503 (__sub): Likewise.
7504 (__mul): Likewise.
7505 (__inv): Likewise.
7506 (__dvd): Likewise.
7507
f414520d
SP
7508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7509 instead of __mul.
7510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7512 (cc32): Likewise.
7513
d6752ccd
SP
7514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7515 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7517 of __mul for squares.
7518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7519 function
7520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7521 Likewise.
7522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7524
70d9946a
JM
75252013-02-13 Joseph Myers <joseph@codesourcery.com>
7526
7527 [BZ #13550]
7528 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7529 code.
7530 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7531 prototype or function definition. Rename ubp_* variables and
7532 parameters. Remove argv definitions conditional on
7533 [__BOUNDED_POINTERS__].
7534 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7535 * elf/dl-runtime.c (_dl_fixup): Likewise.
7536 * include/set-hooks.h (RUN_HOOK): Likewise.
7537 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7538 definition.
7539 * string/strcpy.c (strcpy): Do not use __unbounded.
7540 * sysdeps/generic/frame.h (struct layout): Likewise.
7541 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7542 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7543 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7544 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7545 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7546 (__backtrace): Likewise.
7547 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7548 use __ptrvalue.
7549 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7550 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7551 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7552 Likewise.
7553 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7554 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7555 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7557 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7558 Do not use __unbounded.
7559 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7560 Rename __unboundedrlimits parameter to rlimits in prototype.
7561 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7562 Do not use __unbounded.
7563 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7564 not use __ptrvalue.
7565 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7566 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7567 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7568 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7569 __ptrvalue or __unbounded.
7570 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7571 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7572 use __unbounded.
7573 (__new_msgctl): Do not use __ptrvalue.
7574 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7575 __unbounded.
7576 (__libc_msgrcv): Do not use __ptrvalue.
7577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7578 startup_info): Do not use __unbounded.
7579 (__libc_start_main): Likewise. Rename ubp_* variables and
7580 parameters. Remove argv definitions conditional on
7581 [__BOUNDED_POINTERS__].
7582 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7583 __ptrvalue.
7584 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7585 use __unbounded.
7586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7587 or __ptrvalue.
7588 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7589 use __unbounded.
7590 (__new_shmctl): Do not use __ptrvalue.
7591 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7592 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7593 Likewise.
7594 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7596 (__libc_sigaction): Likewise.
7597 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7598 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7599 Likewise.
7600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7601
cc7834d6
OB
76022013-02-13 Ondřej Bílka <neleai@seznam.cz>
7603
ffb1ec7b 7604 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7605
7606 * string/mempcpy.c: Implement by calling memcpy.
7607
bdf02814
SP
76082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7609
c2af38aa
SP
7610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7611
4e92d59e
SP
7612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7613 evaluation.
7614
909279a5
SP
7615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7616 values in the mantissa.
7617
bdf02814
SP
7618 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7619 minimize writes to Z.
7620 (sub_magnitudes): Simplify code a bit.
7621
cd525923
RM
76222013-02-12 Roland McGrath <roland@hack.frob.com>
7623
7624 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7625 from the message. The linker prefixes all warnings with that already.
7626
7e2f0d2d
AS
76272013-02-12 Andreas Schwab <schwab@suse.de>
7628
a445af0b
AS
7629 [BZ #15078]
7630 * posix/regexec.c (extend_buffers): Add parameter min_len.
7631 (check_matching): Pass minimum needed length.
7632 (clean_state_log_if_needed): Likewise.
7633 (get_subexp): Likewise.
7634 * posix/Makefile (tests): Add bug-regex34.
7635 (bug-regex34-ENV): Define.
7636 * posix/bug-regex34.c: New file.
7637
7e2f0d2d
AS
7638 [BZ #11561]
7639 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7640 elements compare against the byte sequence of it, not its name.
7641 * posix/Makefile (tests): Add bug-regex35.
7642 (bug-regex35-ENV): Define.
7643 * posix/bug-regex35.c: New file.
7644
a175b684
TV
76452013-02-11 Tom de Vries <tom@codesourcery.com>
7646
7647 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7648 comment.
7649 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7650 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7651 (CHECK_EOL): Add undef.
7652
310998fe 76532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7654
7655 * bits/stdlib-bsearch.h: New file.
7656 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7657 * stdlib/stdlib.h: Likewise.
41eda41d 7658
8ded91fb
RM
76592013-02-11 Roland McGrath <roland@hack.frob.com>
7660
7661 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7662 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7663 declaration.
7664 * manual/search.texi (Array Search Function): Add missing const in
7665 lfind prototype.
7666 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7667 declaration to use rlim_t.
7668 (Basic Scheduling Functions): Remove erroneous const from
7669 sched_getparam prototype. Remove erroneous * from
7670 sched_get_priority_max and sched_get_priority_min prototypes.
7671 (Resource Usage): Fix summary @comment on vtimes to refer to
7672 sys/vtimes.h rather than vtimes.h.
7673 Add missing *s in vtimes prototype.
7674 (Limits on Resources): Fix ulimit prototype to return long int.
7675 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7676 prototypes to use long int rather than double.
7677 (BSD Random): Fix initstate and setstate to use char *, not void *.
7678 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7679 prototype to make second argument 'struct aiocb64 *const[]'.
7680 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7681 (Status of AIO Operations): Remove erroneous const in aio_return and
7682 aio_return64 prototypes.
7683 (Synchronizing I/O): Fix sync prototype to return void.
7684 * manual/startup.texi (Suboptions): Remove an erroneous const in
7685 getsubopt prototype.
7686 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7687 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7688 use size_t rather than int.
7689 (Scanning All Users): Likewise for getpwent_r.
7690 (Setting Groups): Add missing const to setgroups prototype.
7691 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7692 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7693 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7694 'const void *' rather than 'const char *'.
7695 (Host Address Functions): Likewise for inet_ntop.
7696 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7697 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7698 ssize_t for return value.
7699 (Sending Data): Likewise for send, sendto, sendmsg.
7700 (Socket Option Functions): Add a missing const in setsockopt prototype.
7701 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7702 use wchar_t for the argument.
7703 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7704 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7705 take no arguments.
7706 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7707 double/float/long double for second argument.
7708 Fix return types of significand, significandf, significandl.
7709 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7710 argument in fchmod prototype.
7711 (File Owner): Use uid_t and gid_t in fchown prototype.
7712 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7713 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7714 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7715 use 'const struct dirent **' as argument types to CMP function pointer
7716 argument.
7717 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7718 (File Times): Fix summary magic @comment for struct utimbuf and utime
7719 to refer to utime.h, not time.h.
7720 * manual/string.texi (Argz Functions): Add missing const in
7721 argz_extract and argz_next prototypes.
7722 (Finding Tokens in a String): Likewise for basename.
7723 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7724 (Copying and Concatenation): Fix typo in wmemmove prototype.
7725 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7726 (Signal Stack): Remove erroneous const in sigstack prototype.
7727 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7728 prototype.
7729 (Simple Calendar Time): Likewise for stime.
7730 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7731 prototype.
7732 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7733 say sys/sysctl.h instead.
7734 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7735 and vsyslog prototypes.
7736
fe77fe6d
TV
77372013-02-11 Tom de Vries <tom@codesourcery.com>
7738
7739 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7740 Remove.
7741
3a09b620
RM
77422013-02-11 Roland McGrath <roland@hack.frob.com>
7743
7744 * misc/sys/mman.h: Fix typo in mremap comment.
7745
550a0b89
RM
77462013-02-08 Roland McGrath <roland@hack.frob.com>
7747
7748 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7749 the '\0' terminator.
7750
a2da1673
JM
77512013-02-08 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #13550]
7754 * debug/segfault.c: Don't include <bp-checks.h>.
7755 * sysdeps/generic/bp-checks.h: Remove file.
7756 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7757 (__GETDENTS): Don't use CHECK_N.
7758 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7760 (__getgroups): Don't use CHECK_N.
7761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7762 (setgroups): Don't use CHECK_N.
7763 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7764 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7765 (__libc_msgrcv): Don't use CHECK_N.
7766 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7767 (__libc_msgsnd): Don't use CHECK_N.
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7769 <bp-checks.h>.
7770 (__libc_pread): Don't use CHECK_N.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7772 include <bp-checks.h>.
7773 (__libc_pread64): Don't use CHECK_N.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7775 include <bp-checks.h>.
7776 (__libc_pwrite): Don't use CHECK_N.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7778 include <bp-checks.h>.
7779 (__libc_pwrite64): Don't use CHECK_N.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7781 <bp-checks.h>.
7782 (__libc_pread): Don't use CHECK_N.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7784 include <bp-checks.h>.
7785 (__libc_pread64): Don't use CHECK_N.
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7787 include <bp-checks.h>.
7788 (__libc_pwrite): Don't use CHECK_N.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7790 include <bp-checks.h>.
7791 (__libc_pwrite64): Don't use CHECK_N.
7792 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7793 (do_pread): Don't use CHECK_N.
7794 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7795 (do_pread64): Don't use CHECK_N.
7796 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7797 (do_pwrite): Don't use CHECK_N.
7798 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7799 (do_pwrite64): Don't use CHECK_N.
7800 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7801 (__libc_readv): Don't use CHECK_N.
7802 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7803 (semop): Don't use CHECK_N.
7804 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7805 <bp-checks.h>.
7806 (semtimedop): Don't use CHECK_N.
7807 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7808 (__libc_pread): Don't use CHECK_N.
7809 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7810 <bp-checks.h>.
7811 (__libc_pread64): Don't use CHECK_N.
7812 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7813 <bp-checks.h>.
7814 (__libc_pwrite): Don't use CHECK_N.
7815 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7816 <bp-checks.h>.
7817 (__libc_pwrite64): Don't use CHECK_N.
7818 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7819 <bp-checks.h>.
7820 (__libc_msgrcv): Don't use CHECK_N.
7821 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7822 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7823 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7824 (__libc_writev): Don't use CHECK_N.
7825
b84660a8
RM
78262013-02-08 Roland McGrath <roland@hack.frob.com>
7827
7f3e75f8
RM
7828 * string/strcpy.c: Removed unused variable.
7829
b84660a8
RM
7830 * Makeconfig (+sysdep-includes): Define with := rather than =.
7831 Use an existing include/ subdir of each sysdeps dir before it.
7832
471514d3
CD
78332013-02-08 Carlos O'Donell <carlos@redhat.com>
7834
7835 * nscd/connection.c (register_traced_file): Comment function.
7836 [HAVE_INOTIFY] (union __inev): Define.
7837 [HAVE_INOTIFY] (inotify_check_files): New function.
7838 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7839 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7840 clear_db_cache.
7841 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7842
b2d3c3be
CD
78432013-02-08 Carlos O'Donell <carlos@redhat.com>
7844
7845 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7846 loaded if not already and that a failure is permanent.
7847
b39949d2
CD
78482013-02-08 Carlos O'Donell <carlos@redhat.com>
7849
ddacd1db 7850 [BZ #15006]
b39949d2
CD
7851 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7852 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7853
b2c9eff4
JM
78542013-02-08 Joseph Myers <joseph@codesourcery.com>
7855
f3aae3f3
JM
7856 [BZ #13550]
7857 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7858 (CHECK_1_NULL_OK): Likewise.
7859 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7860 (__fxstat): Do not use CHECK_1.
7861 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7862 <bp-checks.h>.
7863 (___fxstat64): Do not use CHECK_1.
7864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7865 <bp-checks.h>.
7866 (__fxstatat): Do not use CHECK_1.
7867 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7868 <bp-checks.h>.
7869 (__fxstatat64): Do not use CHECK_1.
7870 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7871 <bp-checks.h>.
7872 (__fxstat): Do not use CHECK_1.
7873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7874 <bp-checks.h>.
7875 (__fxstatat): Do not use CHECK_1.
7876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7877 <bp-checks.h>.
7878 (__getresgid): Do not use CHECK_1.
7879 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7880 <bp-checks.h>.
7881 (__getresuid): Do not use CHECK_1.
7882 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7883 <bp-checks.h>.
7884 (__lxstat): Do not use CHECK_1.
7885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7886 <bp-checks.h>.
7887 (__old_msgctl): Do not use CHECK_1.
7888 (__new_msgctl): Likewise.
7889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7890 <bp-checks.h>.
7891 (__new_setrlimit): Do not use CHECK_1.
7892 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7893 <bp-checks.h>.
7894 (__old_shmctl): Do not use CHECK_1.
7895 (__new_shmctl): Likewise.
7896 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7897 <bp-checks.h>.
7898 (__xstat): Do not use CHECK_1.
7899 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7900 (__lxstat): Do not use CHECK_1.
7901 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7902 <bp-checks.h>.
7903 (___lxstat64): Do not use CHECK_1.
7904 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7905 (__old_msgctl): Do not use CHECK_1.
7906 (__new_msgctl): Likewise.
7907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7908 <bp-checks.h>.
7909 (__gettimeofday): Do not use CHECK_1.
7910 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7911 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7913 <bp-checks.h>.
7914 (__gettimeofday): Do not use CHECK_1.
7915 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7916 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7917 (__new_shmctl): Do not use CHECK_1.
7918 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7919 <bp-checks.h>.
7920 (do_sigtimedwait): Do not use CHECK_1.
7921 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7922 <bp-checks.h>.
7923 (do_sigwaitinfo): Do not use CHECK_1.
7924 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7925 <bp-checks.h>.
7926 (msgctl): Do not use CHECK_1.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7928 <bp-checks.h>.
7929 (shmctl): Do not use CHECK_1.
7930 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7931 (ustat): Do not use CHECK_1.
7932 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7933 <bp-checks.h>.
7934 (__fxstat): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7936 <bp-checks.h>.
7937 (__fxstatat): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7939 <bp-checks.h>.
7940 (__lxstat): Do not use CHECK_1.
7941 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7942 <bp-checks.h>.
7943 (__xstat): Do not use CHECK_1.
7944 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7945 (__xstat): Do not use CHECK_1.
7946 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7947 (___xstat64): Do not use CHECK_1.
7948
b2c9eff4
JM
7949 [BZ #13550]
7950 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7951 definitions.
7952 (CHECK_BOUNDS_HIGH): Likewise.
7953 * string/strcpy.c: Do not include <bp-checks.h>.
7954 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7955
f1d70dad
RM
79562013-02-07 Roland McGrath <roland@hack.frob.com>
7957
7958 * nscd/nscd-client.h (__nscd_drop_map_ref):
7959 Add __attribute__ ((unused)).
7960 * nis/nss-nisplus.h (niserr2nss): Likewise.
7961
7962 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7963 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7964
7965 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7966 Remove inline keyword.
7967 * include/rounding-mode.h (round_away): Likewise.
7968 * libio/wfileops.c (adjust_wide_data): Likewise.
7969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7970 (__m128i_strloadu_tolower): Likewise.
7971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7972 (__m128i_strloadu_tolower): Likewise.
7973 * time/mktime.c (ydhms_diff): Likewise.
7974 * locale/elem-hash.h (elem_hash): Likewise.
7975 * locale/setlocale.c (setdata): Likewise.
7976 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7977 (re_string_wchar_at): Likewise.
7978 (bitset_not, bitset_merge, bitset_mask): Likewise.
7979 [!(__GNUC__ > 3)] (inline): Remove macro.
7980 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7981 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7982 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7983 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7984 * string/memcmp.c (memcmp_bytes): Likewise.
7985 * locale/programs/locarchive.c (compute_hashval): Likewise.
7986 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7988 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7989 * nss/getent.c (print_rpc, print_protocols): Likewise.
7990 (print_passwd, print_group, print_aliases): Likewise.
7991 * nis/nss-nisplus.h (niserr2nss): Likewise.
7992 * nscd/connections.c (restart_p): Likewise.
7993 Change return type to bool.
7994
eab55bfb
RM
79952013-02-05 Roland McGrath <roland@hack.frob.com>
7996
7bd642f5
RM
7997 * Makeconfig (all-Depend-files): Add existing
7998 $(sorted-subdirs:=/Depend) files.
7999 (all-subdirs): Remove nss.
8000 * sysdeps/unix/inet/Subdirs: Add it here instead.
8001 * hesiod/Depend: New file.
8002
573c29b2
RM
8003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8004 instead of calling alloca.
8005
b2e25af0
RM
8006 * io/lseek.c (__lseek): Rename to __libc_lseek.
8007 Define __lseek as an alias.
8008
eab55bfb
RM
8009 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8010
9a0d1941
CD
80112013-02-04 Carlos O'Donell <carlos@redhat.com>
8012
8013 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8014 else clause and remove check for non-standard endianness.
8015
b83bbec4
DM
80162013-02-04 David S. Miller <davem@davemloft.net>
8017
8018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8019
6277fdab
JM
80202013-02-04 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #13550]
8023 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8024 (__ubp_memchr): Remove prototype.
8025 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8026 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8027 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8028 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8029 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8030 Remove alias.
8031 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8032 (__ubp_memchr): Likewise.
8033 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8034 (__ubp_memchr): Likewise.
8035 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8036 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8037 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8039 CHECK_STRING.
8040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8041 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8042 (__getcwd): Do not use CHECK_STRING.
8043 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8044 <bp-checks.h>.
8045 (__real_chown): Do not use CHECK_STRING.
8046 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8047 <bp-checks.h>.
8048 (fchownat): Do not use CHECK_STRING.
8049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8050 CHECK_STRING.
8051 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8052 <bp-checks.h>.
8053 (__lchown): Do not use CHECK_STRING.
8054 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8055 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8057 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8059 include <bp-checks.h>.
8060 (truncate64): Do not use CHECK_STRING.
8061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8062 <bp-checks.h>.
8063 (__real_chown): Do not use CHECK_STRING.
8064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8065 <bp-checks.h>.
8066 (__lchown): Do not use CHECK_STRING.
8067 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8068 <bp-checks.h>.
8069 (__chown): Do not use CHECK_STRING.
8070 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8071 <bp-checks.h>.
8072 (truncate64): Do not use CHECK_STRING.
8073 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8074 Likewise.
8075 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8076 (__xmknod): Do not use CHECK_STRING.
8077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8078 <bp-checks.h>.
8079 (__xmknodat): Do not use CHECK_STRING.
8080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8081 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8082
903ae060
AS
80832013-02-04 Andreas Schwab <schwab@suse.de>
8084
8085 [BZ #14142]
8086 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8087 * include/netdb.h: Likewise for h_errno.
8088 * elf/tst-stackguard1.c: Include <tls.h>.
8089
542f9466
JK
80902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 * elf/link.h (struct link_map): Extend the l_addr comment.
8093 * include/link.h (struct link_map): Likewise.
8094
e782a927
JM
80952013-02-01 Joseph Myers <joseph@codesourcery.com>
8096
8097 [BZ #13550]
8098 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8099 (BOUNDED_1): Remove macro.
8100 * debug/backtrace.c: Don't include <bp-checks.h>.
8101 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8102 (__backtrace): Likewise.
8103 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8104 <bp-checks.h>.
8105 (__backtrace): Don't use BOUNDED_1.
8106 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8107 <bp-checks.h>.
8108 (__backtrace): Don't use BOUNDED_1.
8109 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8110 (__backtrace): Don't use BOUNDED_1.
8111 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8112 (shmat): Don't use BOUNDED_N.
8113
8cf28c5e
JM
81142013-01-31 Joseph Myers <joseph@codesourcery.com>
8115
3a7ac8a0
JM
8116 [BZ #13550]
8117 * sysdeps/generic/bp-start.h: Remove file.
8118 * csu/libc-start.c: Don't include <bp-start.h>.
8119 (LIBC_START_MAIN): Set up __environ directly instead of using
8120 INIT_ARGV_and_ENVIRON.
8121 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8122 <bp-start.h>.
8123
f3499f95
JM
8124 [BZ #13550]
8125 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8126 definitions.
8127 (CHECK_FCNTL): Likewise.
8128 (CHECK_N_PAGES): Likewise.
8129
32a45bea
JM
8130 [BZ #13550]
8131 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8132 definitions.
8133 (CHECK_SIGSET_NULL_OK): Likewise.
8134 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8135 <bp-checks.h>.
8136 (sigpending): Don't use CHECK_SIGSET.
8137 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8138 <bp-checks.h>.
8139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8140 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8141 <bp-checks.h>.
8142 (do_sigsuspend): Don't use CHECK_SIGSET.
8143 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8144 use CHECK_SIGSET.
8145 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8146 (do_sigwait): Don't use CHECK_SIGSET.
8147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8148 use CHECK_SIGSET.
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8150 include <bp-checks.h>.
8151 (sigpending): Don't use CHECK_SIGSET.
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8153 include <bp-checks.h>.
8154 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8155 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8156 <bp-checks.h>.
8157 (sigpending): Don't use CHECK_SIGSET.
8158 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8159 <bp-checks.h>.
8160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8161
2e8a5c8c
JM
8162 [BZ #13550]
8163 * sysdeps/generic/bp-semctl.h: Remove file.
8164 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8165 <bp-checks.h> and <bp-semctl.h>.
8166 (__old_semctl): Don't use CHECK_SEMCTL.
8167 (__new_semctl): Likewise.
8168 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8169 and <bp-semctl.h>.
8170 (__old_semctl): Don't use CHECK_SEMCTL.
8171 (__new_semctl): Likewise.
8172 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8173 <bp-checks.h> and <bp-semctl.h>.
8174 (__old_semctl): Don't use CHECK_SEMCTL.
8175 (__new_semctl): Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8177 <bp-checks.h> and <bp-semctl.h>.
8178 (semctl): Don't use CHECK_SEMCTL.
8179
c2d54929
JM
8180 [BZ #13550]
8181 * Makerules (elide-bp-thunks): Remove variable.
8182 (elide-routines.oS): Don't use $(elide-bp-thunks).
8183 (elide-routines.os): Likewise.
8184 (elide-routines.o): Likewise.
8185 (elide-routines.op): Likewise.
8186 (elide-routines.og): Likewise.
8187 (objects): Don't use $(bp-thunks).
8188 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8189 include.
8190 (common-generated): Do not add s-proto-bp.d.
8191 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8192 (int): Likewise.
8193 (typ): Likewise.
8194 Do not generate makefile rules for bounded-pointer thunks.
8195 * sysdeps/generic/bp-thunks.h: Remove file.
8196 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8197 * sysdeps/unix/s-proto-bp.S: Likewise.
8198
8cf28c5e
JM
8199 [BZ #15062]
8200 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8201 parts of result separately when argument is not close to line from
8202 -i to i and one part of argument is small.
8203 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8204 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8205 * math/libm-test.inc (cacos_test): Add more tests.
8206 (casin_test): Likewise.
8207 (casinh_test): Likewise.
8208 * sysdeps/i386/fpu/libm-test-ulps: Update.
8209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8210
c4e33b8d
DM
82112013-01-31 David S. Miller <davem@davemloft.net>
8212
8213 * po/de.po: Update from translation team.
8214
3b60b421
MK
82152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8216
8217 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8218
bb931195
TS
82192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8220
b5a5da23
TS
8221 * configure.in (_AC_PROG_CC_C89): New definition.
8222 * configure: Regenerate.
8223
bb931195
TS
8224 * configure.in (AC_PROG_CPP): New definition.
8225 * configure: Regenerate.
8226
8c53a12c
JM
82272013-01-23 Joseph Myers <joseph@codesourcery.com>
8228
8229 * debug/tst-backtrace.h: New file.
8230 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8231 (ret): Remove variable.
8232 (x): Likewise.
8233 (FAIL): Remove macro.
8234 (NO_INLINE): Likewise.
8235 (fn1): Use match function instead of strstr.
8236 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8237 (ret): Remove variable.
8238 (x): Likewise.
8239 (FAIL): Remove macro.
8240 (NO_INLINE): Likewise.
8241 (fn): Use match function instead of strstr.
8242 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8243 (ret): Remove variable.
8244 (x): Likewise.
8245 (FAIL): Remove macro.
8246 (NO_INLINE): Likewise.
8247 (handle_signal): Use match function instead of strstr.
8248 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8249 (ret): Remove variable.
8250 (x): Likewise.
8251 (FAIL): Remove macro.
8252 (NO_INLINE): Likewise.
8253 (handle_signal): Use match function instead of strstr.
8254
4858fa2a
RM
82552013-01-23 Roland McGrath <roland@hack.frob.com>
8256
8257 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8258
bae8e7f5
DM
82592013-01-23 David S. Miller <davem@davemloft.net>
8260
8261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8262 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8263 argument of CAS if possible.
8264 * sysdeps/sparc/sparc64/bits/atomic.h
8265 (__arch_compare_and_exchange_val_32_acq): Likewise.
8266 (__arch_compare_and_exchange_val_64_acq): Likewise.
8267
9cbbc4ae
PT
82682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8269
8270 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8271 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8272 Include <limits.h>.
67b3f58c 8273 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8274
5655a0b5
AC
82752013-01-23 Adam Conrad <adconrad@0c3.net>
8276
8277 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8278 (LDFLAGS-tst-array5): Likewise.
8279
052aff95
JM
82802013-01-23 Joseph Myers <joseph@codesourcery.com>
8281
8282 [BZ #15036]
8283 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8284 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8285 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8287
7c1e01aa
DM
82882013-01-21 David S. Miller <davem@davemloft.net>
8289
8290 * sysdeps/sparc/backtrace.c: New file.
8291 * sysdeps/sparc/sparc32/backtrace.h: New file.
8292 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8293 * sysdeps/sparc/sparc64/backtrace.h: New file.
8294 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8295 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8296 -funwind-tables.
8297
ab087e0a
AS
82982013-01-21 Andreas Schwab <schwab@suse.de>
8299
8300 [BZ #15020]
8301 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8302 closed its stdout.
8303
ed689c2f
AS
83042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8305
8306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8307 "mpa2.h".
8308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8309
31d470ac
JM
83102013-01-18 Joseph Myers <joseph@codesourcery.com>
8311 Mark Mitchell <mark@codesourcery.com>
8312 Tom de Vries <tom@codesourcery.com>
8313 Paul Pluzhnikov <ppluzhnikov@google.com>
8314
8315 * debug/tst-backtrace2.c: New file.
8316 * debug/tst-backtrace3.c: Likewise.
8317 * debug/tst-backtrace4.c: Likewise.
8318 * debug/tst-backtrace5.c: Likewise.
8319 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8320 (CFLAGS-tst-backtrace3.c): Likewise.
8321 (CFLAGS-tst-backtrace4.c): Likewise.
8322 (CFLAGS-tst-backtrace5.c): Likewise.
8323 (LDFLAGS-tst-backtrace2): Likewise.
8324 (LDFLAGS-tst-backtrace3): Likewise.
8325 (LDFLAGS-tst-backtrace4): Likewise.
8326 (LDFLAGS-tst-backtrace5): Likewise.
8327 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8328 tst-backtrace4 and tst-backtrace5.
8329
90567f30 83302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8331 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8332
8333 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8334 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8336 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8338 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8339 "+r" and remove output regs list as redundant. Add explicit inline
8340 asm to specify register of return val to work around compiler codegen
8341 bug. Remove (int) cast on return value. Add return type parameter to
8342 use in macro so that this macro does not truncate return value for
8343 64-bit values.
8344 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8345 pass to INTERNAL_VSYSCALL_NCS.
8346 (INLINE_VSYSCALL): Add 'long int' as return type to
8347 INTERNAL_VSYSCALL_NCS macro invocation.
8348 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8349 INTERNAL_VSYSCALL_NCS macro invocation.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8351
d3b9ea61
SP
83522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8353
0b57daeb
SP
8354 [BZ #14496]
8355 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8356 Fix application of SIMD FP exception mask.
8357
caa99d06
SP
8358 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8359 mp_no from a power of two.
8360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8361 __mpexp_twomm1. Use __pow_mp.
8362
d3b9ea61
SP
8363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8364 multiplication.
8365
1dbaee3c
DM
83662013-01-17 David S. Miller <davem@davemloft.net>
8367
8368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8369
728d7b43
JM
83702013-01-17 Joseph Myers <joseph@codesourcery.com>
8371
8372 [BZ #15023]
8373 * include/complex.h: Condition contents on [!_COMPLEX_H].
8374 (__kernel_casinhf): New prototype.
8375 (__kernel_casinh): Likewise.
8376 (__kernel_casinhl): Likewise.
8377 * math/Makefile (libm_calls): Add k_casinh.
8378 * math/k_casinh.c: New file.
8379 * math/k_casinhf.c: Likewise.
8380 * math/k_casinhl.c: Likewise.
8381 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8382 finite nonzero arguments.
8383 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8384 finite nonzero arguments.
8385 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8386 finite nonzero arguments.
8387 * math/s_casinh.c: Do not include <float.h>.
8388 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8389 * math/s_casinhf.c: Do not include <float.h>.
8390 (__casinhf): Move code for finite nonzero arguments to
8391 k_casinhf.c.
8392 * math/s_casinhl.c: Do not include <float.h>.
8393 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8394 redefine.
8395 (__casinhl): Move code for finite nonzero arguments to
8396 k_casinhl.c.
8397 * math/libm-test.inc (cacos_test): Add more tests.
8398 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400
2a26ef3a
PT
84012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8402
8403 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8404 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8405 [!HAVE_MREMAP]: Remove [defined linux] case.
8406 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8407
a897655d
SP
84082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8411
881ebe89 84122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8413
8414 * elf/elf.h (R_386_SIZE32): New relocation.
8415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8416 R_386_SIZE32.
8417 (elf_machine_rela): Likewise.
8418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8419 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8420
59981e9b
JM
84212013-01-17 Joseph Myers <joseph@codesourcery.com>
8422
8423 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8424 (FP_FAST_FMA): Do not define.
8425 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8426 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8427 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8428 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8429 !_SOFT_FLOAT]: Likewise.
8430 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8432 value.
8433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8434 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8437 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8438 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8439 file.
8440
cfa8054f
AS
84412013-01-16 Andreas Schwab <schwab@suse.de>
8442
8443 [BZ #14327]
8444 * include/stdlib.h (__mktemp): Add declaration.
8445 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8446 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8447
dd930cc5
SP
84482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
881ebe89
SP
8450 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8451 definitions.
8452 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8453 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8454 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8455 definitions here.
8456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8457 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8458 definitions.
8459 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8460 and ONE.
8461 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8462 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8464 definitions.
8465 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8466 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8467 definitions.
8468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8469
dd930cc5
SP
8470 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8471
c19a9f89
DM
84722013-01-15 David S. Miller <davem@davemloft.net>
8473
1aa61767
DM
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8475 trunc{,f} to libm-sysdep_routes.
8476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8478 file.
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8481 file.
8482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8483 file.
8484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8487 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8488 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8489 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8490 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8491 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8492
c42d5e98
DM
8493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8494 nearbyint{,f} to libm-sysdep_routes.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8497 New file.
8498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8499 file.
8500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8501 New file.
8502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8503 file.
8504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8507 file.
8508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8510 file.
8511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8512 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8513 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8514
c19a9f89
DM
8515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8516 libc_feholdexcept and libc_fesetenv.
8517
357679d2
MF
85182013-01-15 Mike Frysinger <vapier@gentoo.org>
8519
8520 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8521
65a82e3d
DM
85222013-01-14 David S. Miller <davem@davemloft.net>
8523
8b954ab9
DM
8524 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8525 (SPARC_ASM_VIS2_IFUNC): Likewise.
8526 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8528 use of 'siam' instruction.
8529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8530 Likewise.
8531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8532 Likewise.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8534 Likewise.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8540 file.
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8542 file.
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8544 file.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8546 file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8552 new VIS2 routines.
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8556 Likewise.
8557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8562 routines to libm-sysdep_routines.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8564
65a82e3d
DM
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8566 fdim/fdimf to libm-sysdep_routines.
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8568 file.
8569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8571 file.
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8575 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8576 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8577 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8578 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8579
e34ab705
SP
85802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8581
2a91b573
SP
8582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8583 to optimize copies.
8584
1066a534
SP
8585 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8588
e34ab705
SP
8589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8590 local variable MPTWO.
8591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8592 Likewise.
8593
aba5e596
MF
85942013-01-13 Mike Frysinger <vapier@gentoo.org>
8595
8596 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8597 GLOB_NOESCAPE.
8598
e557e9e5
MF
85992013-01-13 Mike Frysinger <vapier@gentoo.org>
8600
8601 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8602
0428cec9
MF
86032013-01-13 Mike Frysinger <vapier@gentoo.org>
8604
8605 * manual/pattern.texi (glob_t): Document gl_flags.
8606 (glob64_t): Likewise.
8607
8794a964
DM
86082013-01-11 David S. Miller <davem@davemloft.net>
8609
66438c3f
RM
8610 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8612 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8613 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8614 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8615 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8617 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8619 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8620 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8621 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8622 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8623
4ae4244d
DM
8624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8625 sparc V9 rather than using V8 code.
8626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8628
8794a964
DM
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8630 Move to...
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8632 Here.
8633
6270516e
RM
86342013-01-11 Roland McGrath <roland@hack.frob.com>
8635
8636 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8637 not in the main loop.
8638 * configure: Regenerated.
8639
6a57d931
JM
86402013-01-11 Joseph Myers <joseph@codesourcery.com>
8641
8642 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8643 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8644 to just #else.
8645 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8646 [!__GLIBC_HAVE_LONG_LONG] case.
8647 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8648 condition to just #else.
8649 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8650 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8651 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8652 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8653 unconditional.
8654 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8655 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8656 #elif condition to just #else.
8657 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8658 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8659 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8660 #elif condition to just #else.
8661
0e8529e9
SE
86622013-01-11 Steve Ellcey <sellcey@mips.com>
8663
8664 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8665 (EF_MIPS_ARCH_64): Fix value.
8666 (EF_MIPS_ARCH_32R2): New.
8667 (EF_MIPS_ARCH_64R2): New.
8668
740b3dbe
L
86692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 * Makeconfig (+link-pie-before-libc): New.
8672 (+link-pie-after-libc): Likewise.
8673 (+link-pie-tests): Likewise.
8674 (+link-pie): Rewritten.
8675 (link-before-libc): Remove $(config-LDFLAGS).
8676 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8677 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8678 (config-LDFLAGS): Renamed to ...
8679 (rtld-LDFLAGS): This.
8680 (rtld-tests-LDFLAGS): New macro.
8681 (link-libc-rpath-link): Likewise.
8682 (link-libc-tests-rpath-link): Likewise.
8683 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8684 (link-libc): Prepand $(link-libc-rpath-link).
8685 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8686 (test-program-prefix): New macro.
8687 (test-via-rtld-prefix): Likewise.
8688 (test-program-cmd): Likewise.
8689 (host-test-program-cmd): Likewise.
8690 * Makefile ($(common-objpfx)testrun.sh): Replace
8691 $(run-program-prefix) with $(test-program-prefix).
8692 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8693 $(rtld-LDFLAGS).
8694 ($(common-objpfx)shlib.lds): Likewise.
8695 (build-module-helper): Likewise.
8696 ($(common-objpfx)format.lds): Likewise.
8697 * Rules (binaries-pie-tests): New.
8698 (binaries-pie-notests): Likewise.
8699 (binaries-pie): Rewritten.
8700 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8701 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8702 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8703 (make-test-out): Replace $(host-built-program-cmd) with
8704 $(host-test-program-cmd).
8705 * config.make.in (build-hardcoded-path-in-tests): New variable.
8706 * configure.in (--enable-hardcoded-path-in-tests): New configure
8707 option.
8708 (hardcoded_path_in_tests): New AC_SUBST.
8709 * configure: Regenerated.
8710 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8711 $(built-program-cmd) with $(test-program-cmd).
8712 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8713 (test_program_cmd): This.
8714 * elf/Makefile ($(objpfx)order.out): Run test with
8715 $(test-program-prefix).
8716 ($(objpfx)order2.out): Likewise.
8717 ($(objpfx)tst-initorder.out): Likewise.
8718 ($(objpfx)tst-initorder2.out): Likewise.
8719 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8720 $(test-program-cmd).
8721 ($(objpfx)tst-array1-static.out): Likewise.
8722 ($(objpfx)tst-array2.out): Likewise.
8723 ($(objpfx)tst-array3.out): Likewise.
8724 ($(objpfx)tst-array4.out): Likewise.
8725 ($(objpfx)tst-array5.out): Likewise.
8726 ($(objpfx)tst-array5-static.out): Likewise.
8727 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8728 $(test-program-cmd).
8729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8730 $(run-program-prefix) with $(test-program-prefix).
8731 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8732 (test_program_prefix): This.
8733 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8734 $(run-program-prefix) with $(test-program-prefix).
8735 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8736 (test_program_prefix): This.
8737 * iconvdata/tst-tables.sh: Likewise.
8738 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8739 $(run-program-prefix) with $(test-program-prefix).
8740 ($(objpfx)tst-translit.out): Likewise.
8741 ($(objpfx)tst-gettext2.out): Likewise.
8742 ($(objpfx)tst-gettext4.out): Likewise.
8743 ($(objpfx)tst-gettext6.out): Likewise.
8744 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8745 (test_program_prefix): This.
8746 * intl/tst-gettext2.sh: Likewise.
8747 * intl/tst-gettext4.sh Likewise.
8748 * intl/tst-gettext6.sh: Likewise.
8749 * intl/tst-translit.sh: Likewise.
8750 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8751 with $(test-program-cmd).
8752 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8753 $(run-program-prefix) with $(test-program-prefix).
8754 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8755 (test_program_prefix): This.
8756 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8757 $(run-program-prefix) with $(test-program-prefix).
8758 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8759 (test_program_prefix): This.
8760 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8761 * posix/Makefile ($(objpfx)globtest.out): Replace
8762 $(run-via-rtld-prefix) and $(test-wrapper) with
8763 $(test-program-prefix) and $(test-via-rtld-prefix).
8764 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8765 $(test-program-prefix).
8766 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8767 $(host-test-program-cmd).
8768 (tst-spawn-ARGS): Likewise.
8769 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8770 $(test-program-prefix).
8771 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8772 (test_via_rtld_prefix): This.
8773 (test_wrapper): Renamed to ...
8774 (test_program_prefix): This.
8775 (run_program_prefix): Replaced by test_program_prefix.
8776 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8777 (test_program_prefix): This.
8778 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8779 with $(host-test-program-cmd).
8780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8781 $(run-program-prefix) with $(test-program-prefix).
8782 ($(objpfx)tst-printf.out): Likewise.
8783 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8784 $(test-program-cmd).
8785 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8786 (test_program_prefix): This.
8787 * stdio-common/tst-unbputc.sh: Likewise.
8788 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8789 $(run-program-prefix) with $(test-program-prefix).
8790 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8791 (test_program_prefix): This.
8792 * string/Makefile ($(objpfx)tst-svc.out): Replace
8793 $(built-program-cmd) with $(test-program-cmd).
8794
c6fe55cf
AJ
87952013-01-11 Andreas Jaeger <aj@suse.de>
8796
8797 [BZ #15003]
8798 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8799 value. Sync with Linux 3.7.
8800
9e6919c8
DM
88012013-01-10 David S. Miller <davem@davemloft.net>
8802
8803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8806
1c9f1a02
RM
88072013-01-10 Roland McGrath <roland@hack.frob.com>
8808
8809 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8810 never set.
8811 * configure: Regenerated.
8812
b9de2dde
DM
88132013-01-10 David S. Miller <davem@davemloft.net>
8814
8815 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8816 sparc V9 rather than using V8 code.
8817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8819
e7f68ef4
RM
88202013-01-10 Roland McGrath <roland@hack.frob.com>
8821
8822 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8823 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8824 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8825 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8826 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8827 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8828 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8829 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8830 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8831 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8832 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8833 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8834 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8835 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8836 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8837 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8838 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8839 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8840 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8841 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8842 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8843 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8844 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8845 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8846 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8847 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8848 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8849
5a47cc9c
DM
88502013-01-10 David S. Miller <davem@davemloft.net>
8851
8852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8853
4cf8f209
L
88542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8855
8856 * posix/Makefile (tests-static): New variable.
8857 (tests): Add $(tests-static).
8858 (tst-exec-static-ARGS): New variable.
8859 (tst-spawn-static-ARGS): Likewise.
8860 * posix/tst-exec-static.c: New file.
8861 * posix/tst-spawn-static.c: Likewise.
8862 * posix/tst-exec.c: Support run directly.
8863 * posix/tst-spawn.c: Likewise.
8864
fed0faa1
JM
88652013-01-10 Joseph Myers <joseph@codesourcery.com>
8866
828beb13
JM
8867 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8868 long.
8869 * math/bits/mathcalls.h (llrint): Likewise.
8870 (llround): Likewise.
8871 * stdlib/stdlib.h (struct drand48_data): Likewise.
8872 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8873 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8874 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8875 Likewise.
8876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8877 Likewise.
8878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8879 (elf_greg_t): Likewise.
8880 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8881 (__jmp_buf): Likewise.
8882 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8883 definitions.
8884 (llrint): Likewise, for all definitions.
8885 (llrintl): Likewise.
8886
fed0faa1
JM
8887 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8888 Remove [__GNUC__] condition.
8889 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8890 condition to just [__USE_ISOC99].
8891 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8892
1a20cb20
L
88932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 [BZ #14200]
8896 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8897 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8898 defined.
8899 (_POSIX_V6_ILP32_OFF32): Likewise.
8900 (_XBS5_ILP32_OFF32): Likewise.
8901 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8902 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8903
751b85f7
SP
89042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8905
7490eb81
SP
8906 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8907
751b85f7
SP
8908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8909 doubles __mpexp_twomm1. Adjust usage.
8910 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8911 Remove.
8912
988197f0
AS
89132013-01-10 Andreas Schwab <schwab@suse.de>
8914
8915 [BZ #14964]
8916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8917 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8918
e83d7298
DM
89192013-01-09 David S. Miller <davem@davemloft.net>
8920
034ed64b 8921 [BZ #15003]
e83d7298
DM
8922 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8923 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8924 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8925 TCP_FASTOPEN): Define.
8926 (tcp_repair_opt): New structure.
8927 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8928 enum values.
8929 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8930 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8931 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8932 (tcp_cookie_transactions): New structure.
8933
d5e0b9bd
AB
89342013-01-09 Anton Blanchard <anton@samba.org>
8935
8936 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8937 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8940
0c07e3ea
JM
89412013-01-09 Joseph Myers <joseph@codesourcery.com>
8942
8943 * include/features.h (__USE_ANSI): Remove.
8944
232f7002
RM
89452013-01-09 Roland McGrath <roland@hack.frob.com>
8946
ad98e30c
RM
8947 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8948
232f7002
RM
8949 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8950
950c99ca
SP
89512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
b5792741
SP
8953 * sysdeps/s390/fpu/libm-test-ulps: Update.
8954
47cf2278
SP
8955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8956
950c99ca
SP
8957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8958 (__acr): Likewise.
8959 (__cpy): Likewise.
8960 (norm): Likewise.
8961 (denorm): Likewise.
8962 (__mp_dbl): Likewise.
8963 (__dbl_mp): Likewise.
8964 (add_magnitudes): Likewise.
8965 (sub_magnitudes): Likewise.
8966 (__add): Likewise.
8967 (__sub): Likewise.
8968 (__mul): Likewise.
8969 (__inv): Likewise.
8970 (__dvd): Likewise.
8971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8972 (__acr): Likewise.
8973 (__cpy): Likewise.
8974 (norm): Likewise.
8975 (denorm): Likewise.
8976 (__mp_dbl): Likewise.
8977 (__dbl_mp): Likewise.
8978 (add_magnitudes): Likewise.
8979 (sub_magnitudes): Likewise.
8980 (__add): Likewise.
8981 (__sub): Likewise.
8982 (__mul): Likewise.
8983 (__inv): Likewise.
8984 (__dvd): Likewise.
8985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8986 (__acr): Likewise.
8987 (__cpy): Likewise.
8988 (norm): Likewise.
8989 (denorm): Likewise.
8990 (__mp_dbl): Likewise.
8991 (__dbl_mp): Likewise.
8992 (add_magnitudes): Likewise.
8993 (sub_magnitudes): Likewise.
8994 (__add): Likewise.
8995 (__sub): Likewise.
8996 (__mul): Likewise.
8997 (__inv): Likewise.
8998 (__dvd): Likewise.
8999
eede9df9
JM
90002013-01-08 Joseph Myers <joseph@codesourcery.com>
9001
9002 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9003 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9004 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9005 2 && __USE_EXTERN_INLINES]: Likewise.
9006
c40ea3d9
AJ
90072013-01-08 Andreas Jaeger <aj@suse.de>
9008
9009 [BZ# 14985]
9010 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9011 Remove.
9012 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9013 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9014
2ccdea26
AB
90152013-01-07 Anton Blanchard <anton@samba.org>
9016
9017 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9019 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9020 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9022 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9023 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9040 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9041 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9044 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9047 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9060
a9708fed
JM
90612013-01-07 Joseph Myers <joseph@codesourcery.com>
9062
375607b9
JM
9063 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9064 (__MALLOC_PMT): Likewise.
9065 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9066 [__GNUC__], only on [_LIBC].
9067 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9068 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9069 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9070 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9071 forward declaration.
9072 (realloc_hook_ini): Likewise.
9073 (memalign_hook_ini): Likewise.
9074 (__libc_memalign): Do not use __MALLOC_PMT in variable
9075 declaration.
9076 (__libc_valloc): Likewise.
9077 (__libc_pvalloc): Likewise.
9078 (__libc_calloc): Likewise.
9079 (__posix_memalign): Likewise.
9080
a9708fed
JM
9081 [BZ #14996]
9082 * math/s_casinh.c: Include <float.h>.
9083 (__casinh): Do not do computation with squaring and square root
9084 for large arguments.
9085 * math/s_casinhf.c: Include <float.h>.
9086 (__casinhf): Do not do computation with squaring and square root
9087 for large arguments.
9088 * math/s_casinhl.c: Include <float.h>.
9089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9090 (__casinhl): Do not do computation with squaring and square root
9091 for large arguments.
9092 * math/libm-test.inc (casin_test): Add more tests.
9093 (casinh_test): Likewise.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9096
afec409a
L
90972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9100 (__x86_64_raw_data_cache_size): Likewise.
9101 (__x86_64_data_cache_size_half): Likewise.
9102 (__x86_64_raw_data_cache_size_half): Likewise.
9103 (__x86_64_shared_cache_size): Likewise.
9104 (__x86_64_raw_shared_cache_size): Likewise.
9105 (__x86_64_shared_cache_size_half): Likewise.
9106 (__x86_64_raw_shared_cache_size_half): Likewise.
9107 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9108 to ...
9109 (__x86_data_cache_size): This.
9110 (__x86_64_raw_data_cache_size): Renamed to ...
9111 (__x86_raw_data_cache_size): This.
9112 (__x86_64_data_cache_size_half): Renamed to ...
9113 (__x86_data_cache_size_half): This.
9114 (__x86_64_raw_data_cache_size_half): Renamed to ...
9115 (__x86_raw_data_cache_size_half): This.
9116 (__x86_64_shared_cache_size): Renamed to ...
9117 (__x86_shared_cache_size): This.
9118 (__x86_64_raw_shared_cache_size): Renamed to ...
9119 (__x86_raw_shared_cache_size): This.
9120 (__x86_64_shared_cache_size_half): Renamed to ...
9121 (__x86_shared_cache_size_half): This.
9122 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9123 (__x86_raw_shared_cache_size_half): This.
9124 * sysdeps/x86_64/memcpy.S: Updated.
9125 * sysdeps/x86_64/memset.S: Likewise.
9126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9129
0b3986d0
DM
91302013-01-04 David S. Miller <davem@davemloft.net>
9131
9132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9133
e47686e9
AS
91342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9135
d643bac1
AS
9136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9137 1 to avoid redefinition warning.
9138 (__USE_GNU): Don't define.
9139 (init_signaling_nan): Protoize.
9140
e47686e9
AS
9141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9142
b18decba
SP
91432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9144
fffb407f
SP
9145 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9147 (__cpymn): Likewise.
9148 (norm): Remove commented code.
9149 (denorm): Likewise.
9150 (__mp_dbl): Likewise.
9151 (__inv): Likewise.
9152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9153 (__cpymn): Likewise.
9154 (norm): Remove commented code.
9155 (denorm): Likewise.
9156 (__mp_dbl): Likewise.
9157 (__inv): Likewise.
9158
b18decba
SP
9159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9160 mp_no value for 1.0 and 2.0.
9161 (norm): Use RADIXI instead of radixi.d.
9162 (denorm): Likewise.
9163 (__mul): Use 0.0 instead of zero.d.
9164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9165 mp_no value for 1.0 and 2.0.
9166 (norm): Use RADIXI instead of radixi.d.
9167 (denorm): Likewise.
9168 (__mul): Use 0.0 instead of zero.d.
9169
cdc1c96f
JM
91702013-01-04 Joseph Myers <joseph@codesourcery.com>
9171
9172 [BZ #14994]
9173 * math/s_casinh.c (__casinh): Reduce finite argument to first
9174 quadrant then set signs of results at the end.
9175 * math/s_casinhf.c (__casinhf): Likewise.
9176 * math/s_casinhl.c (__casinhl): Likewise.
9177 * math/libm-test.inc (casin_test): Add more tests.
9178 (casinh_test): Likewise.
9179 * sysdeps/i386/fpu/libm-test-ulps: Update.
9180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9181
302913e1
SP
91822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9183
6420d207
SP
9184 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9185
a9e48ab4
SP
9186 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9187
b7837264
SP
9188 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9189 declarations.
9190 (denorm): Likewise.
9191 (__mp_dbl): Likewise.
9192 (__inv): Likewise.
9193
f8af25d2
SP
9194 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9195 and adjust the header comment.
9196
302913e1
SP
9197 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9198 variable name from declaration.
9199
5d7dd1ca
L
92002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9201
9202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9203 Initialize COMMON_CPUID_INDEX_7 element.
9204 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9205 (CPUID_RTM): Likewise.
9206 (HAS_RTM): Likewise.
9207 (COMMON_CPUID_INDEX_7): New enum.
9208
2f5f40f4
AS
92092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 [BZ #14981]
9212 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9213 size is zero, record memory as freed.
9214
4056f4a0
AJ
92152013-01-03 Andreas Jaeger <aj@suse.de>
9216
9217 * po/ia.po: Add new Interlingua translation.
9218
ab15736f 92192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9220
9221 * locale/programs/localedef.c: Fix description of '--posix' flag.
9222
568035b7
JM
92232013-01-02 Joseph Myers <joseph@codesourcery.com>
9224
e6898b8d
JM
9225 * NEWS: Update dates in second copyright notice.
9226 * README: Update copyright dates in example.
9227 * manual/libc.texinfo: Update copyright dates.
9228 * scripts/test-installation.pl: Update copyright date in --version
9229 output.
9230
0e2f9562
JM
9231 * hurd/ctty-input.c: Fix copyright notice formatting.
9232 * hurd/ctty-output.c: Likewise.
9233 * hurd/dtable.c: Likewise.
9234 * hurd/hurd-raise.c: Likewise.
9235 * hurd/hurdprio.c: Likewise.
9236 * hurd/msgportdemux.c: Likewise.
9237 * misc/sys/file.h: Likewise.
9238 * misc/sys/ioctl.h: Likewise.
9239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9240 * sysdeps/mach/hurd/chdir.c: Likewise.
9241 * sysdeps/mach/hurd/fchdir.c: Likewise.
9242 * sysdeps/mach/hurd/rename.c: Likewise.
9243 * sysdeps/mach/hurd/rmdir.c: Likewise.
9244 * sysdeps/mach/hurd/seekdir.c: Likewise.
9245 * sysdeps/mach/hurd/setsid.c: Likewise.
9246 * sysdeps/posix/wait3.c: Likewise.
9247
568035b7
JM
9248 * All files with FSF copyright notices: Update copyright dates
9249 using scripts/update-copyrights.
9250 * intl/plural.c: Regenerated.
9251 * locale/programs/charmap-kw.h: Likewise.
9252 * locale/programs/locfile-kw.h: Likewise.
9253
da08f647
SP
92542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9255
0f5477af
SP
9256 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9257 four values.
9258
44e0d4c2
SP
9259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9260 calculation loop and add branch prediction.
9261
4d55b4e5
SP
9262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9263 check access beyond bounds of m1np.
9264
da08f647
SP
9265 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9266 MPTWO.
9267 (__inv): Remove local variable MPTWO to use the global
9268 constant.
9269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9271 variable MPTWO.
9272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9273 MP3HALFS static const.
9274
8e051029
DM
92752013-01-01 David S. Miller <davem@davemloft.net>
9276
9277 * po/ca.po: Update from translation team.
9278
f4cf5f2d
JM
92792013-01-01 Joseph Myers <joseph@codesourcery.com>
9280
9281 * scripts/update-copyrights: New file.
9282 * Makeconfig: Reformat copyright notice.
9283 * ctype/ctype.h: Likewise.
9284 * debug/swprintf_chk.c: Likewise.
9285 * elf/dl-cache.c: Likewise.
9286 * elf/dl-debug.c: Likewise.
9287 * elf/dl-object.c: Likewise.
9288 * grp/initgroups.c: Likewise.
9289 * hurd/Makefile: Likewise.
9290 * hurd/hurd/signal.h: Likewise.
9291 * hurd/hurdfault.c: Likewise.
9292 * hurd/hurdioctl.c: Likewise.
9293 * hurd/hurdlookup.c: Likewise.
9294 * hurd/intr-msg.c: Likewise.
9295 * iconv/gconv_open.c: Likewise.
9296 * libio/swprintf.c: Likewise.
9297 * locale/lc-ctype.c: Likewise.
9298 * locale/nl_langinfo.c: Likewise.
9299 * mach/Machrules: Likewise.
9300 * mach/Makefile: Likewise.
9301 * malloc/obstack.h: Likewise.
9302 * manual/Makefile: Likewise.
9303 * manual/tsort.awk: Likewise.
9304 * misc/bits/stab.def: Likewise.
9305 * nis/nis_print_group_entry.c: Likewise.
9306 * nis/nis_table.c: Likewise.
9307 * nis/nss_compat/compat-pwd.c: Likewise.
9308 * nis/nss_compat/compat-spwd.c: Likewise.
9309 * po/Makefile: Likewise.
9310 * posix/fnmatch.c: Likewise.
9311 * posix/regex.h: Likewise.
9312 * resolv/Makefile: Likewise.
9313 * resolv/nss_dns/dns-network.c: Likewise.
9314 * resolv/res_hconf.c: Likewise.
9315 * scripts/gen-sorted.awk: Likewise.
9316 * soft-fp/soft-fp.h: Likewise.
9317 * stdio-common/printf.h: Likewise.
9318 * stdlib/monetary.h: Likewise.
9319 * stdlib/random.c: Likewise.
9320 * stdlib/random_r.c: Likewise.
9321 * sysdeps/generic/Makefile: Likewise.
9322 * sysdeps/gnu/Makefile: Likewise.
9323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9351 * sysdeps/mach/hurd/errnos.awk: Likewise.
9352 * sysdeps/mach/hurd/fork.c: Likewise.
9353 * sysdeps/mach/hurd/getcwd.c: Likewise.
9354 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9355 * sysdeps/mach/hurd/mmap.c: Likewise.
9356 * sysdeps/mach/hurd/utimes.c: Likewise.
9357 * sysdeps/mach/hurd/xmknod.c: Likewise.
9358 * sysdeps/posix/profil.c: Likewise.
9359 * sysdeps/posix/readdir_r.c: Likewise.
9360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9361 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9362 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9371 * sysdeps/pthread/lio_listio.c: Likewise.
9372 * sysdeps/sparc/dl-procinfo.h: Likewise.
9373 * sysdeps/unix/i386/sysdep.S: Likewise.
9374 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9375 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9376 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9377 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9379 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9380 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9381 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9382 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9383 * sysdeps/wordsize-32/divdi3.c: Likewise.
9384 * time/sys/time.h: Likewise.
9385 * wcsmbs/Makefile: Likewise.
9386
0549fbba
DM
93872013-01-01 David S. Miller <davem@davemloft.net>
9388
a141f1a7
DM
9389 * po/fr.po: Update from translation team.
9390
0549fbba
DM
9391 * catgets/gencat.c: Update copyright year.
9392 * csu/version.c: Likewise.
9393 * debug/catchsegv.sh: Likewise.
9394 * debug/pcprofiledump.c: Likewise.
9395 * debug/xtrace.sh: Likewise.
9396 * elf/ldconfig.c: Likewise.
9397 * elf/ldd.bash.in: Likewise.
9398 * elf/pldd.c: Likewise.
9399 * elf/sotruss.ksh: Likewise.
9400 * elf/sprof.c: Likewise.
9401 * iconv/iconv_prog.c: Likewise.
9402 * iconv/iconvconfig.c: Likewise.
9403 * locale/programs/locale.c: Likewise.
9404 * locale/programs/localedef.c: Likewise.
9405 * login/programs/pt_chown.c: Likewise.
9406 * malloc/memusage.sh: Likewise.
9407 * malloc/memusagestat.c: Likewise.
9408 * malloc/mtrace.pl: Likewise.
9409 * nscd/nscd.c: Likewise.
9410 * nss/getent.c: Likewise.
9411 * nss/makedb.c: Likewise.
9412 * posix/getconf.c: Likewise.
9413
18ea052c
SP
94142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9417 numbers.
9418
9c89fca6
MF
94192012-12-30 Mike Frysinger <vapier@gentoo.org>
9420
9421 * math/bits/mathcalls.h (modf): Use __nonnull.
9422
085ec079
SP
94232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9424
9425 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9426 (split): Use macro CN instead of the bare value.
9427 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9428 could be used.
9429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9430 instead of the bare value.
9431 (power1): Likewise.
9432
6d9f97e1
SP
94332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9434
d63f73be
SP
9435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9436 __ATAN_TWOM.
9437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9438
6d9f97e1
SP
9439 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9440 their values.
9441 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9443 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9444 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9445
4c4febf5
AJ
94462012-12-28 Andreas Jaeger <aj@suse.de>
9447
af5843ef
AJ
9448 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9449 values are from Linux 3.7.
9450
4c4febf5
AJ
9451 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9452 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9453
99136f82
SP
94542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9455
2f216c3c 9456 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9457 TRUE case.
9458
99136f82
SP
9459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9460 (norm): Likewise.
9461 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9462 variables with preprocessor constants.
9463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9464 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9466
7fffbdff
BH
94672012-12-27 Bruno Haible <bruno@clisp.org>
9468
9469 [BZ #14317]
9470 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9471 only if needed.
9472
b76eb5f0
SP
94732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
31a7fe5c
SP
9475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9476 and use variable directly.
9477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9478
b76eb5f0
SP
9479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9480 MPONE.
9481 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9483 variable MPONE.
9484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9486 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9487 include directive. Remove local variable MPONE.
9488 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9489 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9491
2c8bfe7d
DM
94922012-12-25 David S. Miller <davem@davemloft.net>
9493
9494 * version.h (RELEASE): Set to "development".
9495 (VERSION): Set to "2.17.90".
9496 * NEWS: Add 2.18 section.
9497
147d03b0
DM
94982012-12-21 David S. Miller <davem@davemloft.net>
9499
9500 * po/hr.po: Update from translation team.
9501
a8ebb2b9
AK
95022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9503
9504 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9505
95b4f1b6
SE
95062012-12-19 Steve Ellcey <sellcey@mips.com>
9507
b2d94007 9508 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9509
cedb2a90
MS
95102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9511
9512 * manual/contrib.texi (Contributors): Spelling correction.
9513
bbf527d6
DM
95142012-12-15 David S. Miller <davem@davemloft.net>
9515
9516 * po/ru.po: Update from translation team.
9517
bc38c906
DM
95182012-12-13 David S. Miller <davem@davemloft.net>
9519
85429b1a
DM
9520 * NEWS: Mention IFUNC testsuite enhancements.
9521
d283e353
DM
9522 * po/pl.po: Update from translation team.
9523 * po/bg.po: Likewise.
9524
bc38c906
DM
9525 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9526 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9527
a181b0d7
DM
95282012-12-11 David S. Miller <davem@davemloft.net>
9529
4641d57e
DM
9530 * po/sv.po: Update from translation team.
9531
f7bc6495
DM
9532 * po/vi.po: Update from translation team.
9533
6fc9048f
DM
9534 * po/cs.po: Update from translation team.
9535
a181b0d7
DM
9536 * po/de.po: Update from translation team.
9537 * po/eo.po: Likewise.
9538 * po/nl.po: Likewise.
9539
f70bfe80
SP
95402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9541
3c8b4190
SP
9542 [BZ #14246]
9543 * manual/argp.texi (Argp Helper Functions): Move node to follow
9544 Argp Parsing State.
9545
f70bfe80
SP
9546 [BZ #14872]
9547 * manual/conf.texi (Limits on File System Capacity): Mention if
9548 terminating null is included in the max size.
9549
188f0adf
AJ
95502012-12-10 Andreas Jaeger <aj@suse.de>
9551
9552 * po/cs.po: Update from translation team.
9553
56e7d3ad
SP
95542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9555
9556 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9557 void pointer and cast to uintptr_t.
9558 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9559 path.
9560 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9561 * sysdeps/s390/s390-64/memset.S: Likewise.
9562
76f2d2ea 95632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9564
9565 [BZ #14833]
9566 * menual/message.texi (Message Translation): Fix typos.
9567 (Helper programs for gettext): Likewise.
9568
67cbf9a2
AS
95692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 [BZ #14898]
9572 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9573 Change to -1.
9574
682d0e9a
DM
95752012-12-07 David S. Miller <davem@davemloft.net>
9576
9577 * po/libc.pot: Update.
9578
573cd484
RH
95792012-12-07 Richard Henderson <rth@redhat.com>
9580
7e9da188 9581 [BZ #10114]
573cd484
RH
9582 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9583 normal/normal case to before the switch.
9584 (_FP_DIV): Likewise.
9585
e933a943
MF
95862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9587 Mike Frysinger <vapier@gentoo.org>
9588
9589 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9590 check for __NR_fadvise64_64.
9591
82123268
CM
95922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9593
9594 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9595 0, not just to plain "0" as a statement.
9596 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9597 with cw.
9598
d9814526
JM
95992012-12-06 Joseph Myers <joseph@codesourcery.com>
9600
9601 * NEWS: Use sourceware.org in Bugzilla URL.
9602
7728c574
SP
96032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9604
f16946dd
SP
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9606 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9607
5704bbcb
SP
9608 * stdio-common/tst-put-error.c (do_test): Add newline to the
9609 padded test to ensure flush.
9610
17aa0516
JL
96112012-12-05 Jeff Law <law@redhat.com>
9612
9613 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9614
363313b5
JM
96152012-12-05 Joseph Myers <joseph@codesourcery.com>
9616
effbd42a
JM
9617 * README: Don't refer to ports add-on as distributed separately.
9618 Mention AArch64 in list of systems supported in the ports add-on.
9619
87600365
JM
9620 * LICENSES: Add more non-FSF copyright and license notices.
9621
a0d7066a
JM
9622 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9623 ((unused)).
9624
66ca5a5b
JM
9625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9626
363313b5
JM
9627 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9628 10000 as width of padded output.
9629
b37984ad
JM
96302012-12-04 Joseph Myers <joseph@codesourcery.com>
9631
9003570a
JM
9632 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9633
b37984ad
JM
9634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9635 variable LX with __attribute__ ((unused)).
9636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9637 Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9641 with __attribute__ ((unused)).
9642
c8df52ec
DM
96432012-12-04 David S. Miller <davem@abraco.davemloft.net>
9644
9645 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9646
b3b099af
JM
96472012-12-04 Joseph Myers <joseph@codesourcery.com>
9648
c33aa6e3
JM
9649 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9650 (CFLAGS-nldbl-acos.c): New variable.
9651 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9652 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9653 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9654 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9655 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9656 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9657 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9658 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9659 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9660 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9661 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9662 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9663 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9664 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9665 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9666 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9667 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9668 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9669 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9670 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9671 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9672 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9673 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9674 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9675 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9676 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9677 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9678 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9679 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9680 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9681 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9682 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9683 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9684 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9685 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9686 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9687 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9688 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9689 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9690 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9691 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9692 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9693 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9694 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9695 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9696 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9697 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9698 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9699 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9700 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9701 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9702 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9703 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9704 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9705 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9706 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9707 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9708 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9709 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9710 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9748
20f0018d
JM
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9750 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9751
b3b099af
JM
9752 [BZ #14914]
9753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9754 whole low double instead of just low 47 bits when splitting values
9755 into two parts.
9756
029264d1
AM
97572012-12-03 Allan McRae <allan@archlinux.org>
9758
9759 * manual/stdio.texi (Predefined Printf Handlers): Remove
9760 @hsep and @vsep usage.
9761
c9d6789e
MF
97622012-12-03 Mike Frysinger <vapier@gentoo.org>
9763
9764 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9765 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9766
4b7634a5
JL
97672012-12-03 Jeff Law <law@redhat.com>
9768
9769 * time/sys/time.h (settimeofday): Do not mark TV argument
9770 as __nonnull.
9771
eb6cbd24
MF
97722012-12-01 Mike Frysinger <vapier@gentoo.org>
9773
9774 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9775 when currently writing and seek to current position when not.
9776 * libio/Makefile (tests): Remove bug-fclose1.
9777 * libio/bug-fclose1.c: Delete.
9778
f638872a
JM
97792012-12-01 Joseph Myers <joseph@codesourcery.com>
9780
9781 * manual/arith.texi (feenableexcept): Fix typo.
9782 (fedisableexcept): Likewise.
9783
48085d14
RM
97842012-11-30 Roland McGrath <roland@hack.frob.com>
9785
9786 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9787 second, differently-typed declaration, rather than a cast.
9788
1a538b9f
SP
97892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
9791 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9792 * include/rpc/svc.h: ... here.
9793
d07f2ff1 97942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9795
9796 [BZ #13013]
9797 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9798 depending n and resplen2 to catch cases where answer
9799 equals answerp2.
9800
c93ec1f0
CD
98012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9802
9803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9804 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9805
37db69de
MF
98062012-11-29 Mike Frysinger <vapier@gentoo.org>
9807
9808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9809
e10c4e4f
RM
98102012-11-29 Roland McGrath <roland@hack.frob.com>
9811
9812 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9813
2af1b328
JL
98142012-11-28 Jeff Law <law@redhat.com>
9815
9816 [BZ #13761]
9817 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9818 dataset_temporary. Track alloca usage into alloca_used.
9819 If dataset is large allocate and release it via malloc/free.
9820
111db5b1
FW
98212012-06-04 Florian Weimer <fweimer@redhat.com>
9822
f06cc227 9823 [BZ #14197]
111db5b1
FW
9824 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9825
dd694abd
DM
98262012-11-28 David S. Miller <davem@davemloft.net>
9827
9828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9829
9984dd01
JM
98302012-11-28 Joseph Myers <joseph@codesourcery.com>
9831
9832 [BZ #14803]
9833 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9834 of pi/2 rounded to nearest to 64 bits.
9835 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9836 nearest to 64 bits.
9837 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9838 bits.
9839
14bc93a9
JL
98402012-11-28 Jeff Law <law@redhat.com>
9841 Martin Osvald <mosvald@redhat.com>
9842
9843 [BZ #14889]
9844 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9845 * sunrpc/svc.c: Include time.h.
9846 (__svc_accept_failed): New function.
9847 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9848 any reason other than EINTR, call __svc_accept_failed.
9849 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9850 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9851
e3c6aa3a
AS
98522012-11-28 Andreas Schwab <schwab@suse.de>
9853
9854 * scripts/abilist.awk: Also handle indirect functions in .opd
9855 section.
9856
1bead169
JM
98572012-11-28 Joseph Myers <joseph@codesourcery.com>
9858
9859 [BZ #13881]
9860 * sysdeps/x86/fpu/powl_helper.c: New file.
9861 * sysdeps/x86/fpu/Makefile: Likewise.
9862 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9863 (p3): New object.
9864 (__ieee754_powl): Use __powl_helper for finite arguments except
9865 integer exponents below 8.
9866 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9867 (p3): New object.
9868 (__ieee754_powl): Use __powl_helper for finite arguments except
9869 integer exponents below 8.
9870 * math/libm-test.inc (pow_test): Add more tests and enable some
9871 previously disabled tests.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9874
0817d63d
SP
98752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 Carlos O'Donell <carlos_odonell@mentor.com>
9877
9878 * nss/makedb.c (is_prime): Assert that input is odd and greater
9879 than 4. Note that fact in a comment too.
9880 (next_prime): Add 4 to input.
9881
de2fd463
SP
98822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9883
9884 [BZ #11741]
9885 * libio/Makefile (tests): Add test case tst-fwrite-error.
9886 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9887 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9888 * libio/tst-fwrite-error.c: New test case.
9889
c515fb51
L
98902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9891
9892 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9893 before casting to void *.
9894 * include/libc-internal.h (__pointer_type): New macro.
9895 (__integer_if_pointer_type_sub): Likewise.
9896 (__integer_if_pointer_type): Likewise.
9897 (cast_to_integer): Likewise.
9898 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9899 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9900 before casting to atomic64_t.
9901 (atomic_exchange_acq): Likewise.
9902 (__arch_exchange_and_add_body): Likewise.
9903 (__arch_add_body): Likewise.
9904 (atomic_add_negative): Likewise.
9905 (atomic_add_zero): Likewise.
9906
4cf77aa9
JM
99072012-11-26 Joseph Myers <joseph@codesourcery.com>
9908
9909 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9910 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9911 (add_fdes): Likewise.
9912 (linear_search_fdes): Likewise.
9913 (binary_search_unencoded_fdes): Likewise.
9914
d260b3b4
AS
99152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9918
67060746
AC
99192012-11-24 Adam Conrad <adconrad@0c3.net>
9920
9921 * configure.in: Autodetect C++ header directories.
9922 * configure: Regenerated.
9923
800938a1
MF
99242012-11-23 Mike Frysinger <vapier@gentoo.org>
9925
9926 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9927
4e6e34e6
AS
99282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9929
9930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9931
7c7feb47
JM
99322012-11-22 Joseph Myers <joseph@codesourcery.com>
9933
7184dcdf
JM
9934 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9935 LDBL_MANT_DIG == 106]: Disable some tests.
9936 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9937 Likewise.
9938 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9939 Likewise.
9940
0a42601f
JM
9941 [BZ #14871]
9942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9943 input for small inputs. Return +/- pi/2 for large inputs.
9944 * math/libm-test.inc (atan_test): Add more tests.
9945
79c9b9fe
JM
9946 * sysdeps/generic/unwind-dw2-fde-glibc.c
9947 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9948 __attribute__ ((unused)).
9949
c60d3bf2
JM
9950 [BZ #14645]
9951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9952 x * y if x and y are nonzero and z is zero.
9953
ef1e0867
JM
9954 [BZ #14811]
9955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9956 nonzero exponents with absolute value below 0x1p-117 to +/-
9957 0x1p-117.
9958
1468ded3
JM
9959 [BZ #14869]
9960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9961 up arguments below 2**-450, not just those below 2**-500.
9962 * math/libm-test.inc (hypot_test): Add another test.
9963
8e27e3cc
JM
9964 [BZ #14868]
9965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9966 Return a+b for ratio over 2**120, not 2**60.
9967 * math/libm-test.inc (hypot_test): Add another test.
9968
c9c0279b
JM
9969 * math/libm-test.inc (clog_test): Use
9970 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9971 (clog10_test): Likewise.
9972
7c7feb47
JM
9973 [BZ #6778]
9974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9975
fff1530e
AS
99762012-11-22 Andreas Schwab <schwab@suse.de>
9977
9978 * sysdeps/i386/fpu/libm-test-ulps: Update.
9979
94558d30
PT
99802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9981
9982 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9983 printf output with newline.
9984
7e1be741
L
99852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9986
6bfea974
L
9987 [BZ #14865]
9988 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9989 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9990 -z nodlopen, -z initfirst and -z execstack support.
9991 * configure: Regenerated.
9992
7e1be741
L
9993 * elf/elf.h (DF_1_NODIRECT): New macro.
9994 (DF_1_IGNMULDEF): Likewise.
9995 (DF_1_NOKSYMS): Likewise.
9996 (DF_1_NOHDR): Likewise.
9997 (DF_1_EDITED): Likewise.
9998 (DF_1_NORELOC): Likewise.
9999 (DF_1_SYMINTPOSE): Likewise.
10000 (DF_1_GLOBAUDIT): Likewise.
10001 (DF_1_SINGLETON): Likewise.
10002 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10003 DT_1_SUPPORTED_MASK bits.
10004 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10005
105ce2ce
CD
100062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10007
10008 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10009
123be9de
TS
100102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10011
d072f3f7
TS
10012 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10013 macro.
10014
123be9de
TS
10015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10016 (sendmmsg): Move declarations...
10017 * socket/sys/socket.h: ... here.
10018 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10019 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10020 include it from...
10021 * socket/recvmmsg.c: ... this new file.
10022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10023 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10024 definition of __sendmmsg hidden.
10025 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10026 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10027 Move ENOSYS stub into and include it from...
10028 * socket/sendmmsg.c: ... this new file.
10029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10030 (sysdep_routines): Move recvmmsg and sendmmsg...
10031 * socket/Makefile (routines): ... here.
10032 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10033 (GLIBC_PRIVATE): Add __sendmmsg.
10034 * include/sys/socket.h (__sendmmsg): Add declarations.
10035 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10036 sendmmsg.
10037
cf9a5d18
JM
100382012-11-20 Joseph Myers <joseph@codesourcery.com>
10039
10040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10041 variable I1 with __attribute__ ((unused)).
10042 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10043
ecd4caf9
JM
100442012-11-19 Joseph Myers <joseph@codesourcery.com>
10045
be14d48f
JM
10046 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10047 DUMMY variables with __attribute__ ((unused)).
10048
ecd4caf9
JM
10049 * bits/byteswap.h: Include <bits/types.h>.
10050 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10051
986cab95
PT
100522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10053
10054 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10055 string_t. Do not manually set errno.
10056 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10057 length with __strnlen. Make sure to both set errno and return it on
10058 failure.
10059
6d33cc9d
DM
100602012-11-19 David S. Miller <davem@davemloft.net>
10061
10062 With help from Joseph Myers.
10063 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10064 very large arguments properly.
10065 * math/libm-test.inc (atan_test): New tests.
10066 (atan2_test): New tests.
10067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10069
ee663277
JM
100702012-11-19 Joseph Myers <joseph@codesourcery.com>
10071
877f2d8e
JM
10072 [BZ #14856]
10073 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10074 Define to 3.
10075
116fc08a
JM
10076 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10077 [POSIX] (EADDRNOTAVAIL): Likewise.
10078 [POSIX] (EAFNOSUPPORT): Likewise.
10079 [POSIX] (EALREADY): Likewise.
10080 [POSIX] (ECONNABORTED): Likewise.
10081 [POSIX] (ECONNREFUSED): Likewise.
10082 [POSIX] (ECONNRESET): Likewise.
10083 [POSIX] (EDESTADDRREQ): Likewise.
10084 [POSIX] (EDQUOT): Likewise.
10085 [POSIX] (EHOSTUNREACH): Likewise.
10086 [POSIX] (EIDRM): Likewise.
10087 [POSIX] (EISCONN): Likewise.
10088 [POSIX] (ELOOP): Likewise.
10089 [POSIX] (EMULTIHOP): Likewise.
10090 [POSIX] (ENETDOWN): Likewise.
10091 [POSIX] (ENETUNREACH): Likewise.
10092 [POSIX] (ENOBUFS): Likewise.
10093 [POSIX] (ENODATA): Likewise.
10094 [POSIX] (ENOLINK): Likewise.
10095 [POSIX] (ENOMSG): Likewise.
10096 [POSIX] (ENOPROTOOPT): Likewise.
10097 [POSIX] (ENOSR): Likewise.
10098 [POSIX] (ENOSTR): Likewise.
10099 [POSIX] (ENOTCONN): Likewise.
10100 [POSIX] (ENOTSOCK): Likewise.
10101 [POSIX] (EOPNOTSUPP): Likewise.
10102 [POSIX] (EOVERFLOW): Likewise.
10103 [POSIX] (EPROTO): Likewise.
10104 [POSIX] (EPROTONOSUPPORT): Likewise.
10105 [POSIX] (EPROTOTYPE): Likewise.
10106 [POSIX] (ESTALE): Likewise.
10107 [POSIX] (ETIME): Likewise.
10108 [POSIX] (ETXTBSY): Likewise.
10109 [POSIX] (EWOULDBLOCK): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10111 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10112 [POSIX] (SEEK_CUR): Likewise.
10113 [POSIX] (SEEK_END): Likewise.
10114 [POSIX || UNIX98] (mode_t): Do not require.
10115 [POSIX] (off_t): Likewise.
10116 [POSIX] (pid_t): Likewise.
10117 [POSIX] (sys/stat.h): Do not allow header.
10118 [POSIX] (unistd.h): Likewise.
10119 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10120 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10121 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10122 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10123 require.
10124 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10125 sigevent): Specify elements.
10126 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10127 entry.
10128 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10129 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10130
a483863f
JM
10131 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10132 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10133 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10134 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10135 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10136 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10137 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10138 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10140 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10141 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10143 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10145 Likewise.
10146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10147 Likewise.
10148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10149 Likewise.
10150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10151 Likewise.
10152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10153 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10157 Specify lower bound on value.
10158 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10159 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10160 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10161 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10162 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10164 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10165 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10166 value.
10167 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10168 as optional.
10169 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10185 entry.
10186 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10187 optional.
10188 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10194 Likewise.
10195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10200 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10202 as optional.
10203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10207 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10208 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10209 specify as optional.
10210 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10214 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10215 [XPG3] (NL_LANGMAX): Likewise.
10216 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10217 [POSIX || XPG3] (NL_NMAX): Likewise.
10218 [POSIX || XPG3] (NL_SETMAX): Likewise.
10219 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10220 [XPG3] (NZERO): Likewise.
10221 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10222 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10223 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10224 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10225 (REG_ERANGE): Expect.
10226 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10227 optional-constant.
10228 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10229 Use (void) in prototype.
10230 [POSIX] (*_t): Allow.
10231 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10232 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10233 (WRDE_BADVAL): Expect.
10234
5ba924e3
JM
10235 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10236 expect.
10237 [XPG3 || XPG4] (O_RSYNC): Likewise.
10238 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10239 Likewise.
10240 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10241 [XPG3 || XPG4] (sigqueue): Likewise.
10242 [XPG3 || XPG4] (sigtimedwait): Likewise.
10243 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10244 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10245 [XPG3 || XPG4] (vsnprintf): Likewise.
10246 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10247 Likewise.
10248 [XPG3 || XPG4] (blksize_t): Likewise.
10249 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10250 Likewise.
10251 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10252 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10253 [XPG3 || XPG4] (struct itimerspec): Likewise.
10254 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10255 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10256 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10257 [XPG3 || XPG4] (clockid_t): Likewise.
10258 [XPG3 || XPG4] (timer_t): Likewise.
10259 [XPG3 || XPG4] (clock_getres): Likewise.
10260 [XPG3 || XPG4] (clock_gettime): Likewise.
10261 [XPG3 || XPG4] (clock_settime): Likewise.
10262 [XPG3 || XPG4] (nanosleep): Likewise.
10263 [XPG3 || XPG4] (timer_create): Likewise.
10264 [XPG3 || XPG4] (timer_delete): Likewise.
10265 [XPG3 || XPG4] (timer_gettime): Likewise.
10266 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10267 [XPG3 || XPG4] (timer_settime): Likewise.
10268 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10269 [XPG3 || XPG4] (getlogin_r): Likewise.
10270 [XPG3 || XPG4] (pread): Likewise.
10271 [XPG3 || XPG4] (pthread_atfork): Likewise.
10272 [XPG3 || XPG4] (pwrite): Likewise.
10273
ee663277
JM
10274 [BZ #14835]
10275 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10276 <bits/siginfo.h>.
10277
942caa16
PT
102782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10279
e19af380
PT
10280 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10281 finalizing MALLSTREAM.
10282
942caa16
PT
10283 * sysdeps/mach/hurd/syncfs.c: New file.
10284
cfde9b46
SP
102852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 [BZ #14719]
10288 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10289 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10291 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10292 (_nss_dns_gethostbyname4_r): Likewise.
10293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10294 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10295
f6da27e5
PH
102962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10297
10298 [BZ #13763]
10299 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10300
6665d4a2
SM
103012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10302
1f51ee92
SM
10303 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10304 * elf/cache.c (print_entry): Print ",AArch64" for
10305 FLAG_AARCH64_LIB64
10306
6665d4a2
SM
10307 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10308 * elf/cache.c (print_entry): Print ",hard-float" for
10309 FLAG_ARM_LIBHF.
10310
05b227bd
DM
103112012-11-18 David S. Miller <davem@davemloft.net>
10312
10313 With help from Joseph Myers.
10314 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10315 cutoff to 2**-13.
10316 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10317 cutoff to 2**-25.
10318 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10319 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10320 small.
10321 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10322 * math/libm-test.inc (y0_test): New tests.
10323 (y1_test): New tests.
10324 * sysdeps/i386/fpu/libm-test-ulps: Update.
10325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10327
786b0b67
AS
103282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10331 64-bit targets.
10332 * configure: Regenerated.
10333
8e18b86d
DM
103342012-11-17 David S. Miller <davem@davemloft.net>
10335
10336 [BZ #14811]
10337 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10338 nonzero exponents with absolute value below 0x1p-128 to +/-
10339 0x1p-128.
10340
531f1ae0
JM
103412012-11-17 Joseph Myers <joseph@codesourcery.com>
10342
12df29e2
JM
10343 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10344
150dc1a0
JM
10345 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10346
531f1ae0
JM
10347 * posix/getconf-speclist.c: New file.
10348 * posix/posix-envs.def: Likewise.
10349 * posix/confstr.c (START_ENV_GROUP): New macro.
10350 (END_ENV_GROUP): Likewise.
10351 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10352 (KNOWN_PRESENT_ENV_STRING): Likewise.
10353 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10354 (UNKNOWN_ENVIRONMENT): Likewise.
10355 (confstr): Include posix-envs.def instead of handling
10356 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10357 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10358 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10359 (END_ENV_GROUP): Likewise.
10360 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10362 (UNKNOWN_ENVIRONMENT): Likewise.
10363 (__sysconf): Include posix-envs.def instead of handling associated
10364 cases directly here.
10365 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10366 preprocessing getconf-speclist.c rather than running getconf or
10367 generating empty file.
10368
a93f9cbc
PT
103692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10370
10371 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10372
d64d9f87
AL
103732012-11-16 Andrej Lajovic <natrij@gmail.com>
10374
10375 [BZ #14672]
10376 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10377
447885eb
DM
103782012-11-16 David S. Miller <davem@davemloft.net>
10379
10380 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10381 smaller than LDBL_EPSILON/2.0L, just return xm1.
10382
bcbf9830
L
103832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10384
10385 * elf/tst-array1.c (init): Set constructor priority to 1000.
10386 (fini): Set destructor priority to 1000.
10387 * elf/tst-array2dep.c: Likewise.
10388
2b766585
SP
103892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10390
10391 [BZ #11741]
10392 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10393 (_IO_new_file_xsputn): Also return EOF if none of the input
10394 data was written when overflow failed.
10395 * libio/iopadn.c (_IO_padn): Likewise.
10396 * libio/iowpadn.c (_IO_wpadn): Likewise.
10397 * stdio-common/tst-put-error.c: Add copyright notice.
10398 (do_test): Add case for printing padded string.
10399 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10400 _IO_padn returned error.
10401 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10402 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10403 return EOF.
10404
b1848fde
SP
104052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10406
10407 * libio/libioP.h: Add comment note that the references to C++
10408 bits are now obsolete.
10409
2fd89785
MS
104102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10411
10412 * math/libm-test.inc (check_complex): Use asprintf.
10413
e3ea5409
JM
104142012-11-14 Joseph Myers <joseph@codesourcery.com>
10415
10416 * debug/pcprofiledump.c (print_version): Update copyright year.
10417 * malloc/memusagestat.c (print_version): Likewise.
10418
2e64d265
L
104192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 [BZ #14831]
10422 * elf/Makefile (tests): Add tst-audit8.
10423 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10424 ($(objpfx)tst-audit8.out): New target.
10425 (tst-audit8-ENV): New variable.
10426 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10427 audit if l_reloc_result is NULL.
10428 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10429 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10430 * elf/tst-audit8.c: New file.
10431
c485e4d2
MS
104322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10433
10434 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10435 * misc/Makefile (CFLAGS-select.c): Define.
10436 * posix/Makefile (CFLAGS-pause.c): Define.
10437
3a0d900a
DM
104382012-11-13 David S. Miller <davem@davemloft.net>
10439
10440 * crypt/Makefile: Move test targets after toplevel Rules
10441 inclusion. Grab any necessary sysdep routines when linking.
10442 * crypt/md5.c (md5_process_block): Remove define, we will always
10443 name it __md5_process_block.
10444 (md5_finish_ctx): Update md5_process_block call.
10445 (md5_stream): Likewise.
10446 (md5_process_bytes): Likewise.
10447 (md5_process_block): Rename to __md5_process_block and move to ...
10448 * crypt/md5-block.c: ... here.
10449 * crypt/sha256.c (sha256_process_block): Move to ...
10450 * crypt/sha256-block.c: ... here.
10451 * crypt/sha512.c (sha512_process_block): Move to ...
10452 * crypt/sha512-block.c: ... here.
10453 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10454 path.
10455 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10456 * sysdeps/sparc/sparc64/multiarch/Makefile
10457 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10458 crypt subdir.
10459 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10461 multiarch changes.
10462 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10463 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10464 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10465 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10466 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10467 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10468 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10469 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10471 file.
10472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10474 file.
10475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10476
8ca89318
JM
104772012-11-13 Joseph Myers <joseph@codesourcery.com>
10478
e27d476a
JM
10479 * timezone/tzselect.ksh: Update from tzcode git revision
10480 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10481 * timezone/zdump.c: Likewise.
10482 * timezone/zic.c: Likewise.
10483 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10484 in TZVERSION setting, not $(PKGVERSION).
10485 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10486 REPORT_BUGS_TO settings.
10487
8ca89318
JM
10488 [BZ #14838]
10489 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10490 macro.
10491
47594329
MS
104922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10493
10494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10495 detection to immediately after _FP_ROUND().
10496 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10497 bits are 0.
10498
640ac3f1
DM
104992012-11-11 David S. Miller <davem@davemloft.net>
10500
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10502 inttypes.h
10503 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10504 __close rather than their public counterparts.
10505
3d2577bb
JM
105062012-11-10 Joseph Myers <joseph@codesourcery.com>
10507
10508 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10509 file.
10510 [UNIX98] (sem_timedwait): Do not expect.
10511 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10512 [XPG4 || UNIX98] (sockatmark): Do not expect.
10513 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10514 (clock_getcpuclockid): Do not expect.
10515 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10516 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10517 Do not expect.
10518 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10519 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10520 [UNIX98] (vwscanf): Likewise.
10521 [UNIX98] (vswscanf): Likewise.
10522
fb1ae1ee
JM
105232012-11-09 Joseph Myers <joseph@codesourcery.com>
10524
9ec6f8bd
JM
10525 * timezone/version.h: Remove file.
10526 * timezone/README: Do not refer to version.h.
10527 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10528 $(objpfx)version.h.
10529 ($(objpfx)zdump.o): Likewise.
c3f81911 10530 ($(objpfx)version.h): New target.
9ec6f8bd 10531
0aa8f8a1
JM
10532 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10533 2012i.
10534 * timezone/README: Don't mention modification to tzselect.ksh.
10535 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10536 work on unmodified tzselect.ksh. Substitute version numbers in
10537 tzselect.ksh.
10538
4e87147f
JM
10539 * Makefile (format-me): Remove.
10540 (INSTALL): Adjust indentation. Use commands directly instead of
10541 using $(format-me).
10542
8b748aed
JM
10543 * aclocal.m4 (ACX_PKGVERSION): New macro.
10544 (ACX_BUGURL): Likewise.
10545 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10546 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10547 (REPORT_BUGS_TO): Likewise.
10548 * configure: Regenerated.
10549 * config.h.in (PKGVERSION): New macro.
10550 (REPORT_BUGS_TO): Likewise.
10551 * config.make.in (PKGVERSION): New variable.
10552 (PKGVERSION_TEXI): Likewise.
10553 (REPORT_BUGS_TO): Likewise.
10554 (REPORT_BUGS_TEXI): Likewise.
10555 * Makefile (format-me): Use -I$(common-objpfx)manual.
10556 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10557 ($(common-objpfx)manual/%): New target.
10558 (manual/%): Remove target.
10559 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10560 (print_version): Use PKGVERSION.
10561 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10562 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10563 and REPORT_BUGS_TO.
10564 ($(objpfx)xtrace): Likewise.
10565 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10566 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10567 (print_version): Use PKGVERSION.
10568 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10569 (do_version): Use PKGVERSION.
10570 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10571 REPORT_BUGS_TO.
10572 (common-ldd-rewrite): Likewise.
10573 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10574 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10575 (print_version): Use PKGVERSION.
10576 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10577 * elf/pldd.c (argp_program_bug_address): Remove variable.
10578 (more_help): New function.
10579 (argp): Use more_help.
10580 (print_version): Use PKGVERSION.
10581 * elf/sln.c (main): Use PKGVERSION.
10582 (usage): Use REPORT_BUGS_TO.
10583 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10584 (top level): Use PKGVERSION.
10585 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10586 (print_version): Use PKGVERSION.
10587 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10588 (print_version): Use PKGVERSION.
10589 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10590 (print_version): Use PKGVERSION.
10591 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10592 (print_version): Use PKGVERSION.
10593 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10594 (print_version): Use PKGVERSION.
10595 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10596 (print_version): Use PKGVERSION.
10597 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10598 and BUGURL.
10599 ($(objpfx)memusage): Likewise.
10600 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10601 (do_version): Use PKGVERSION.
10602 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10603 (print_version): Use PKGVERSION.
10604 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10605 ($PKGVERSION): New variable.
10606 ($REPORT_BUGS_TO): Likewise.
10607 (usage): Use $REPORT_BUGS_TO.
10608 (top level): Use $PKGVERSION.
10609 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10610 ($(objpfx)pkgvers.texi): New rule.
10611 ($(objpfx)stamp-pkgvers): Likewise.
10612 * manual/install.texi: Include pkgvers.texi.
10613 (--with-pkgversion): Document new configure option.
10614 (--with-bugurl): Likewise.
10615 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10616 than necessarily for this particular distribution. Use
10617 REPORT_BUGS_TO for where to report bugs.
10618 * INSTALL: Regenerated.
10619 * manual/libc.texinfo: Include pkgvers.texi.
10620 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10621 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10622 (print_version): Use PKGVERSION.
10623 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10624 (print_version): Use PKGVERSION.
10625 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10626 (print_version): Use PKGVERSION.
10627 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10628 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10629 macro.
10630 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10631 (print_version): Use PKGVERSION.
10632 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10633 (print_version): Use PKGVERSION.
10634 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10635 and PKGVERSION.
10636
92e4b6a9
JM
10637 * timezone/checktab.awk: Update from tzcode 2012i.
10638 * timezone/ialloc.c: Likewise.
10639 * timezone/private.h: Likewise.
10640 * timezone/scheck.c: Likewise.
10641 * timezone/tzfile.h: Likewise.
10642 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10643 (TZVERSION): Hardcode tzcode version number.
10644 * timezone/zdump.c: Update from tzcode 2012i.
10645 * timezone/zic.c: Likewise.
10646 * timezone/version.h: New file.
10647 * timezone/README: Describe version.h. Update upstream location.
10648
9bde902c
JM
10649 [BZ #14824]
10650 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10651 (mktemp): Enable declaration.
10652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10656 Likewise.
10657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10658 Likewise.
10659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10660 Likewise.
10661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10662 Likewise.
10663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10664 Likewise.
10665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10666 Likewise.
10667
fb1ae1ee
JM
10668 [BZ #14821]
10669 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10670 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10671 for copies of such integer values.
10672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10674
2c1adbcb
AJ
106752012-11-09 Andreas Jaeger <aj@suse.de>
10676
10677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10678 definitions and declarations that are provided by
10679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10680
d0f8457e
AK
106812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10682
3a235abb 10683 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10684 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10685 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10686 definition.
10687
57241e26
MS
106882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10689
10690 * elf/elf.h: Update comment before AArch64 relocations.
10691
60e8270d
DM
106922012-11-07 David S. Miller <davem@davemloft.net>
10693
10694 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10696 (__start_context): Declare.
10697 (__makecontext_ret): Delete.
10698 (__makecontext): Hook up __start_context instead of
10699 __makecontext_ret.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10701 (sysdep_routines): Add __start_context when in stdlib.
10702
0fbb0fbc
JM
107032012-11-07 Joseph Myers <joseph@codesourcery.com>
10704
10705 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10706 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10707 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10708 hardcoded "nm".
10709 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10710 (READELF): New variable. Use it instead of hardcoded "readelf".
10711
eb48db7e
L
107122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10715 * sysdeps/x86/Makefile: Here.
10716 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10717 * sysdeps/x86/tst-xmmymm.sh: This.
10718
05bcf62a
JM
107192012-11-07 Joseph Myers <joseph@codesourcery.com>
10720
c4b6cf53
JM
10721 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10722 expectations.
10723 [UNIX98] (pthread_barrier_t): Do not expect.
10724 [UNIX98] (pthread_barrierattr_t): Likewise.
10725 [UNIX98] (pthread_spinlock_t): Likewise.
10726 [UNIX98] (pthread_barrier_destroy): Likewise.
10727 [UNIX98] (pthread_barrier_init): Likewise.
10728 [UNIX98] (pthread_barrier_wait): Likewise.
10729 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10730 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10731 [UNIX98] (pthread_barrierattr_init): Likewise.
10732 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10733 [UNIX98] (pthread_getcpuclockid): Likewise.
10734 [UNIX98] (pthread_mutex_timedlock): Likewise.
10735 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10736 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10737 [UNIX98] (pthread_sigmask): Likewise.
10738 [UNIX98] (pthread_spin_destroy): Likewise.
10739 [UNIX98] (pthread_spin_init): Likewise.
10740 [UNIX98] (pthread_spin_lock): Likewise.
10741 [UNIX98] (pthread_spin_trylock): Likewise.
10742 [UNIX98] (pthread_spin_unlock): Likewise.
10743 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10744 Do not expect.
10745 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10747 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10748 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10749 [XPG3 || XPG4] (pthread_key_t): Likewise.
10750 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10751 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10752 [XPG3 || XPG4] (pthread_once_t): Likewise.
10753 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10754 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10756 [XPG3 || XPG4] (pthread_t): Likewise.
10757
cbe6e120
JM
10758 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10759 not expect.
10760 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10761
1b126443
JM
10762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10763 Change function return type to int.
10764
b961a573
JM
10765 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10766 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10767 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10768 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10769 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10770 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10771 [!POSIX] (posix_madvise): Likewise.
10772 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10773 && !UNIX98].
10774 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10775 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10776 (mode_t): Likewise.
10777 (posix_mem_offset): Likewise.
10778 (posix_typed_mem_get_info): Likewise.
10779 (posix_typed_mem_open): Likewise.
10780
9e188909
JM
10781 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10782 Change condition to [XOPEN2K8].
10783
05bcf62a
JM
10784 * conform/conformtest.pl: Preprocess allow-header data with -x c
10785 instead of from stdin.
10786 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10787 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10788 [C99-based standards] (cerfc): Likewise.
10789 [C99-based standards] (cexp2): Likewise.
10790 [C99-based standards] (cexpm1): Likewise.
10791 [C99-based standards] (clog10): Likewise.
10792 [C99-based standards] (clog1p): Likewise.
10793 [C99-based standards] (clog2): Likewise.
10794 [C99-based standards] (clgamma): Likewise.
10795 [C99-based standards] (ctgamma): Likewise.
10796 [C99-based standards] (cerff): Likewise.
10797 [C99-based standards] (cerfcf): Likewise.
10798 [C99-based standards] (cexp2f): Likewise.
10799 [C99-based standards] (cexpm1f): Likewise.
10800 [C99-based standards] (clog10f): Likewise.
10801 [C99-based standards] (clog1pf): Likewise.
10802 [C99-based standards] (clog2f): Likewise.
10803 [C99-based standards] (clgammaf): Likewise.
10804 [C99-based standards] (ctgammaf): Likewise.
10805 [C99-based standards] (cerfl): Likewise.
10806 [C99-based standards] (cerfcl): Likewise.
10807 [C99-based standards] (cexp2l): Likewise.
10808 [C99-based standards] (cexpm1l): Likewise.
10809 [C99-based standards] (clog10l): Likewise.
10810 [C99-based standards] (clog1pl): Likewise.
10811 [C99-based standards] (clog2l): Likewise.
10812 [C99-based standards] (clgammal): Likewise.
10813 [C99-based standards] (ctgammal): Likewise.
10814 * conform/data/inttypes.h-data [C99-based standards]: Include
10815 stdint.h-data. Remove all expectations for stdint.h contents.
10816 [C99-based standards] (PRI*): Do not allow.
10817 [C99-based standards] (SCN*): Likewise.
10818 [C99-based standards] (*_t): Likewise.
10819 [C99-based-standards] (PRId8): Expect macro.
10820 [C99-based-standards] (PRIi8): Likewise.
10821 [C99-based-standards] (PRIo8): Likewise.
10822 [C99-based-standards] (PRIu8): Likewise.
10823 [C99-based-standards] (PRIx8): Likewise.
10824 [C99-based-standards] (PRIX8): Likewise.
10825 [C99-based-standards] (SCNd8): Likewise.
10826 [C99-based-standards] (SCNi8): Likewise.
10827 [C99-based-standards] (SCNo8): Likewise.
10828 [C99-based-standards] (SCNu8): Likewise.
10829 [C99-based-standards] (SCNx8): Likewise.
10830 [C99-based-standards] (PRIdLEAST8): Likewise.
10831 [C99-based-standards] (PRIiLEAST8): Likewise.
10832 [C99-based-standards] (PRIoLEAST8): Likewise.
10833 [C99-based-standards] (PRIuLEAST8): Likewise.
10834 [C99-based-standards] (PRIxLEAST8): Likewise.
10835 [C99-based-standards] (PRIXLEAST8): Likewise.
10836 [C99-based-standards] (SCNdLEAST8): Likewise.
10837 [C99-based-standards] (SCNiLEAST8): Likewise.
10838 [C99-based-standards] (SCNoLEAST8): Likewise.
10839 [C99-based-standards] (SCNuLEAST8): Likewise.
10840 [C99-based-standards] (SCNxLEAST8): Likewise.
10841 [C99-based-standards] (PRIdFAST8): Likewise.
10842 [C99-based-standards] (PRIiFAST8): Likewise.
10843 [C99-based-standards] (PRIoFAST8): Likewise.
10844 [C99-based-standards] (PRIuFAST8): Likewise.
10845 [C99-based-standards] (PRIxFAST8): Likewise.
10846 [C99-based-standards] (PRIXFAST8): Likewise.
10847 [C99-based-standards] (SCNdFAST8): Likewise.
10848 [C99-based-standards] (SCNiFAST8): Likewise.
10849 [C99-based-standards] (SCNoFAST8): Likewise.
10850 [C99-based-standards] (SCNuFAST8): Likewise.
10851 [C99-based-standards] (SCNxFAST8): Likewise.
10852 [C99-based-standards] (PRId16): Likewise.
10853 [C99-based-standards] (PRIi16): Likewise.
10854 [C99-based-standards] (PRIo16): Likewise.
10855 [C99-based-standards] (PRIu16): Likewise.
10856 [C99-based-standards] (PRIx16): Likewise.
10857 [C99-based-standards] (PRIX16): Likewise.
10858 [C99-based-standards] (SCNd16): Likewise.
10859 [C99-based-standards] (SCNi16): Likewise.
10860 [C99-based-standards] (SCNo16): Likewise.
10861 [C99-based-standards] (SCNu16): Likewise.
10862 [C99-based-standards] (SCNx16): Likewise.
10863 [C99-based-standards] (PRIdLEAST16): Likewise.
10864 [C99-based-standards] (PRIiLEAST16): Likewise.
10865 [C99-based-standards] (PRIoLEAST16): Likewise.
10866 [C99-based-standards] (PRIuLEAST16): Likewise.
10867 [C99-based-standards] (PRIxLEAST16): Likewise.
10868 [C99-based-standards] (PRIXLEAST16): Likewise.
10869 [C99-based-standards] (SCNdLEAST16): Likewise.
10870 [C99-based-standards] (SCNiLEAST16): Likewise.
10871 [C99-based-standards] (SCNoLEAST16): Likewise.
10872 [C99-based-standards] (SCNuLEAST16): Likewise.
10873 [C99-based-standards] (SCNxLEAST16): Likewise.
10874 [C99-based-standards] (PRIdFAST16): Likewise.
10875 [C99-based-standards] (PRIiFAST16): Likewise.
10876 [C99-based-standards] (PRIoFAST16): Likewise.
10877 [C99-based-standards] (PRIuFAST16): Likewise.
10878 [C99-based-standards] (PRIxFAST16): Likewise.
10879 [C99-based-standards] (PRIXFAST16): Likewise.
10880 [C99-based-standards] (SCNdFAST16): Likewise.
10881 [C99-based-standards] (SCNiFAST16): Likewise.
10882 [C99-based-standards] (SCNoFAST16): Likewise.
10883 [C99-based-standards] (SCNuFAST16): Likewise.
10884 [C99-based-standards] (SCNxFAST16): Likewise.
10885 [C99-based-standards] (PRId32): Likewise.
10886 [C99-based-standards] (PRIi32): Likewise.
10887 [C99-based-standards] (PRIo32): Likewise.
10888 [C99-based-standards] (PRIu32): Likewise.
10889 [C99-based-standards] (PRIx32): Likewise.
10890 [C99-based-standards] (PRIX32): Likewise.
10891 [C99-based-standards] (SCNd32): Likewise.
10892 [C99-based-standards] (SCNi32): Likewise.
10893 [C99-based-standards] (SCNo32): Likewise.
10894 [C99-based-standards] (SCNu32): Likewise.
10895 [C99-based-standards] (SCNx32): Likewise.
10896 [C99-based-standards] (PRIdLEAST32): Likewise.
10897 [C99-based-standards] (PRIiLEAST32): Likewise.
10898 [C99-based-standards] (PRIoLEAST32): Likewise.
10899 [C99-based-standards] (PRIuLEAST32): Likewise.
10900 [C99-based-standards] (PRIxLEAST32): Likewise.
10901 [C99-based-standards] (PRIXLEAST32): Likewise.
10902 [C99-based-standards] (SCNdLEAST32): Likewise.
10903 [C99-based-standards] (SCNiLEAST32): Likewise.
10904 [C99-based-standards] (SCNoLEAST32): Likewise.
10905 [C99-based-standards] (SCNuLEAST32): Likewise.
10906 [C99-based-standards] (SCNxLEAST32): Likewise.
10907 [C99-based-standards] (PRIdFAST32): Likewise.
10908 [C99-based-standards] (PRIiFAST32): Likewise.
10909 [C99-based-standards] (PRIoFAST32): Likewise.
10910 [C99-based-standards] (PRIuFAST32): Likewise.
10911 [C99-based-standards] (PRIxFAST32): Likewise.
10912 [C99-based-standards] (PRIXFAST32): Likewise.
10913 [C99-based-standards] (SCNdFAST32): Likewise.
10914 [C99-based-standards] (SCNiFAST32): Likewise.
10915 [C99-based-standards] (SCNoFAST32): Likewise.
10916 [C99-based-standards] (SCNuFAST32): Likewise.
10917 [C99-based-standards] (SCNxFAST32): Likewise.
10918 [C99-based-standards] (PRId64): Likewise.
10919 [C99-based-standards] (PRIi64): Likewise.
10920 [C99-based-standards] (PRIo64): Likewise.
10921 [C99-based-standards] (PRIu64): Likewise.
10922 [C99-based-standards] (PRIx64): Likewise.
10923 [C99-based-standards] (PRIX64): Likewise.
10924 [C99-based-standards] (SCNd64): Likewise.
10925 [C99-based-standards] (SCNi64): Likewise.
10926 [C99-based-standards] (SCNo64): Likewise.
10927 [C99-based-standards] (SCNu64): Likewise.
10928 [C99-based-standards] (SCNx64): Likewise.
10929 [C99-based-standards] (PRIdLEAST64): Likewise.
10930 [C99-based-standards] (PRIiLEAST64): Likewise.
10931 [C99-based-standards] (PRIoLEAST64): Likewise.
10932 [C99-based-standards] (PRIuLEAST64): Likewise.
10933 [C99-based-standards] (PRIxLEAST64): Likewise.
10934 [C99-based-standards] (PRIXLEAST64): Likewise.
10935 [C99-based-standards] (SCNdLEAST64): Likewise.
10936 [C99-based-standards] (SCNiLEAST64): Likewise.
10937 [C99-based-standards] (SCNoLEAST64): Likewise.
10938 [C99-based-standards] (SCNuLEAST64): Likewise.
10939 [C99-based-standards] (SCNxLEAST64): Likewise.
10940 [C99-based-standards] (PRIdFAST64): Likewise.
10941 [C99-based-standards] (PRIiFAST64): Likewise.
10942 [C99-based-standards] (PRIoFAST64): Likewise.
10943 [C99-based-standards] (PRIuFAST64): Likewise.
10944 [C99-based-standards] (PRIxFAST64): Likewise.
10945 [C99-based-standards] (PRIXFAST64): Likewise.
10946 [C99-based-standards] (SCNdFAST64): Likewise.
10947 [C99-based-standards] (SCNiFAST64): Likewise.
10948 [C99-based-standards] (SCNoFAST64): Likewise.
10949 [C99-based-standards] (SCNuFAST64): Likewise.
10950 [C99-based-standards] (SCNxFAST64): Likewise.
10951 [C99-based-standards] (PRIdMAX): Likewise.
10952 [C99-based-standards] (PRIiMAX): Likewise.
10953 [C99-based-standards] (PRIoMAX): Likewise.
10954 [C99-based-standards] (PRIuMAX): Likewise.
10955 [C99-based-standards] (PRIxMAX): Likewise.
10956 [C99-based-standards] (PRIXMAX): Likewise.
10957 [C99-based-standards] (SCNdMAX): Likewise.
10958 [C99-based-standards] (SCNiMAX): Likewise.
10959 [C99-based-standards] (SCNoMAX): Likewise.
10960 [C99-based-standards] (SCNuMAX): Likewise.
10961 [C99-based-standards] (SCNxMAX): Likewise.
10962 [C99-based-standards] (PRIdPTR): Likewise.
10963 [C99-based-standards] (PRIiPTR): Likewise.
10964 [C99-based-standards] (PRIoPTR): Likewise.
10965 [C99-based-standards] (PRIuPTR): Likewise.
10966 [C99-based-standards] (PRIxPTR): Likewise.
10967 [C99-based-standards] (PRIXPTR): Likewise.
10968 [C99-based-standards] (SCNdPTR): Likewise.
10969 [C99-based-standards] (SCNiPTR): Likewise.
10970 [C99-based-standards] (SCNoPTR): Likewise.
10971 [C99-based-standards] (SCNuPTR): Likewise.
10972 [C99-based-standards] (SCNxPTR): Likewise.
10973 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10974 allow.
10975 * conform/data/stdint.h-data: Update comments to clarify
10976 requirements.
10977 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10978 type.
10979 [C99-based standards] (INT8_MAX): Likewise.
10980 [C99-based standards] (INT16_MIN): Likewise.
10981 [C99-based standards] (INT16_MAX): Likewise.
10982 [C99-based standards] (INT32_MIN): Likewise.
10983 [C99-based standards] (INT32_MAX): Likewise.
10984 [C99-based standards] (INT64_MIN): Likewise.
10985 [C99-based standards] (INT64_MAX): Likewise.
10986 [C99-based standards] (UINT8_MAX): Likewise.
10987 [C99-based standards] (UINT16_MAX): Likewise.
10988 [C99-based standards] (UINT32_MAX): Likewise.
10989 [C99-based standards] (UINT64_MAX): Likewise.
10990 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10991 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10992 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10993 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10994 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10995 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10996 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10997 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10998 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10999 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11000 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11001 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11002 [C99-based standards] (INT_FAST8_MIN): Likewise.
11003 [C99-based standards] (INT_FAST8_MAX): Likewise.
11004 [C99-based standards] (INT_FAST16_MIN): Likewise.
11005 [C99-based standards] (INT_FAST16_MAX): Likewise.
11006 [C99-based standards] (INT_FAST32_MIN): Likewise.
11007 [C99-based standards] (INT_FAST32_MAX): Likewise.
11008 [C99-based standards] (INT_FAST64_MIN): Likewise.
11009 [C99-based standards] (INT_FAST64_MAX): Likewise.
11010 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11011 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11012 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11013 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11014 [C99-based standards] (INTPTR_MIN): Likewise.
11015 [C99-based standards] (INTPTR_MAX): Likewise.
11016 [C99-based standards] (UINTPTR_MAX): Likewise.
11017 [C99-based standards] (INTMAX_MIN): Likewise.
11018 [C99-based standards] (INTMAX_MAX): Likewise.
11019 [C99-based standards] (UINTMAX_MAX): Likewise.
11020 [C99-based standards] (PTRDIFF_MIN): Likewise.
11021 [C99-based standards] (PTRDIFF_MAX): Likewise.
11022 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11023 [C99-based standards] (SIZE_MAX): Likewise.
11024 [C99-based standards] (WCHAR_MAX): Likewise.
11025 [C99-based standards] (WINT_MAX): Likewise.
11026 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11027 constraint on value.
11028 [C99-based standards] (WCHAR_MIN): Likewise.
11029 [C99-based standards] (WINT_MIN): Likewise.
11030 [C99-based standards] (*_t): Allow.
11031 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11032 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11033 Include math.h-data and complex.h-data. Remove all expectations
11034 of math.h and complex.h contents.
11035 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11036 at end of line.
11037 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11038 (struct tm): Expect tag.
11039 [C99-based-standards] (wcstof): Expect function.
11040 [C99-based-standards] (wcstold): Likewise.
11041 [C99-based-standards] (wcstoll): Likewise.
11042 [C99-based-standards] (wcstoull): Likewise.
11043 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11044 macro-int-constant. Specify type.
11045 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11046 constraint on value.
11047 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11048 Specify type.
11049 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11050 Specify value.
11051 [ISO C standards]: Do not allow headers.
11052 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11053 wcs[abcdefghijklmnopqrstuvwxyz]*.
11054 [ISO C standards] (*_t): Do not allow.
11055 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11056 Expect function.
11057 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11058 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11059 Specify type.
11060 [ISO C standards]: Do not allow headers.
11061 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11062 is[abcdefghijklmnopqrstuvwxyz]*.
11063 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11064 to[abcdefghijklmnopqrstuvwxyz]*.
11065 [ISO C standards] (*_t): Do not allow.
11066 * conform/data/stdalign.h-data: New file.
11067 * conform/data/stdbool.h-data: Likewise.
11068 * conform/data/stdnoreturn.h-data: Likewise.
11069
7514feb8
RM
110702012-11-07 Roland McGrath <roland@hack.frob.com>
11071
11072 [BZ #14815]
11073 * manual/filesys.texi (Directory Entries): Typo fix.
11074 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11075
19b2ecfc
MS
110762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11077
11078 * elf/elf.h (EM_AARCH64): New macro.
11079 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11080 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11081 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11082 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11083 (R_AARCH64_TLSDESC): Likewise.
11084 (NT_ARM_TLS): Likewise.
11085 (NT_ARM_HW_BREAK): Likewise.
11086 (NT_ARM_HW_WATCH): Likewise.
11087
60e235ee
JM
110882012-11-07 Joseph Myers <joseph@codesourcery.com>
11089
11090 [BZ #14811]
11091 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11092 (__ieee754_powl): Saturate nonzero exponents with absolute value
11093 below 0x1p-79 to +/- 0x1p-79.
11094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11095 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11096 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11097 nonzero exponents with absolute value below 0x1p-32 to +/-
11098 0x1p-32.
11099 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11100 (__ieee754_powl): Saturate nonzero exponents with absolute value
11101 below 0x1p-79 to +/- 0x1p-79.
11102 * math/libm-test.inc (pow_test): Add more tests.
11103
0ab234b7
AK
111042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11105
11106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11107 _dl_s390_cap_flags with kernel. Increase string length.
11108 (_dl_s390_platforms): Add z196 and zEC12.
11109
45832f74
JM
111102012-11-07 Joseph Myers <joseph@codesourcery.com>
11111
11112 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11113 Change XOPEN21K to XOPEN2K.
11114
19218757
MK
111152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11116
11117 * string/memmove.c: Use memcpy when possible.
11118
c5f45721
AJ
111192012-11-06 Andreas Jaeger <aj@suse.de>
11120
11121 * po/eo.po: Update from translation team.
11122
82477c28
JM
111232012-11-06 Joseph Myers <joseph@codesourcery.com>
11124
11125 [BZ #14793]
11126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11127 exponent and small x and y exponents, scale x or y up. Increase
11128 by 2 the exponent used in scaling up.
11129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11131 * math/libm-test.inc (fma_test): Add more tests.
11132 (fma_test_towardzero): Likewise.
11133 (fma_test_downward): Likewise.
11134 (fma_test_upward): Likewise.
11135
99252c8c
JM
111362012-11-05 Joseph Myers <joseph@codesourcery.com>
11137
acfa885f
JM
11138 [BZ #14805]
11139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11140 fenv_t *.
11141
99252c8c
JM
11142 [BZ #14801]
11143 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11144 namespace for names of struct fields.
11145 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11146 fenv_t fields.
11147 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11148 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11149
d6d98dea
ST
111502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11151
11152 [BZ #3665]
11153 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11154
e10bb107
TS
111552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11156
11157 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11158 PTR_DEMANGLE.
11159
11160 [BZ #5246]
11161 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11162 PTR_DEMANGLE.
11163
a0c2940d
JM
111642012-11-04 Joseph Myers <joseph@codesourcery.com>
11165
11166 [BZ #14797]
11167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11168 definitely overflow as x * y not x * y + z.
11169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11171 * math/libm-test.inc (fma_test): Add more tests.
11172 (fma_test_towardzero): Likewise.
11173 (fma_test_downward): Likewise.
11174 (fma_test_upward): Likewise.
11175
b830319d
TS
111762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11177
11178 [BZ #157]
11179
11180 * include/stub-tag.h: Remove file.
11181 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11182 '#include' of it.
11183 * manual/maint.texi (Porting): Don't reference it.
11184 * Makerules ($(objpfx)stubs): Likewise.
11185 * dirent/closedir.c: Don't include <stub-tag.h>.
11186 * dirent/dirfd.c: Likewise.
11187 * dirent/fdopendir.c: Likewise.
11188 * dirent/getdents.c: Likewise.
11189 * dirent/getdents64.c: Likewise.
11190 * dirent/opendir.c: Likewise.
11191 * dirent/readdir.c: Likewise.
11192 * dirent/readdir64.c: Likewise.
11193 * dirent/readdir64_r.c: Likewise.
11194 * dirent/readdir_r.c: Likewise.
11195 * dirent/rewinddir.c: Likewise.
11196 * dirent/seekdir.c: Likewise.
11197 * dirent/telldir.c: Likewise.
11198 * gmon/profil.c: Likewise.
11199 * grp/setgroups.c: Likewise.
11200 * inet/if_index.c: Likewise.
11201 * io/access.c: Likewise.
11202 * io/chdir.c: Likewise.
11203 * io/chmod.c: Likewise.
11204 * io/chown.c: Likewise.
11205 * io/close.c: Likewise.
11206 * io/dup.c: Likewise.
11207 * io/dup2.c: Likewise.
11208 * io/dup3.c: Likewise.
11209 * io/euidaccess.c: Likewise.
11210 * io/faccessat.c: Likewise.
11211 * io/fchdir.c: Likewise.
11212 * io/fchmod.c: Likewise.
11213 * io/fchmodat.c: Likewise.
11214 * io/fchown.c: Likewise.
11215 * io/fchownat.c: Likewise.
11216 * io/fcntl.c: Likewise.
11217 * io/flock.c: Likewise.
11218 * io/fstatfs.c: Likewise.
11219 * io/fstatfs64.c: Likewise.
11220 * io/fstatvfs.c: Likewise.
11221 * io/fstatvfs64.c: Likewise.
11222 * io/futimens.c: Likewise.
11223 * io/fxstat.c: Likewise.
11224 * io/fxstat64.c: Likewise.
11225 * io/fxstatat.c: Likewise.
11226 * io/fxstatat64.c: Likewise.
11227 * io/getcwd.c: Likewise.
11228 * io/isatty.c: Likewise.
11229 * io/lchmod.c: Likewise.
11230 * io/lchown.c: Likewise.
11231 * io/link.c: Likewise.
11232 * io/linkat.c: Likewise.
11233 * io/lseek.c: Likewise.
11234 * io/lseek64.c: Likewise.
11235 * io/lxstat64.c: Likewise.
11236 * io/mkdir.c: Likewise.
11237 * io/mkdirat.c: Likewise.
11238 * io/mkfifo.c: Likewise.
11239 * io/mkfifoat.c: Likewise.
11240 * io/open.c: Likewise.
11241 * io/open64.c: Likewise.
11242 * io/openat.c: Likewise.
11243 * io/openat64.c: Likewise.
11244 * io/pipe.c: Likewise.
11245 * io/pipe2.c: Likewise.
11246 * io/poll.c: Likewise.
11247 * io/posix_fadvise.c: Likewise.
11248 * io/posix_fadvise64.c: Likewise.
11249 * io/posix_fallocate.c: Likewise.
11250 * io/posix_fallocate64.c: Likewise.
11251 * io/read.c: Likewise.
11252 * io/readlink.c: Likewise.
11253 * io/readlinkat.c: Likewise.
11254 * io/rmdir.c: Likewise.
11255 * io/sendfile.c: Likewise.
11256 * io/sendfile64.c: Likewise.
11257 * io/statfs.c: Likewise.
11258 * io/statfs64.c: Likewise.
11259 * io/statvfs.c: Likewise.
11260 * io/statvfs64.c: Likewise.
11261 * io/symlink.c: Likewise.
11262 * io/symlinkat.c: Likewise.
11263 * io/ttyname.c: Likewise.
11264 * io/ttyname_r.c: Likewise.
11265 * io/umask.c: Likewise.
11266 * io/unlink.c: Likewise.
11267 * io/unlinkat.c: Likewise.
11268 * io/utime.c: Likewise.
11269 * io/utimensat.c: Likewise.
11270 * io/write.c: Likewise.
11271 * io/xmknod.c: Likewise.
11272 * io/xmknodat.c: Likewise.
11273 * io/xstat.c: Likewise.
11274 * io/xstat64.c: Likewise.
11275 * login/getpt.c: Likewise.
11276 * login/grantpt.c: Likewise.
11277 * login/unlockpt.c: Likewise.
11278 * math/e_acoshl.c: Likewise.
11279 * math/e_acosl.c: Likewise.
11280 * math/e_asinl.c: Likewise.
11281 * math/e_atan2l.c: Likewise.
11282 * math/e_atanhl.c: Likewise.
11283 * math/e_coshl.c: Likewise.
11284 * math/e_expl.c: Likewise.
11285 * math/e_fmodl.c: Likewise.
11286 * math/e_gammal_r.c: Likewise.
11287 * math/e_hypotl.c: Likewise.
11288 * math/e_j0l.c: Likewise.
11289 * math/e_j1l.c: Likewise.
11290 * math/e_jnl.c: Likewise.
11291 * math/e_lgammal_r.c: Likewise.
11292 * math/e_log10l.c: Likewise.
11293 * math/e_log2l.c: Likewise.
11294 * math/e_logl.c: Likewise.
11295 * math/e_powl.c: Likewise.
11296 * math/e_rem_pio2l.c: Likewise.
11297 * math/e_sinhl.c: Likewise.
11298 * math/e_sqrtl.c: Likewise.
11299 * math/fclrexcpt.c: Likewise.
11300 * math/fedisblxcpt.c: Likewise.
11301 * math/feenablxcpt.c: Likewise.
11302 * math/fegetenv.c: Likewise.
11303 * math/fegetexcept.c: Likewise.
11304 * math/fegetround.c: Likewise.
11305 * math/feholdexcpt.c: Likewise.
11306 * math/fesetenv.c: Likewise.
11307 * math/fesetround.c: Likewise.
11308 * math/feupdateenv.c: Likewise.
11309 * math/fgetexcptflg.c: Likewise.
11310 * math/fraiseexcpt.c: Likewise.
11311 * math/fsetexcptflg.c: Likewise.
11312 * math/ftestexcept.c: Likewise.
11313 * math/k_cosl.c: Likewise.
11314 * math/k_rem_pio2l.c: Likewise.
11315 * math/k_sinl.c: Likewise.
11316 * math/k_tanl.c: Likewise.
11317 * math/s_asinhl.c: Likewise.
11318 * math/s_atanl.c: Likewise.
11319 * math/s_cbrtl.c: Likewise.
11320 * math/s_erfl.c: Likewise.
11321 * math/s_expm1l.c: Likewise.
11322 * math/s_log1pl.c: Likewise.
11323 * math/s_tanhl.c: Likewise.
11324 * misc/acct.c: Likewise.
11325 * misc/brk.c: Likewise.
11326 * misc/chflags.c: Likewise.
11327 * misc/chroot.c: Likewise.
11328 * misc/fchflags.c: Likewise.
11329 * misc/fgetxattr.c: Likewise.
11330 * misc/flistxattr.c: Likewise.
11331 * misc/fremovexattr.c: Likewise.
11332 * misc/fsetxattr.c: Likewise.
11333 * misc/fsync.c: Likewise.
11334 * misc/ftruncate.c: Likewise.
11335 * misc/futimes.c: Likewise.
11336 * misc/futimesat.c: Likewise.
11337 * misc/getdomain.c: Likewise.
11338 * misc/getdtsz.c: Likewise.
11339 * misc/gethostid.c: Likewise.
11340 * misc/gethostname.c: Likewise.
11341 * misc/getloadavg.c: Likewise.
11342 * misc/getpagesize.c: Likewise.
11343 * misc/getsysstats.c: Likewise.
11344 * misc/getxattr.c: Likewise.
11345 * misc/gtty.c: Likewise.
11346 * misc/ioctl.c: Likewise.
11347 * misc/lgetxattr.c: Likewise.
11348 * misc/listxattr.c: Likewise.
11349 * misc/llistxattr.c: Likewise.
11350 * misc/lremovexattr.c: Likewise.
11351 * misc/lsetxattr.c: Likewise.
11352 * misc/lutimes.c: Likewise.
11353 * misc/madvise.c: Likewise.
11354 * misc/mincore.c: Likewise.
11355 * misc/mlock.c: Likewise.
11356 * misc/mlockall.c: Likewise.
11357 * misc/mmap.c: Likewise.
11358 * misc/mprotect.c: Likewise.
11359 * misc/msync.c: Likewise.
11360 * misc/munlock.c: Likewise.
11361 * misc/munlockall.c: Likewise.
11362 * misc/munmap.c: Likewise.
11363 * misc/preadv.c: Likewise.
11364 * misc/preadv64.c: Likewise.
11365 * misc/ptrace.c: Likewise.
11366 * misc/pwritev.c: Likewise.
11367 * misc/pwritev64.c: Likewise.
11368 * misc/readv.c: Likewise.
11369 * misc/reboot.c: Likewise.
11370 * misc/remap_file_pages.c: Likewise.
11371 * misc/removexattr.c: Likewise.
11372 * misc/revoke.c: Likewise.
11373 * misc/select.c: Likewise.
11374 * misc/setdomain.c: Likewise.
11375 * misc/setegid.c: Likewise.
11376 * misc/seteuid.c: Likewise.
11377 * misc/sethostid.c: Likewise.
11378 * misc/sethostname.c: Likewise.
11379 * misc/setregid.c: Likewise.
11380 * misc/setreuid.c: Likewise.
11381 * misc/setxattr.c: Likewise.
11382 * misc/sstk.c: Likewise.
11383 * misc/stty.c: Likewise.
11384 * misc/swapoff.c: Likewise.
11385 * misc/swapon.c: Likewise.
11386 * misc/sync.c: Likewise.
11387 * misc/syncfs.c: Likewise.
11388 * misc/syscall.c: Likewise.
11389 * misc/truncate.c: Likewise.
11390 * misc/ualarm.c: Likewise.
11391 * misc/usleep.c: Likewise.
11392 * misc/ustat.c: Likewise.
11393 * misc/utimes.c: Likewise.
11394 * misc/vhangup.c: Likewise.
11395 * misc/writev.c: Likewise.
11396 * posix/_exit.c: Likewise.
11397 * posix/alarm.c: Likewise.
11398 * posix/execve.c: Likewise.
11399 * posix/fexecve.c: Likewise.
11400 * posix/fork.c: Likewise.
11401 * posix/fpathconf.c: Likewise.
11402 * posix/getaddrinfo.c: Likewise.
11403 * posix/getegid.c: Likewise.
11404 * posix/geteuid.c: Likewise.
11405 * posix/getgid.c: Likewise.
11406 * posix/getgroups.c: Likewise.
11407 * posix/getlogin.c: Likewise.
11408 * posix/getlogin_r.c: Likewise.
11409 * posix/getpgid.c: Likewise.
11410 * posix/getpid.c: Likewise.
11411 * posix/getppid.c: Likewise.
11412 * posix/getresgid.c: Likewise.
11413 * posix/getresuid.c: Likewise.
11414 * posix/getsid.c: Likewise.
11415 * posix/getuid.c: Likewise.
11416 * posix/glob64.c: Likewise.
11417 * posix/nanosleep.c: Likewise.
11418 * posix/pathconf.c: Likewise.
11419 * posix/pause.c: Likewise.
11420 * posix/posix_madvise.c: Likewise.
11421 * posix/pread.c: Likewise.
11422 * posix/pread64.c: Likewise.
11423 * posix/pwrite.c: Likewise.
11424 * posix/pwrite64.c: Likewise.
11425 * posix/sched_getaffinity.c: Likewise.
11426 * posix/sched_getp.c: Likewise.
11427 * posix/sched_gets.c: Likewise.
11428 * posix/sched_primax.c: Likewise.
11429 * posix/sched_primin.c: Likewise.
11430 * posix/sched_rr_gi.c: Likewise.
11431 * posix/sched_setaffinity.c: Likewise.
11432 * posix/sched_setp.c: Likewise.
11433 * posix/sched_sets.c: Likewise.
11434 * posix/sched_yield.c: Likewise.
11435 * posix/setgid.c: Likewise.
11436 * posix/setlogin.c: Likewise.
11437 * posix/setpgid.c: Likewise.
11438 * posix/setresgid.c: Likewise.
11439 * posix/setresuid.c: Likewise.
11440 * posix/setsid.c: Likewise.
11441 * posix/setuid.c: Likewise.
11442 * posix/sleep.c: Likewise.
11443 * posix/spawni.c: Likewise.
11444 * posix/sysconf.c: Likewise.
11445 * posix/times.c: Likewise.
11446 * posix/wait.c: Likewise.
11447 * posix/wait3.c: Likewise.
11448 * posix/wait4.c: Likewise.
11449 * posix/waitpid.c: Likewise.
11450 * resolv/gai_sigqueue.c: Likewise.
11451 * resource/getpriority.c: Likewise.
11452 * resource/getrlimit.c: Likewise.
11453 * resource/getrusage.c: Likewise.
11454 * resource/nice.c: Likewise.
11455 * resource/setpriority.c: Likewise.
11456 * resource/setrlimit.c: Likewise.
11457 * resource/ulimit.c: Likewise.
11458 * rt/aio_cancel.c: Likewise.
11459 * rt/aio_fsync.c: Likewise.
11460 * rt/aio_read.c: Likewise.
11461 * rt/aio_sigqueue.c: Likewise.
11462 * rt/aio_suspend.c: Likewise.
11463 * rt/aio_write.c: Likewise.
11464 * rt/clock_getres.c: Likewise.
11465 * rt/clock_gettime.c: Likewise.
11466 * rt/clock_nanosleep.c: Likewise.
11467 * rt/clock_settime.c: Likewise.
11468 * rt/lio_listio.c: Likewise.
11469 * rt/mq_close.c: Likewise.
11470 * rt/mq_getattr.c: Likewise.
11471 * rt/mq_notify.c: Likewise.
11472 * rt/mq_open.c: Likewise.
11473 * rt/mq_receive.c: Likewise.
11474 * rt/mq_send.c: Likewise.
11475 * rt/mq_setattr.c: Likewise.
11476 * rt/mq_timedreceive.c: Likewise.
11477 * rt/mq_timedsend.c: Likewise.
11478 * rt/mq_unlink.c: Likewise.
11479 * rt/shm_open.c: Likewise.
11480 * rt/shm_unlink.c: Likewise.
11481 * rt/timer_create.c: Likewise.
11482 * rt/timer_delete.c: Likewise.
11483 * rt/timer_getoverr.c: Likewise.
11484 * rt/timer_gettime.c: Likewise.
11485 * rt/timer_settime.c: Likewise.
11486 * setjmp/__longjmp.c: Likewise.
11487 * setjmp/setjmp.c: Likewise.
11488 * signal/kill.c: Likewise.
11489 * signal/killpg.c: Likewise.
11490 * signal/raise.c: Likewise.
11491 * signal/sigaction.c: Likewise.
11492 * signal/sigaltstack.c: Likewise.
11493 * signal/sigblock.c: Likewise.
11494 * signal/sigignore.c: Likewise.
11495 * signal/sigintr.c: Likewise.
11496 * signal/signal.c: Likewise.
11497 * signal/sigpause.c: Likewise.
11498 * signal/sigpending.c: Likewise.
11499 * signal/sigqueue.c: Likewise.
11500 * signal/sigreturn.c: Likewise.
11501 * signal/sigset.c: Likewise.
11502 * signal/sigsetmask.c: Likewise.
11503 * signal/sigstack.c: Likewise.
11504 * signal/sigsuspend.c: Likewise.
11505 * signal/sigtimedwait.c: Likewise.
11506 * signal/sigvec.c: Likewise.
11507 * signal/sigwait.c: Likewise.
11508 * signal/sigwaitinfo.c: Likewise.
11509 * signal/sysv_signal.c: Likewise.
11510 * socket/accept.c: Likewise.
11511 * socket/accept4.c: Likewise.
11512 * socket/bind.c: Likewise.
11513 * socket/connect.c: Likewise.
11514 * socket/getpeername.c: Likewise.
11515 * socket/getsockname.c: Likewise.
11516 * socket/getsockopt.c: Likewise.
11517 * socket/isfdtype.c: Likewise.
11518 * socket/listen.c: Likewise.
11519 * socket/recv.c: Likewise.
11520 * socket/recvfrom.c: Likewise.
11521 * socket/recvmsg.c: Likewise.
11522 * socket/send.c: Likewise.
11523 * socket/sendmsg.c: Likewise.
11524 * socket/sendto.c: Likewise.
11525 * socket/setsockopt.c: Likewise.
11526 * socket/shutdown.c: Likewise.
11527 * socket/sockatmark.c: Likewise.
11528 * socket/socket.c: Likewise.
11529 * socket/socketpair.c: Likewise.
11530 * stdio-common/ctermid.c: Likewise.
11531 * stdio-common/cuserid.c: Likewise.
11532 * stdio-common/remove.c: Likewise.
11533 * stdio-common/rename.c: Likewise.
11534 * stdio-common/renameat.c: Likewise.
11535 * stdio-common/tempname.c: Likewise.
11536 * stdlib/getcontext.c: Likewise.
11537 * stdlib/makecontext.c: Likewise.
11538 * stdlib/setcontext.c: Likewise.
11539 * stdlib/swapcontext.c: Likewise.
11540 * stdlib/system.c: Likewise.
11541 * streams/fattach.c: Likewise.
11542 * streams/fdetach.c: Likewise.
11543 * streams/getmsg.c: Likewise.
11544 * streams/getpmsg.c: Likewise.
11545 * streams/putmsg.c: Likewise.
11546 * streams/putpmsg.c: Likewise.
11547 * sysdeps/unix/bsd/getpt.c: Likewise.
11548 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11549 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11552 Likewise.
11553 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11554 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11555 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11556 * sysvipc/msgctl.c: Likewise.
11557 * sysvipc/msgget.c: Likewise.
11558 * sysvipc/msgrcv.c: Likewise.
11559 * sysvipc/msgsnd.c: Likewise.
11560 * sysvipc/semctl.c: Likewise.
11561 * sysvipc/semget.c: Likewise.
11562 * sysvipc/semop.c: Likewise.
11563 * sysvipc/semtimedop.c: Likewise.
11564 * sysvipc/shmat.c: Likewise.
11565 * sysvipc/shmctl.c: Likewise.
11566 * sysvipc/shmdt.c: Likewise.
11567 * sysvipc/shmget.c: Likewise.
11568 * termios/tcdrain.c: Likewise.
11569 * termios/tcflow.c: Likewise.
11570 * termios/tcflush.c: Likewise.
11571 * termios/tcgetattr.c: Likewise.
11572 * termios/tcgetpgrp.c: Likewise.
11573 * termios/tcsendbrk.c: Likewise.
11574 * termios/tcsetattr.c: Likewise.
11575 * termios/tcsetpgrp.c: Likewise.
11576 * time/adjtime.c: Likewise.
11577 * time/clock.c: Likewise.
11578 * time/getitimer.c: Likewise.
11579 * time/gettimeofday.c: Likewise.
11580 * time/setitimer.c: Likewise.
11581 * time/settimeofday.c: Likewise.
11582 * time/stime.c: Likewise.
11583 * time/time.c: Likewise.
11584
115852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11586
a20492cf
PT
11587 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11588 /usr/old/bin.
11589
72e182e3
PT
11590 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11591 instead of spaces.
11592 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11593
fbeafede
JM
115942012-11-03 Joseph Myers <joseph@codesourcery.com>
11595
5b5b04d6
JM
11596 [BZ #14796]
11597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11598 FE_TONEAREST before applying Dekker multiplication and Knuth
11599 addition. Clear inexact exceptions and check for exact zero
11600 results afterwards.
11601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11604 * math/libm-test.inc (fma_test): Add more tests.
11605 (fma_test_towardzero): Likewise.
11606 (fma_test_downward): Likewise.
11607 (fma_test_upward): Likewise.
11608 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11609 function.
11610 (libc_fesetround): New macro.
11611 (libc_fesetroundf): Likewise.
11612 (libc_fesetroundl): Likewise.
11613 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11614 function.
11615 (libc_fesetround_387): Likewise.
11616 (libc_fesetroundf): New macro.
11617 (libc_fesetround): Likewise.
11618 (libc_fesetroundl): Likewise.
11619 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11620 function.
11621 (libc_fesetroundf): New macro.
11622 (libc_fesetround): Likewise.
11623 (libc_fesetroundl): Likewise.
11624 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11625 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11626 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11627 libm_hidden_ver.
11628 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11629 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11630 libm_hidden_def.
11631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11632 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11633 libm_hidden_ver.
11634 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11635 libm_hidden_def.
11636
fbeafede
JM
11637 [BZ #3439]
11638 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11639 integer constant usable in #if and use that to give value to enum
11640 constant.
11641 (FE_DIVBYZERO): Likewise.
11642 (FE_UNDERFLOW): Likewise.
11643 (FE_OVERFLOW): Likewise.
11644 (FE_INVALID): Likewise.
11645 (FE_INVALID_SNAN): Likewise.
11646 (FE_INVALID_ISI): Likewise.
11647 (FE_INVALID_IDI): Likewise.
11648 (FE_INVALID_ZDZ): Likewise.
11649 (FE_INVALID_IMZ): Likewise.
11650 (FE_INVALID_COMPARE): Likewise.
11651 (FE_INVALID_SOFTWARE): Likewise.
11652 (FE_INVALID_SQRT): Likewise.
11653 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11654 (FE_TONEAREST): Likewise.
11655 (FE_TOWARDZERO): Likewise.
11656 (FE_UPWARD): Likewise.
11657 (FE_DOWNWARD): Likewise.
11658 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11659 (FE_DIVBYZERO): Likewise.
11660 (FE_OVERFLOW): Likewise.
11661 (FE_UNDERFLOW): Likewise.
11662 (FE_INEXACT): Likewise.
11663 (FE_TONEAREST): Likewise.
11664 (FE_DOWNWARD): Likewise.
11665 (FE_UPWARD): Likewise.
11666 (FE_TOWARDZERO): Likewise.
11667 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11668 (FE_UNDERFLOW): Likewise.
11669 (FE_OVERFLOW): Likewise.
11670 (FE_DIVBYZERO): Likewise.
11671 (FE_INVALID): Likewise.
11672 (FE_TONEAREST): Likewise.
11673 (FE_TOWARDZERO): Likewise.
11674 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11675 (FE_OVERFLOW): Likewise.
11676 (FE_UNDERFLOW): Likewise.
11677 (FE_DIVBYZERO): Likewise.
11678 (FE_INEXACT): Likewise.
11679 (FE_TONEAREST): Likewise.
11680 (FE_TOWARDZERO): Likewise.
11681 (FE_UPWARD): Likewise.
11682 (FE_DOWNWARD): Likewise.
11683 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11684 (FE_DIVBYZERO): Likewise.
11685 (FE_OVERFLOW): Likewise.
11686 (FE_UNDERFLOW): Likewise.
11687 (FE_INEXACT): Likewise.
11688 (FE_TONEAREST): Likewise.
11689 (FE_DOWNWARD): Likewise.
11690 (FE_UPWARD): Likewise.
11691 (FE_TOWARDZERO): Likewise.
11692
105ca950
CM
116932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11694
11695 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11696
a542b389
AS
116972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11698
11699 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11700 commands. Quote $PWD.
11701 (blacklist_exports): Don't use remove_newlines. Replace "declare
11702 -x" by "export".
11703 (remove_newlines): Remove.
11704
f62c8abc
L
117052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11708 * stdlib/stdlib.h (atof): Moved to ...
11709 * include/bits/stdlib-float.h: Here. New file.
11710 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11711 * stdlib/bits/stdlib-float.h: New file.
11712 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11713 -mno-sse -mno-mmx.
11714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11715 <xmmintrin.h>.
11716
0155d5b2
JM
117172012-11-02 Joseph Myers <joseph@codesourcery.com>
11718
a68d0680
JM
11719 * conform/conformtest.pl (@headers): Add fenv.h.
11720 * conform/data/fenv.h-data: New file.
11721 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11722 include of <math/fenv.h>.
11723
caf7f573
JM
11724 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11725 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11726 && !UNIX98]. Enables tests for XOPEN2K8.
11727 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11728 POSIX2008]: Likewise.
11729
6c073ad6
JM
11730 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11731 (struct rusage): Do not expect type or its members.
11732
0155d5b2
JM
11733 [BZ #3439]
11734 * math/math.h (FP_NAN): Define macro to integer constant usable in
11735 #if and use that to give value to enum constant.
11736 (FP_INFINITE): Likewise.
11737 (FP_ZERO): Likewise.
11738 (FP_SUBNORMAL): Likewise.
11739 (FP_NORMAL): Likewise.
11740
b5dcacb4
AS
117412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11742
11743 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11744 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11745 arguments.
11746
f7934be8
RM
117472012-11-02 Roland McGrath <roland@hack.frob.com>
11748
11749 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11750 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11751 autoconf-time if not.
11752 * configure.in: Remove AC_PREREQ.
11753
d7d08bde
TMQMF
117542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11755
11756 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11757 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11758 of the internal implementation.
11759
dcdae19a
JM
117602012-11-02 Joseph Myers <joseph@codesourcery.com>
11761
11762 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11763 except include of <misc/sys/syslog.h>.
11764
d6cffd3e
AS
117652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11766
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11768 function returns with a NULL context exit with zero.
11769
b3563932
TMQMF
117702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11771
11772 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11773
b288a93d
L
117742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11777 (run_program_cmd): This.
11778 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11779 (tst_langinfo): New variable. Use it.
11780
a2421a68
SAS
117812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11782
11783 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11784 floating point opcodes.
11785
6f796e1b
TS
117862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11787
7402596b
TS
11788 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11789 variable.
11790
d0d4f868
TS
11791 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11792
6f796e1b
TS
11793 * sysdeps/mach/hurd/powerpc: Remove directory.
11794 * sysdeps/mach/powerpc: Likewise.
11795
4da224a2
AS
117962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11797
11798 * scripts/check-local-headers.sh: Ignore c++ headers.
11799
341dd673
TS
118002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11801
11802 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11803 __libc_cleanup_region_start argument.
11804
473611b2
JM
118052012-11-01 Joseph Myers <joseph@codesourcery.com>
11806
11807 [BZ #14784]
11808 [BZ #14785]
11809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11810 x * y using scaling, not as x * y + z.
11811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11813 * math/libm-test.inc (fma_test): Add more tests.
11814 (fma_test_towardzero): Likewise.
11815 (fma_test_downward): Likewise.
11816 (fma_test_upward): Likewise.
11817
4078da3d
TS
118182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11819
11820 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11821
903252aa
JM
118222012-10-31 Joseph Myers <joseph@codesourcery.com>
11823
11824 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11825 New variable.
11826
cbc818d0
TS
118272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11828
11829 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11830
5a03cb1e
AS
118312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11832
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11834 Fix sort order.
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11836 Likewise.
11837
90aff2ff
TMQMF
118382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11839
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11841 Fix the order of the list for glibc 2.17.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11843 Likewise.
11844
1818fcb7
AS
118452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11846
11847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11848
ef82f4da
JM
118492012-10-31 Joseph Myers <joseph@codesourcery.com>
11850
16a0e2ec
JM
11851 [BZ #14610]
11852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11853 for low part of x being zero before using __atanl (y).
11854 * math/libm-test.inc (atan2_test): Add another test.
11855
0eb69512
JM
11856 * manual/install.texi (Configuring and compiling): Document
11857 general use of test-wrapper and test-wrapper-env.
11858 * INSTALL: Regenerated.
11859
ef82f4da
JM
11860 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11861 (__fma): Do not extract and scale down low bits on after-rounding
11862 systems when result rounded to normal precision would have normal
11863 exponent.
11864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11865 (__fmal): Do not extract and scale down low bits on after-rounding
11866 systems when result rounded to normal precision would have normal
11867 exponent.
11868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11869 (__fmal): Do not extract and scale down low bits on after-rounding
11870 systems when result rounded to normal precision would have normal
11871 exponent.
11872 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11873 macro.
11874 (fma_test): Add more tests.
11875 (fma_test_towardzero): Likewise.
11876 (fma_test_downward): Likewise.
11877 (fma_test_upward): Likewise.
11878
954ef0d9
L
118792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * sysdeps/i386/tininess.h: Renamed to ...
11882 * sysdeps/x86/tininess.h: This.
11883 * sysdeps/x86_64/tininess.h: Removed.
11884
df61ffb2
JM
118852012-10-30 Joseph Myers <joseph@codesourcery.com>
11886
11887 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11888 input. Use $(build-program-cmd).
11889 ($(objpfx)tst-array1-static.out): Likewise.
11890 ($(objpfx)tst-array2.out): Likewise.
11891 ($(objpfx)tst-array3.out): Likewise.
11892 ($(objpfx)tst-array4.out): Likewise.
11893 ($(objpfx)tst-array5.out): Likewise.
11894 ($(objpfx)tst-array5-static.out): Likewise.
11895
01767843
CM
118962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11897
47cc1490
CM
11898 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11899 if defined.
11900
01767843
CM
11901 * nss/nsswitch.h (nss_interface_function): Provide new
11902 macro for use with NSS functions.
11903 * grp/initgroups.c: Use new macro.
11904 * nss/getXXbyYY.c: Likewise.
11905 * nss/getXXbyYY_r.c: Likewise.
11906 * nss/getXXent.c: Likewise.
11907 * nss/getXXent_r.c: Likewise.
11908 * sysdeps/posix/getaddrinfo.c: Likewise.
11909
8321aa97
AJ
119102012-10-30 Andreas Jaeger <aj@suse.de>
11911
11912 * po/ru.po: Update Russion translation from translation project.
11913
2a27fd6d
JM
119142012-10-30 Joseph Myers <joseph@codesourcery.com>
11915
8627a232
JM
11916 [BZ #14152]
11917 [BZ #14783]
11918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11919 result and shift together with sticky bit instead of replicating
11920 round-to-nearest rounding.
11921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11923 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11924 missing underflow exceptions.
11925 (fma_test_towardzero): Add more tests.
11926 (fma_test_downward): Likewise.
11927 (fma_test_upward): Likewise.
11928
2a27fd6d
JM
11929 [BZ #14047]
11930 * sysdeps/generic/tininess.h: New file.
11931 * sysdeps/i386/tininess.h: Likewise.
11932 * sysdeps/sh/tininess.h: Likewise.
11933 * sysdeps/x86_64/tininess.h: Likewise.
11934 * stdlib/tst-strtod-underflow.c: Likewise.
11935 * stdlib/tst-tininess.c: Likewise.
11936 * stdlib/strtod_l.c: Include <tininess.h>.
11937 (round_and_return): Do not set errno for exact underflow cases.
11938 Force an underflow exception when setting errno for underflow.
11939 Determine underflow based on rounding to normal precision if
11940 TININESS_AFTER_ROUNDING.
11941 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11942 ERANGE for exact underflow cases.
11943 * stdlib/Makefile (tests): Add tst-tininess and
11944 tst-strtod-underflow.
11945 ($(objpfx)tst-tininess): Use $(link-libm).
11946 ($(objpfx)tst-strtod-underflow): Likewise.
11947
e7170363
AJ
119482012-10-30 Andreas Jaeger <aj@suse.de>
11949
e5088dc6
AJ
11950 [BZ#14767]
11951 * elf/Makefile (tests): Remove conditional for have-initfini-array
11952 since this is now always required and the variable does not exist
11953 anymore.
11954 (tests-static): Likewise.
11955 (modules-names): Likewise.
11956
e7170363 11957 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11958
11959 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11960 merged with constructor/destructor.
11961 (init_array): Likewise.
11962 * elf/tst-array2dep.c (fini_array): Likewise.
11963 (init_array): Likewise.
11964
60457d8a
MF
119652012-10-29 Mike Frysinger <vapier@gentoo.org>
11966
11967 * manual/message.texi: Delete @cartouche tags.
11968
8bece752
PT
119692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11970
94ce799f
PT
11971 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11972 EOPNOTSUPP.
11973 * sysdeps/mach/hurd/fsync.c: Likewise.
11974
8bece752
PT
11975 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11976 [_POSIX_REALTIME_SIGNALS]: Change condition to
11977 [_POSIX_REALTIME_SIGNALS > 0].
11978
86ebe6b1
AJ
119792012-10-27 Andreas Jaeger <aj@suse.de>
11980
11981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11982 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11984 [__WORDSIZE != 64]: Likewise.
11985
54399c08
L
119862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 * iconvdata/tst-table.sh: Remove ${SHELL}.
11989 * iconvdata/tst-tables.sh: Likewise.
11990
e2211bed
DM
119912012-10-25 David S. Miller <davem@davemloft.net>
11992
11993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11994 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11995 of strtoull.
11996
f303f97c
DM
11997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11998 ifunc-impl-list.c
11999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12000 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12001 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12002 file.
12003
1e9d84cd
RM
120042012-10-25 Roland McGrath <roland@hack.frob.com>
12005
12006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12007 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12008 __getdirentries.
12009
df381762
JM
120102012-10-25 Joseph Myers <joseph@codesourcery.com>
12011 Jim Blandy <jimb@codesourcery.com>
12012
12013 * scripts/cross-test-ssh.sh: New file.
12014 * manual/install.texi (Configuring and compiling): Document use of
12015 cross-test-ssh.sh.
12016 * INSTALL: Regenerated.
12017
bff64913
PT
120182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12019
12020 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12021 EOPNOTSUPP.
12022
25fe8932
JM
120232012-10-25 Joseph Myers <joseph@codesourcery.com>
12024
12025 * Makeconfig (run-program-prefix): Fix comment.
12026
cc1290d0
JM
120272012-10-24 Joseph Myers <joseph@codesourcery.com>
12028 Jim Blandy <jimb@codesourcery.com>
12029
12030 * Makeconfig (test-wrapper): New variable,
12031 (test-wrapper-env): Likewise.
12032 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12033 (run-built-tests): Define to yes.
12034 (run-program-prefix): Use $(test-wrapper).
12035 (built-program-cmd): Likewise.
12036 * Rules (make-test-out): Use $(test-wrapper-env) and
12037 $(host-built-program-cmd).
12038 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12039 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12040 tst-pathopt.sh.
12041 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12042 $(test-wrapper-env) to tst-rtld-load-self.sh.
12043 ($(objpfx)order2.out): Use $(test-wrapper).
12044 ($(objpfx)tst-initorder.out): Likewise.
12045 ($(objpfx)tst-initorder2.out): Likewise.
12046 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12047 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12048 (test_wrapper_env): New variable. Use it to run ld.so.
12049 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12050 Use it to run ld.so.
12051 (test_wrapper_env): Likewise.
12052 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12053 $(test-wrapper) to run-iconv-test.sh.
12054 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12055 (ICONV): Use $test_wrapper.
12056 * posix/Makefile ($(objpfx)globtest.out): Pass
12057 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12058 globtest.sh, not $(run-program-prefix).
12059 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12060 (test_wrapper): Likewise.
12061 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12062 set together with run_via_rtld_prefix.
12063 (run_program_prefix): Define in terms of test_wrapper and
12064 run_via_rtld_prefix.
12065
6e6249d0
RM
120662012-10-24 Roland McGrath <roland@hack.frob.com>
12067
12068 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12069 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12070 Targets removed.
12071
12072 [BZ #14743]
12073 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12074 Declare __clock_getres, __clock_gettime, __clock_settime,
12075 __clock_nanosleep, and __clock_getcpuclockid.
12076 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12077 Remove librt_hidden_def (clock_gettime).
12078 * sysdeps/unix/clock_gettime.c: Likewise.
12079 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12081 * rt/clock_getres.c: Define __clock_getres as an alias.
12082 * sysdeps/posix/clock_getres.c: Likewise.
12083 * rt/clock_settime.c: Define __clock_settime as an alias.
12084 * sysdeps/unix/clock_settime.c: Likewise.
12085 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12086 * sysdeps/unix/clock_nanosleep.c: Likewise.
12087 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12088 * rt/clock-compat.c: New file.
12089 * rt/Makefile (librt-routines): Add clock-compat and move
12090 $(clock-routines) to ...
12091 (routines): ... here, new variable.
12092 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12093 Don't add get_clockfreq here.
12094 * rt/Versions (libc: GLIBC_2.17): New version set.
12095 Add clock_* symbols here.
12096 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12098 (GLIBC_2.17): Add clock_* symbols.
12099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12103 Likewise.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12105 Likewise.
12106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12110 * NEWS: Mention the move.
12111
12112 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12113 Use __open, __read, __close rather than their public counterparts.
12114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12115 (__get_clockfreq_via_cpuinfo): Likewise.
12116 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12117 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12118
12119 * config.h.in (HAVE_IFUNC): New #undef.
12120 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12121 was successful.
12122 * configure: Regenerated.
12123
0cae3f4b
MF
121242012-10-24 Mike Frysinger <vapier@gentoo.org>
12125
12126 * configure.in: Move READELF check to start of file.
12127 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12128 libc_cv_asm_gnu_indirect_function in the process.
12129 * configure: Regenerated.
12130
8175a253
MF
121312012-10-24 Mike Frysinger <vapier@gentoo.org>
12132
12133 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12134 send the output to /dev/null.
12135 (libc_cv_cc_with_libunwind): Likewise.
12136 (libc_cv_as_noexecstack): Likewise.
12137 * configure: Regenerate.
12138
0708a7d1
JM
121392012-10-24 Joseph Myers <joseph@codesourcery.com>
12140
10b40d85
JM
12141 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12142
0708a7d1
JM
12143 * posix/globtest.sh (TMPDIR): Do not set.
12144 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12145 (testout): Likewise.
12146
9fddec1a
AJ
121472012-10-24 Andreas Jaeger <aj@suse.de>
12148
3a8db22f
AJ
12149 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12150 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12151 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12152 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12153 posix_fadvise64, posix_fallocate64.
12154
9fddec1a
AJ
12155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12156 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12157 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12158 Likewise.
12159 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12160 Likewise.
12161 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12162
12163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12164 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12165 <bits/fcntl-linux.h>.
12166 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12167
12168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12169 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12170 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12171 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12172 [__WORDSIZE != 64]: Likewise.
12173
ebfd1bbd
JM
121742012-10-23 Joseph Myers <joseph@codesourcery.com>
12175
03ac099f
JM
12176 * Makeconfig (run-built-tests): New variable.
12177 * Rules [$(cross-compiling) = yes]: Change condition to
12178 [$(run-built-tests) = no].
12179 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12180 to [$(run-built-tests) = yes].
12181 * elf/Makefile [$(cross-compiling) = no]: Likewise
12182 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12183 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12184 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12185 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12186 * io/Makefile [$(cross-compiling) = no]: Likewise.
12187 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12188 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12189 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12190 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12191 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12192 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12193 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12194 * string/Makefile [$(cross-compiling) = no]: Likewise.
12195
ebfd1bbd
JM
12196 * posix/Makefile ($(objpfx)globtest.out): Pass
12197 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12198 $(rtld-installed-name).
12199 * posix/globtest.sh (elf_objpfx): Remove variable.
12200 (rtld_installed_name): Likewise.
12201 (library_path): Likewise.
12202 (run_program_prefix): New variable. Use for running globtest
12203 binary.
12204
166bca24
JB
122052012-10-23 Jim Blandy <jimb@codesourcery.com>
12206 Joseph Myers <joseph@codesourcery.com>
12207
12208 * Makeconfig (host-built-program-cmd): New variable.
12209 * elf/Makefile (tst-stackguard1-ARGS): Use
12210 $(host-built-program-cmd).
12211 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12212 (tst-spawn-ARGS): Likewise.
12213 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12214
88866099
JM
122152012-10-23 Joseph Myers <joseph@codesourcery.com>
12216 Jim Blandy <jimb@codesourcery.com>
12217
12218 * Makeconfig (run-via-rtld-prefix): New variable.
12219 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12220 (built-program-cmd): Likewise.
12221
b4b4c296
AJ
122222012-10-22 Andreas Jaeger <aj@suse.de>
12223
12224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12225 __O_RSYNC if it exists, otherwise to O_SYNC.
12226
6fb54a22
JB
122272012-10-22 Jim Blandy <jimb@codesourcery.com>
12228 Joseph Myers <joseph@codesourcery.com>
12229
12230 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12231 /dev/null.
12232 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12233 from /dev/null
12234 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12235 /dev/null.
12236
481b90b9
AJ
122372012-10-22 Andreas Jaeger <aj@suse.de>
12238
2a0e2669
AJ
12239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12240 Define always.
12241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12242
76e38f9a
AJ
12243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12244 bits/fcntl-linux.h.
12245
7cd37b43
AJ
12246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12247 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12248
481b90b9
AJ
12249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12250 to __O_LARGEFILE.
12251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12252 to __O_LARGEFILE.
12253
aba75984
JB
122542012-10-21 Jim Blandy <jimb@codesourcery.com>
12255 Joseph Myers <joseph@codesourcery.com>
12256
12257 * config.make.in (NM): New variable.
12258
88d4247f
AJ
122592012-10-21 Andreas Jaeger <aj@suse.de>
12260
12261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12262 definitions and declarations that are provided by
12263 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12264
f2eed205
L
122652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 [BZ #14683]
12268 * elf/Makefile (tests-static): Add tst-leaks1-static.
12269 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12270 ($(objpfx)tst-leaks1-static): New rule.
12271 ($(objpfx)tst-leaks1-static-mem): Likewise.
12272 (tst-leaks1-static-ENV): New macro.
12273 * elf/dl-open.c (dl_open_worker): Check the main application
12274 only if SHARED is defined.
12275 * elf/tst-leaks1-static.c: New file.
12276
335e6931
AJ
122772012-10-20 Andreas Jaeger <aj@suse.de>
12278
12279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12280 generic values for Linux.
12281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12282 and declarations that are provided by <bits/fcntl-linux.h> and
12283 include <bits/fcntl-linux.h>.
12284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12286
ac5c94d3
RM
122872012-10-20 Roland McGrath <roland@hack.frob.com>
12288
12289 * io/fcntl.h: Move include of <bits/types.h> to the top and
12290 include it unconditionally.
12291
de54b33a
L
122922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12293
228cfb01
L
12294 * wcsmbs/Makefile (tests-ifunc): New variable.
12295 (tests): Add $(tests-ifunc).
12296 * wcsmbs/test-wcschr-ifunc.c: New file.
12297 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12298 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12299 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12300 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12301 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12302
69f07e5f
L
12303 * string/Makefile (tests-ifunc): New variable.
12304 (tests): Add $(tests-ifunc).
12305 * string/test-memccpy.c (TEST_NAME): New macro.
12306 * string/test-memchr.c (TEST_NAME): Likewise.
12307 * string/test-memcmp.c (TEST_NAME): Likewise.
12308 * string/test-memcpy.c (TEST_NAME): Likewise.
12309 * string/test-memmem.c (TEST_NAME): Likewise.
12310 * string/test-memmove.c (TEST_NAME): Likewise.
12311 * string/test-memset.c (TEST_NAME): Likewise.
12312 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12313 * string/test-stpcpy.c (TEST_NAME): Likewise.
12314 * string/test-stpncpy.c (TEST_NAME): Likewise.
12315 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12316 * string/test-strcasestr.c (TEST_NAME): Likewise.
12317 * string/test-strcat.c (TEST_NAME): Likewise.
12318 * string/test-strchr.c (TEST_NAME): Likewise.
12319 * string/test-strcmp.c(TEST_NAME): Likewise.
12320 * string/test-strcpy.c (TEST_NAME): Likewise.
12321 * string/test-strcspn.c (TEST_NAME): Likewise.
12322 * string/test-strlen.c (TEST_NAME): Likewise.
12323 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12324 * string/test-strncmp.c (TEST_NAME): Likewise.
12325 * string/test-strncpy.c (TEST_NAME): Likewise.
12326 * string/test-strnlen.c (TEST_NAME): Likewise.
12327 * string/test-strpbrk.c (TEST_NAME): Likewise.
12328 * string/test-strrchr.c (TEST_NAME): Likewise.
12329 * string/test-strspn.c (TEST_NAME): Likewise.
12330 * string/test-strstr.c (TEST_NAME): Likewise.
12331 * string/test-bcopy-ifunc.c: New file.
12332 * string/test-bzero-ifunc.c: Likewise.
12333 * string/test-memccpy-ifunc.c: Likewise.
12334 * string/test-memchr-ifunc.c: Likewise.
12335 * string/test-memcmp-ifunc.c: Likewise.
12336 * string/test-memcpy-ifunc.c: Likewise.
12337 * string/test-memmem-ifunc.c: Likewise.
12338 * string/test-memmove-ifunc.c: Likewise.
12339 * string/test-mempcpy-ifunc.c: Likewise.
12340 * string/test-memset-ifunc.c: Likewise.
12341 * string/test-rawmemchr-ifunc.c: Likewise.
12342 * string/test-stpcpy-ifunc.c: Likewise.
12343 * string/test-stpncpy-ifunc.c: Likewise.
12344 * string/test-strcasecmp-ifunc.c: Likewise.
12345 * string/test-strcasestr-ifunc.c: Likewise.
12346 * string/test-strcat-ifunc.c: Likewise.
12347 * string/test-strchr-ifunc.c: Likewise.
12348 * string/test-strchrnul-ifunc.c: Likewise.
12349 * string/test-strcmp-ifunc.c: Likewise.
12350 * string/test-strcpy-ifunc.c: Likewise.
12351 * string/test-strcspn-ifunc.c: Likewise.
12352 * string/test-strlen-ifunc.c: Likewise.
12353 * string/test-strncasecmp-ifunc.c: Likewise.
12354 * string/test-strncat-ifunc.c: Likewise.
12355 * string/test-strncmp-ifunc.c: Likewise.
12356 * string/test-strncpy-ifunc.c: Likewise.
12357 * string/test-strnlen-ifunc.c: Likewise.
12358 * string/test-strpbrk-ifunc.c: Likewise.
12359 * string/test-strrchr-ifunc.c: Likewise.
12360 * string/test-strspn-ifunc.c: Likewise.
12361 * string/test-strstr-ifunc.c: Likewise.
12362
de54b33a
L
12363 * debug/Makefile (tests-ifunc): New variable.
12364 (tests): Add $(tests-ifunc).
12365 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12366 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12367 * debug/test-stpcpy_chk-ifunc.c: New file.
12368 * debug/test-strcpy_chk-ifunc.c: Likewise.
12369
88481c16
SP
123702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12371
12372 [BZ #13601]
12373 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12374 header is not read in.
12375
135948bd
JM
123762012-10-19 Joseph Myers <joseph@codesourcery.com>
12377
89f1c388
JM
12378 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12379 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12380 directly. Pass built executable to script as
12381 $(built-program-cmd).
12382 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12383 $testprogram without using LD_LIBRARY_PATH and $ldso.
12384
e40a0d21
JM
12385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12386 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12387 $(rtld-installed-name).
12388 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12389 (rtld_installed_name): Likewise.
12390 (library_path): Likewise.
12391 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12393 $(run-program-prefix) to tst-tables.sh.
12394 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12395 it to run tst-table-from and tst-table-to.
12396 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12397 Pass it to tst-table.sh.
12398 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12399 $(run-program-prefix) to tst-gettext.sh.
12400 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12401 tst-translit.sh.
12402 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12403 tst-gettext2.sh.
12404 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12405 to run tst-gettext.
12406 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12407 to run tst-gettext2.
12408 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12409 to run tst-translit.
12410 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12411 $(run-program-prefix) to tst-mtrace.sh.
12412 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12413 to run tst-mtrace.
12414 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12415 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12416 $(rtld-installed-name).
12417 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12418 (rtld_installed_name): Likewise.
12419 (run_program_prefix): New variable. Use it to run wordexp-test.
12420
728e272a
JM
12421 * Makeconfig (ARCH): Remove all definitions.
12422 (machine): Likewise.
12423 [ARCH]: Remove conditional code.
12424 [!objdir]: Give error.
12425 [!objdir] (objpfx): Remove.
12426 [!objdir] (common-objpfx): Likewise.
12427 [!objdir] (common-objdir): Likewise.
12428 * configure.in (config_makefile): Remove. Hardcode Makefile in
12429 AC_CONFIG_FILES call.
12430 * configure: Regenerated.
12431
d528cdcf
JM
12432 [BZ #13888]
12433 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12434 or TMPDIR.
12435 (testout): Likewise.
12436
135948bd
JM
12437 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12438 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12439 $(rtld-installed-name).
12440 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12441 (rtld_installed_name): Likwise.
12442 (runit): Remove function.
12443 (run_getconf): New variable, Use it for running getconf binary.
12444
38c78296
L
124452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 [BZ #14716]
12448 * string/test-memmem.c (check_result): New function.
12449 (do_one_test): Use it.
12450 (check1): New function.
12451 (test_main): Use it.
12452
d077f65f
MT
124532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12454
12455 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12456
ced52c71
JM
124572012-10-18 Joseph Myers <joseph@codesourcery.com>
12458
12459 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12460 (_G_LSEEK64): Likewise.
12461 (_G_MMAP64): Likewise.
12462 (_G_FSTAT64): Likewise.
12463 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12464 (_G_LSEEK64): Likewise.
12465 (_G_MMAP64): Likewise.
12466 (_G_FSTAT64): Likewise.
12467 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12468 unconditional. Call __mmap64 directly.
12469 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12470 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12471 __lseek64 directly.
12472 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12473 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12474 __mmap64 directly.
12475 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12476 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12477 __lseek64 directly.
12478 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12479 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12480 __lseek64 directly.
12481 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12482 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12483 __lseek64 directly.
12484 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12485 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12486 __fxstat64 directly.
12487 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12488 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12489 unconditional.
12490 (freopen64) [!_G_OPEN64]: Remove conditional code.
12491 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12492 unconditional.
12493 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12494 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12495 unconditional.
12496 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12497 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12498 unconditional.
12499 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12500 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12501 unconditional.
12502 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12503 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12504 unconditional.
12505 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12506 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12507 unconditional.
12508 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12509 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12510 unconditional.
12511 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12512
b741de23
SP
125132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12514
12515 [BZ #12140]
12516 * manual/memory.texi (Malloc Tunable Parameters): Add note
12517 about free list pointers overwriting some perturb bytes.
12518 Wording suggested by Roland McGrath.
12519
f9b9d9c9
JM
125202012-10-17 Joseph Myers <joseph@codesourcery.com>
12521
12522 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12523 (lgamma_test): Likewise.
12524 (tgamma_test): Likewise.
12525
172a631a
FW
125262012-10-16 Florian Weimer <fweimer@redhat.com>
12527
12528 [BZ #14700]
12529 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12530 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12531
e9f37252
MK
125322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12533
12534 * NEWS: Mention BZ #14716.
12535 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12536 when removing AVAILABLE1_USES_J macro.
12537
d394eb74
L
125382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12539
12540 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12541 (__bswap_64): __uint64_t for unsigned 64-bit int.
12542
ca38dc17
AS
125432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12544
12545 * include/string.h (memmem): Declare libc hidden alias.
12546 * string/memmem.c (memmem): Define libc hidden alias.
12547 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12548 __read, __close instead of open, read, close.
12549
9a387d1f
L
125502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12551
ac49ecaf
L
12552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12553 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12554 global and hidden.
12555 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12556 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12557 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12558 Likewise.
12559 (__rawmemchr_sse2): Likewise.
12560 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12561 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12562 (__strchr_sse2): Likewise.
12563 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12564 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12565 (__strcasecmp_sse2): Likewise.
12566 (__strncasecmp_sse2): Likewise.
12567 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12568 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12569 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12570 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12571 (__strrchr_sse2): Likewise.
12572 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12573 ifunc-impl-list.c.
12574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12578 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12579 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12582 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12583 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12584 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12585 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12586 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12587 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12588 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12589 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12590 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12591 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12592 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12593 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12594 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12595 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12596 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12597 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12598 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12600 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12602 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12603 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12604
b090e8ea
L
12605 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12606 global and hidden.
12607 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12608 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12609 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12610 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12611 Likewise.
12612 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12613 Likewise.
12614 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12615 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12616 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12617 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12618 ifunc-impl-list.c.
12619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12632 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12633 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12636 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12644 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12645 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12646 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12647 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12648 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12649 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12650 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12651 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12652 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12659 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12660
11dd4af6
L
12661 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12662 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12663 * include/ifunc-impl-list.h: New file.
12664 * misc/ifunc-impl-list.c: Likewise.
12665 * misc/Makefile (routines): Add ifunc-impl-list.
12666 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12667 * string/test-string.h: Include <ifunc-impl-list.h>.
12668 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12669 impl_array): New variables.
12670 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12671 are defined.
12672 (test_init): Call __libc_ifunc_impl_list to initialize
12673 func_list if TEST_IFUNC and TEST_NAME are defined.
12674
9a387d1f
L
12675 * string/Makefile (strop-tests): Add bcopy and bzero.
12676 * string/test-bcopy.c: New file.
12677 * string/test-bzero.c: Likewise.
12678 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12679 defined.
12680 * string/test-memset.c: Support bzero test if TEST_BZERO is
12681 defined.
12682 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12683 __libc_memmove.
12684 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12685 __libc_memset.
12686 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12687 of memset.
12688
472371b9
JM
126892012-10-10 Joseph Myers <joseph@codesourcery.com>
12690
1e4a9536
JM
12691 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12692 * configure: Regenerated.
12693
d173d12e
JM
12694 * Makeconfig (+link-static-before-libc): Don't include
12695 $(link-static-libc).
12696
472371b9
JM
12697 * libio/libio.h (_IO_pos_t): Remove.
12698
89a3ad0b
AO
126992012-10-10 Alexandre Oliva <aoliva@redhat.com>
12700
12701 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12702 McGrath.
12703
e7451425
AO
127042012-10-10 Alexandre Oliva <aoliva@redhat.com>
12705
12706 * crypt/crypt-entry.c: Include fips-private.h.
12707 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12708 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12709 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12710 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12711
4ba74a35
AO
127122012-10-10 Alexandre Oliva <aoliva@redhat.com>
12713
12714 * crypt/crypt-private.h: Include stdbool.h.
12715 (_ufc_setup_salt_r): Return bool.
12716 * crypt/crypt-entry.c: Include errno.h.
12717 (__crypt_r): Return NULL with EINVAL for bad salt.
12718 * crypt/crypt_util.c (bad_for_salt): New.
12719 (_ufc_setup_salt_r): Check that salt is long enough and within
12720 the specified alphabet.
12721 * crypt/badsalttest.c: New file.
12722 * crypt/Makefile (tests): Add it.
12723 ($(objpfx)badsalttest): New.
12724
f96f1242
MK
127252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12726
12727 * NEWS: Add entry for BZ #14602.
12728
0e8e0c1c
JM
127292012-10-09 Joseph Myers <joseph@codesourcery.com>
12730
12731 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12732 type-generic.
12733 * math/libm-test.inc: Update comment listing what functions and
12734 macros are tested.
12735 (isgreater_test): New function.
12736 (isgreaterequal_test): Likewise.
12737 (isless_test): Likewise.
12738 (islessequal_test): Likewise.
12739 (islessgreater_test): Likewise.
12740 (isunordered_test): Likewise.
12741 (main): Call the new functions.
12742
273edc5e
RM
127432012-10-09 Roland McGrath <roland@hack.frob.com>
12744
b8493de0
RM
12745 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12746 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12747 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12748 * sysdeps/i386/configure: Regenerated.
12749 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12750 * sysdeps/mach/configure: Regenerated.
12751 * sysdeps/mach/hurd/configure: Regenerated.
12752 * sysdeps/powerpc/configure: Regenerated.
12753 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12754 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12755 * sysdeps/s390/s390-32/configure: Regenerated.
12756 * sysdeps/s390/s390-64/configure: Regenerated.
12757 * sysdeps/sh/configure: Regenerated.
12758 * sysdeps/sparc/configure: Regenerated.
12759 * sysdeps/unix/sysv/linux/configure: Regenerated.
12760 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12761 * sysdeps/x86_64/configure: Regenerated.
12762
273edc5e
RM
12763 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12764 defined. Don't check if MAP is NULL.
12765
c8450f70
JM
127662012-10-09 Joseph Myers <joseph@codesourcery.com>
12767
12768 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12769 (_G_stat64): Likewise.
12770 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12771 (_G_stat64): Likewise.
12772 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12773 instead of struct _G_stat64.
12774 * libio/fileops.c (mmap_remap_check): Likewise.
12775 (decide_maybe_mmap): Likewise.
12776 (_IO_new_file_seekoff): Likewise.
12777 (_IO_file_stat): Likewise.
12778 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12779 _G_off64_t.
12780 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12781 instead of struct _G_stat64.
12782 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12783
57e605ba
MK
127842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12785
12786 [BZ #14602]
12787 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12788 Replace with ...
12789 (CHECK_EOL): New macro.
12790 (two_way_short_needle): Check beginning of haystack for EOL. Use
12791 CHECK_EOL.
12792 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12793 Replace with CHECK_EOL.
12794 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12795 Replace with CHECK_EOL.
12796
ef1bb361
JM
127972012-10-08 Joseph Myers <joseph@codesourcery.com>
12798
12799 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12800 type-generic.
12801 * math/libm-test.inc: Update comment listing what functions and
12802 macros are tested.
12803 (finite_test): New function.
12804 (isinf_test): Likewise.
12805 (isnan_test): Likewise.
12806 (fpclassify_test): Test subnormal input.
12807 (isfinite_test): Likewise.
12808 (isnormal_test): Likewise.
12809 (main): Call the new functions.
12810
55f11534
JN
128112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12812
12813 [BZ #14660]
12814 * Makerules (%.dynsym): Force C locale when running
12815 $(OBJDUMP) --dynamic-syms.
12816
1ab29350
AS
128172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12818
12819 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12820 <stdint.h>.
12821
f1ecb7ef
DM
128222012-10-06 David S. Miller <davem@davemloft.net>
12823
12824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12825 upper 32-bits of the length value in %o2 since we use branch-on-register
12826 tests which consider the entire 64-bit register.
12827
5d41d91a
L
128282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12829
12830 * string/test-strstr.c (check2): Add a test for page boundary.
12831
3baddb72
DM
128322012-10-05 David S. Miller <davem@davemloft.net>
12833
12834 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12836 file.
12837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12838 sysdep_routines.
12839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12840 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12841 and bzero when HWCAP_SPARC_CRYPTO is present.
12842
9cee5585
L
128432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12844
d7e0dab9
L
12845 [BZ #14602]
12846 * string/test-strstr.c (check2): New function.
12847 (test_main): Call check2.
12848
03759f47
L
12849 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12850 and bug-strchr1.
12851 * string/bug-strcasestr1.c (do_test): Moved to ...
12852 * string/test-strcasestr.c (check1): Here. New function.
12853 (do_one_test): Break out result checking code into ...
12854 (check_result): This. New function.
12855 (do_one_test): Call check_result.
12856 (test_main): Call check1.
12857 * string/bug-strchr1.c (do_test): Moved to ...
12858 * string/test-strchr.c (check1): Here. New function.
12859 (do_one_test): Break out result checking code into ...
12860 (check_result): This. New function.
12861 (do_one_test): Call check_result.
12862 (test_main): Call check1.
12863 * string/bug-strstr1.c (main): Moved to ...
046f153e 12864 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12865 (do_one_test): Break out result checking code into ...
12866 (check_result): This. New function.
12867 (do_one_test): Call check_result.
12868 (test_main): Call check1.
12869 * string/bug-strcasestr1.c: Removed.
12870 * string/bug-strchr1.c: Likewise.
12871 * string/bug-strstr1.c: Likewise.
12872
53cea63e
L
12873 * elf/Makefile (dl-routines): Add hwcaps.
12874 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12875 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12876 (_dl_important_hwcaps): Moved to ...
12877 * elf/dl-hwcaps.c: Here. New file.
12878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12879
9cee5585 12880 [BZ #14557]
bb859b06
L
12881 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12882 if IS_IN_rtld isn't defined.
12883
9cee5585
L
12884 * elf/dl-support.c (_dl_sysinfo_map): New.
12885 Include "get-dynamic-info.h" and "setup-vdso.h".
12886 (_dl_non_dynamic_init): Call setup_vdso.
12887 * elf/dynamic-link.h: Don't include <assert.h>.
12888 (elf_get_dynamic_info): Moved to ...
12889 * elf/get-dynamic-info.h: Here. New file.
12890 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12891 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12892 * elf/setup-vdso.h: Here. New file.
12893 * elf/rtld.c: Include "setup-vdso.h".
12894 (dl_main): Call setup_vdso.
12895
23c31b76
JM
128962012-10-05 Joseph Myers <joseph@codesourcery.com>
12897
28234b07
JM
12898 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12899 creal in comment listing functions tested. List finite, isinf,
12900 isnan, isless, islessequal, isgreater, isgreaterequal,
12901 islessgreater, isunordered, lgamma_r and pow10 as functions and
12902 macros not tested. Mention which functions not tested are aliases
12903 for other functions. Fix typo. Note that signs of NaNs are not
12904 tested.
12905
23c31b76
JM
12906 * scripts/config.guess: Update from config.git.
12907 * scripts/config.sub: Likewise.
12908
9043e228
RM
129092012-10-04 Roland McGrath <roland@hack.frob.com>
12910
12911 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12912 * misc/madvise.c (madvise): Renamed to __madvise.
12913 Make madvise a weak alias.
12914 * include/sys/mman.h: Declare __madvise.
12915 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12916 * sysdeps/unix/syscalls.list
12917 (madvise): Make __madvise the strong name, and madvise a weak alias.
12918 * sysdeps/unix/sysv/linux/syscalls.list
12919 (madvise, mmap): Remove redundant entries.
12920 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12921 * malloc/malloc.c (mtrim): Likewise.
12922 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12923
f57f8055
RM
129242012-10-03 Roland McGrath <roland@hack.frob.com>
12925
12926 * sysdeps/mach/hurd/dl-cache.c: File removed.
12927 * config.h.in (USE_LDCONFIG): New #undef.
12928 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12929 * configure: Regenerated.
12930 * elf/Makefile (dl-routines): Add dl-cache only under
12931 [$(use-ldconfig) = yes].
12932 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12933 cache on [USE_LDCONFIG].
12934 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12935 [USE_LDCONFIG].
12936 * elf/rtld.c (dl_main): Likewise.
12937
5bb0c10a
PT
129382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12939
12940 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12941 _SC_LEVEL4_CACHE_LINESIZE.
12942
010188c6
RM
129432012-10-03 Roland McGrath <roland@hack.frob.com>
12944
12945 * sysdeps/unix/bsd/confstr.h: File removed.
12946
b6c5ec07
AO
129472012-10-02 Alexandre Oliva <aoliva@redhat.com>
12948
12949 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12950 sys/sdt-config.h.
12951
408223d4
RM
129522012-10-02 Roland McGrath <roland@hack.frob.com>
12953
12954 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12955 Make 'mapoff' field ElfW(Off) rather than off_t.
12956
bb9510dc
DL
129572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12958
fc997c6e
DL
12959 * nscd/Makefile: Remove nscd-cflags and all its users.
12960 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12961 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12962
bb9510dc
DL
12963 [BZ #10631]
12964 * malloc.c (malloc_printerr): Clarify error message.
12965
05699367
L
129662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 [BZ #14648]
12969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12970 Set bit_FMA_Usable if FMA is supported.
12971 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12972 macro.
12973 (bit_FMA4_Usable): Updated.
12974 (index_FMA_Usable): New macro.
12975 (CPUID_FMA): Likewise
12976 (HAS_FMA): Defined with bit_FMA_Usable.
12977
51367701
RM
129782012-10-01 Roland McGrath <roland@hack.frob.com>
12979
12980 * bits/types.h (__swblk_t): Type removed.
12981 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12982 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12984 (__SWBLK_T_TYPE): Likewise.
12985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12986 (__SWBLK_T_TYPE): Likewise.
12987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12988 (__SWBLK_T_TYPE): Likewise.
12989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12990 (__SWBLK_T_TYPE): Likewise.
12991
4d57bf63 129922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12993 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12994
12995 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12996 (xdr_mapname): Use YPMAXMAP as maxsize.
12997 (xdr_peername): Use YPMAXPEER as maxsize.
12998 (xdr_keydat): Use YPAXRECORD as maxsize.
12999 (xdr_valdat): Use YPMAXRECORD as maxsize.
13000
93c65d43
RM
130012012-10-01 Roland McGrath <roland@hack.frob.com>
13002
497a03d6
RM
13003 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13004
93c65d43
RM
13005 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13006 * csu/init-first.c: ... here.
13007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13008 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13011 * sysdeps/i386/init-first.c: File removed.
13012 * sysdeps/sh/init-first.c: File removed.
13013
bec749fd
JM
130142012-10-01 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #14645]
13017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13018 if x * y might underflow to zero and z is zero.
13019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13021 * math/libm-test.inc (min_subnorm_value): New variable.
13022 (fma_test): Add more tests.
13023 (fma_test_towardzero): Likewise.
13024 (fma_test_downward): Likewise
13025 (fma_test_upward): Likewise.
13026 (initialize): Set min_subnorm_value.
13027
8ec5b013
JM
130282012-09-29 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #14638]
13031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13032 0 + 0.
13033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13034 mode for addition resulting in exact zero.
13035 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13037 exact 0 + 0.
13038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13040 * math/libm-test.inc (fma_test): Add more tests.
13041 (fma_test_towardzero): New function.
13042 (fma_test_downward): Likewise.
13043 (fma_test_upward): Likewise.
13044 (main): Call the new functions.
13045
b1fa802e
DM
130462012-09-28 David S. Miller <davem@davemloft.net>
13047
13048 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13049
d3b9fd9e
RM
130502012-09-28 Roland McGrath <roland@hack.frob.com>
13051
ea4d37b3
RM
13052 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13053 instead of SIGALRM.
13054
ac51c949
RM
13055 * sysdeps/gnu/_G_config.h: Moved to ...
13056 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13057 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13058 * sysdeps/generic/_G_config.h: ... here.
13059
28c195f7
RM
13060 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13061
848917f9
RM
13062 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13063
6bacf05b
RM
13064 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13065 Conditionalize target on [libnss_test1.so-version].
13066
91363dbb
RM
13067 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13068
cc87f7d8
RM
13069 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13070 (elfobjdir): Move out of conditionals.
13071
b1c608fe
RM
13072 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13073 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13074 (__nss_lookup_function): Conditionalize label remove_from_tree on
13075 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13076
1d9a6d96
DM
130772012-09-28 David S. Miller <davem@davemloft.net>
13078
13079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13081 file.
13082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13083 sysdep_routines.
13084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13086 when HWCAP_SPARC_CRYPTO is present.
13087
72581615
PT
130882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13089
13090 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13091
715a900c
JL
130922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13093
13094 [BZ #6530]
13095 * stdio-common/vfprintf.c (process_string_arg): Revert
13096 2000-07-22 change.
13097
130982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13099
13100 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13101 for testcase.
13102 * stdio-common/tst-sprintf.c: Include <locale.h>
13103 (main): Test sprintf's handling of incomplete multibyte
13104 characters.
13105
9bac1d86
L
131062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 * elf/dl-runtime.c (VERSYMIDX): Removed.
13109 * elf/dl-version.c (VERSYMIDX): Likewise.
13110 * elf/do-rel.h (VERSYMIDX): Likewise.
13111 (VALIDX): Likewise.
13112 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13113 * elf/rtld.c (VALIDX): Likewise.
13114 (ADDRIDX): Likewise.
9bac1d86
L
13115 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13116 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13117 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13118 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13119 (VALIDX): Likewise.
13120 (ADDRIDX): Likewise.
9bac1d86 13121
b31606c0
PT
131222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13123
13124 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13125
11541177
JL
131262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13127
13128 [BZ #11438]
13129 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13130 to global scope.
13131 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13132 addresses are in the same scope as 192.0.2/24.
13133 * posix/gai.conf: Document new scope table defaults.
13134
adb26fae
SP
131352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13136
13137 [BZ #5298]
13138 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13139 for ftell. Compute offsets from write pointers instead.
13140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13141
4573c6b0
SP
131422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 [BZ #14543]
13145 * libio/Makefile (tests): New test case tst-fseek.
13146 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13147 combination works in wide mode.
13148 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13149 state when the external buffer state changes.
13150
aa9bbfe6
DM
131512012-09-27 David S. Miller <davem@davemloft.net>
13152
13153 [BZ #14376]
13154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13155 pass reloc->r_addend in as the 'high' argument to
13156 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13157
784421e7
DM
13158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13159
c39bc8b8
PT
131602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13161
13162 * rt/tst-aio2.c: Include <pthread.h>.
13163 * rt/tst-aio3.c: Likewise.
13164
1ccc2399
SE
131652012-09-27 Steve Ellcey <sellcey@mips.com>
13166
13167 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13168
31ed4153
L
131692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13170
25f5f885
L
13171 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13172 contents on [SHARED].
31ed4153 13173
b7bfe116
MP
131742012-09-26 Marek Polacek <polacek@redhat.com>
13175
13176 [BZ #14530]
13177 [BZ #13741]
13178 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13179 for C++ and GCC <4.3 as well as for non GCC compilers.
13180
43c4edba
MT
131812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13182
13183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13184
6a1bf82f
RM
131852012-09-25 Roland McGrath <roland@hack.frob.com>
13186
13187 * Makefile.in (all, install): Declare with .PHONY.
13188 Reported by Michael Hope <michael.hope@linaro.org>.
13189
8ad11b9a
TMQMF
131902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13191
13192 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13193 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13194 system header.
13195 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13196 Likewise.
13197 (sydep_routines): Add the new and the internal functions.
13198 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13199 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13201 (GLIBC_2.17): Add the new function.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13203 (GLIBC_2.17): Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13205 (GLIBC_2.17): Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13207 (GLIBC_2.17): Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13209
7e2fca8d
AM
132102012-09-25 Alan Modra <amodra@gmail.com>
13211
13212 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13213 Add release barrier before setting once_control to say
13214 initialisation is done. Add hints on lwarx. Use macro in
13215 place of isync.
13216 (clear_once_control): Add release barrier.
13217
b87c4b24
JM
132182012-09-25 Joseph Myers <joseph@codesourcery.com>
13219
d032e0d2
JM
13220 [BZ #13629]
13221 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13222 specially.
13223 * math/s_clog10.c (__clog10): Likewise.
13224 * math/s_clog10f.c (__clog10f): Likewise.
13225 * math/s_clog10l.c (__clog10l): Likewise.
13226 * math/s_clogf.c (__clogf): Likewise.
13227 * math/s_clogl.c (__clogl): Likewise.
13228 * math/Makefile (libm-calls): Add x2y2m1.
13229 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13230 (__x2y2m1): Likewise.
13231 (__x2y2m1l): Likewise.
13232 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13233 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13236 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13237 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13238 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13239 * sysdeps/i386/fpu/libm-test-ulps: Update.
13240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241
b87c4b24
JM
13242 [BZ #14621]
13243 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13244 int as type of variable DEPTH.
13245 (glob): Use size_t instead of int as type of variables NEWCOUNT
13246 and OLD_PATHC.
13247
6d3bf199
LD
132482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13249
22bf5c17
LD
13250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13251 Add s_sincosf-sse2.
13252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13254 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13255 macros for using routine as __sincosf_ia32.
13256 Use macro for function declaration and weak_alias.
13257 * sysdeps/i386/fpu/libm-test-ulps: Update.
13258
13259 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13261
13262 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13263 subnormal argument.
13264 * math/s_cexpf.c (__cexpf): Likewise.
13265 * math/s_csinf.c (__csinf): Likewise.
13266 * math/s_csinhf.c (__csinhf): Likewise.
13267 * math/s_ctanf.c (__ctanf): Likewise.
13268 * math/s_ctanhf.c (__ctanhf): Likewise.
13269 * math/s_ccosh.c (__ccoshf): Likewise.
13270 * math/s_cexp.c (__cexpl): Likewise.
13271 * math/s_csin.c (__csin): Likewise.
13272 * math/s_csinh.c (__csinh): Likewise.
13273 * math/s_ctan.c (__ctan): Likewise.
13274 * math/s_ctanh.c (ctanh): Likewise.
13275 * math/s_ccoshl.c (__ccoshl): Likewise.
13276 * math/s_cexpl.c (__cexpl): Likewise.
13277 * math/s_csinl.c (__csinl): Likewise.
13278 * math/s_csinhl.c (__csinhl): Likewise.
13279 * math/s_ctanl.c (__ctanl): Likewise.
13280 * math/s_ctanhl.c (__ctanhl): Likewise.
13281
203e5603
JM
132822012-09-25 Joseph Myers <joseph@codesourcery.com>
13283
13284 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13285 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13286 (_IO_off_t): Define to __off_t, not _G_off_t.
13287 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13288 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13289 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13290 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13291 type of __dummy and __dummy2 fields.
13292 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13293 (_G_ssize_t): Likewise.
13294 (_G_off_t): Likewise.
13295 (_G_pid_t): Likewise.
13296 (_G_uid_t): Likewise.
13297 (_G_wchar_t): Likewise.
13298 (_G_wint_t): Likewise.
13299 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13300 (_G_ssize_t): Likewise.
13301 (_G_off_t): Likewise.
13302 (_G_pid_t): Likewise.
13303 (_G_uid_t): Likewise.
13304 (_G_wchar_t): Likewise.
13305 (_G_wint_t): Likewise.
13306 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13307 (_G_ssize_t): Likewise.
13308 (_G_off_t): Likewise.
13309 (_G_pid_t): Likewise.
13310 (_G_uid_t): Likewise.
13311 (_G_wchar_t): Likewise.
13312 (_G_wint_t): Likewise.
13313
9fab36eb
SP
133142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13315
13316 * malloc/arena.c: Include malloc-sysdep.h.
13317 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13318 is sufficient to shrink the heap or an unmap is needed.
13319 * sysdeps/generic/malloc-sysdep.h: New file. Define
13320 new function check_may_shrink_heap.
13321 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13322 new function check_may_shrink_heap.
13323
2b4f00d1
SP
133242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13325
13326 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13327 comments.
13328
9a9028b1
DL
133292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13330
57c69bef
DL
13331 * catgets/test-gencat.sh: Add "set -e".
13332 * elf/tst-pathopt.sh: Likewise.
13333 * grp/tst_fgetgrent.sh: Likewise.
13334 * iconvdata/run-iconv-test.sh: Likewise.
13335 * intl/tst-gettext.sh: Likewise.
13336 * intl/tst-gettext2.sh: Likewise.
13337 * intl/tst-gettext4.sh: Likewise.
13338 * intl/tst-gettext6.sh: Likewise.
13339 * intl/tst-translit.sh: Likewise.
13340 * io/ftwtest-sh: Likewise.
13341 * libio/test-freopen.sh: Likewise.
13342 * malloc/tst-mtrace.sh: Likewise.
13343 * posix/globtest.sh: Likewise.
13344 * posix/tst-getconf.sh: Likewise.
13345 * posix/wordexp-tst.sh: Likewise.
13346 * stdio-common/tst-printf.sh: Likewise.
13347 * stdio-common/tst-unbputc.sh: Likewise.
13348 * stdlib/tst-fmtmsg.sh: Likewise.
13349 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13350 * catgets/Makefile: Do not specify -e option when running
13351 testsuite shell scripts.
13352 * elf/Makefile: Likewise.
13353 * grp/Makefile: Likewise.
13354 * iconvdata/Makefile: Likewise.
13355 * intl/Makefile: Likewise.
13356 * io/Makefile: Likewise.
13357 * libio/Makefile: Likewise.
13358 * malloc/Makefile: Likewise.
13359 * posix/Makefile: Likewise.
13360 * stdio-common/Makefile: Likewise.
13361 * stdlib/Makefile: Likewise.
13362 * sysdeps/x86_64/Makefile: Likewise.
13363
9a9028b1
DL
13364 * io/ftwtest-sh: Add copyright header.
13365 * posix/globtest.sh: Likewise.
13366 * posix/tst-getconf.sh: Likewise.
13367 * posix/wordexp-tst.sh: Likewise.
13368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13369
ced6f16e
L
133702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13371
94b32c39
L
13372 [BZ #13679]
13373 * Makeconfig (+link): Defined as $(+link-static) if
13374 $(build-shared) isn't yes.
13375 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13376 isn't yes.
13377 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13378
189e935b
L
13379 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13380
ced6f16e
L
13381 [BZ #14562]
13382 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13383 new chunk size with MALLOC_ALIGN_MASK.
13384
a9f8e53a
JM
133852012-09-24 Joseph Myers <joseph@codesourcery.com>
13386
13387 [BZ #5044]
13388 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13389 <rounding-mode.h>.
13390 (__printf_fphex): Determine rounding using get_rounding_mode and
13391 round_away.
13392 * stdio-common/tst-printf-round.c (struct hex_test): New
13393 structure.
13394 (hex_tests): New variable.
13395 (test_hex_in_one_mode): New function.
13396 (do_test): Also run tests for hex float output.
13397
43153109
JM
133982012-09-21 Joseph Myers <joseph@codesourcery.com>
13399
13400 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13402 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13403 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13405 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13406 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13408
8a26625d
JM
134092012-09-20 Joseph Myers <joseph@codesourcery.com>
13410
13411 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13412 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13413 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13414 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13415
f3fd569c
DL
134162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13417
13418 [BZ #14579]
13419 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13420 mode only.
13421 * elf/tst-rtld-load-self.sh: New test.
13422 * elf/Makefile: Run it.
13423
63bbedd4
JM
134242012-09-18 Joseph Myers <joseph@codesourcery.com>
13425
13426 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13427 (tst-writev-ENV): Remove.
13428 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13429
626f8b6a
CM
134302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13431
13432 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13433
b7aaa4d6
JM
134342012-09-17 Joseph Myers <joseph@codesourcery.com>
13435
13436 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13437 unconditional.
13438 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13439 Likewise.
13440 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13441 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13443 Likewise.
13444
65513990
L
134452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 [BZ #14587]
13448 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13449 * config.make.in (have-cpp-asm-debuginfo): Removed.
13450 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13451 * configure: Regenerated.
13452
784761be
JM
134532012-09-14 Joseph Myers <joseph@codesourcery.com>
13454
13455 [BZ #5044]
13456 * stdio-common/printf_fp.c: Include <stdbool.h> and
13457 <rounding-mode.h>.
13458 (___printf_fp): Determine rounding using get_rounding_mode and
13459 round_away.
13460 * stdio-common/tst-printf-round.c: New file.
13461 * stdio-common/Makefile (tests): Add tst-printf-round.
13462 (link-libm): New variable.
13463 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13464
9503345f
L
134652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13466
13467 [BZ #14576]
13468 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13469 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13470 Likewise.
13471 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13472 Likewise.
13473
ad35fc00
JM
134742012-09-13 Joseph Myers <joseph@codesourcery.com>
13475
13476 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13477 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13478 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13480
6c9b0f68
JM
134812012-09-12 Joseph Myers <joseph@codesourcery.com>
13482
13483 [BZ #14518]
13484 * include/rounding-mode.h: New file.
13485 * sysdeps/generic/get-rounding-mode.h: Likewise.
13486 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13487 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13488 (MAX_VALUE): New macro.
13489 (MIN_VALUE): Likewise.
13490 (overflow_value): New function.
13491 (underflow_value): Likewise.
13492 (round_and_return): Use overflow_value and underflow_value to
13493 determine return values in overflow and underflow cases. Use
13494 round_away to determine rounding depending on rounding mode.
13495 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13496 determine return values in overflow and underflow cases.
13497 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13498 (struct test_results): New structure.
13499 (struct test): Use struct test_results to store expected results
13500 for all rounding modes.
13501 (TEST): Include expected results for all rounding modes.
13502 (test_in_one_mode): New function.
13503 (do_test): Use test_in_one_mode to compute and check results.
13504 Check results for all rounding modes.
13505 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13506 $(link-libm).
13507
19fcedd5
AM
135082012-12-09 Allan McRae <allan@archlinux.org>
13509
1e9d84cd 13510 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13511
8bbfd2f1
JM
135122012-09-11 Joseph Myers <joseph@codesourcery.com>
13513
13514 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13515 (_G_int32_t): Likewise.
13516 (_G_uint16_t): Likewise.
13517 (_G_uint32_t): Likewise.
13518 (_G_HAVE_BOOL): Likewise.
13519 (_G_HAVE_ATEXIT): Likewise.
13520 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13521 (_G_HAVE_IO_FILE_OPEN): Likewise.
13522 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13523 (_G_int32_t): Likewise.
13524 (_G_uint16_t): Likewise.
13525 (_G_uint32_t): Likewise.
13526 (_G_HAVE_BOOL): Likewise.
13527 (_G_HAVE_ATEXIT): Likewise.
13528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13529 (_G_HAVE_IO_FILE_OPEN): Likewise.
13530 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13531 (_G_int32_t): Likewise.
13532 (_G_uint16_t): Likewise.
13533 (_G_uint32_t): Likewise.
13534 (_G_HAVE_BOOL): Likewise.
13535 (_G_HAVE_ATEXIT): Likewise.
13536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13537 (_G_HAVE_IO_FILE_OPEN): Likewise.
13538
b1dc5912
L
135392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13540
13541 * csu/libc-tls.c: Update copyright years.
13542
0e886ef9
JM
135432012-09-10 Joseph Myers <joseph@codesourcery.com>
13544
28361c5e
JM
13545 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13546 [!_G_USING_THUNKS]: Remove conditional code.
13547 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13548 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13549
0e886ef9
JM
13550 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13551 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13552 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13553 (_G_VTABLE_LABEL_PREFIX): Likewise.
13554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13555 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13557 (_G_VTABLE_LABEL_PREFIX): Likewise.
13558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13559 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13561 (_G_VTABLE_LABEL_PREFIX): Likewise.
13562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13563
bcba7aa2
L
135642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13565
13566 * libio/Makefile: Include ../Makeconfig before tests.
13567 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13568 only if $(build-shared) is yes.
13569
06585ee8
L
13570 * iconv/gconv_db.c: Update copyright years.
13571
80ccd52c
LD
135722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13573
13574 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13575 unwind info if defined PIC. Fix special cases description.
13576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13577
13578 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13579 DP_HI_MASK entry.
13580 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13581
691bc9c1
L
135822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13583
3d9b46b3
L
13584 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13585
de2139a9
L
13586 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13587 is NULL.
13588
5ca78dd0
L
13589 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13590 (LDLIBS-tst-chk4): This.
13591 (LDFLAGS-tst-chk5): Renamed to ...
13592 (LDLIBS-tst-chk5): This.
13593 (LDFLAGS-tst-chk6): Renamed to ...
13594 (LDLIBS-tst-chk6): This.
13595 (LDFLAGS-tst-lfschk4): Renamed to ...
13596 (LDLIBS-tst-lfschk4): This.
13597 (LDFLAGS-tst-lfschk5): Renamed to ...
13598 (LDLIBS-tst-lfschk5): This.
13599 (LDFLAGS-tst-lfschk6): Renamed to ...
13600 (LDLIBS-tst-lfschk6): This.
13601
691bc9c1
L
13602 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13603 on $(common-objpfx)soversions.mk.
13604
65cafb1c
JM
136052012-09-07 Joseph Myers <joseph@codesourcery.com>
13606
13607 [BZ #10014]
13608 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13609 example host name.
13610
c78ab094
SP
136112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13612
13613 * malloc/arena.c (arena_get_retry): New function that gets
13614 another arena for the caller to try its request on.
13615 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13616 current arena cannot fulfill the request.
13617 (__libc_memalign): Likewise.
13618 (__libc_memalign): Likewise.
13619 (__libc_pvalloc): Likewise.
13620 (__libc_calloc): Likewise.
13621
01f49f59
JT
136222012-09-05 John Tobey <john.tobey@gmail.com>
13623
13624 [BZ #13542]
13625 * manual/arith.texi (Operations on Complex): Fix description
13626 of carg branch cut.
13627
4c23fed5
JM
136282012-09-06 Joseph Myers <joseph@codesourcery.com>
13629
1d3c8572
JM
13630 [BZ #10014]
13631 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13632 host name.
13633
4c23fed5
JM
13634 [BZ #10038]
13635 * manual/memory.texi (Memory): Make order of menu items match
13636 order of sections.
13637
04570aaa
L
136382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13639
13640 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13641 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13642 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13643
b80af2f4
L
136442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13645
13646 * csu/libc-tls.c (static_dtv): Renamed to ...
13647 (_dl_static_dtv): This. Make it global.
13648 (_dl_initial_dtv): Removed.
13649 (__libc_setup_tls): Updated.
13650 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13651 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13652 DL_INITIAL_DTV.
13653
2abe9f15
PM
136542012-09-06 Petr Machata <pmachata@redhat.com>
13655
13656 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13657 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13658 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13659 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13660
0948c3af
L
136612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13662
13663 [BZ #14545]
13664 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13665 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13666 freeing dtv[-1].
13667
a5055ad1
L
136682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 [BZ #14544]
13671 * Makeconfig (link-static-before-libc): Replace $(+prector)
13672 with $(+prectorT).
13673 (link-static-after-libc): Replace $(+postctor) with
13674 $(+postctorT).
13675 (link-bounded): Replace $(+prector)/$(+postctor) with
13676 $(+prectorT)/$(+postctorT).
13677 (+prectorT): New macro.
13678 (+postctorT): Likewise.
13679
ed8c2ecd
JM
136802012-09-06 Joseph Myers <joseph@codesourcery.com>
13681
13682 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13683 (round_str): Handle values above the maximum for IBM long double
13684 as inexact.
13685 * stdlib/tst-strtod-round.c (tests): Regenerated.
13686
14c996c8
AK
136872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13688
13689 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13690 assembler flag.
13691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13692 zarch_nohighgprs around the zarch optimized routines.
13693 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13694 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13696 for zarch.
13697
430d6ce6
DM
136982012-09-05 David S. Miller <davem@davemloft.net>
13699
13700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13701
ff04dda4
DM
13702 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13703 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13706 entries.
13707
24d4e01b
AO
137082012-09-05 Alexandre Oliva <aoliva@redhat.com>
13709
13710 * malloc/arena.c: Fold copyright years.
13711 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13712
61d58174
AO
137132012-09-05 Alexandre Oliva <aoliva@redhat.com>
13714
13715 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13716
20196a5e
AO
137172012-09-05 Alexandre Oliva <aoliva@redhat.com>
13718
13719 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13720
5c447383
AO
137212012-09-05 Alexandre Oliva <aoliva@redhat.com>
13722
13723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13724 change internal state upon failure.
13725
fad64255
AO
137262012-09-05 Alexandre Oliva <aoliva@redhat.com>
13727
13728 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13729 * malloc/memusage.c (mmap): Likewise.
13730 (mmap64, mremap): Likewise. Adjust name in comment.
13731
1ffb8c90
SP
137322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13733
13734 * libio/fileops.c: Fix typos in comments.
13735 * libio/oldfileops.c: Likewise.
13736 * libio/wfileops.c: Likewise.
13737
6ef9cc37
SP
137382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
13740 [BZ #1349]
13741 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13742 (tst-malloc-usable-ENV): Set environment for test case.
13743 * malloc/hooks.c (malloc_check_get_size): New function to get
13744 requested size.
13745 * malloc/malloc.c (musable): Use malloc_check_get_size.
13746 * malloc/tst-malloc-usable.c: New test case.
13747
4d038ae3
AS
137482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13749
13750 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13751
c4e85184
AM
137522012-09-05 Allan McRae <allan@archlinux.org>
13753
b9dafc56 13754 [BZ #13966]
c4e85184
AM
13755 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13756 determine header location.
13757 * configure: Regenerated.
13758
e1343020
AS
137592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13760
13761 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13762 float format.
13763 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13764 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13765 format.
e1343020
AS
13766 (test): Regenerate.
13767
0a9f1987
DM
137682012-09-04 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13773
29237804
FW
137742012-09-04 Florian Weimer <fweimer@redhat.com>
13775
13776 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13777 failures.
13778
edb3cb88
FW
13779 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13780
60160d83
JM
137812012-09-04 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #9914]
13784 * libio/iogetdelim.c: Include <limits.h>.
13785 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13786 + len + 1 would overflow.
13787
bcd6c8dc
AJ
137882012-09-03 Andreas Jaeger <aj@suse.de>
13789
13790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13791 * sysdeps/i386/fpu/libm-test-ulps: Update.
13792
4ffffbd2
LD
137932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13794
13795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13796 Add s_sinf-sse2, s_conf-sse2.
13797
13798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13800 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13801 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13802
13803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13804 for using routine as __sinf_ia32.
13805 Use macro for function declaration and weak_alias.
13806 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13807 for using routine as __cosf_ia32.
13808 Use macro for function declaration and weak_alias.
13809
13810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13811 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13812
13813 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13814 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13816
13817 * math/libm-test.inc (cos_test): Add more test cases.
13818 (sin_test): Likewise.
13819 (sincos_test): Likewise.
13820
511fa286
AK
138212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13822
13823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13824 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13825 hidden.
13826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13827
5f30cfec
L
138282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13829
13830 [BZ #14538]
13831 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13832 first element of the GOT.
13833 (elf_machine_load_address): Return the difference between
13834 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13835
0786794f
AM
138362012-09-01 Allan McRae <allan@archlinux.org>
13837
5f30cfec
L
13838 [BZ #13412]
13839 * configure.in (AWK): Require gawk version 3.0 or later.
13840 * configure: Regenerated.
0786794f 13841
26889eac
JM
138422012-09-01 Joseph Myers <joseph@codesourcery.com>
13843
13844 * sysdeps/unix/sysv/linux/kernel-features.h
13845 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13847 [__NR_clock_getres]: Make code unconditional.
13848 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13849 (clock_getcpuclockid): Remove code left unreachable by removal of
13850 conditionals.
13851 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13852 code unconditional.
13853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13855 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13856 Make code unconditional.
13857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13859 * sysdeps/unix/sysv/linux/clock_settime.c
13860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13861 conditional code.
13862 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13863 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13864
d22e28b0
L
138652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13866
13867 [BZ #14476]
13868 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13869 scripts/test-installation.pl.
13870
13871 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13872 and $ld_so_version if it is set.
13873
050af9c4
SP
138742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13875
13876 [BZ #14516]
13877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13878 failure if reading from procfs failed.
13879 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13880
ad845c0b
JM
138812012-08-27 Joseph Myers <joseph@codesourcery.com>
13882
13883 * sysdeps/unix/sysv/linux/kernel-features.h
13884 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13885 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13886 Remove conditional code.
13887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13888 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13889 Remove conditional code.
13890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13891 * sysdeps/unix/sysv/linux/i386/fxstat.c
13892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13894 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13897 * sysdeps/unix/sysv/linux/i386/lxstat.c
13898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13900 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13901 Remove conditional code.
13902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13903 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13904 Remove conditional code.
13905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13907 <kernel-features.h>.
13908 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13909 Remove.
13910 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13911 Remove conditional code.
13912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13913 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13914 Remove conditional.
13915
5dbf56af
MF
139162012-08-27 Mike Frysinger <vapier@gentoo.org>
13917
13918 [BZ #5400]
13919 * NEWS: Add fixed bug number.
13920
d6e70f43
JM
139212012-08-27 Joseph Myers <joseph@codesourcery.com>
13922
7efb4737
JM
13923 [BZ #14519]
13924 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13925 underflowing exponent in case of negative sign.
13926 * stdlib/tst-strtod-round-data: Add more tests.
13927 * stdlib/tst-strtod-round.c (tests): Regenerated.
13928
af92131a
JM
13929 [BZ #3479]
13930 * stdlib/strtod_l.c (NDIG): Remove.
13931 (HEXNDIG): Likewise.
13932 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13933 smallest representable value.
13934 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13935 lie within an exact representation of 1/2 ulp of the result.
13936 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13937 unconditionally.
13938 (TENS_P9_IDX): Define unconditionally.
13939 (TENS_P9_SIZE): Likewise.
13940 (TENS_P10_IDX): Likewise.
13941 (TENS_P10_SIZE): Likewise.
13942 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13943 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13945 entries for 10^2^13 and 10^2^14.
13946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13947 (TENS_P13_IDX): Define.
13948 (TENS_P13_SIZE): Likewise.
13949 (TENS_P14_IDX): Likewise.
13950 (TENS_P14_SIZE): Likewise.
13951 (_fpioconst_pow10): Change array size to
13952 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13953 unconditional.
13954 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13955 1024]: Add entries for 10^2^13 and 10^2^14.
13956 [LAST_POW10 > _LAST_POW10]: Remove #error.
13957 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13958 (_fpioconst_pow10): Change array size to
13959 FPIOCONST_POW10_ARRAY_SIZE.
13960 * stdlib/gen-fpioconst.c: New file.
13961 * stdlib/gen-tst-strtod-round.c: Likewise.
13962 * stdlib/tst-strtod-round-data: Likewise.
13963 * stdlib/tst-strtod-round.c: Likewise.
13964 * stdlib/Makefile (tests): Add tst-strtod-round.
13965
d6e70f43
JM
13966 [BZ #14459]
13967 * stdlib/strtod_l.c: Include <stdint.h>.
13968 (NDEBUG): Do not define.
13969 (round_and_return): Change EXPONENT parameter to type intmax_t.
13970 Rearrange calculations to avoid internal overflow possibilities.
13971 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13972 Rearrange calculations to avoid internal overflow possibilities.
13973 Assert that number fits inside MPNSIZE limbs.
13974 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13975 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13976 calculations and add assertions to avoid internal overflow
13977 possibilities. Add casts to avoid signed/unsigned operations.
13978 * stdlib/tst-strtod-overflow.c: New file.
13979 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13980
1f529f7d
MP
139812012-08-25 Marek Polacek <polacek@redhat.com>
13982
13983 * time/time.h: Fix some typos in comments.
13984
59a629f1
RM
139852012-08-23 Roland McGrath <roland@hack.frob.com>
13986
13987 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13988 * posix/tst-rfc3484-2.c: Likewise.
13989 * posix/tst-rfc3484-3.c: Likewise.
13990
d3bafbc9
SM
139912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13992
13993 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13994 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13995
4efcc022
JM
139962012-08-23 Joseph Myers <joseph@codesourcery.com>
13997
13998 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13999 #include of fxstatat64.c.
14000
3cc3ef96
RM
140012012-08-22 Roland McGrath <roland@hack.frob.com>
14002
f04e2132
RM
14003 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14004 * shadow/getspent_r.c: Likewise.
14005 * shadow/getspnam.c: Likewise.
14006 * shadow/getspnam_r.c: Likewise.
14007 * gshadow/getsgent.c: Likewise.
14008 * gshadow/getsgent_r.c: Likewise.
14009 * gshadow/getsgnam.c: Likewise.
14010 * gshadow/getsgnam_r.c: Likewise.
14011 * inet/getnetbyad.c: Likewise.
14012 * inet/getnetbyad_r.c: Likewise.
14013 * inet/getnetbynm.c: Likewise.
14014 * inet/getnetbynm_r.c: Likewise.
14015 * inet/getnetent.c: Likewise.
14016 * inet/getnetent_r.c: Likewise.
14017 * inet/getproto.c: Likewise.
14018 * inet/getproto_r.c: Likewise.
14019 * inet/getprtent.c: Likewise.
14020 * inet/getprtent_r.c: Likewise.
14021 * inet/getprtname.c: Likewise.
14022 * inet/getprtname_r.c: Likewise.
14023 * inet/getrpcbyname.c: Likewise.
14024 * inet/getrpcbyname_r.c: Likewise.
14025 * inet/getrpcbynumber.c: Likewise.
14026 * inet/getrpcbynumber_r.c: Likewise.
14027 * inet/getrpcent.c: Likewise.
14028 * inet/getrpcent_r.c: Likewise.
14029 * inet/getaliasent.c: Likewise.
14030 * inet/getaliasent_r.c: Likewise.
14031 * inet/getaliasname.c: Likewise.
14032 * inet/getaliasname_r.c: Likewise.
14033 * nscd/getgrgid_r.c: Likewise.
14034 * nscd/getgrnam_r.c: Likewise.
14035 * nscd/gethstbyad_r.c: Likewise.
14036 * nscd/gethstbynm3_r.c: Likewise.
14037 * nscd/getpwnam_r.c: Likewise.
14038 * nscd/getpwuid_r.c: Likewise.
14039 * nscd/getsrvbynm_r.c: Likewise.
14040 * nscd/getsrvbypt_r.c: Likewise.
14041 * nscd/gai.c: Likewise.
14042
c53d909c
RM
14043 * configure.in (build_nscd): New substituted variable, set
14044 by --disable-build-nscd and defaults to $use_nscd.
14045 * configure: Regenerated.
14046 * config.make.in (build-nscd): New substituted variable.
14047 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14048 Change conditional to require [$(build-nscd) = yes] as well.
14049 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14050
3cc3ef96
RM
14051 [BZ# 13696]
14052 * configure.in (use_nscd): New substituted variable, set by
14053 --disable-nscd. If enabled, define USE_NSCD.
14054 * configure: Regenerated.
14055 * config.h.in: Add USE_NSCD.
14056 * config.make.in (use-nscd): New substituted variable.
14057 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14058 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14059 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14060 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14061 (CFLAGS-getgrnam_r.c): Likewise.
14062 (CFLAGS-initgroups.c): Likewise.
14063 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14064 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14065 Variables removed.
14066 * inet/getnetgrent_r.c
14067 (nscd_setnetgrent): New function, broken out of ...
14068 (setnetgrent): ... here. Call it.
14069 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14070 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14071 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14072 * nscd/Makefile (routines, aux): Move definitions after include of
14073 Makeconfig. Conditionalize on [$(use-nscd) != no].
14074 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14075 Conditionalize on [USE_NSCD].
14076 (is_nscd, nscd_init_cb): Likewise.
14077 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14078 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14079 * nss/nss_db/db-init.c: Likewise.
14080 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14081 [USE_NSCD].
14082 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14083 (make_request): Use it.
14084 (cache_valid_p): New function.
14085 (__check_pf): Use it.
14086 * NEWS: Add item for --disable-nscd.
14087
07e51550
DL
140882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14089
14090 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14091 to support sed >= 4.2.1-20-ga9bf076.
14092 * configure: Regenerated.
14093
35a5b08b
RM
140942012-08-22 Roland McGrath <roland@hack.frob.com>
14095
14096 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14097 Conditionalize whole body on [IREL].
14098
8479f23a
JL
140992012-08-22 Jeff Law <law@redhat.com>
14100
14101 [BZ #14505]
14102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14103 if the family is PF_UNSPEC.
14104
48da0b21
MF
141052012-08-22 Mike Frysinger <vapier@gentoo.org>
14106
14107 * Makerules (lib-version): Rename from V.
14108 (install-lib-nosubdir): Change V to lib-version.
14109
15d0da8c
WS
141102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14111
14112 [BZ #14252]
14113 * powerpc32/power6/wcschr.c: New file.
14114 * powerpc32/power6/wcscpy.c: New file.
14115 * powerpc32/power6/wcsrchr.c: New file.
14116 * powerpc64/power6/wcschr.c: New file.
14117 * powerpc64/power6/wcscpy.c: New file.
14118 * powerpc64/power6/wcsrchr.c: New file.
14119
bcca0895
MK
141202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14121
14122 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14123 (two_way_short_needle): Use it.
5a4aaa33
RM
14124 * string/strstr.c (AVAILABLE1_USES_J): Define.
14125 * string/strcasestr.c: Likewise.
99677e57
MK
14126
14127 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14128 array references.
14129 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14130
400726de
MK
14131 [BZ #11607]
14132 * NEWS: Add an entry.
14133 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14134 define their defaults.
14135 (two_way_short_needle): Detect end-of-string on-the-fly.
14136 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14137 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14138 * string/bug-strcasestr1.c: New test.
14139 * string/Makefile: Run it.
14140
20a71f2c
MK
141412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14142
14143 [BZ #11607]
14144 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14145 the first character.
14146
21ad0558
RM
141472012-08-21 Roland McGrath <roland@hack.frob.com>
14148
14149 * csu/elf-init.c (__libc_csu_irel): Function removed.
14150 * csu/libc-start.c (apply_irel): New function.
14151 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14152
0e1d9911
JM
141532012-08-21 Joseph Myers <joseph@codesourcery.com>
14154
14155 * sysdeps/unix/sysv/linux/kernel-features.h
14156 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14157 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14158 <kernel-features.h>.
14159 [__NR_fadvise64_64]: Make code unconditional.
14160 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14161 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14162 !__NR_fadvise64_64)]: Likewise.
14163 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14164 !__NR_fadvise64_64))]: Likewise.
14165 [__NR_fadvise64]: Make code unconditional.
14166 [!__NR_fadvise64]: Remove conditional code.
14167 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14168 <kernel-features.h>.
14169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14170 unconditional.
14171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14172 conditional code.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14174 not include <kernel-features.h>.
14175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14176 unconditional.
14177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14178 conditional code.
14179 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14180 include <kernel-features.h>.
14181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14182 unconditional.
14183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14184 conditional code.
14185
14a50c9d
WS
141862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14187
14188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14189 slight instruction rearrangements per scrollpipe analysis.
14190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14191
c0f4faf0
RM
141922012-08-20 Roland McGrath <roland@hack.frob.com>
14193
696da859
RM
14194 * manual/syslog.texi (syslog; vsyslog, closelog):
14195 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14196 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14197
c0f4faf0
RM
14198 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14199 DSOCAPS to match condition on defining it.
14200
348363b2
JM
142012012-08-20 Joseph Myers <joseph@codesourcery.com>
14202
a35cbf28
JM
14203 * sysdeps/unix/sysv/linux/kernel-features.h
14204 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14214
445f7ecd
JM
14215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14216 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14217
348363b2
JM
14218 * sysdeps/unix/sysv/linux/kernel-features.h
14219 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14220 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14221 unconditional.
14222 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14223 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14224 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14225 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14226 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14227 Make code unconditional.
14228 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14229 (__mmap64) [!__NR_mmap2]: Likewise.
14230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14234 [__NR_mmap2]: Make code unconditional.
14235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14236 (__mmap64) [!__NR_mmap2]: Likewise.
14237
bc5bc0e5
AK
142382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14239
14240 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14241
88d506de
AJ
142422012-08-18 Andreas Jaeger <aj@suse.de>
14243
14244 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14245
493387d2
MF
142462012-08-18 Mike Frysinger <vapier@gentoo.org>
14247
14248 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14249 * include/unistd.h (__have_sock_cloexec): Likewise.
14250 (__have_pipe2): Likewise.
14251 (__have_dup3): Likewise.
14252
a277af22
MF
142532012-08-18 Mike Frysinger <vapier@gentoo.org>
14254
14255 [BZ #9685]
14256 * include/unistd.h (__have_pipe2): Change define into an extern int.
14257 (__have_dup3): Likewise.
14258 * socket/have_sock_cloexec.c: Include fcntl.h.
14259 (__have_pipe2): New variable.
14260 (__have_dup3): Likewise.
14261
fdab8fd3
MF
142622012-08-17 Mike Frysinger <vapier@gentoo.org>
14263
14264 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14265
31035e80
MP
142662012-08-17 Marek Polacek <polacek@redhat.com>
14267
14268 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14269 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14270
3bd9e993
RM
142712012-08-17 Roland McGrath <roland@hack.frob.com>
14272
c91c505f
RM
14273 * configure.in: Add AC_SUBST for sysheaders.
14274 * configure: Regenerated.
14275 * config.make.in (sysheaders): New substituted variable.
14276
7c6f9d53
RM
14277 * sysdeps/unix/mkfifo.c: Moved ...
14278 * sysdeps/posix/mkfifo.c: ... here.
14279 * sysdeps/unix/mkfifoat.c: Moved ...
14280 * sysdeps/posix/mkfifoat.c: ... here.
14281
14282 * sysdeps/unix/utime.c: Moved ...
14283 * sysdeps/posix/utime.c: ... here.
14284
14285 * sysdeps/unix/time.c: Moved ...
14286 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14287 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14288 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14289
14290 * sysdeps/unix/nice.c: Moved ...
14291 * sysdeps/posix/nice.c: ... here.
14292
14293 * sysdeps/unix/alarm.c: Moved ...
14294 * sysdeps/posix/alarm.c: ... here.
14295
3bd9e993
RM
14296 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14297
d1f09384
JL
142982012-08-17 Jeff Law <law@redhat.com>
14299
14300 * intl/Makefile (codeset_mo): New variable.
14301 ($(codeset_mo)): New target.
14302 (tst-codeset.out): Depend on that. Remove explicit rule.
14303 (tst-gettext3.out, tst-gettext5.out): Likewise.
14304 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14305 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14306 * intl/tst-codeset.sh: Remove.
14307 * intl/tst-gettext3.sh: Likewise.
14308 * intl/tst-gettext5.sh: Likewise.
14309
2ae1ae5c
RM
143102012-08-17 Roland McGrath <roland@hack.frob.com>
14311
c31fdb83
RM
14312 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14313 * sysdeps/unix/syscalls.list: ... here.
14314
a0844057
RM
14315 * sysdeps/posix/getaddrinfo.c
14316 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14317 (gaiconf_init, gaiconf_reload): Use them.
14318 [!_STATBUF_ST_NSEC]
14319 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14320 Define using time_t rather than struct timespec.
14321
750c1f2a
RM
14322 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14323 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14324 Macros removed.
14325 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14326 [!NO_THREADS].
14327 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14328 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14329 Likewise.
14330
2ae1ae5c
RM
14331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14332 __libc_cleanup_push argument.
14333
e66a42f5
RM
14334 * bits/param.h: New file.
14335 * misc/sys/param.h: New file.
14336 * include/sys/param.h: New file.
14337 * misc/Makefile (headers): Add bits/param.h.
14338 * sysdeps/generic/sys/param.h: File removed.
14339 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14340 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14341 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14342 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14343
b7c08a66
RM
14344 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14345 last change.
14346
b2e1c562
RM
14347 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14348 [_IO_MTSAFE_IO].
14349 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14350 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14351 New macros.
14352
c75ccd4c
RM
14353 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14354 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14355 rather than -D_IO_MTSAFE_IO conditionally.
14356 * stdio-common/Makefile (CPPFLAGS): Likewise.
14357 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14358 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14359 Use $(libio-mtsafe).
14360 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14361 of -D_IO_MTSAFE_IO.
14362 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14363 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14364 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14365 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14366 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14367 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14368 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14369 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14370 (CFLAGS-fread_u_chk.c): Likewise.
14371 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14372 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14373 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14374 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14375 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14376 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14377 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14378 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14379 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14380
14381 * libio/Makefile: Test [$(libc-reentrant) = yes]
14382 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14383
14384 * Makeconfig
14385 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14386 * sysdeps/pthread/configure: File removed.
14387 * sysdeps/pthread/Makeconfig: New file.
14388 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14389 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14390
d9195db8
GB
143912012-08-16 Gary Benson <gbenson@redhat.com>
14392
14393 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14394 unmapping the first object in a namespace.
14395
86466cd9
RM
143962012-08-16 Roland McGrath <roland@hack.frob.com>
14397
14398 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14399 (__internal_setnetgrent): ... this. Add internal_function to
14400 definition. Add libc_hidden_def.
14401 (setnetgrent): Update caller.
14402 (internal_endnetgrent): Renamed to ...
14403 (__internal_endnetgrent): ... this. Add internal_function to
14404 definition. Add libc_hidden_def.
14405 (endnetgrent): Update caller.
14406 (internal_getnetgrent_r): Renamed to ...
14407 (__internal_getnetgrent_r): ... this. Add internal_function to
14408 definition. Add libc_hidden_def.
14409 (__getnetgrent_r): Update caller.
14410 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14411
c3c8283c
JM
144122012-08-16 Joseph Myers <joseph@codesourcery.com>
14413
14414 * stdlib/longlong.h: Update from GCC.
14415
db1ee0a8
RM
144162012-08-16 Roland McGrath <roland@hack.frob.com>
14417
14418 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14419 on _QL, which is set by umul_ppmm but never used.
14420 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14421 variables, which are set by GMP macros but never used.
14422 * stdio-common/_itowa.c (_itowa): Likewise.
14423 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14424 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14425
30f69637
CD
144262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14427
14428 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14429 struct La_sh_regs is not constant.
14430 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14431 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14432 and struct La_sparc64_regs are not constant.
14433
93a78ac4
JM
144342012-08-16 Joseph Myers <joseph@codesourcery.com>
14435
14436 * sysdeps/unix/sysv/linux/kernel-features.h
14437 (__ASSUME_POSIX_TIMERS): Remove.
14438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14440 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14441 Make code unconditional.
14442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14443 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14444 Make code unconditional.
14445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14446 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14447 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14449 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14450 Make code unconditional.
14451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14452 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14453 (__libc_missing_posix_timers): Remove.
14454
dd924cd7
RM
144552012-08-15 Roland McGrath <roland@hack.frob.com>
14456
4b4f2771
RM
14457 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14458 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14459
601c888b
RM
14460 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14461
176790a7
RM
14462 * elf/dl-sym.c: Include <stdlib.h>.
14463
329bc018
RM
14464 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14465 constants, which avoids warnings in 32-bit builds.
14466
e04e272d
RM
14467 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14468 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14469
952bf94a
RM
14470 * misc/lseek.c: File moved to ...
14471 * io/lseek.c: ... here.
14472
7c99b50a
RM
14473 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14474
dd924cd7
RM
14475 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14476 shifting LEN more than 31 bits at once.
14477
b3f479a8
LD
144782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14479
14480 [BZ #14195]
8c4ae0d4
RM
14481 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14482 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14483 * string/test-strncasecmp.c (check1): Renamed to...
14484 (bz12205): ...this.
14485 (bz14195): Add new testcase for two empty input strings and N > 0.
14486 (test_main): Call new testcase, adapt for renamed function.
14487
9c55864e
AJ
144882012-08-15 Andreas Jaeger <aj@suse.de>
14489
14490 [BZ #14090]
14491 * crypt/md5test2.c: New test, based on test supplied by Serge
14492 Belyshev <belyshev@depni.sinp.msu.ru>.
14493 * crypt/Makefile (xtests): Add md5test-giant..
14494 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14495
02dcb6c5
PE
144962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14497
14498 [BZ #14090]
14499 * crypt/md5.c (md5_process_block): Don't assume the buffer
14500 length is less than 2**32.
14501 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14502 length is less than 2**64.
14503
a3f95dcc
RM
145042012-08-15 Roland McGrath <roland@hack.frob.com>
14505
be75d758
RM
14506 * string/str-two-way.h: Include <sys/param.h>.
14507 (MAX): Macro removed.
14508
7312ca90
RM
14509 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14510 Move #define and #undef of memmove to just before and after
14511 including <string.h>.
14512
9a0a5486
RM
14513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14514 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14515 and after including <string.h>. Move declarations of
14516 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14517 to before #include "string/memmove.c".
14518
67cc348d
RM
14519 * include/dirent.h: Declare __getdirentries.
14520
a3f95dcc
RM
14521 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14522 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14523
ca98e171
MF
145242012-08-14 Mike Frysinger <vapier@gentoo.org>
14525
14526 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14527 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14528 * sysdeps/i386/configure: Regenerated.
14529 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14530 STABS_CURRENT_FILE, and STABS_FUN.
14531 (END): Remove call to STABS_FUN_END.
14532 (STABS_CURRENT_FILE1): Delete.
14533 (STABS_CURRENT_FILE): Likewise.
14534 (STABS_FUN): Likewise.
14535 (STABS_FUN_END): Likewise.
14536 (STABS_FUN2): Likewise.
14537 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14538 * sysdeps/x86_64/configure: Regenerated.
14539
5908bf46
RM
145402012-08-14 Roland McGrath <roland@hack.frob.com>
14541
14542 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14543 * elf/dl-lookup.c: Likewise.
5908bf46 14544
f2c05b9e
JM
145452012-08-14 Joseph Myers <joseph@codesourcery.com>
14546
14547 * sysdeps/unix/sysv/linux/kernel-features.h
14548 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14549 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14550 unconditionally.
14551 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14552 unconditionally.
14553 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14554 condition on __ASSUME_CLONE_THREAD_FLAGS.
14555
e11f5155
AJ
145562012-08-14 Andreas Jaeger <aj@suse.de>
14557
14558 * sysdeps/i386/fpu/libm-test-ulps: Update.
14559
51a9ba86
MK
145602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14561
2fdd4f78
AJ
14562 * include/atomic.h (atomic_exchange_and_add): Split into ...
14563 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14564 New atomic macros.
51a9ba86 14565
ba6cba9e
MT
145662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14567
14568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14569
42443a47
JL
145702012-08-13 Jeff Law <law@redhat.com>
14571
14572 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14573 null byte in the output string.
14574
121dce05
JM
145752012-08-10 Joseph Myers <joseph@codesourcery.com>
14576
14577 * sysdeps/unix/sysv/linux/kernel-features.h
14578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14579 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14580 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14582 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14583 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14584 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14585
bf51f568
JL
145862012-08-09 Jeff Law <law@redhat.com>
14587
14588 [BZ #13939]
14589 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14590 When avoid_arena is set, don't retry in the that arena. Pick the
14591 next one, whatever it might be.
14592 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14593 (arena_lock): Pass in new parameter to arena_get2.
14594 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14595 arena_get2.
14596 (__libc_malloc): Unify retrying after main arena failure with
14597 __libc_memalign version.
14598 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14599
f85fa270
L
146002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14601
14602 [BZ #14166]
14603 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14604 to __redirect_strstr.
14605 (__strstr_sse42): Use typeof __redirect_strstr.
14606 (__strstr_ia32): Likewise.
14607 (__libc_strstr): New prototype.
14608 (strstr): Renamed to ...
14609 (__libc_strstr): This.
14610 (strstr): New strong alias of __libc_strstr.
14611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14613 __redirect_time.
14614 Include <time.h>.
14615 (__libc_time): New prototype.
14616 (time_ifunc): Replace time with __libc_time.
14617 (time): New strong alias and hidden definition of __libc_time.
14618 (__GI_time): Remove strong alias.
14619 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14620 Include <stddef.h>.
14621 (memmove): Redefined to __redirect_memmove.
14622 (__memmove_sse2): Use typeof __redirect_memmove.
14623 (__memmove_ssse3): Likewise.
14624 (__memmove_ssse3_back): Likewise.
14625 (__libc_memmove): New prototype.
14626 (memmove): Renamed to ...
14627 (__libc_memmove): This.
14628 (memmove): New strong alias of __libc_memmove.
14629
33b4a91e
MS
146302012-08-08 Mark Salter <msalter@redhat.com>
14631
14632 * elf/elf.h
14633 (R_MN10300_TLS_GD): Define.
14634 (R_MN10300_TLS_LD): Likewise.
14635 (R_MN10300_TLS_LDO): Likewise.
14636 (R_MN10300_TLS_GOTIE): Likewise.
14637 (R_MN10300_TLS_IE): Likewise.
14638 (R_MN10300_TLS_LE): Likewise.
14639 (R_MN10300_TLS_DTPMOD): Likewise.
14640 (R_MN10300_TLS_DTPOFF): Likewise.
14641 (R_MN10300_TLS_TPOFF): Likewise.
14642 (R_MN10300_SYM_DIFF): Likewise.
14643 (R_MN10300_ALIGN): Likewise.
14644 (R_MN10300_NUM): Update.
14645
b36137f1
JM
146462012-08-08 Joseph Myers <joseph@codesourcery.com>
14647
14648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14649 Remove.
14650
cdd915fd
RM
146512012-08-08 Roland McGrath <roland@hack.frob.com>
14652
a2433aac
RM
14653 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14654
cdd915fd
RM
14655 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14656 sysdeps/unix -> sysdeps/posix move.
14657 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14658
bf9b740a
AM
146592012-08-07 Allan McRae <allan@archlinux.org>
14660
14661 [BZ #14303]
14662 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14663 (SUNOS_CPP): Likewise.
14664 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14665 not found.
14666 (open_input): Call CPP using execvp.
14667
93df14ee
JM
146682012-08-07 Joseph Myers <joseph@codesourcery.com>
14669
14670 * sysdeps/unix/sysv/linux/kernel-features.h
14671 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14674 (__ASSUME_WAITID_SYSCALL): Likewise.
14675 * sysdeps/unix/sysv/linux/dl-execstack.c
14676 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14677 code unconditional.
14678 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14679 conditional code.
14680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14681 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14682 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14683 code.
14684 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14685 unconditional.
14686 [__ASSUME_WAITID_SYSCALL]: Likewise.
14687 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14688
d34689de
RM
146892012-08-07 Roland McGrath <roland@hack.frob.com>
14690
a281decc
RM
14691 * sysdeps/unix/closedir.c: Renamed to ...
14692 * sysdeps/posix/closedir.c: ... here.
14693 * sysdeps/unix/dirfd.c: Renamed to ...
14694 * sysdeps/posix/dirfd.c: ... here.
14695 * sysdeps/unix/dirstream.h: Renamed to ...
14696 * sysdeps/posix/dirstream.h: ... here.
14697 * sysdeps/unix/fdopendir.c: Renamed to ...
14698 * sysdeps/posix/fdopendir.c: ... here.
14699 * sysdeps/unix/opendir.c: Renamed to ...
14700 * sysdeps/posix/opendir.c: ... here.
14701 * sysdeps/unix/readdir.c: Renamed to ...
14702 * sysdeps/posix/readdir.c: ... here.
14703 * sysdeps/unix/readdir_r.c: Renamed to ...
14704 * sysdeps/posix/readdir_r.c: ... here.
14705 * sysdeps/unix/rewinddir.c: Renamed to ...
14706 * sysdeps/posix/rewinddir.c: ... here.
14707 * sysdeps/unix/seekdir.c: Renamed to ...
14708 * sysdeps/posix/seekdir.c: ... here.
14709 * sysdeps/unix/telldir.c: Renamed to ...
14710 * sysdeps/posix/telldir.c: ... here.
14711 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14712 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14713 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14714 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14715
22895b47
RM
14716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14717 * bits/fcntl.h: ... here.
14718
707a53b6
RM
14719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14720 not 0.
14721 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14722 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14723 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14724 (struct flock): Move l_start, l_len to the beginning.
14725 Use __pid_t for l_pid.
14726 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14727 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14728 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14729 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14730 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14731 [__USE_LARGEFILE64] (struct flock64): New type.
14732 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14733
f0bd3e25
RM
14734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14735 * bits/dirent.h: ... here.
14736
d34689de
RM
14737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14738 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14739
6dad2c06
JM
147402012-08-07 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14743 Change from 2.6.0 to 2.6.16.
14744 * sysdeps/unix/sysv/linux/configure: Regenerated.
14745 * sysdeps/unix/sysv/linux/kernel-features.h
14746 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14747 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14748 version.
14749 (__ASSUME_UTIMES): Likewise.
14750 (__ASSUME_CLONE_STOPPED): Remove.
14751 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14752 architectures, not kernel version.
14753 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14756 (__ASSUME_WAITID_SYSCALL): Likewise.
14757 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14758 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14759 * README: State 2.6.16 as minimum Linux kernel version. Do not
14760 refer to older versions.
14761
03af9520
RM
147622012-08-06 Roland McGrath <roland@hack.frob.com>
14763
8e49df1d
RM
14764 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14765 Define alphasort64 as an alias.
14766 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14767 Define versionsort64 as an alias.
14768 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14769 Define scandir64 as an alias.
14770 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14771 Define scandirat64 as an alias.
14772 * dirent/alphasort64.c (alphasort64):
14773 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14774 * dirent/versionsort64.c: Likewise.
14775 * dirent/scandir64.c: Likewise.
14776 * dirent/scandirat64.c: Likewise.
14777 * sysdeps/wordsize-64/alphasort.c: File removed.
14778 * sysdeps/wordsize-64/alphasort64.c: File removed.
14779 * sysdeps/wordsize-64/scandir.c: File removed.
14780 * sysdeps/wordsize-64/scandir64.c: File removed.
14781 * sysdeps/wordsize-64/scandirat.c: File removed.
14782 * sysdeps/wordsize-64/scandirat64.c: File removed.
14783 * sysdeps/wordsize-64/versionsort.c: File removed.
14784 * sysdeps/wordsize-64/versionsort64.c: File removed.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14793
14794 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14796 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14798 [defined __arch64__ || defined __sparcv9]
14799 (__INO_T_MATCHES_INO64_T): New macro.
14800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14801 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14802 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14803 * sysdeps/unix/sysv/linux/bits/dirent.h
14804 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14805 (_DIRENT_MATCHES_DIRENT64): New macro.
14806
03af9520
RM
14807 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14808 Define lockf64 as an alias.
14809 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14810 Define fseeko64 as an alias.
14811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14812 Define ftello64 as an alias.
14813 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14814 Define _IO_fgetpos64 and fgetpos64 as aliases.
14815 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14816 Define _IO_fsetpos64 and fsetpos64 as aliases.
14817 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14818 Conditionalize body on this.
14819 * libio/fseeko64.c: Likewise.
14820 * libio/ftello64.c: Likewise.
14821 * libio/iofgetpos64.c: Likewise.
14822 * libio/iofsetpos64.c: Likewise.
14823 * sysdeps/wordsize-64/lockf.c: File removed.
14824 * sysdeps/wordsize-64/lockf64.c: File removed.
14825 * sysdeps/wordsize-64/fseeko.c: File removed.
14826 * sysdeps/wordsize-64/fseeko64.c: File removed.
14827 * sysdeps/wordsize-64/ftello.c: File removed.
14828 * sysdeps/wordsize-64/ftello64.c: File removed.
14829 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14830 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14831 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14832 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14843
14844 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14846 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14848 [defined __arch64__ || defined __sparcv9]
14849 (__OFF_T_MATCHES_OFF64_T): New macro.
14850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14851 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14853 (__OFF_T_MATCHES_OFF64_T): New macro.
14854
c5757acd
L
148552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14856
14857 * stdlib/secure-getenv.c (__secure_getenv): Replace
14858 GLIBC_2_16 with GLIBC_2_17.
14859
3a31811e
L
148602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14861
14862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14864
faa2bccb
DM
148652012-08-03 David S. Miller <davem@davemloft.net>
14866
14867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14868
85fe1997
JM
148692012-08-03 Joseph Myers <joseph@codesourcery.com>
14870
14871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14872 Remove.
14873 (__ASSUME_CORRECT_SI_PID): Likewise.
14874 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14875 (__ASSUME_TMPFS_NAME): Likewise.
14876 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14877 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14878 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14879 (HAVE_AUX_SECURE): Make definition unconditional.
14880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14881 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14882
4f75b7a0
RM
148832012-08-03 Roland McGrath <roland@hack.frob.com>
14884
14885 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14886 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14887 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14889 __eloop_threshold instead of SYMLOOP_MAX.
14890
14891 * sysdeps/generic/eloop-threshold.h: New file.
14892 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14893 of MAXSYMLINKS.
14894 * elf/chroot_canon.c (chroot_canon): Likewise.
14895
7aab07e4
JM
148962012-08-03 Joseph Myers <joseph@codesourcery.com>
14897
14898 [BZ #13717]
14899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14900 Change to 2.6.0 everywhere.
14901 * sysdeps/unix/sysv/linux/configure: Regenerated.
14902 * sysdeps/unix/sysv/linux/kernel-features.h
14903 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14904 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14905 kernel versions.
14906 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14907 (__ASSUME_FUTEX_REQUEUE): Remove.
14908 (__ASSUME_STATFS64): Define unconditionally.
14909 (__ASSUME_AT_SECURE): Likewise.
14910 (__ASSUME_CORRECT_SI_PID): Likewise.
14911 (__ASSUME_TGKILL): Define without depending on kernel version for
14912 i386.
14913 (__ASSUME_UTIMES): Likewise.
14914 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14915 kernel version.
14916 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14917 (__ASSUME_TMPFS_NAME): Likewise.
14918 * README: Update reference to Linux kernel versions.
14919
b67e9372
MP
149202012-08-02 Marek Polacek <polacek@redhat.com>
14921
1f529f7d 14922 [BZ# 14150]
b67e9372
MP
14923 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14924 libc_cv_asm_type_prefix with %.
14925 * configure: Regenerated.
d2441631
RM
14926 * include/libc-symbols.h: Remove comment about
14927 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14928 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14929 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14930 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14931 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14932 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14935 * elf/tst-unique2mod1.c: Likewise.
14936 * elf/tst-unique1mod2.c: Likewise.
14937 * elf/tst-unique1mod1.c: Likewise.
14938 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14939 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14940 Replace ASM_TYPE_DIRECTIVE with .type.
14941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14942 * sysdeps/i386/sysdep.h: Likewise.
14943 * sysdeps/x86_64/sysdep.h: Likewise.
14944 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14946 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14947 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14948 * sysdeps/powerpc/powerpc32/sysdep.h:
14949 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14952 * sysdeps/i386/fpu/e_powf.S: Likewise.
14953 * sysdeps/i386/fpu/e_expl.S: Likewise.
14954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14956 * sysdeps/i386/fpu/e_pow.S: Likewise.
14957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14961 * sysdeps/i386/fpu/e_log2.S: Likewise.
14962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14964 * sysdeps/i386/fpu/e_powl.S: Likewise.
14965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14967 * sysdeps/i386/fpu/e_logl.S: Likewise.
14968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14969 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14973 * sysdeps/i386/fpu/e_log.S: Likewise.
14974 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14975 * sysdeps/i386/fpu/e_logf.S: Likewise.
14976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14979 * sysdeps/i386/fpu/e_log10.S: Likewise.
14980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14987 * sysdeps/i386/i686/strtok.S: Likewise.
14988 * sysdeps/i386/i386-mcount.S: Likewise.
14989 * sysdeps/i386/strtok.S: Likewise.
14990 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14991 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14996 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14997 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14999 * sysdeps/x86_64/_mcount.S: Likewise.
15000 * sysdeps/x86_64/strtok.S: Likewise.
15001 * sysdeps/sh/_mcount.S: Likewise.
15002
2747bf9a
RM
150032012-08-01 Roland McGrath <roland@hack.frob.com>
15004
15005 * libio/iofopen.c: Include <fcntl.h>.
15006 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15007 (_IO_fopen64, fopen64): Define as aliases.
15008 * libio/iofopen64.c: Include <fcntl.h>.
15009 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15010 Conditionalize body on this.
15011 * sysdeps/wordsize-64/iofopen.c: File removed.
15012 * sysdeps/wordsize-64/iofopen64.c: File removed.
15013
3fb791b8
MP
150142012-08-01 Marek Polacek <polacek@redhat.com>
15015
15016 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15017 Use dlfcn directly instead of a variable.
15018 (binfmt-subdir): Do not define.
15019 (dlfcn): Likewise.
15020
a9f1039f
JM
150212012-08-01 Joseph Myers <joseph@codesourcery.com>
15022
23bddc06
JM
15023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15024 Remove all definitions.
15025 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15026 <kernel-features.h>.
15027 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15028 (miss_F_GETOWN_EX): Remove all definitions.
15029 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15030 macro definition.
15031 [!__ASSUME_FCNTL64]: Remove conditional code.
15032 [__ASSUME_FCNTL64]: Make code unconditional.
15033 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15034 <kernel-features.h>.
15035 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15036 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15037 (lockf64) [__NR_fcntl64]: Make code unconditional.
15038 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15039
a9f1039f
JM
15040 * sysdeps/unix/sysv/linux/kernel-features.h
15041 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15042 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15043 Make code unconditional.
15044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15047 [__NR_vfork]: Make code unconditional.
15048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15051 [__NR_vfork]: Make code unconditional.
15052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15054
09c0ee5f
RM
150552012-08-01 Roland McGrath <roland@hack.frob.com>
15056
48aec5b9
RM
15057 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15058 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15059
cd97c966
RM
15060 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15061 Define mkstemp64 as an alias.
3f55550c
RM
15062 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15063 Define mkstemps64 as an alias.
cd97c966
RM
15064 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15065 Define mkostemp64 as an alias.
b8625cfc
RM
15066 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15067 Define mkostemps64 as an alias.
cd97c966
RM
15068 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15069 Conditionalize body on this.
15070 * misc/mkostemp64.c: Likewise.
b8625cfc 15071 * misc/mkostemps64.c: Likewise.
3f55550c 15072 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15073 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15074 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15075 * sysdeps/wordsize-64/mkostemp.c: File removed.
15076 * sysdeps/wordsize-64/mkstemp.c: File removed.
15077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15081
09c0ee5f
RM
15082 [BZ #14138]
15083 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15085 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15086 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15087
15088 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15089 compat_symbol macros from <shlib-compat.h> rather than the underlying
15090 default_symbol_version and symbol_version macros, so that DEFAULT
15091 lines in shlib-versions are respected.
15092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15093
7e66ee51
FW
150942012-08-01 Florian Weimer <fweimer@redhat.com>
15095
15096 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15097 Declare with warn_unused_result.
15098 (setgid, setregid, setegid, setresgid): Likewise.
15099 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15100 Likewise.
15101 * WUR-REPORT: Remove set*id functions.
15102
d2a54255
PT
151032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15104
15105 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15106
7ecdb005
RM
151072012-07-31 Roland McGrath <roland@hack.frob.com>
15108
b4180a5e 15109 [BZ #10191]
789bd351
RM
15110 * include/sys/socket.h (__libc_accept, __libc_accept4):
15111 Add attribute_hidden.
15112 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15113
40ce302d
RM
15114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15115 use of PTR_MANGLE.
15116 * inet/getnetgrent_r.c (setup): Likewise.
15117
7ecdb005
RM
15118 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15119
e2eabb2c
DM
151202012-07-31 David S. Miller <davem@davemloft.net>
15121
15122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15123
d0419dbf
JM
151242012-07-31 Joseph Myers <joseph@codesourcery.com>
15125
15126 [BZ #13629]
15127 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15128 value between 1.0 and 2.0 and smaller part has absolute value less
15129 than 1.0.
15130 * math/s_clog10.c (__clog10): Likewise.
15131 * math/s_clog10f.c (__clog10f): Likewise.
15132 * math/s_clog10l.c (__clog10l): Likewise.
15133 * math/s_clogf.c (__clogf): Likewise.
15134 * math/s_clogl.c (__clogl): Likewise.
15135 * math/libm-test.inc (clog_test): Add more tests.
15136 (clog10_test): Likewise.
15137 * sysdeps/i386/fpu/libm-test-ulps: Update.
15138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139
2bc13872
FW
151402012-07-31 Florian Weimer <fweimer@redhat.com>
15141
15142 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15143 Exit with zero in case no suitable GID is found, and write a
15144 message to standard error.
15145
bea9b193
RM
151462012-07-30 Roland McGrath <roland@hack.frob.com>
15147
15148 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15149 rather than to 1.
15150 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15151 (MAXPATHLEN): Removed.
15152 (NOGROUP, NODEV): New macros.
15153 (setbit, clrbit, isset, isclr): New macros.
15154 (howmany, roundup, powerof2): New macros.
15155 (DEV_BSIZE): New macro.
15156
15157 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15158 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15159
15160 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15161 definition on [!__NO_LONG_DOUBLE_MATH].
15162
15163 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15164 PTR_MANGLE and PTR_DEMANGLE.
15165
15166 * socket/accept4.c (accept4): Rename to __libc_accept4.
15167 Define accept4 as a weak alias.
15168
15169 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15170 on [_DIRENT_HAVE_D_TYPE].
15171 * io/ftw.c (ftw_dir): Likewise.
15172
15173 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15174
15175 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15176
15177 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15178 Use the BSD numbers rather than the arbitrary ones we had.
15179 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15180 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15181 (SIGXCPU, SIGXFSZ): New macros.
15182 (_NSIG): Now 32.
15183
15184 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15185 initializer on [_LIBC_REENTRANT].
15186
15187 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15188 definitions inside [_POSIX_MAPPED_FILES].
15189
15190 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15191
15192 * dirent/opendir.c: Include <fcntl.h>.
15193
15194 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15195 (__libc_getspecific): Likewise.
15196 (__libc_key_create): Likewise.
15197
15198 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15199 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15200 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15201 (tmpfile64): Define as alias.
15202 * sysdeps/wordsize-64/tmpfile.c: File removed.
15203 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15206
15207 * stdio-common/vfscanf.c: Include <stdbool.h>.
15208 * nss/makedb.c: Likewise.
15209 * stdio-common/_i18n_number.h: Likewise.
15210 * argp/argp-help.c: Likewise.
15211 * posix/wordexp.c: Likewise.
15212 * sysdeps/posix/spawni.c: Likewise.
15213 * nss/nss_files/files-initgroups.c: Likewise.
15214 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15215 * nss/nss_files/files-initgroups.c: Likewise.
15216 * nss/nss_db/db-netgrp.c: Likewise.
15217 * nss/nss_db/db-initgroups.c: Likewise.
15218 * io/fchmodat.c: Include <sys/stat.h>.
15219
15220 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15221 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15222
15223 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15224 [HAVE_MMAP].
15225
15226 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15227 Add multiple inclusion protection.
15228
e5abc686
DM
152292012-07-27 David S. Miller <davem@davemloft.net>
15230
15231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15232
815e6fa3
GB
152332012-07-27 Gary Benson <gbenson@redhat.com>
15234
15235 [BZ #14298]
15236 * elf/rtld.c: Include <stap-probe.h>.
15237 (dl_main): Added static probes "init_start" and "init_complete".
15238 * elf/dl-load.c: Include <stap-probe.h>.
15239 (lose): Take new parameter "nsid".
15240 Added static probe "map_failed".
15241 (_dl_map_object_from_fd): Pass namespace id to lose.
15242 Added static probe "map_start".
15243 (open_verify): Pass namespace id to lose.
15244 * elf/dl-open.c: Include <stap-probe.h>.
15245 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15246 and "reloc_complete".
15247 * elf/dl-close.c: Include <stap-probe.h>.
15248 (_dl_close_worker): Added static probes "unmap_start" and
15249 "unmap_complete".
15250 * elf/rtld-debugger-interface.txt: New file documenting the above.
15251
9f98c16c
RM
152522012-07-26 Roland McGrath <roland@hack.frob.com>
15253
15254 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15255 rather than a string variable.
15256 * sunrpc/rpc_main.c (h_output): Likewise.
15257 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15258
f3c22df3
PT
152592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15260
15261 * inet/check_native.c: New file.
15262
3129cfc6
JM
152632012-07-26 Joseph Myers <joseph@codesourcery.com>
15264
da865e95
JM
15265 [BZ #13629]
15266 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15267 if larger part has absolute value 1.0.
15268 * math/s_clog10.c (__clog10): Likewise.
15269 * math/s_clog10f.c (__clog10f): Likewise.
15270 * math/s_clog10l.c (__clog10l): Likewise.
15271 * math/s_clogf.c (__clogf): Likewise.
15272 * math/s_clogl.c (__clogl): Likewise.
15273 * math/libm-test.inc (clog_test): Add more tests.
15274 (clog10_test): Likewise.
15275 * sysdeps/i386/fpu/libm-test-ulps: Update.
15276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15277
3129cfc6
JM
15278 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15279 (pltexit): Likewise.
15280 (La_regs): Likewise.
15281 (La_retval): Likewise.
15282 (int_retval): Likewise.
15283 Update #error for removed macros to refer only to definitions in
15284 tst-audit.h.
15285 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15286 macro.
15287 (pltexit): Likewise.
15288 (La_regs): Likewise.
15289 (La_retval): Likewise.
15290 (int_retval): Likewise.
15291 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15292 macro.
15293 (pltexit): Likewise.
15294 (La_regs): Likewise.
15295 (La_retval): Likewise.
15296 (int_retval): Likewise.
15297 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15298 macro.
15299 (pltexit): Likewise.
15300 (La_regs): Likewise.
15301 (La_retval): Likewise.
15302 (int_retval): Likewise.
15303 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15304 macro.
15305 (pltexit): Likewise.
15306 (La_regs): Likewise.
15307 (La_retval): Likewise.
15308 (int_retval): Likewise.
15309 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15310 macro.
15311 (pltexit): Likewise.
15312 (La_regs): Likewise.
15313 (La_retval): Likewise.
15314 (int_retval): Likewise.
15315 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15316 macro.
15317 (pltexit): Likewise.
15318 (La_regs): Likewise.
15319 (La_retval): Likewise.
15320 (int_retval): Likewise.
15321 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15322 macro definitions in tst-audit.h.
15323 * sysdeps/i386/tst-audit.h: New file.
15324 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15325 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15326 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15327 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15328 * sysdeps/sh/tst-audit.h: Likewise.
15329 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15330 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15331 * sysdeps/x86_64/tst-audit.h: Likewise.
15332
bfc07087
AJ
153332012-07-26 Andreas Jaeger <aj@suse.de>
15334
b1b2aaf8
AJ
15335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15336 ptrace.
15337
15338 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15339 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15340 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15341 PTRACE_O_MASK.
15342 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15343 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15345
bfc07087
AJ
15346 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15347 value.
15348
15349 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15350 _sigsys.
15351 (si_call_addr, si_syscall, si_arch): Define new macro.
15352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15353 _sigsys.
15354 (si_call_addr, si_syscall, si_arch): Define new marcro.
15355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15356 _sigsys.
15357 (si_call_addr, si_syscall, si_arch): Define new macro.
15358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15359 _sigsys.
15360 (si_call_addr, si_syscall, si_arch): Define new macro.
15361
89b4b02f
JM
153622012-07-25 Joseph Myers <joseph@codesourcery.com>
15363
15364 [BZ #13717]
15365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15366 Change to 2.4.21 where previously 2.4.1.
15367 * sysdeps/unix/sysv/linux/configure: Regenerated.
15368 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15369 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15370 Linux kernel version.
15371 (__ASSUME_STD_AUXV): Remove.
15372 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15373 kernel version.
15374 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15375 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15376 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15377 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15378 (__ASSUME_NETLINK_SUPPORT): Likewise.
15379 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15380 (__no_netlink_support): Remove conditional definition.
15381 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15382 Remove.
15383 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15384 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15386 (if_nameindex_ioctl): Remove.
15387 (if_nameindex_netlink): Do not handle __no_netlink_support.
15388 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15389 code.
15390 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15391 Remove conditional code.
15392 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15393 code.
15394 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15395 unconditional.
15396 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15397 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15398 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15399 Remove.
15400 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15401 [!__ASSUME_STD_AUXV]: Remove conditional code.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15403 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15404 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15407 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15408 code.
15409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15411 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15413 conditional code.
15414 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15417 code.
15418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15420 conditional code.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15422 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15423 code unconditional.
15424 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15425 conditional code.
15426 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15427 unconditional.
15428 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15429 conditional code.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15431 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15432 unconditional.
15433 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15434 conditional code.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15436 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15437 code unconditional.
15438 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15439 conditional code.
15440 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15441 unconditional.
15442 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15443 conditional code.
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15445 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15446 code unconditional.
15447 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15448 conditional code.
15449 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15450 unconditional.
15451 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15452 conditional code.
15453
842a39cd
AS
154542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15455
15456 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15458 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15459 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15460 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15463 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15464 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15465 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15466 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15467 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15469 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15472 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15476 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15479
84b3fd84
FW
154802012-07-25 Florian Weimer <fweimer@redhat.com>
15481
15482 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15483 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15484 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15485 Introduce __libc_secure_getenv.
0c7936d5
FW
15486 * stdlib/Versions (2.17): Add secure_getenv
15487 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15488 * stdlib/secure-getenv.c: Rename __secure_getenv to
15489 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15490 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15491 * stdlib/tst-secure-getenv.c: New.
15492 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15493 * manual/startup.texi (Environment Access): Document
15494 secure_getenv.
84b3fd84
FW
15495 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15496 __libc_secure_getenv.
15497 * inet/ruserpass.c (ruserpass): Likewise.
15498 * malloc/mtrace.c (mtrace): Likewise.
15499 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15500 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15501 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15502 * sysdeps/posix/tempname.c: Likewise. Evaluate
15503 HAVE_SECURE_GETENV.
15504 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15505 __secure_getenv to __libc_secure_getenv.
84b3fd84 15506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15508 Likewise.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15510 Likewise.
15511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15518
56e49b71
JM
155192012-07-25 Joseph Myers <joseph@codesourcery.com>
15520
15521 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15522 (struct La_i86_retval): Likewise.
15523 (struct La_x86_64_regs): Likewise.
15524 (struct La_x86_64_retval): Likewise.
15525 (struct La_x32_regs): Likewise.
15526 (struct La_x32_retval): Likewise.
15527 (struct La_ppc32_regs): Likewise.
15528 (struct La_ppc32_retval): Likewise.
15529 (struct La_ppc64_regs): Likewise.
15530 (struct La_ppc64_retval): Likewise.
15531 (struct La_sh_regs): Likewise.
15532 (struct La_sh_retval): Likewise.
15533 (struct La_s390_32_regs): Likewise.
15534 (struct La_s390_32_retval): Likewise.
15535 (struct La_s390_64_regs): Likewise.
15536 (struct La_s390_64_retval): Likewise.
15537 (struct La_sparc32_regs): Likewise.
15538 (struct La_sparc32_retval): Likewise.
15539 (struct La_sparc64_regs): Likewise.
15540 (struct La_sparc64_retval): Likewise.
15541 (struct audit_ifaces): Remove architecture-specific pltenter and
15542 pltexit members.
15543 * sysdeps/i386/ldsodefs.h: New file.
15544 * sysdeps/powerpc/ldsodefs.h: Likewise.
15545 * sysdeps/s390/ldsodefs.h: Likewise.
15546 * sysdeps/sh/ldsodefs.h: Likewise.
15547 * sysdeps/sparc/ldsodefs.h: Likewise.
15548 * sysdeps/x86_64/ldsodefs.h: Likewise.
15549
354691b7
MP
155502012-07-25 Marek Polacek <polacek@redhat.com>
15551
15552 [BZ #6808]
15553 * math/libm-test.inc (yn_test): Add another test.
15554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15555 to ERANGE when the result is +-Inf.
15556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15560
bf9e2071
JM
155612012-07-24 Joseph Myers <joseph@codesourcery.com>
15562
15563 * conform/data/time.h-data (NULL): Use macro-constant. Require
15564 equal to 0.
15565 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15566 clock_t.
15567 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15568
57633811
TS
155692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15570
15571 * configure.in <sysdeps resolving>: Correct printing
15572 Implies_before.
15573 * configure: Regenerate.
15574
c23c33b0
TS
155752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15576
15577 * math/w_ilogb.c: Include <limits.h>.
15578 * math/w_ilogbl.c: Likewise.
15579
b5982523
JM
155802012-07-20 Joseph Myers <joseph@codesourcery.com>
15581
15582 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15583 va_copy. Document allowing for unavailable va_copy only as
15584 pre-C99 compatibility.
15585 * manual/string.texi (Copying and Concatenation): Use va_copy
15586 instead of __va_copy in concat example.
15587
ac4ea442
PT
155882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15589
15590 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15591 (__sendto): Use create_address_port. Initialize APORT and deallocate
15592 it if not null.
15593
f98eafbd
PT
15594 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15595 with O_NOLINK passed to __file_name_lookup.
15596
898c7aab
PT
15597 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15598 with O_NOLINK passed to __file_name_lookup.
15599
0ced335a
PT
15600 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15601 negative N or less than NGIDS.
15602
b3404dbd
PT
15603 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15604 type to string_t. Set ERANGE as errno and return it if NAME is not big
15605 enough. Use memcpy instead of strncpy.
15606
0f48659e
JM
156072012-07-20 Joseph Myers <joseph@codesourcery.com>
15608
15609 * elf/Makefile (check-data): Remove.
15610 (localplt.data): New vpath directive.
15611 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15612 instead of $(check-data).
15613 * scripts/data/localplt-generic.data: Move to ...
15614 * sysdeps/generic/localplt.data: ... here.
15615 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15616 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15617 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15619 ... here.
15620 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15622 ... here.
15623 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15625 ... here.
15626 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15628 ... here.
15629 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15631 ... here.
15632 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15634 ... here.
15635
d37cbdaa
AZ
156362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15637
15638 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15639 PPC32 and PPC64 files.
15640 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15641 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15642
46f85fc2
AK
156432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15644
15645 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15646 __makecontext_ret to ...
15647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15648 ... here and call exit if uc_link is NULL. New file.
15649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15650 __makecontext_ret.S.
15651 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15652 __makecontext_ret to ...
15653 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15654 ... here and call exit if uc_link is NULL. New file.
15655 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15656 __makecontext_ret.S.
15657
08f43f9b
AK
156582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15659
15660 * elf/elf.h (R_390_IRELATIVE): New definition.
15661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15662 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15663 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15665 (elf_machine_lazy_rel): Likewise.
15666 * sysdeps/s390/dl-irel.h: New file.
15667 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15668 * sysdeps/s390/s390-64/memset.S: New asm code.
15669 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15670 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15672 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15673 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15674 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15676 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15677 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15678 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15679 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15680 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15681 * sysdeps/s390/s390-32/memset.S: New asm code.
15682 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15683
3b05db33
MP
156842012-07-17 Marek Polacek <polacek@redhat.com>
15685
15686 [BZ #14349]
15687 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15688 * sysdeps/s390/s390-64/configure.in: Likewise.
15689 * sysdeps/sparc/configure.in: Likewise.
15690 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15691 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15692 * sysdeps/i386/configure.in: Likewise.
15693 * sysdeps/x86_64/configure.in: Likewise.
15694 * sysdeps/sh/configure.in: Likewise.
15695 * sysdeps/s390/s390-32/configure: Regenerated.
15696 * sysdeps/s390/s390-64/configure: Likewise.
15697 * sysdeps/x86_64/configure: Likewise.
15698 * sysdeps/sh/configure: Likewise.
15699 * sysdeps/powerpc/powerpc64/configure: Likewise.
15700 * sysdeps/powerpc/powerpc32/configure: Likewise.
15701 * sysdeps/sparc/configure: Likwise.
15702 * sysdeps/i386/configure: Likewise.
15703
a66877c6
MP
15704 * elf/dl-open.c: Comment fixes.
15705
cfc82fd8
JM
157062012-07-17 Joseph Myers <joseph@codesourcery.com>
15707
bd29910a
JM
15708 * Makefile [CXX] (check-data): Remove.
15709 [CXX] (c++-types.data): New vpath directive.
15710 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15711 vpath. Do not allow for C++ type data being missing.
15712 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15713 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15714 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15715 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15716 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15718 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15720 ... here.
15721 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15723 ... here.
15724 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15726 ... here.
15727 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15729 ... here.
15730 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15732 ... here.
15733 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15735 ... here.
15736 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15738 ... here.
15739 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15741
cfc82fd8
JM
15742 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15743 definitions to architecture-specific files.
15744 (TLS_IE): Likewise.
15745 (TLS_LD): Likewise.
15746 (TLS_GD): Likewise.
15747 * sysdeps/i386/tls-macros.h: New file.
15748 * sysdeps/powerpc/tls-macros.h: Likewise.
15749 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15750 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15751 * sysdeps/sh/tls-macros.h: Likewise.
15752 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15753 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15754 * sysdeps/x86_64/tls-macros.h: Likewise.
15755
f7db3170
TS
157562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15757
07cbfc23
TS
15758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15759 zero value for regular exit case.
15760
f7db3170
TS
15761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15762 (__start_context): Preserve zero value for regular exit case.
15763
dc97c227
TS
157642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15766
15767 * manual/setjmp.texi (setcontext): Clarify normal process
15768 termination when uc_link is the null pointer.
15769 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15770 exit call.
15771
d0cd7d02
AS
157722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15773
15774 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15775 preprocessor. Test for each exception mask separately.
15776
dd318934
AJ
157772012-07-16 Andreas Jaeger <aj@suse.de>
15778
15779 * po/ru.po: Update from translation team.
15780
8048311a
JM
157812012-07-15 Joseph Myers <joseph@codesourcery.com>
15782
15783 * conform/data/string.h-data (NULL): Use macro-constant. Require
15784 equal to 0.
15785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15787 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15788 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15790
b637d46e
AJ
157912012-07-13 Andreas Jaeger <aj@suse.de>
15792
15793 * po/fr.po: Update from translation team.
15794
541428fe
MP
157952012-07-12 Marek Polacek <polacek@redhat.com>
15796
15797 [BZ #14173]
15798 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15800 loop condition.
15801
ec332e94
JM
158022012-07-12 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #13717]
15805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15806 Change to 2.4.1 where previously 2.4.0.
15807 * sysdeps/unix/sysv/linux/configure: Regenerated.
15808 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15809 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15810 version.
15811 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15812 (__ASSUME_AT_CLKTCK): Remove.
15813 (__ASSUME_AT_PAGESIZE): Likewise.
15814 (__ASSUME_AT_XID): Likewise.
15815 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15816 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15817 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15818 unconditionally.
15819 (HAVE_AUX_PAGESIZE): Likewise.
15820 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15821 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15822 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15823
7b6e99be
JB
158242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15825
15826 [BZ #14307]
15827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15828 the temporary buffer used to invoke __gethostbyname2_r,
15829 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15830 host_data / struct gaih_addrtuple.
15831 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15832 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15833 header file nss/nsswitch.h.
15834 * nss/nsswitch.h (global scope): Add definition of implementation
15835 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15836 resolv/nss_dns/dns-host.c).
15837
608404eb
AJ
158382012-07-11 Andreas Jaeger <aj@suse.de>
15839
15840 * po/fr.po: Update from translation team.
15841
71220aca
AJ
15842 * po/sv.po: Update from translation team
15843 * po/fr.po: Another update from translation team.
15844
28cfe843
AZ
158452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15846
15847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15848 for subnormals or multiply small sinh result by itself.
15849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15851
6b90f981
DM
158522012-07-11 David S. Miller <davem@davemloft.net>
15853
15854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15855
c6825772
AS
158562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15857
15858 [BZ #14347]
15859 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15860 (INTERNAL_MARK): Shift it here.
15861
7b8e0d49
MP
158622012-07-10 Marek Polacek <polacek@redhat.com>
15863
15864 [BZ #14151]
15865 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15866 libc_cv_asm_global_directive with .globl.
15867 * configure: Regenerated.
15868 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15869 with .globl.
15870 * sysdeps/i386/configure: Regenerated.
15871 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15872 with .globl.
15873 * sysdeps/x86_64/configure: Regenerated.
15874 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15875 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15876 * elf/tst-unique2mod2.c: Likewise.
15877 * elf/tst-unique2mod1.c: Likewise.
15878 * elf/tst-unique1mod2.c: Likewise.
15879 * elf/tst-unique1mod1.c: Likewise.
15880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15883 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15884 * sysdeps/mach/sysdep.h: Likewise.
15885 * sysdeps/i386/sysdep.h: Likewise.
15886 * sysdeps/i386/i386-mcount.S: Likewise.
15887 * sysdeps/x86_64/_mcount.S: Likewise.
15888 * sysdeps/x86_64/sysdep.h: Likewise.
15889 * sysdeps/sh/_mcount.S: Likewise.
15890 * sysdeps/sh/sysdep.h: Likewise.
15891 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15892 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15893 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15895 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15896 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15897 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15898 * locale/localeinfo.h: Likewise.
15899 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15900 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15901
6c55cda3
RM
159022012-07-09 Roland McGrath <roland@hack.frob.com>
15903
15904 [BZ #14336]
15905 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15906 system".
15907 * manual/message.texi (The Uniforum approach): Likewise.
15908 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15909 (glibc iconv Implementation): Likewise.
15910
638a572e
JM
159112012-07-09 Joseph Myers <joseph@codesourcery.com>
15912
15913 [BZ #14337]
15914 * math/s_clog.c (__clog): Avoid scaling a value down where that
15915 could result in underflow.
15916 * math/s_clog10.c (__clog10): Likewise.
15917 * math/s_clog10f.c (__clog10f): Likewise.
15918 * math/s_clog10l.c (__clog10l): Likewise.
15919 * math/s_clogf.c (__clogf): Likewise.
15920 * math/s_clogl.c (__clogl): Likewise.
15921 * math/libm-test.inc (clog_test): Add more tests.
15922 (clog10_test): Likewise.
15923 * sysdeps/i386/fpu/libm-test-ulps: Update.
15924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15925
261f4859
AS
159262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15927
0abaf3e4
AS
15928 [BZ #14283]
15929 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15930 by 7 not 8 to examine high bit of fractional part.
15931
261f4859
AS
15932 [BZ #14042]
15933 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15934 for call to __mcount_internal.
15935 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15936 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15937 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15938
f17ac40d
JM
159392012-07-06 Joseph Myers <joseph@codesourcery.com>
15940
9ad63c23
JM
15941 [BZ #14154]
15942 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15943 approximation for values within 0x1p-13f of an odd multiple of
15944 pi/4.
15945 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15946 exception. Add more tests.
15947 * sysdeps/i386/fpu/libm-test-ulps: Update.
15948
f17ac40d
JM
15949 [BZ #6778]
15950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15951 inputs and return -1 for them. Do not check for +Inf in case not
15952 reachable for +Inf.
15953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15954 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15956 and return -1 for them. Do not check for +Inf in case not
15957 reachable for +Inf.
15958 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15959 define.
15960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15961 and return -1 for them. Do not check for +Inf in case not
15962 reachable for +Inf.
15963 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15964 spurious underflow.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
fb21f89b
MF
159682012-07-06 Mike Frysinger <vapier@gentoo.org>
15969
15970 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15971
cdfe2c5e
JM
159722012-07-05 Joseph Myers <joseph@codesourcery.com>
15973
15974 [BZ #14157]
15975 [BZ #14331]
15976 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15977 could result in spurious underflow. Scale down values above
15978 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15979 * math/s_csqrtf.c (__csqrtf): Likewise.
15980 * math/s_csqrtl.c (__csqrtl): Likewise.
15981 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15982 spurious underflow.
15983 * sysdeps/i386/fpu/libm-test-ulps: Update.
15984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15985
70d35b67
AS
159862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15987
704bc459
AS
15988 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15989 xopen-msg.sed.
15990 * catgets/xopen-msg.awk: New file.
15991 * catgets/xopen-msg.sed: Removed.
15992
70d35b67
AS
15993 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15994 po2text.sed.
15995 * intl/po2test.awk: New file.
15996 * intl/po2test.sed: Removed.
15997
ca61cf32
JM
159982012-07-04 Joseph Myers <joseph@codesourcery.com>
15999
16000 [BZ #14328]
16001 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16002 or multiply small sinh result by itself.
16003 * math/s_ctanf.c (__ctanf): Likewise.
16004 * math/s_ctanh.c (__ctanh): Likewise.
16005 * math/s_ctanhf.c (__ctanhf): Likewise.
16006 * math/s_ctanhl.c (__ctanhl): Likewise.
16007 * math/s_ctanl.c (__ctanl): Likewise.
16008 * math/libm-test.inc (ctan_test_tonearest): New function.
16009 (ctan_test_towardzero): Likewise.
16010 (ctan_test_downward): Likewise.
16011 (ctan_test_upward): Likewise.
16012 (ctanh_test_tonearest): Likewise.
16013 (ctanh_test_towardzero): Likewise.
16014 (ctanh_test_downward): Likewise.
16015 (ctanh_test_upward): Likewise.
16016 (main): Call these new functions.
16017 * sysdeps/i386/fpu/libm-test-ulps: Update.
16018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16019
ca48a46a
MF
160202012-07-03 Mike Frysinger <vapier@gentoo.org>
16021
16022 * .gitignore: Delete /ports entry.
16023
9d63d37d
AJ
160242012-07-03 Andreas Jaeger <aj@suse.de>
16025
16026 * po/bg.po: Update from translation team.
16027 * po/cs.po: Likewise.
16028 * po/de.po: Likewise.
16029 * po/hr.po: Likewise.
16030 * po/nl.pl: Likewise.
16031 * po/pl.po: Likewise.
16032 * po/vi.po: Likewise.
16033
370ca3d2
JM
160342012-07-03 Joseph Myers <joseph@codesourcery.com>
16035
95f5a9a8
JM
16036 * Makeconfig [!+link] (+link-before-libc): New variable.
16037 [!+link] (+link-after-libc): Likewise.
16038 [!+link] (+link-tests): Likewise.
16039 [!+link] (+link): Define in terms of $(+link-before-libc) and
16040 $(+link-after-libc).
16041 [!+link-static] (+link-static-before-libc): New variable.
16042 [!+link-static] (+link-static-after-libc): Likewise.
16043 [!+link-static] (+link-static-tests): Likewise.
16044 [!+link-static] (+link-static): Define in terms of
16045 $(+link-static-before-libc) and $(+link-static-after-libc).
16046 [build-shared] (link-libc-before-gnulib): New variable.
16047 [build-shared] (link-libc-tests): Likewise.
16048 [build-shared] (link-libc): Define in terms of
16049 $(link-libc-before-gnulib).
16050 [!build-shared] (link-libc-tests): New variable.
16051 (link-libc-static-tests): New variable.
16052 [!gnulib] (gnulib-arch): New variable.
16053 [!gnulib] (gnulib-tests): Likewise.
16054 [!gnulib] (static-gnulib-arch): Likewise.
16055 [!gnulib] (static-gnulib-tests): Likewise.
16056 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16057 Define with "=" instead of ":=".
16058 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16059 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16060 * Rules (binaries-all-notests): New variable.
16061 (binaries-all-tests): Likewise.
16062 (binaries-static-notests): Likewise.
16063 (binaries-static-tests): Likewise.
16064 (binaries-all): Define using $(binaries-all-notests) and
16065 $(binaries-all-tests).
16066 (binaries-static): Define using $(binaries-static-notests) and
16067 $(binaries-static-tests).
16068 (binaries-shared-tests): New variable.
16069 (binaries-shared-notests): Likewise.
16070 (binaries-shared): Remove variable.
16071 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16072 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16073 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16074 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16075 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16076 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16077 * elf/Makefile (sln-modules): New variable.
16078 (extra-objs): Add $(sln-modules:=.o).
16079 (ldconfig-modules): Add static-stubs.
16080 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16081 * elf/static-stubs.c: New file.
16082
7a845b2c
JM
16083 [BZ #14283]
16084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16085 by 7 not 8 to examine high bit of fractional part. Use volatile
16086 variables when splitting into final array of floats if
16087 __FLT_EVAL_METHOD__ != 0.
16088 * math/libm-test.inc (cos_test): Add another test.
16089 (sin_test): Likewise.
16090 * sysdeps/i386/fpu/libm-test-ulps: Update.
16091
e2283f38
JM
16092 [BZ #14273]
16093 * math/libm-test.inc (cosh_test): Add more tests.
16094
370ca3d2
JM
16095 * version.h (RELEASE): Set to "development".
16096 (VERSION): Set to "2.16.90".
16097
ee9247c3
CD
160982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16099
16100 * NEWS: Update copyright. Remove last-updated date.
16101 Mention math library bug fixes and timezone data changes.
16102 * README: Mention GNU/Hurd, x32, and HPPA support status.
16103
4648c381
TS
161042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16105
16106 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16107
aac78a43
AJ
161082012-06-27 Andreas Jaeger <aj@suse.de>
16109
16110 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16111
ed3dbfad
AJ
161122012-06-25 Andreas Jaeger <aj@suse.de>
16113
16114 * sysdeps/s390/fpu/libm-test-ulps: Update.
16115
4d0ee855
AS
161162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16117 Thomas Schwinge <thomas@codesourcery.com>
16118
16119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16120 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16122 fanotify_mark.
16123
af1bce34
TS
161242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16125
a9fa33ba
TS
16126 * sysdeps/mach/start.c: Remove file.
16127 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16128 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16129 * sysdeps/sh/init-first.c: Likewise.
16130
58f902b8
TS
16131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16132 registers for frame unwinding purposes, add CFI directives.
16133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16135 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16136 Likewise.
16137
1518f58b
TS
16138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16139 __fortify_fail returning.
16140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16141
db9b5059
TS
16142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16143 sysdeps/sh/____longjmp_chk.S.
16144 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16145 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16146 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16147 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16148
967705fe
TS
16149 * sysdeps/sh/abort-instr.h: New file.
16150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16151 process in case exit returns.
16152
a9def8c4
TS
16153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16154 initialize the GOT register before use.
16155
2a649725
TS
16156 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16157 calculation of ARGC > 4.
16158
af1bce34
TS
16159 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16160 meaningful names to some local labels.
16161
d230f50a
KK
161622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16163 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16164
16165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16166 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16167 (__arch_compare_and_exchange_val_16_acq): Likewise.
16168 (__arch_compare_and_exchange_val_32_acq): Likewise.
16169 (atomic_exchange_and_add): Fix gUSA sequence.
16170 (atomic_add): Likewise.
16171 (atomic_add_negative): Likewise.
16172 (atomic_add_zero): Likewise.
16173 (atomic_bit_test_set): Likewise.
16174
0479b305
AS
161752012-06-22 Andreas Schwab <schwab@redhat.com>
16176
16177 [BZ #13579]
16178 * include/link.h (struct link_map): Add l_free_initfini.
16179 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16180 l_initfini.
16181 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16182 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16183 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16184 set.
16185
0e3933b9
CD
161862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16187
16188 * configure.in: Use AC_LANG_SOURCE.
16189 * configure: Regenerate.
16190
4248b1b1
RM
161912012-06-22 Roland McGrath <roland@hack.frob.com>
16192
16193 * configure.in (libc_cv_localstatedir): New substituted variable.
16194 * configure: Regenerated.
16195 * config.make.in (localstatedir): New variable, substituted from
16196 libc_cv_localstatedir.
16197 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16198 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16199 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16200 * sysdeps/gnu/configure: Regenerated.
16201
006dd861
JL
162022012-06-21 Jeff Law <law@redhat.com>
16203
16204 [BZ #14277]
16205 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16206 free. Simplify list management for _LIBC case.
16207
79662d42
JM
162082012-06-21 Joseph Myers <joseph@codesourcery.com>
16209
b7abb4bf
JM
16210 [BZ #14273]
16211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16212 Clear sign bit of 64-bit integer value before comparing against
16213 overflow value.
16214
79662d42
JM
16215 * sysdeps/mach/configure: Regenerated.
16216
1f150908
L
162172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16218
16219 [BZ #14278]
16220 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16221
28363bbf
JL
162222012-06-21 Jeff Law <law@redhat.com>
16223
16224 [BZ #13882]
16225 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16226 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16228 * elf/dl-open.c (dl_open_worker): Likewise.
16229
09615db4
CD
162302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16231
16232 * scripts/list-sources.sh: Scan PORTS for translations.
16233 * po/libc.pot: Regenerated.
16234
2174c6dd
AJ
162352012-06-21 Andreas Jaeger <aj@suse.de>
16236
16237 [BZ #12194]
16238 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16239 warning.
16240 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16241 * bits/byteswap-16.h (__bswap_16): Likewise.
16242 * bits/byteswap.h (__bswap_constant_16): Likewise.
16243
3ee947b1
L
162442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16245
16246 [BZ #14117]
a2f34833
L
16247 * sysdeps/i386/fpu_control.h: Removed.
16248 * sysdeps/x86_64/fpu_control.h: Moved to ...
16249 * sysdeps/x86/fpu_control.h: Here.
16250
3ee947b1
L
16251 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16252 (_FPU_SETCW): Likewise.
16253
ed1825f8
L
162542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16255
25f1282a
L
16256 [BZ #14117]
16257 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16258 * sysdeps/x86/fpu/bits/mathinline.h: This.
16259 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16260
ed1825f8
L
16261 [BZ #14050]
16262 [BZ #14117]
16263 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16264 functions if __x86_64__ is defined.
16265
36d54b74
CLT
162662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16267
16268 * string/endian.h: Add !__ASSEMBLER__ condition for including
16269 conversion interfaces.
16270
10285c21
JM
162712012-06-15 Joseph Myers <joseph@codesourcery.com>
16272
16273 [BZ #14241]
16274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16275 of ABS(x) in calculating zero to negative powers other than odd
16276 integers.
16277 * math/libm-test.inc (pow_test): Add more tests.
16278
06c5abbd
AJ
162792012-06-15 Andreas Jaeger <aj@suse.de>
16280
16281 * manual/contrib.texi (Contributors): Update entry of Liubov
16282 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16283 Machado Filho.
16284
a3aeac40
CH
162852012-06-15 Cyril Hrubis <metan@ucw.cz>
16286
16287 * string/string.h: Add __wur to GNU version of strerror_r.
16288
49bdf4c1
L
162892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 [BZ #14229]
16292 * string/Makefile (tests): Add tst-strtok_r.
16293 * string/tst-strtok_r.c: New file.
16294 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16295 RAX_LP/RDX_LP on SAVE_PTR.
16296
834f9b8d
RM
162972012-06-14 Roland McGrath <roland@hack.frob.com>
16298
16299 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16300
75fa1921
JM
163012012-06-14 Joseph Myers <joseph@codesourcery.com>
16302
16303 * libm_test.inc (csqrt_test): Allow more spurious underflow
16304 exceptions.
16305 (j0_test): Likewise.
16306 (j1_test): Likewise.
16307 (y0_test): Likewise.
16308 (y1_test): Likewise.
16309
771766df
CD
163102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16311
16312 * po/Makefile (libc.pot): Use UTF-8 charset.
16313
ceb9e56b
PP
163142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16315
16316 [BZ #14210]
16317 Suppress sign-conversion warning from FD_SET.
16318 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16319 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16320 not unsigned long int.
16321 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16322
ddb28975
L
163232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16324
16325 [BZ #14050]
16326 [BZ #14117]
16327 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16328 __extern_always_inline instead of __extern_inline.
16329 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16330 (__signbit): Likewise.
16331 (__signbitl): Support C++ namespace.
16332 (lrintf): New inline function.
16333 (lrint): Likewise.
16334 (llrintf): Likewise.
16335 (llrint): Likewise.
16336 (fmaxf): Likewise.
16337 (fmax): Likewise.
16338 (fminf): Likewise.
16339 (fmin): Likewise.
16340 (rint): Likewise.
16341 (rintf): Likewise.
16342 (ceil): Likewise.
16343 (ceilf): Likewise.
16344 (floor): Likewise.
16345 (floorf): Likewise.
16346 (nearbyint): Likewise.
16347 (nearbyintf): Likewise.
16348
d7b4fb26
TS
163492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16350
16351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16352 non-default versions.
16353
eb55f5c2
RM
163542012-06-11 Roland McGrath <roland@hack.frob.com>
16355
16356 [BZ #14218]
16357 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16358
366af02c
TS
163592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16360
99ff6e5c
TS
16361 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16362 (FE_UPWARD, FE_DOWNWARD): Don't define.
16363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16365
366af02c
TS
16366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16367 reading it.
16368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16370
793ea851
KK
163712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16372
16373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16377
a728a38f
L
163782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16379
16380 [BZ #14117]
c08010c7
L
16381 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16382 * sysdeps/i386/fpu/Implies: New file.
16383 * sysdeps/x86_64/fpu/Implies: Likewise.
16384 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16385 * sysdeps/x86/fpu/bits/fenv.h: This.
16386
a728a38f
L
16387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16388 __SSE_MATH__.
16389
6e230d11
SP
163902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
16392 [BZ #14134]
16393 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16394 character 0xffff that matches the last element of the
16395 conversion table.
16396
1b671feb
AZ
163972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16398
16399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16400 fmodl commit.
16401
6043738b
AZ
164022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16403
16404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16405 values higher than 25.6283.
16406
34ae0b32
AZ
164072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16408
16409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16410 subnormal exponent extraction and add some __builtin_expect.
16411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16412 Fix for subnormal mantissa calculation.
16413
1214ec8f
MF
164142012-06-04 Mike Frysinger <vapier@gentoo.org>
16415
16416 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16417 cpu2 is -1 and errno is not ENOSYS.
16418
f3d1f93c
L
164192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16420
16421 [BZ #14117]
0e4a3cd7
L
16422 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16423 * sysdeps/x86/bits/string.h: This.
16424 * sysdeps/x86_64/bits/string.h: Removed.
16425
6704c645
L
16426 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16427 if not compiling for x86-64, but compiling for >= i486.
16428
48495318
L
16429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16431
14adcbfc
L
16432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16433 New macro from Linux kernel 3.4.0.
16434 (FP_XSTATE_MAGIC2): Likewise.
16435 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16436 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16437 (struct _fpx_sw_bytes): New struct.
16438 (struct _xsave_hdr): Likewise.
16439 (struct _ymmh_state): Likewise.
16440 (struct _xstate): Likewise.
16441
68e408ab
L
16442 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16443 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16445 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16446 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16447 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16448
f3d1f93c
L
16449 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16450 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16451 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16452 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16453 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16454 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16455
d9dc34cd
TMQMF
164562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16457
16458 [BZ #13743]
16459 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16460 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16461 (sysdep_headers): Include sys/platform/ppc.h.
16462 * sysdeps/powerpc/test-gettimebase.c: Test for
16463 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16464 * manual/Makefile (appendices): Include platform.texi.
16465 * manual/contrib.texi (Contributors): Update @node pointers.
16466 * manual/maint.texi (Maintenance): Likewise.
16467 (Platform): New node.
16468 * manual/platform.texi: New file. Document the new features.
16469
4af3879c
SP
164702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16471 Jakub Jelinek <jakub@redhat.com>
16472
16473 [BZ #14188]
16474 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16475 where __builtin_expect is unavailable.
16476
2fd6ff13
DM
164772012-06-03 David S. Miller <davem@davemloft.net>
16478
16479 * stdlib/longlong.h: Updated from GCC.
16480
173f7220
AS
164812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16482
16483 [BZ #14042]
16484 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16485 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16486 __mcount_internal.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16488 (GLIBC_2.16): Likewise.
16489
f34a1c6f
L
164902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16491
16492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16493
88a4576f
JM
164942012-06-01 Joseph Myers <joseph@codesourcery.com>
16495
ea32bcdd
JM
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16497 (default-abi): New variable.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16500 variable.
16501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16502 Likewise.
16503 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16504 Likewise.
16505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16506 Likewise.
16507
88a4576f
JM
16508 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16509 definition. Document in comment.
16510
402fe938
DM
165112012-06-01 David S. Miller <davem@davemloft.net>
16512
16513 * stdlib/longlong.h: Updated from GCC.
16514
3553723f
L
165152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16516
16517 [BZ #14117]
3bd872c4
L
16518 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16519 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16520 sys/debugreg.h sys/io.h here.
16521 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16522 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16523 sys/io.h.
16524 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16525 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16527 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16529 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16530
3553723f
L
16531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16532 Define only if __x86_64__ is defined.
16533
4842e4fe
JM
165342012-06-01 Joseph Myers <joseph@codesourcery.com>
16535
c5bfe3d5
JM
16536 [BZ #14048]
16537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16538 Use int64_t for variable i.
16539 * math/libm-test.inc (fmod_test): Add more tests.
16540
4842e4fe
JM
16541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16542 z computation is not scheduled after fetestexcept.
16543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16544 Use math_force_eval instead of asm to ensure calculation scheduled
16545 before exception test.
16546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16547 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16548
efb73488
AJ
165492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16550
16551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16552 computation is not scheduled after fetestexcept.
16553
29bcce7c
L
165542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 [BZ #14117]
16557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16559
73a68f94
AZ
165602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16561
16562 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16564
67b6df78
L
165652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16566
edf2933a 16567 [BZ #14117]
ebc64a18
L
16568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16569 <bits/wordsize.h>.
16570 (__WCHAR_MIN): Support __WORDSIZE == 64.
16571 (__WCHAR_MAX): Likewise.
16572
edf2933a
L
16573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16575
57c6cf40
L
16576 [BZ #14183]
16577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16578 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16579
67b6df78 16580 [BZ #14117]
8eb6281e
L
16581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16583
aac639f4
L
16584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16586
67b6df78
L
16587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16588 Defined to 1 if __x86_64__ isn't defined.
16589 (_STAT_VER_LINUX_OLD): New.
16590 (st_atime): Remove duplicate.
16591 (st_mtime): Likewise.
16592 (st_ctime): Likewise.
16593
1c2cfe81
DM
165942012-05-31 David S. Miller <davem@davemloft.net>
16595
16596 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16597 entries.
16598
5be8418c
AS
165992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16600
e7725326
AS
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16602 gen-libm-test.pl.
16603
5be8418c
AS
16604 [BZ #14132]
16605 * elf/dl-reloc.c: Include <_itoa.h>.
16606 (_dl_reloc_bad_type): Remove use of INTUSE.
16607 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16608 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16609 * stdio-common/psiginfo.c (psiginfo): Likewise.
16610 * stdio-common/psignal.c (psignal): Likewise.
16611 * string/strsignal.c (strsignal): Likewise.
16612 * include/signal.h (_sys_siglist): Declare hidden proto.
16613 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16614 INTVARDEF with libc_hidden_data_def.
16615 * stdio-common/itoa-udigits.c: Likewise.
16616 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16617 (_itoa_lower_digits_internal): Remove declaration.
16618 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16619 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16620 (_sys_sigabbrev_internal): Remove aliases.
16621 (_sys_siglist): Define hidden alias.
16622
507352f1
MT
166232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16624
16625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16626 bits/sysctl.h.
16627
42bbb1c3
L
166282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 [BZ #14117]
6bd784b6
L
16631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16632 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16633
8bca20f0
L
16634 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16637 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16639 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16640
f9e890a9
L
16641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16644
471101a1
L
16645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16646 with __addr.
16647 (insw): Likewise.
16648 (insl): Likewise.
16649 (outsb): Likewise.
16650 (outsw): Likewise.
16651 (outsl): Likewise.
16652
6451c862
L
16653 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16656
a254b8c9
L
16657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16662 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16663
b8dfdd92
L
16664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16665 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16666
578cd270
L
16667 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16669
de662f5f
L
16670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16673
25653439
L
16674 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16676 to ...
16677 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16678
6bad24a0
L
16679 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16681 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16682
42bbb1c3
L
16683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16684 for x86-64.
16685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16686
2d10d547
JM
166872012-05-31 Joseph Myers <joseph@codesourcery.com>
16688
16689 * math/math.h (M_El): Use two more decimal places.
16690 (M_LOG2El): Likewise.
16691 (M_LOG10El): Likewise.
16692 (M_LN2l): Likewise.
16693 (M_LN10l): Likewise.
16694 (M_PIl): Likewise.
16695 (M_PI_2l): Likewise.
16696 (M_PI_4l): Likewise.
16697 (M_1_PIl): Likewise.
16698 (M_2_PIl): Likewise.
16699 (M_2_SQRTPIl): Likewise.
16700 (M_SQRT2l): Likewise.
16701 (M_SQRT1_2l): Likewise.
16702
f230c29b
DM
167032012-05-31 David S. Miller <davem@davemloft.net>
16704
16705 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16706 values between float registers.
16707 * sysdeps/sparc/sparc64/memset.S: Likewise.
16708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16709
fed806c3
MF
167102012-05-31 Mike Frysinger <vapier@gentoo.org>
16711
16712 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16713 -D_FORTIFY_SOURCE=1.
16714 (CPPFLAGS-tst-longjmp_chk.c): Define.
16715 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16716 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16717 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16718 CFLAGS-tst-wchar-h.c.
16719
30917259
MP
167202012-05-31 Marek Polacek <polacek@redhat.com>
16721
16722 [BZ #14132]
16723 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16724 __endmntent_internal): Remove declaration.
16725 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16726 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16727 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16728
1c58d5dc
DM
167292012-05-30 David S. Miller <davem@davemloft.net>
16730
16731 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16732 (___Q_simulate_exceptions): Use real FP ops rather than writing
16733 into the %fsr.
16734 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16735 Likewise.
16736
7dc00e0d
L
167372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 [BZ #14117]
0bd53985
L
16740 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16741 * sysdeps/x86/bits/xtitypes.h: This.
16742
3a257e66
L
16743 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16744 * sysdeps/x86/bits/wordsize.h: This.
16745
62f62904
L
16746 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16747 * sysdeps/x86/bits/huge_vall.h: This.
16748
404fe9d9
L
16749 * sysdeps/i386/bits/select.h: Removed.
16750 * sysdeps/x86_64/bits/select.h: Renamed to ...
16751 * sysdeps/x86/bits/select.h: This.
16752
d48d0446
L
16753 * sysdeps/i386/bits/setjmp.h: Removed.
16754 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16755 * sysdeps/x86/bits/setjmp.h: This.
16756
7dc00e0d
L
16757 * sysdeps/i386/bits/mathdef.h: Removed.
16758 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16759 * sysdeps/x86/bits/mathdef.h: This.
16760
03277f8f
AS
167612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16762
16763 [BZ #14132]
16764 * include/sys/socket.h (__connect_internal)
16765 (__libc_sa_len_internal): Remove declaration.
16766 (__connect, __libc_sa_len): Declare hidden_proto.
16767 (SA_LEN): Remove use of INTUSE.
16768 * socket/connect.c: Add libc_hidden_def.
16769 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16770 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16771 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16772 alias.
16773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16775 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16776 of adding _internal alias.
16777
13764867
L
167782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16779
16780 [BZ #14117]
6bd97696
L
16781 * sysdeps/i386/bits/link.h: Removed.
16782 * sysdeps/i386/bits/linkmap.h: Likewise.
16783 * sysdeps/x86_64/bits/link.h: Renamed to ...
16784 * sysdeps/x86/bits/link.h: This.
16785 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16786 * sysdeps/x86/bits/linkmap.h: This.
16787
f726f0bb
L
16788 * sysdeps/i386/bits/endian.h: Removed.
16789 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16790 * sysdeps/x86/bits/endian.h: This.
16791
13764867
L
16792 * sysdeps/i386/bits/byteswap.h: Removed.
16793 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16794 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16795 * sysdeps/x86/bits/byteswap.h: This.
16796 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16797 * sysdeps/x86/bits/byteswap-16.h: This.
16798 * sysdeps/i386/Implies: Add x86.
16799 * sysdeps/x86_64/Implies: Likewise.
16800
ae251b0b
DM
168012012-05-30 David S. Miller <davem@davemloft.net>
16802
16803 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16804 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16806 (FP_TRAPPING_EXCEPTIONS): Define.
16807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16808 (FP_TRAPPING_EXCEPTIONS): Define.
16809 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16810 subnormals only when inexact has been signalled or underflow
16811 exceptions are enabled.
16812 (_FP_PACK_CANONICAL): Likewise.
16813
d5c90867
L
168142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16815
16816 [BZ #14183]
16817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16818 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16819
63f1549e
RH
168202012-05-30 Richard Henderson <rth@twiddle.net>
16821
8d8f2279
RH
16822 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16823 with #ifndef NOT_IN_libc.
16824
63f1549e
RH
16825 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16826 marked to avoid plt entry.
16827
0ab0291b
L
168282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 [BZ #14112]
16831 * Makeconfig (default-abi): New macro.
16832 (abi-includes): Likewise.
16833 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16834 $(abi-$(default-abi)-lib-soname) for soname if defined.
16835 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16836 abi-variants.
16837 * Makefile (installed-stubs): Likewise.
16838 * include/stubs-biarch.h: Removed.
16839 * scripts/lib-names.awk: Only handle one library at a time.
16840 * scripts/soversions.awk: Remove WORDSIZE support.
16841 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16842 entries.
16843 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16844 Removed.
16845 (syscall-list-default-condition): Likewise.
16846 (syscall-list-default-condition): Likewise.
16847 (syscall-list-includes): Likewise.
16848 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16849 syscall-list-* with abi-*. Handle undefined abi-variants.
16850 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16851 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16852 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16853 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16854 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16855 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16856 Removed.
16857 (syscall-list-32-options): Likewise.
16858 (syscall-list-32-condition): Likewise.
16859 (syscall-list-64-options): Likewise.
16860 (syscall-list-64-condition): Likewise.
16861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16862 macro.
16863 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16864 Renamed to ...
16865 (abi-*): This.
16866 (abi-64-ld-soname): New macro.
16867 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16868 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16869 Renamed to ...
16870 (abi-*): This.
16871 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16872 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16873
4da0431d
JM
168742012-05-30 Joseph Myers <joseph@codesourcery.com>
16875
3a85279c
JM
16876 * sysdeps/unix/sysv/linux/kernel-features.h
16877 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16878 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16879 include <kernel-features.h>.
16880 [!__NR_ftruncate64]: Remove conditional code.
16881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16882 [__NR_ftruncate64]: Make code unconditional.
16883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16884 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16885 include <kernel-features.h>.
16886 [!__NR_ftruncate64]: Remove conditional code.
16887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16888 [__NR_ftruncate64]: Make code unconditional.
16889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16891 include <kernel-features.h>.
16892 [!__NR_ftruncate64]: Remove conditional code.
16893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16894 [__NR_ftruncate64]: Make code unconditional.
16895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16897 include <kernel-features.h>.
16898 [!__NR_ftruncate64]: Remove conditional code.
16899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16900 [__NR_ftruncate64]: Make code unconditional.
16901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16902
4da0431d
JM
16903 * configure.in (libc_cv_fpie): Weaken to a compile test using
16904 LIBC_TRY_CC_OPTION.
16905 * configure: Regenerated.
16906
11ef492c
AK
169072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16908
16909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16913 Refreshed.
16914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16920 Refreshed.
16921
d66ef399
DM
169222012-05-27 David S. Miller <davem@davemloft.net>
16923
16924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16925 (___Q_zero): New.
16926 (__Q_simulate_exceptions): Return void. Change to simulate
16927 exceptions by writing into the %fsr.
16928 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16929 (__Qp_handle_exceptions): Likewise.
16930 (numbers): Delete.
16931 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16932 __Qp_handle_exceptions.
16933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16934 __Qp_handle_exceptions.
16935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16936 as unused and give dummy FP_RND_NEAREST initializer.
16937 (FP_INHIBIT_RESULTS): Define.
16938 (___Q_simulate_exceptions): Update declaration.
16939 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16940 formatting.
16941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16942 as unused and give dummy FP_RND_NEAREST initializer.
16943 (__Qp_handle_exceptions): Update declaration.
16944 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16945 formatting.
16946
04fb54b5
TS
169472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16948
16949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16950 the temporary FPU control word.
16951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16952 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16957 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16960 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16962
3f99608f
KK
169632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16964
16965 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16966 fields.
16967
65a4de4e
CLT
169682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16969
16970 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16971 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16972 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16973 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16974 Likewise.
16975 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16976 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16977 Likewise.
16978
15749d40
UD
169792012-05-27 Ulrich Drepper <drepper@gmail.com>
16980
16981 * po/h.po: Update from translation team.
16982
25dbcb27
AS
169832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16984
3d3f8e55
AS
16985 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16986
25dbcb27
AS
16987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16988 handling of denormals.
16989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16990 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16996 Likewise.
16997
7ad47a80 169982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16999
17000 [BZ #14152]
17001 * math/libm-test.inc (fma_test): Don't always expect underflow
17002 exception.
17003
9c6ea9fa
SP
170042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
17006 [BZ #12416]
17007 * elf/tst-execstack.c: Include stackinfo.h.
17008 (do_test): Adjust test case to ensure that pthread_getattr_np
17009 behaviour remains the same after marking stack executable.
17010
a8239222
JM
170112012-05-25 Joseph Myers <joseph@codesourcery.com>
17012
17013 * sysdeps/unix/sysv/linux/kernel-features.h
17014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17016 kernel-features.h.
17017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17019 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17020 kernel-features.h.
17021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17023
918b5606
L
170242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17025
17026 * configure.in: Define the default includes to being none.
17027 * configure: Regenerated.
17028
3a097cc7
RM
170292012-05-25 Roland McGrath <roland@hack.frob.com>
17030
8422c9a5
RM
17031 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17032 * sysdeps/x86_64/setjmp.S: Likewise.
17033 * sysdeps/i386/bsd-setjmp.S: Likewise.
17034 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17035 * sysdeps/i386/setjmp.S: Likewise.
17036 * sysdeps/i386/__longjmp.S: Likewise.
17037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17039
3a097cc7
RM
17040 * include/stap-probe.h: New file.
17041 * configure.in: Handle --enable-systemtap.
17042 * configure: Regenerated.
17043 * config.h.in (USE_STAP_PROBE): New #undef.
17044 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17045 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17047
21708942
JM
170482012-05-25 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #13717]
17051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17052 to 2.4.0 where earlier.
17053 * sysdeps/unix/sysv/linux/configure: Regenerated.
17054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17055 <kernel-features.h>.
17056 [__ASSUME_32BITUIDS]: Make code unconditional.
17057 [!__ASSUME_32BITUIDS]: Remove conditional code.
17058 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17059 <kernel-features.h>.
17060 [__ASSUME_32BITUIDS]: Make code unconditional.
17061 [!__ASSUME_32BITUIDS]: Remove conditional code.
17062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17063 [__ASSUME_32BITUIDS]: Make code unconditional.
17064 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17065 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17066 <kernel-features.h>.
17067 [__ASSUME_32BITUIDS]: Make code unconditional.
17068 [!__ASSUME_32BITUIDS]: Remove conditional code.
17069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17070 <kernel-features.h>.
17071 [__ASSUME_32BITUIDS]: Make code unconditional.
17072 [!__ASSUME_32BITUIDS]: Remove conditional code.
17073 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17074 <kernel-features.h>.
17075 [__ASSUME_32BITUIDS]: Make code unconditional.
17076 [!__ASSUME_32BITUIDS]: Remove conditional code.
17077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17078 <kernel-features.h>.
17079 [__ASSUME_32BITUIDS]: Make code unconditional.
17080 [!__ASSUME_32BITUIDS]: Remove conditional code.
17081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17082 <kernel-features.h>.
17083 [__ASSUME_32BITUIDS]: Make code unconditional.
17084 [!__ASSUME_32BITUIDS]: Remove conditional code.
17085 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17086 <kernel-features.h>.
17087 [__ASSUME_32BITUIDS]: Make code unconditional.
17088 [!__ASSUME_32BITUIDS]: Remove conditional code.
17089 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17090 <kernel-features.h>.
17091 [__ASSUME_32BITUIDS]: Make code unconditional.
17092 [!__ASSUME_32BITUIDS]: Remove conditional code.
17093 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17094 <kernel-features.h>.
17095 [__ASSUME_32BITUIDS]: Make code unconditional.
17096 [!__ASSUME_32BITUIDS]: Remove conditional code.
17097 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17098 <kernel-features.h>.
17099 [__ASSUME_32BITUIDS]: Make code unconditional.
17100 [!__ASSUME_32BITUIDS]: Remove conditional code.
17101 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17102 <kernel-features.h>.
17103 [__ASSUME_32BITUIDS]: Make code unconditional.
17104 [!__ASSUME_32BITUIDS]: Remove conditional code.
17105 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17106 <kernel-features.h>.
17107 [__NR_setresgid] (__setresgid): Do not declare.
17108 [__ASSUME_32BITUIDS]: Make code unconditional.
17109 [!__ASSUME_32BITUIDS]: Remove conditional code.
17110 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17111 <kernel-features.h>.
17112 [__NR_setresuid] (__setresuid): Do not declare.
17113 [__ASSUME_32BITUIDS]: Make code unconditional.
17114 [!__ASSUME_32BITUIDS]: Remove conditional code.
17115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17116 <kernel-features.h>.
17117 [__ASSUME_32BITUIDS]: Make code unconditional.
17118 [!__ASSUME_32BITUIDS]: Remove conditional code.
17119 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17120 <kernel-features.h>.
17121 [__ASSUME_32BITUIDS]: Make code unconditional.
17122 [!__ASSUME_32BITUIDS]: Remove conditional code.
17123 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17124 <kernel-features.h>.
17125 [__ASSUME_32BITUIDS]: Make code unconditional.
17126 [!__ASSUME_32BITUIDS]: Remove conditional code.
17127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17128 <kernel-features.h>.
17129 [__ASSUME_32BITUIDS]: Make code unconditional.
17130 [!__ASSUME_32BITUIDS]: Remove conditional code.
17131 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17132 <kernel-features.h>.
17133 [__ASSUME_32BITUIDS]: Make code unconditional.
17134 [!__ASSUME_32BITUIDS]: Remove conditional code.
17135 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17136 <kernel-features.h>.
17137 [__ASSUME_32BITUIDS]: Make code unconditional.
17138 [!__ASSUME_32BITUIDS]: Remove conditional code.
17139 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17140 <kernel-features.h>.
17141 [__ASSUME_32BITUIDS]: Make code unconditional.
17142 [!__ASSUME_32BITUIDS]: Remove conditional code.
17143 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17144 <kernel-features.h>.
17145 [__ASSUME_32BITUIDS]: Make code unconditional.
17146 [!__ASSUME_32BITUIDS]: Remove conditional code.
17147 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17148 <kernel-features.h>.
17149 [__ASSUME_32BITUIDS]: Make code unconditional.
17150 [!__ASSUME_32BITUIDS]: Remove conditional code.
17151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17152 <kernel-features.h>.
17153 [__ASSUME_32BITUIDS]: Make code unconditional.
17154 [!__ASSUME_32BITUIDS]: Remove conditional code.
17155 * sysdeps/unix/sysv/linux/kernel-features.h
17156 (__ASSUME_SETRESUID_SYSCALL): Remove.
17157 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17158 (__ASSUME_32BITUIDS): Likewise.
17159 (__ASSUME_LDT_WORKS): Likewise.
17160 (__ASSUME_O_DIRECTORY): Likewise.
17161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17162 architecture but not kernel version.
17163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17164 (__ASSUME_MMAP2_SYSCALL): Likewise.
17165 (__ASSUME_STAT64_SYSCALL): Likewise.
17166 (__ASSUME_IPC64): Likewise.
17167 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17168 <kernel-features.h>.
17169 [__ASSUME_32BITUIDS]: Make code unconditional.
17170 [!__ASSUME_32BITUIDS]: Remove conditional code.
17171 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17172 <kernel-features.h>.
17173 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17174 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17175 132096]: Remove conditional code.
17176 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17178 <kernel-features.h>.
17179 [__ASSUME_32BITUIDS]: Make code unconditional.
17180 [!__ASSUME_32BITUIDS]: Remove conditional code.
17181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17182 <kernel-features.h>.
17183 [__ASSUME_32BITUIDS]: Make code unconditional.
17184 [!__ASSUME_32BITUIDS]: Remove conditional code.
17185 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17186 <kernel-features.h>.
17187 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17188 unconditional.
17189 (__setresgid): Do not declare.
17190 [__ASSUME_32BITUIDS]: Make code unconditional.
17191 [!__ASSUME_32BITUIDS]: Remove conditional code.
17192 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17193 <kernel-features.h>.
17194 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17195 unconditional.
17196 (__setresuid): Do not declare.
17197 [__ASSUME_32BITUIDS]: Make code unconditional.
17198 [!__ASSUME_32BITUIDS]: Remove conditional code.
17199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17200 <kernel-features.h>.
17201 [__ASSUME_32BITUIDS]: Make code unconditional.
17202 [!__ASSUME_32BITUIDS]: Remove conditional code.
17203 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17204 <kernel-features.h>.
17205 [__ASSUME_32BITUIDS]: Make code unconditional.
17206 [!__ASSUME_32BITUIDS]: Remove conditional code.
17207
a386f1cc
RH
172082012-05-25 Richard Henderson <rth@twiddle.net>
17209
17210 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17211 dl_hwcap to ifunc resolver.
17212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17213 elf_ifunc_invoke.
17214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17215 dl_hwcap to ifunc resolver.
17216 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17217
b6550497
JM
172182012-05-24 Joseph Myers <joseph@codesourcery.com>
17219
17220 [BZ #14153]
17221 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17222 for |x| <= 2**-26, not 2**-57.
17223 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17224 exception.
17225
b0bc23a1
JL
172262012-05-24 Jeff Law <law@redhat.com>
17227
17228 * stdio-common/Makefile (tests): Add bug25.
17229 * stdio-common/bug25.c: New test.
17230
347c92e9
L
172312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17232
17233 [BZ #13576]
17234 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17235 multiple of MALLOC_ALIGNMENT in size.
17236 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17237
6bcc8b3f
JM
172382012-05-24 Joseph Myers <joseph@codesourcery.com>
17239
17240 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17241 Require >= 256.
17242 (FILENAME_MAX): Use macro-int-constant.
17243 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17244 (_IOFBF): Use macro-int-constant.
17245 (_IOLBF): Likewise.
17246 (_IONBF): Likewise.
17247 (SEEK_CUR): Likewise.
17248 (SEEK_END): Likewise.
17249 (SEEK_SET): Likewise.
17250 (TMP_MAX): Likewise.
17251 (EOF): Use macro-int-constant. Require < 0.
17252 (NULL): Use macro-constant. Require == 0.
17253 (stdin): Require type to be FILE *.
17254 (stdout): Likewise.
17255 (stderr): Likewise.
17256 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17257 macro-int-constant.
17258 (EXIT_SUCCESS): Likewise.
17259 (NULL): Use macro-constant. Require == 0.
17260 (RAND_MAX): Use macro-int-constant.
17261 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17262 [C99-based standards] (strtof): Require function.
17263 [C99-based standards] (strtold): Likewise.
17264 [C99-based standards] (strtoll): Likewise.
17265 [C99-based standards] (strtoull): Likewise.
17266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17267 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17268 [ISO || ISO99 || ISO11] (math.h): Likewise.
17269 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17272
d18ea0c5
AS
172732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17274
17275 [BZ #14132]
56d25bb8
AS
17276 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17277 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17278 * intl/dgettext.c (DCGETTEXT): Likewise.
17279 * intl/gettext.c (DCGETTEXT): Likewise.
17280 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17281 * posix/regex_internal.h (gettext): Likewise.
17282 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17283 Remove declaration.
17284 * include/argz.h (__argz_count_internal)
17285 (__argz_stringify_internal): Remove declaration.
17286 (__argz_count, __argz_stringify): Declare hidden proto.
17287 * intl/dcgettext.c: Remove use of INTDEF.
17288 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17289 * string/argz-stringify.c: Likewise.
17290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17292 Declare hidden proto.
d18ea0c5
AS
17293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17295 Declare hidden proto.
17296 * include/stdio.h (__asprintf_internal): Don't declare.
17297 (__asprintf): Don't define as macro. Declare hidden proto.
17298 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17299 (__fsetlocking): Declare hidden proto.
17300 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17301 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17302 hidden proto.
17303 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17304 (_IO_setlinebuf): Remove use of INTUSE.
17305 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17306 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17307 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17308 Remove declaration.
17309 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17310 (_IO_do_flush): Remove use of INTUSE.
17311 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17312 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17313 (_IO_adjust_column, _IO_least_wmarker)
17314 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17315 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17316 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17317 (_IO_default_doallocate, _IO_wdefault_doallocate)
17318 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17319 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17320 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17321 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17322 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17323 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17324 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17325 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17326 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17327 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17328 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17329 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17330 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17331 proto.
17332 (_IO_flush_all_internal, _IO_adjust_column_internal)
17333 (_IO_default_uflow_internal, _IO_default_finish_internal)
17334 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17335 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17336 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17337 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17338 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17339 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17340 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17341 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17342 (_IO_file_close_internal, _IO_file_close_it_internal)
17343 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17344 (_IO_file_init_internal, _IO_file_attach_internal)
17345 (_IO_file_fopen_internal, _IO_file_read_internal)
17346 (_IO_file_sync_internal, _IO_file_seek_internal)
17347 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17348 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17349 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17350 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17351 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17352 (_IO_list_all_internal, _IO_link_in_internal)
17353 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17354 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17355 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17356 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17357 (_IO_do_write_internal, _IO_padn_internal)
17358 (_IO_getline_info_internal, _IO_getline_internal)
17359 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17360 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17361 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17362 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17363 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17364 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17365 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17366 with libc_hidden_ver, remove use of INTUSE.
17367 * libio/genops.c: Likewise.
17368 * libio/freopen.c: Likewise.
17369 * libio/freopen64.c: Likewise.
17370 * libio/iofclose.c: Likewise.
17371 * libio/iofdopen.c: Likewise.
17372 * libio/iofflush.c: Likewise.
17373 * libio/iofflush_u.c: Likewise.
17374 * libio/iofgets.c: Likewise.
17375 * libio/iofgets_u.c: Likewise.
17376 * libio/iofopen.c: Likewise.
17377 * libio/iofopncook.c: Likewise.
17378 * libio/iofread.c: Likewise.
17379 * libio/iofread_u.c: Likewise.
17380 * libio/ioftell.c: Likewise.
17381 * libio/iofwrite.c: Likewise.
17382 * libio/iogetline.c: Likewise.
17383 * libio/iogets.c: Likewise.
17384 * libio/iogetwline.c: Likewise.
17385 * libio/iopadn.c: Likewise.
17386 * libio/iopopen.c: Likewise.
17387 * libio/ioseekoff.c: Likewise.
17388 * libio/ioseekpos.c: Likewise.
17389 * libio/iosetbuffer.c: Likewise.
17390 * libio/iosetvbuf.c: Likewise.
17391 * libio/ioungetc.c: Likewise.
17392 * libio/ioungetwc.c: Likewise.
17393 * libio/iovdprintf.c: Likewise.
17394 * libio/iovsprintf.c: Likewise.
17395 * libio/iovsscanf.c: Likewise.
17396 * libio/memstream.c: Likewise.
17397 * libio/obprintf.c: Likewise.
17398 * libio/oldfileops.c: Likewise.
17399 * libio/oldiofclose.c: Likewise.
17400 * libio/oldiofdopen.c: Likewise.
17401 * libio/oldiofopen.c: Likewise.
17402 * libio/oldiopopen.c: Likewise.
17403 * libio/oldstdfiles.c: Likewise.
17404 * libio/putc.c: Likewise.
17405 * libio/setbuf.c: Likewise.
17406 * libio/setlinebuf.c: Likewise.
17407 * libio/stdfiles.c: Likewise.
17408 * libio/strops.c: Likewise.
17409 * libio/vasprintf.c: Likewise.
17410 * libio/vscanf.c: Likewise.
17411 * libio/vsnprintf.c: Likewise.
17412 * libio/vswprintf.c: Likewise.
17413 * libio/wfiledoalloc.c: Likewise.
17414 * libio/wfileops.c: Likewise.
17415 * libio/wgenops.c: Likewise.
17416 * libio/wmemstream.c: Likewise.
17417 * libio/wstrops.c: Likewise.
17418 * libio/__fpurge.c: Likewise.
17419 * libio/__fsetlocking.c: Likewise.
17420 * assert/assert.c: Likewise.
17421 * debug/fgets_chk.c: Likewise.
17422 * debug/fgets_u_chk.c: Likewise.
17423 * debug/fread_chk.c: Likewise.
17424 * debug/fread_u_chk.c: Likewise.
17425 * debug/gets_chk.c: Likewise.
17426 * debug/obprintf_chk.c: Likewise.
17427 * debug/vasprintf_chk.c: Likewise.
17428 * debug/vdprintf_chk.c: Likewise.
17429 * debug/vsnprintf_chk.c: Likewise.
17430 * debug/vsprintf_chk.c: Likewise.
17431 * malloc/mtrace.c: Likewise.
17432 * misc/error.c: Likewise.
17433 * misc/syslog.c: Likewise.
17434 * stdio-common/asprintf.c: Likewise.
17435 * stdio-common/fxprintf.c: Likewise.
17436 * stdio-common/getw.c: Likewise.
17437 * stdio-common/isoc99_fscanf.c: Likewise.
17438 * stdio-common/isoc99_scanf.c: Likewise.
17439 * stdio-common/isoc99_vfscanf.c: Likewise.
17440 * stdio-common/isoc99_vscanf.c: Likewise.
17441 * stdio-common/isoc99_vsscanf.c: Likewise.
17442 * stdio-common/printf-prs.c: Likewise.
17443 * stdio-common/printf_fp.c: Likewise.
17444 * stdio-common/printf_fphex.c: Likewise.
17445 * stdio-common/printf_size.c: Likewise.
17446 * stdio-common/putw.c: Likewise.
17447 * stdio-common/scanf.c: Likewise.
17448 * stdio-common/sprintf.c: Likewise.
17449 * stdio-common/tmpfile.c: Likewise.
17450 * stdio-common/vfprintf.c: Likewise.
17451 * stdio-common/vfscanf.c: Likewise.
17452 * stdlib/strfmon_l.c: Likewise.
17453 * sunrpc/openchild.c: Likewise.
17454 * sunrpc/xdr_stdio.c: Likewise.
17455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17456 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17457
d6c33fda
RM
174582012-05-24 Roland McGrath <roland@hack.frob.com>
17459
c1487492
RM
17460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17461
17462 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17463 in the third column, to generate for the shared library an IFUNC
17464 that uses _dl_vdso_vsym.
17465 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17466 * Makeconfig (object-suffixes-noshared): New variable.
17467
17468 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17469 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17470 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17471 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17472
d6c33fda
RM
17473 [BZ #14132]
17474 * include/sys/time.h (__gettimeofday): Remove macro.
17475 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17476 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17477 Remove INTDEF.
17478 (__gettimeofday): Add libc_hidden_def.
17479 (gettimeofday): Add libc_hidden_weak.
17480 * sysdeps/mach/gettimeofday.c: Likewise.
17481 * sysdeps/posix/gettimeofday.c: Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17483 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17485 (__gettimeofday_internal): Remove strong_alias.
17486 (__gettimeofday): Add libc_hidden_def.
17487 (gettimeofday): Add libc_hidden_weak.
17488 * sysdeps/unix/syscalls.list (gettimeofday):
17489 Remove __gettimeofday_internal alias.
17490
b5a2bbe6
L
174912012-05-24 Daniel Jacobowitz <drow@false.org>
17492 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 [BZ #12495]
17495 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17496 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17497 (largebin_index_32_big): New.
17498 (largebin_index): Use it for 16-byte alignment.
17499 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17500 correction with front_misalign.
17501
cfba4fda
L
175022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17503
7f907421
L
17504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17506 Likewise.
17507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17508 Likewise.
17509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17510 Likewise.
17511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17512 Likewise.
17513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17514 Likewise.
17515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17516 Likewise.
17517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17518 Likewise.
17519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17520 Likewise.
17521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17522 Likewise.
17523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17524 Likewise.
17525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17526 Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17528 Likewise.
17529
cfba4fda
L
17530 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17531 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17532
80bad0cc
JM
175332012-05-24 Joseph Myers <joseph@codesourcery.com>
17534
7a25eb06
JM
17535 [BZ #10846]
17536 [BZ #14036]
17537 * math/libm-test.inc (exp_test): Add test from bug 14036.
17538 (pow_test): Add test from bug 10846.
17539
795405f9
JM
17540 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17541 and other flags.
17542 (special_function): Do not include flags in test name.
17543 (parse_args): Likewise.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17549
80bad0cc
JM
17550 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17551 exceptions.
17552 * math/libm-test.inc ("Philosophy"): Update comment about
17553 exception testing.
17554 (UNDERFLOW_EXCEPTION): New macro.
17555 (UNDERFLOW_EXCEPTION_OK): Likewise.
17556 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17557 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17558 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17559 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17560 (INVALID_EXCEPTION_OK): Update value.
17561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17562 (OVERFLOW_EXCEPTION_OK): Likewise.
17563 (IGNORE_ZERO_INF_SIGN): Likewise.
17564 (test_exceptions): Handle underflow exceptions.
17565 (acos_test): Update for underflow exception expectations.
17566 (cexp_test): Likewise.
17567 (clog_test): Likewise.
17568 (clog10_test): Likewise.
17569 (csqrt_test): Likewise.
17570 (ctan_test): Likewise.
17571 (ctanh_test): Likewise.
17572 (exp_test): Likewise.
17573 (exp10_test): Likewise.
17574 (exp2_test): Likewise.
17575 (expm1_test): Likewise.
17576 (fma_test): Likewise.
17577 (j0_test): Likewise.
17578 (jn_test): Likewise.
17579 (nexttoward_test): Likewise.
17580 (pow_test): Likewise.
17581 (scalbn_test): Likewise.
17582 (scalbln_test): Likewise.
17583 (tan_test): Likewise.
17584 (y1_test): Likewise.
17585 * sysdeps/i386/fpu/libm-test-ulps: Update.
17586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587
9e0e3d0b
DM
175882012-05-23 David S. Miller <davem@davemloft.net>
17589
17590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17591 (__libc_sigaction): Remove unused local variables.
17592
ccd0a08f
L
175932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17594
17595 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17596
62bdf9a6
PE
175972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17598
f8591f80
PE
17599 mktime: avoid signed integer overflow
17600 * time/mktime.c (__mktime_internal): Do not mishandle the case
17601 where diff == INT_MIN.
17602
94c7d826
PE
17603 mktime: simplify computation of average
17604 * time/mktime.c (ranged_convert): Use new time_t_avg function
17605 instead of rolling our own (probably-slower) code.
17606
ce73d683
PE
17607 mktime: do not assume signed right shift propagates sign bit
17608 * time/mktime.c (isdst_differ): New static function.
17609 (__mktime_internal): No need to normalize tm_isdst now.
17610 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17611 tm_isdst values.
17612
72a22e59
PE
17613 mktime: merge another wrapv change from gnulib
17614 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17615 from some compilers.
17616
68605433
PE
17617 mktime: remove incorrect attempt at unusual arithmetics
17618 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17619 The code didn't really work on such machines anyway.
17620 (TYPE_MINIMUM): Assume two's complement.
17621 (twos_complement_arithmetic): Verify that long_int and time_t
17622 are two's complement (or unsigned, in the latter case).
17623
03cf7fe3
PE
17624 mktime: check signed shifts on long_int and time_t, too
17625 * time/mktime.c (SHR): Check that shifts work as desired
17626 on the types long_int and time_t too, as SHR is used on
17627 such types.
17628
f04dfbc2
PE
17629 mktime: do not assume 'long' is wide enough
17630 * time/mktime.c (verify): Move decl up.
17631 (long_int): New type.
17632 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17633 to remove assumption in the code that 'long' is wide enough to
17634 store year values. This assumption is not true on x32 and on
17635 some non-glibc platforms.
17636
62bdf9a6
PE
17637 mktime: merge wrapv change from gnulib
17638 * time/mktime.c (WRAPV): New macro.
17639 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17640 (guess_time_tm, __mktime_internal): Do not assume that signed
17641 integer overflow wraps around; modern compilers generate code
17642 where this assumption is no longer valid.
17643
5e292e4f
L
176442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17645
17646 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17647 Replace "jmp L(pseudo_end)" with "ret".
17648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17649 Likewise.
17650
8caf8c87
AJ
176512012-05-23 Andreas Jaeger <aj@suse.de>
17652
17653 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17654 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17655
1a09dc56
AJ
176562012-05-23 Andreas Jaeger <aj@suse.de>
17657 Maximilian Attems <max@stro.at>
17658
17659 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17660 New macros.
17661
1c87aba0
L
176622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17663
17664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17665 code so that pseudo_end is just ret and the stack pointer is
17666 correct also for static library in error case.
17667
40e45bd5
JM
176682012-05-23 Joseph Myers <joseph@codesourcery.com>
17669
c2670533
JM
17670 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17671 move to syscalls.list.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17676
40e45bd5
JM
17677 * manual/install.texi (Running make install): Do not mention Linux
17678 kernel version for which pt_chown is not needed.
17679 (Linux): Do not mention problems with nscd with 2.0 kernels.
17680 * INSTALL: Regenerated.
17681
be08eda5
AJ
176822012-05-23 Andreas Jaeger <aj@suse.de>
17683
17684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17685 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17686 macro.
17687 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17689 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17691 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17697 * sysdeps/unix/sysv/linux/bits/in.h
17698 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17699
a6a056bb
RM
177002012-05-22 Roland McGrath <roland@hack.frob.com>
17701
17702 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17703 (PREPARE_VERSION): Just use assert instead, it will be elided
17704 under [NDEBUG] anyway.
17705
c9009328
L
177062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17707
17708 * sysdeps/unix/sysv/linux/Makefile: Include
17709 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17710 (sysdep_routines): Remove sysctl.
c9009328
L
17711 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17712 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17714 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17715 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17716
73338355
AJ
177172012-05-22 Andreas Jaeger <aj@suse.de>
17718
17719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17720 that pseudo_end is just ret and the stack pointer is correct also
17721 for static library in error case.
17722
d44638b0
PP
177232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17724
17725 [BZ #14122]
17726 * nss/nsswitch.c (defconfig_entries): New variable.
17727 (__nss_database_lookup): Don't leak defconfig entries.
17728 (nss_parse_service_list): Don't leak on error paths.
17729 (free_database_entries): New function.
17730 (free_defconfig): New function.
17731 (free_mem): Move common code to free_database_entries.
17732
31a39bd8
L
177332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17734
da0331a8
L
17735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17736 Add arch_prctl.
17737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17738
31a39bd8
L
17739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17740 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17742 New macro.
17743 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17744 (INTERNAL_SYSCALL_TYPES): Likewise.
17745 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17746 (LOAD_REGS_TYPES_[1-6]): Likewise.
17747 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17748 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17749
45470df3
AZ
177502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17751
17752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17753 copysignl for GLIBC_2_0.
17754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17755 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17757 logbl for GLIBC_2_0.
17758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17759 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17760
98a61bcb
L
177612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17762
a4f6e481
L
17763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17765
f63d5db6
L
17766 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17767 Use "neg %eax".
17768
98a61bcb
L
17769 * time/mktime.c: Update copyright years.
17770
95770f14
PE
177712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17772
6226efbd
PE
17773 mktime: merge comment-quoting-style change from gnulib
17774 * time/mktime.c: Quote 'like this' in comments.
17775 The GNU coding standards suggest that we no longer quote `like this',
17776 as "`" and "'" are typically rendered asymmetrically nowadays.
17777 The typical gnulib style is to quote 'like this' when quoting
17778 code, and "like this" when quoting English.
17779
b99e4f78
PE
17780 * time/mktime.c (compile-command): Add "-I.".
17781
643e01e6
PE
17782 mktime: merge mktime-internal.h change from gnulib
17783 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17784
2554247d
PE
17785 mktime: merge time_r change from gnulib
17786 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17787
826dd0ab
PE
17788 mktime: merge DEBUG change from gnulib
17789 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17790 case system <time.h> has a #define.
17791
bd83aabe
PE
17792 mktime: merge <sys/types.h> change from gnulib
17793 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17794 since <time.t> is now guaranteed to define time_t.
17795
95770f14
PE
17796 mktime: merge HAVE_CONFIG_H change from gnulib
17797 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17798
5e1a27a9
L
177992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17800
0e44a77e
L
17801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17802 Use "neg %eax".
17803
5e1a27a9
L
17804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17805 __rlim_t cast.
17806 (struct rusage): Use anonymous union to pad each field to
17807 __syscall_slong_t.
17808
46259bec
DM
178092012-05-21 David S. Miller <davem@davemloft.net>
17810
17811 * Makefules (o-iterator): Remove .s cases.
17812 (compile-command.s): Delete.
17813 (COMPILE.s): Delete.
17814 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17815
59f0c22e
JM
178162012-05-21 Joseph Myers <joseph@codesourcery.com>
17817
17818 * configure.in (libc_cv_predef_stack_protector): Only consider
17819 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17820 * configure: Regenerated.
17821
20c07380
L
178222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17823
bbb3154b
L
17824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17825 New macro. Use R*LP on int and pointer.
17826 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17827 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17828 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17829 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17830
20c07380
L
17831 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17832 [__WORDSIZE_TIME64_COMPAT32] instead of
17833 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17834 (struct utmp): Likewise.
17835 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17836 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17837 Renamed to ...
17838 (__WORDSIZE_TIME64_COMPAT32): This.
17839 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17840 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17841 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17844 (__WORDSIZE_TIME64_COMPAT32): New macro.
17845
d8d1017e
AJ
178462012-05-21 Andreas Jaeger <aj@suse.de>
17847
17848 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17849 only if [SHARED]. Add prototype for __wcschr_ia32.
17850
6c7fb145
RM
178512012-05-21 Roland McGrath <roland@hack.frob.com>
17852
17853 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17854 of %rbp unmolested in the jmp_buf while mangling the low bits.
17855 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17856 unmolested high bits of %rbp while demangling the low bits.
17857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17858
66274218
AJ
178592012-05-21 Andreas Jaeger <aj@suse.de>
17860
07c58f8f
AJ
17861 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17862 * sunrpc/svc_simple.c: Use it for registerrpc.
17863 * sunrpc/xcrypt.c: Use it for passwd2des.
17864
66274218
AJ
17865 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17866
61f65140
L
178672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17868
17869 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17870 Don't define if [__SYSCALL_WORDSIZE != 32].
17871 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17872 New macro.
17873
5fefb436
AJ
178742012-05-21 Bruno Haible <bruno@clisp.org>
17875 Andreas Jaeger <aj@suse.de>
17876
17877 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17878 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17879 inptr and inend for must_buffer_ch.
17880 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17881 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17882 * stdio-common/Makefile (tests): Remove bug15.
17883 (bug15-ENV): Remove macro.
17884 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17885 anymore.
17886
d8e272ab
AJ
178872012-05-19 Andreas Jaeger <aj@suse.de>
17888 Roland McGrath <roland@hack.frob.com>
17889
17890 * manual/contrib.texi: Completely rewritten. It contains now an
17891 alphabetical list of contributors and their contributions.
17892
4a56a162
RH
178932012-05-21 Richard Henderson <rth@twiddle.net>
17894
17895 * misc/getauxval.c (__getauxval): Use unsigned long int.
17896 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17897 (getauxval): Use unsigned long int.
17898
d024d23c
L
178992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17900
17901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17902
cbc00a03
RM
179032012-05-21 Roland McGrath <roland@hack.frob.com>
17904
17905 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17906 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17907 __alignof__ (long double).
17908
478143fa
AZ
179092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17910
17911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17912
c7683a6d
RH
179132012-05-20 Richard Henderson <rth@twiddle.net>
17914
17915 * misc/getauxval.c: New file.
17916 * misc/sys/auxv.h: New file.
17917 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17918 (routines): Add getauxval.
17919 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17921 * elf/dl-sysdep.c (_dl_auxv): Remove.
17922 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17923 * elf/dl-support.c (_dl_auxv): New variable.
17924 (_dl_aux_init): Initialize it.
17925 * manual/startup.texi (Auxiliary Vector): New node.
17926 * sysdeps/generic/bits/hwcap.h: New file.
17927 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17928 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17929 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17930 * sysdeps/sparc/sysdep.h: ... here. Include it.
17931 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17934 Update.
c7683a6d
RH
17935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17943
a6f1845d
AZ
179442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17945
17946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17947
cbcbe830
DM
179482012-05-19 David S. Miller <davem@davemloft.net>
17949
17950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17951
e0b16cc2
JM
179522012-05-19 Joseph Myers <joseph@codesourcery.com>
17953
17954 [BZ #14123]
17955 * math/s_ccosh.c: Include <float.h>
17956 (__ccosh): Avoid internal overflow calculating sinh and cosh
17957 values before multiplying by sin and cos values.
17958 * math/s_ccoshf.c: Likewise.
17959 * math/s_ccoshl.c: Likewise.
17960 * math/s_csin.c: Likewise.
17961 * math/s_csinf.c: Likewise.
17962 * math/s_csinl.c: Likewise.
17963 * math/s_csinh.c: Likewise.
17964 * math/s_csinhf.c: Likewise.
17965 * math/s_csinhl.c: Likewise.
17966 * math/libm-test.inc (ccos_test): Add more tests.
17967 (ccosh_test): Likewise.
17968 (csin_test): Likewise.
17969 (csinh_test): Likewise.
17970 * sysdeps/i386/fpu/libm-test-ulps: Update.
17971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972
6ad13e08
L
179732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17974
f66f0ce8
L
17975 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17976 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17977
6ad13e08
L
17978 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17979
b1d072a7
JM
179802012-05-19 Joseph Myers <joseph@codesourcery.com>
17981
17982 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17983 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17984 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17985 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17986 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17987 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17988 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17989 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17990 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17991 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17992 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17993 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17994 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17995 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17996 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17997 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17998 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17999 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18000 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18001 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18002 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18003 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18004 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18005 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18006 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18007 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18008 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18009 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18010 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18011 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18012 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18013
9eae47cb
AJ
180142012-05-18 Andreas Jaeger <aj@suse.de>
18015
18016 * csu/.gitignore: Delete.
18017
bb07f69f
L
180182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18021 (timex): Use __syscall_slong_t.
18022
e6bdb741
AJ
180232012-05-18 Andreas Jaeger <aj@suse.de>
18024 Carlos O'Donell <carlos_odonell@mentor.com>
18025
18026 * manual/install.texi (Configuring and compiling): Update
18027 description about files modified in the source directory.
d6c33fda 18028 * INSTALL: Regenerated.
e6bdb741 18029
1b74487e
L
180302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18031
18032 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18033 value. Use "or" to set return value to -1.
18034 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18035 negate return value.
18036
a88b64b9
TMQMF
180372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18038
18039 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18040 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18041 failure if the compiler has Graphite support disabled.
18042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18043 Likewise.
18044 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18045 CFLAGS-memmove.c): Likewise.
18046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18047 Likewise.
18048
3707636e
L
180492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18050
610b8622
L
18051 * sysdeps/x86_64/x32/_itoa.h: New file.
18052
7cd195df
L
18053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18054 getdents system call only if kernel and user dirents have the
18055 same d_ino and d_off.
18056
94b07d20
L
18057 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18058 LLONG_MAX != LONG_MAX.
18059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18060 (_fitoa_word): Likewise.
18061
18298070
L
18062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18063 years.
18064 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18067
553c7ea4
L
18068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18069 include <bits/wordsize.h>. Check __x86_64__ instead of
18070 __WORDSIZE.
18071 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18072 if __x86_64__ is defined. Use anonymous union on fpstate.
18073
3707636e
L
18074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18075 anonymous union.
18076
b53ef01a
AS
180772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18078
37fb1dc0
AS
18079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18080 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18082 Refer to _rtld_local_ro instead of _rtld_global_ro.
18083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18084 Likewise.
18085 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18086 Likewise.
18087 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18088 Likewise.
18089 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18090 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18091 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18092
b53ef01a
AS
18093 * sysdeps/powerpc/powerpc32/dl-machine.c
18094 (__elf_machine_runtime_setup) [PROF]: Don't reference
18095 _dl_prof_resolve.
18096
7a185db2
AJ
180972012-05-18 Andreas Jaeger <aj@suse.de>
18098
18099 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18100 function only available for GCCs before 3.4 since GCC 3.4
18101 introduced a builtin.
18102 (lrint): Likewise.
18103 (llrintf): Likewise.
18104 (llrint): Likewise.
18105 (fmaxf): Likewise.
18106 (fmax): Likewise.
18107 (fminf): Likewise.
18108 (fmin): Likewise.
18109 (rint): Likewise.
18110 (rintf): Likewise.
18111 (nearbyint): Likewise.
18112 (nearbyintf): Likewise.
18113 (ceil): Likewise.
18114 (ceilf): Likewise.
18115 (floor): Likewise.
18116 (floorf): Likewise.
18117
3e5aef87
L
181182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18119
428bd707
L
18120 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18121 on both fields and cast pointer to __syscall_ulong_t.
18122
3e5aef87
L
18123 * bits/types.h (__fsword_t): New type.
18124 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18125 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18127 (__FSWORD_T_TYPE): Likewise.
18128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18129 (__FSWORD_T_TYPE): Likewise.
18130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18131 (__FSWORD_T_TYPE): Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18133 (__FSWORD_T_TYPE): Likewise.
18134 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18135 __SWORD_TYPE with __fsword_t.
18136 (statfs64): Likewise.
18137
1ba7c3dc
DM
181382012-05-17 David S. Miller <davem@davemloft.net>
18139
18140 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18141
59910343
AJ
181422012-05-17 Andreas Jaeger <aj@suse.de>
18143
18144 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18145 warning.
18146
2e4c1e9e
L
181472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18150
de7f5ce7
AJ
181512012-05-17 Andreas Jaeger <aj@suse.de>
18152
18153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18154 when it is used.
18155
286abc3d
CM
181562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18157
18158 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18159
477cc68e
L
181602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18161
18162 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18163 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18164
1a0994f5
CD
181652012-05-17 Andreas Jaeger <aj@suse.de>
18166 Carlos O'Donell <carlos_odonell@mentor.com>
18167
18168 [BZ #14059]
18169 * sysdeps/x86_64/multiarch/init-arch.h
18170 (bit_YMM_Usable): Rename to...
18171 (bit_AVX_Usable): ... this.
18172 (bit_FMA4_Usable): New macro.
18173 (bit_XMM_state): New macro.
18174 (bit_YMM_state): New macro.
18175 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18176 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18177 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18178 (CPUID_OSXSAVE): New macro.
18179 (CPUID_AVX): New macro.
18180 (CPUID_FMA4): New macro.
18181 (index_YMM_Usable): Rename to...
18182 (index_AVX_Usable): ... this.
18183 (HAS_AVX): Use HAS_ARCH_FEATURE.
18184 (HAS_FMA4): Likewise.
18185 (HAS_YMM_USABLE): Remove.
18186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18187 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18188 are present.
18189 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18190 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18191 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18192 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18193 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18194
0af797de
CM
181952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18196
18197 * math/libm-test.c: Support platforms without multiple rounding modes.
18198 * math/bug-nextafter.c: Support platforms without FP exceptions.
18199 * math/bug-nexttoward.c: Likewise.
18200 * math/test-fenv.c: Likewise.
18201 * math/test-misc.c: Likewise.
18202 * stdlib/bug-getcontext.c: Likewise.
18203
e39745ff
AJ
182042012-05-17 Andreas Jaeger <aj@suse.de>
18205
18206 * manual/examples/search.c (critter_cmp): Change signature to
18207 avoid warnings.
18208 * manual/string.texi (Collation Functions): Likewise.
18209
48970aba
L
182102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18211
18212 * bits/types.h: Fold copyright years.
18213 * bits/typesizes.h: Likewise.
18214 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18218 * time/time.h: Likewise.
18219
bedee953
PP
182202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18221
18222 [BZ #208]
18223 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18224 in instead of returning them. Return void.
18225 (__libc_mallinfo): Accumulate over all arenas.
18226 (__malloc_stats): Adjust for change in int_mallinfo interface.
18227
61653dfb
RM
182282012-05-16 Roland McGrath <roland@hack.frob.com>
18229
30b99d79
RM
18230 [BZ #10375]
18231 * configure.in (NM): Add AC_CHECK_TOOL for it.
18232 (libc_extra_cflags): New substituted variable.
18233 Check for -fstack-protector being used implicitly.
18234 * configure: Regenerated.
18235 * config.make.in (config-extra-cflags): New variable,
18236 gets @libc_extra_cflags@.
18237 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18238
61653dfb
RM
18239 [BZ #10375]
18240 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18241 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18242 * configure: Regenerated.
18243 * config.make.in (CPPUNDEFS): New substituted variable.
18244 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18245 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18246 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18247
661768bb
L
182482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18251 (mq_attr): Use __syscall_slong_t.
18252
d4261567
L
182532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18254
18255 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18256 Check __x86_64__ instead of __WORDSIZE.
18257 (_STAT_VER_LINUX): Likewise.
18258 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18259 __syscall_ulong_t and __syscall_slong_t.
18260 (stat64): Likewise.
18261
cf3ff365
L
182622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18263
18264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18265
76cf3e4d
L
182662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18269
a637753a
L
182702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18273 __syscall_ulong_t.
18274
d5e05119
L
18275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18276 include <bits/wordsize.h>. Check __x86_64__ instead of
18277 __WORDSIZE.
18278 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18279 defined.
18280 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18281
f62ee380
L
18282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18283 include <bits/wordsize.h>. Check __x86_64__ instead of
18284 __WORDSIZE.
18285 (user_regs_struct): Use "__extension__ unsigned long long"
18286 instead of "unsigned long" if __x86_64__ is defined.
18287 (user): Likewise. Pad after pointer field if __ILP32__ is
18288 defined.
18289
4e124ced
JM
182902012-05-16 Joseph Myers <joseph@codesourcery.com>
18291
6a3951a0
JM
18292 * configure.in (makeinfo): Require version 4.5 or later. Allow
18293 versions 5 to 9.
18294 * configure: Regenerated.
18295 * manual/install.texi (texinfo): Increase version requirement to
18296 4.5 or later.
18297 * INSTALL: Regenerated.
18298
4e124ced
JM
18299 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18300
953ca31a
L
183012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18302
18303 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18304
617aca05
L
18305 * sysdeps/x86_64/x32/ffs.c: New file.
18306
5762f7ae
L
18307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18308 __syscall_ulong_t.
18309 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18310 defined. Use __syscall_ulong_t.
18311 (shminfo): Use __syscall_ulong_t.
18312 (shm_info): Likewise.
18313
a26b6856
L
18314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18315 __syscall_ulong_t.
18316
cb2b9ef7
L
18317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18318 <bits/wordsize.h>.
18319 (msgqnum_t): Use __syscall_ulong_t.
18320 (msglen_t): Likewise.
18321 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18322 __syscall_ulong_t.
18323
34683bb0
L
18324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18326
84a68786
L
18327 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18328
48baa5f1
L
18329 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18330 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18331
180be88b
L
18332 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18333 __syscall_slong_t.
18334
5e90c8ad
L
18335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18336 include <bits/wordsize.h>. Check __x86_64__ instead of
18337 __WORDSIZE.
18338
23dfb58b
L
18339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18340 "unsigned long long int" if __x86_64__ is defined.
18341 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18342
ce5d54b0
L
18343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18345 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18346
13dc9eac
L
18347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18348 <stdint.h>.
18349 (GET_PC): Cast to uintptr_t first.
18350 (GET_FRAME): Likewise.
18351 (GET_STACK): Likewise.
18352
a7895d15
L
18353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18360 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18361 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18382
656416c9
AS
183832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18384
5bd66283
AS
18385 * Makerules (+depfiles): Also collect depfiles from .oS in
18386 $(extra-objs).
18387 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18388 .oS, $(libnldbl-routines)).
18389
656416c9
AS
18390 * Makerules (native-compile-mkdep-flags): Define.
18391 * sunrpc/Makefile (extra-objs): Add $(addprefix
18392 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18393 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18394 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18395 calling $(make-target-directory).
18396
a46f2169
L
183972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 * bits/types.h (__snseconds_t): Removed.
18400 * time/time.h (struct timespec): Replace __snseconds_t with
18401 __syscall_slong_t.
18402 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18403 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18404 Likewise.
18405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18406 (__SNSECONDS_T_TYPE): Likewise.
18407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18408 (__SNSECONDS_T_TYPE): Likewise.
18409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18410 (__SNSECONDS_T_TYPE): Likewise.
18411
6af6528b
L
184122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18413
18414 * sysdeps/mach/hurd/bits/typesizes.h
18415 (__SYSCALL_SLONG_TYPE): New macro.
18416 (__SYSCALL_ULONG_TYPE): Likewise.
18417
de986b56
L
184182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18419
18420 * bits/types.h (__syscall_slong_t): New type.
18421 (__syscall_ulong_t): Likewise.
18422
18423 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18424 (__SYSCALL_ULONG_TYPE): Likewise.
18425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18426 (__SYSCALL_SLONG_TYPE): Likewise.
18427 (__SYSCALL_ULONG_TYPE): Likewise.
18428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18429 (__SYSCALL_SLONG_TYPE): Likewise.
18430 (__SYSCALL_ULONG_TYPE): Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18432 (__SYSCALL_SLONG_TYPE): Likewise.
18433 (__SYSCALL_ULONG_TYPE): Likewise.
18434
85736dc7
L
184352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18436
18437 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18438 Add sigaltstack-offsets.sym.
18439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18440 <sigaltstack-offsets.h>.
18441 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18442 longjmp_msg pointer.
18443 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18444 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18445 signal stack.
18446 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18447
cc03b296
JM
184482012-05-15 Joseph Myers <joseph@codesourcery.com>
18449
a9538892
JM
18450 * elf/stackguard-macros.h: Remove file.
18451 * sysdeps/generic/stackguard-macros.h: New file.
18452 * sysdeps/i386/stackguard-macros.h: Likewise.
18453 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18454 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18455 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18456 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18457 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18458 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18459 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18460 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18461 <elf/stackguard-macros.h>.
18462
cc03b296
JM
18463 [BZ #14109]
18464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18465 __aligned__ in attribute.
18466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18467 (gregset_t): Likewise.
18468
93171016
L
184692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18470
18471 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18472 * sysdeps/x86_64/64/Implies-after: Here. New file.
18473 * sysdeps/x86_64/x32/Implies-after: New file.
18474
d86813a0
L
184752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18478 and access return value for _dl_profile_fixup. Use R10_LP to
18479 load frame size.
18480
2953ec75
L
184812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18482
18483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18484
3b550e9e
L
184852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18486
18487 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18488 * sysdeps/x86_64/x32/sysdep.h: New file.
18489
eda41706
L
184902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18491
18492 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18493 * sysdeps/x86_64/setjmp.S: Likewise.
18494
9ea01d93
AZ
184952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18496
18497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18499 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18501 remove unused global constant.
18502
02a91938
CM
185032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18504
18505 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18506 include of <not-cancel.h>.
18507
6540185f
RM
185082012-05-15 Roland McGrath <roland@hack.frob.com>
18509
18510 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18511
509072a0
AJ
185122012-05-15 Jeff Law <law@redhat.com>
18513 Andreas Jaeger <aj@suse.de>
18514
18515 [BZ #13594]
18516 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18517 out from...
18518 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18519 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18521 code changing __hst_map_handle.map.
18522
ba75122d
RM
185232012-05-15 Roland McGrath <roland@hack.frob.com>
18524
18525 * configure.in (sysnames): Look for Implies-before and Implies-after
18526 files.
18527 * configure: Regenerated.
18528
890d8bd8
L
185292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18532 8-byte data alignment with LP_SIZE alignment.
18533
f6ee6623
L
185342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18537 into R10_LP.
18538
ea2626f6
L
185392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18540
18541 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18542
085f715e
L
185432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18548 Likewise.
18549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18550
be8498fc
L
185512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18552
18553 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18554 (stackinfo_sub_sp): Likewise.
18555
70bc83b9
L
185562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18557
18558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18559 RAX_LP.
18560
9bc0b730
L
185612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18562
18563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18564 into R*_LP.
18565
6d2850e7
L
185662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18567
18568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18569 sizes into R*_LP.
18570
3cb84561
L
185712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18572
18573 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18574
54e2ed81
L
185752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18576
18577 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18578 into R11_LP and load __x86_64_shared_cache_size_half into
18579 R8_LP.
18580
8a17f349
L
185812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18584 R8_LP.
18585
777b1eea
AZ
185862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18587
18588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18589 logb for POWER7.
18590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18591 logbf for POWER7.
18592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18593 logbl for POWER7.
18594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18595 powerpc32/power7/fpu/s_logb.c via #include.
18596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18597 powerpc32/power7/fpu/s_logbf.c via #include.
18598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18599 powerpc32/power7/fpu/s_logbl.c via #include.
18600
d20d4ac2
JM
186012012-05-15 Joseph Myers <joseph@codesourcery.com>
18602
18603 * README.libm: Remove file.
18604
6cdef1ab
L
186052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18608 count for x32. Use R*_LP and omit operand-size suffix.
18609
0b254d8f
L
186102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18611
18612 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18613 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18614 * sysdeps/x86_64/x32/shlib-versions: New file.
18615
ceb809dc
RM
186162012-05-14 Roland McGrath <roland@hack.frob.com>
18617
18618 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18619 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18620 Use _dl_fatal_printf instead.
18621
37f1abd4
JM
186222012-05-14 Joseph Myers <joseph@codesourcery.com>
18623
18624 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18625 set if not set by the user. Do not allow for being unset.
18626 * sysdeps/unix/sysv/linux/configure: Regenerated.
18627
11de3a33
L
186282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18629
18630 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18631 the `q' suffix from lea and replace .quad with ASM_ADDR.
18632
e02f153a
L
186332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18634
18635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18636 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18637 instead of $17.
18638 (PTR_DEMANGLE): Likewise.
18639
520ae0fd
L
186402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18643 (LP_OP): Likewise.
18644 (ASM_ADDR): Likewise.
18645 (RAX_LP): Likewise.
18646 (RBP_LP): Likewise.
18647 (RBX_LP): Likewise.
18648 (RCX_LP): Likewise.
18649 (RDI_LP): Likewise.
18650 (RSI_LP): Likewise.
18651 (RSP_LP): Likewise.
18652 (R8_LP): Likewise.
18653 (R9_LP): Likewise.
18654 (R10_LP): Likewise.
18655 (R10_LP): Likewise.
18656 (R11_LP): Likewise.
18657 (R12_LP): Likewise.
18658 (R13_LP): Likewise.
18659 (R14_LP): Likewise.
18660 (R15_LP): Likewise.
18661
b985be81
L
186622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18663
18664 * sysdeps/x86_64/x32/dl-machine.h: New file.
18665
6a4888ff
AJ
186662012-05-14 Andreas Jaeger <aj@suse.de>
18667
18668 * manual/Makefile (subdir): Remove export of subdir.
18669 (all): Remove target.
18670 (.PHONY): Remove all from list.
18671 (mkinstalldirs): Remove.
18672 (.PHONY): Remove installdirs from list.
18673 ($(inst_infodir)/libc.info): Use make-target-directory.
18674 (installdirs): Remove.
18675 (subdir_%): Remove.
18676 (glibc-targets): Remove.
18677 (lib): Remove.
18678 (stubs): Remove.
18679 ($(objpfx)stubs ../po/manual.pot): Remove.
18680 ($(objpfx)stamp%): Remove.
18681 (make-target-directory): Remove.
18682 (subdir_install): Remove.
18683 (routines): Remove.
18684 (aux): Remove.
18685 (sources): Remove.
18686 (objects): Remove.
18687 (headers): Remove.
18688
18689 [BZ #13750]
18690 * manual/.gitignore: Remove, it's not needed anymore.
18691 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18692 all files in it.
18693 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18694 directory.
18695 (texis): Renamed to $(objpfx)texis.
18696 (texis-path): New, contains path to generated files.
18697 (chapters.%): Use texis-path for complete path, add extra argument
18698 libc-texinfo.sh.
18699 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18700 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18701 (summary,texi, stamp-summary): Use complete path of
18702 files. Generate files in build dir.
18703 (dir-add.texi): Build in build dir.
18704 (libm-err.texi,stamp-libm-err): Likewise.
18705 (version.texi, stamp-version): Likewise.
18706 (.%c.texi): Likewise.
18707 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18708 (mostlyclean): Remove target.
18709 (realclean): Remove target.
18710 (generated): Add new variable with contents from mostlyclean and
18711 realclean, remove entries duplicated in common-mostlyclean, add
18712 stamp-libm-err and stamp-version.
18713 (generated-dirs): Add libc directory.
18714 ($(inst_infodir)/libc.info): Install files from build dir.
18715
18716 * manual/install.texi (Configuring and compiling): Adjust since
18717 the info files are not part of the tar ball anymore.
18718
7ac77294
AJ
187192012-05-14 Andreas Jaeger <aj@suse.de>
18720
18721 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18722 variable.
18723
ffb7875d
JM
187242012-05-14 Joseph Myers <joseph@codesourcery.com>
18725
18726 [BZ #13717]
18727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18728 to 2.2.0 where earlier.
18729 * sysdeps/unix/sysv/linux/configure: Regenerated.
18730 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18731 Remove conditional code.
18732 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18733 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18734 Remove conditional code.
18735 [!__NR_lchown]: Likewise.
18736 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18737 [__NR_lchown]: Likewise.
18738 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18739 comment referencing __ASSUME_LCHOWN_SYSCALL.
18740 * sysdeps/unix/sysv/linux/i386/sigaction.c
18741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18744 Remove conditional code.
18745 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18746 (__protocol_available): Remove #if 0 code.
18747 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18748 conditional code.
18749 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18750 * sysdeps/unix/sysv/linux/kernel-features.h
18751 (__ASSUME_GETCWD_SYSCALL): Don't define.
18752 (__ASSUME_REALTIME_SIGNALS): Likewise.
18753 (__ASSUME_PREAD_SYSCALL): Likewise.
18754 (__ASSUME_PWRITE_SYSCALL): Likewise.
18755 (__ASSUME_POLL_SYSCALL): Likewise.
18756 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18757 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18758 non-SPARC.
18759 (__ASSUME_SIOCGIFNAME): Don't define.
18760 (__ASSUME_MSG_NOSIGNAL): Likewise.
18761 (__ASSUME_SENDFILE): Define unconditionally.
18762 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18763 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18764 conditional code.
18765 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18766 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18768 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18771 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18796 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18797 Remove conditional code.
18798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18799 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18800 Remove conditional code.
18801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18803 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18804 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18805 Remove conditional code.
18806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18807 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18808 Remove conditional code.
18809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18810 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18811 Remove conditional code.
18812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18813 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18814 Remove conditional code.
18815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18816 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18817 Remove conditional code.
18818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18819 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18822 * sysdeps/unix/sysv/linux/sigaction.c
18823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18825 * sysdeps/unix/sysv/linux/sigpending.c
18826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18828 * sysdeps/unix/sysv/linux/sigprocmask.c
18829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/sigsuspend.c
18832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18835 (__libc_missing_rt_sigs): Remove.
18836 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18837 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18838 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18839 Remove conditional code.
18840 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18841 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18842 return 1.
18843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18844 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18847
1bfb7291
AJ
188482012-05-14 Andreas Jaeger <aj@suse.de>
18849
caae5a81
AJ
18850 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18851 it's not used in glibc.
18852 (__coshm1): Likewise.
18853 (__acosh1p): Likewise.
18854 (__sgn): Likewise.
18855
1bfb7291
AJ
18856 * manual/string.texi (Copying and Concatenation): Add missing
18857 variable in concat example.
18858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18859
c044d724
L
188602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18861
144c5467 18862 [BZ #14103]
c044d724
L
18863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18864 __builtin_clzl with __builtin_clzll.
18865
2523c62b
L
188662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18867
18868 [BZ #14104]
18869 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18870 libc_freeres_ptr.
18871
d7bb4c42
LD
188722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18873
18874 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18875 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18876 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18878
9dc4e1fb
MF
188792012-05-14 Mike Frysinger <vapier@gentoo.org>
18880
18881 * NEWS: Update ia64 info.
18882
c7df0112
AS
188832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18884
18885 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18886 used as bcopy.
18887
dc70356c
TS
188882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18889
18890 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18891 * sysdeps/unix/syscalls.list (dup3): Likewise.
18892 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18893 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18894
9fb1a21f
L
188952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18896
18897 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18898 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18899
4822a2a5
L
189002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18903 thread pointer.
18904 (TLS_IE): Use mov/add instead of movq/addq to load thread
18905 pointer.
18906 (TLS_GD_PREFIX): New.
18907 (TLS_GD): Use it.
18908
842b81d6
DM
189092012-05-11 David S. Miller <davem@davemloft.net>
18910
18911 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18912 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18913 (_FPU_SETCW): Likewise.
18914
1cf463cd
L
189152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18916
18917 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18918 is 32-byte aligned.
18919
60cc4a18
AS
189202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18921
18922 [BZ #11837]
18923 * iconvdata/gb18030.c: Update tables.
18924 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18925 characters specially.
18926 (BODY for TO_LOOP): Add encoding of missing ranges.
18927
febb44a4
TS
189282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18929
18930 [BZ #13673]
18931 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18932 * sysdeps/mach/hurd/dup3.c: Likewise.
18933 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18934 * sysdeps/powerpc/memmove.c:: Likewise.
18935
0a10fb9e
L
189362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18937
18938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18939 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18940
df8a552f
L
189412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18942
18943 * elf/elf.h (R_X86_64_RELATIVE64): New.
18944 (R_X86_64_NUM): Updated.
18945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18946 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18947 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18948 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18949 tst-quad1pie tst-quad2pie
18950 (modules-names): Add tst-quadmod1 tst-quadmod2.
18951 ($(objpfx)tst-quad1): New dependency.
18952 ($(objpfx)tst-quad2): Likewise.
18953 ($(objpfx)tst-quad1pie): Likewise.
18954 ($(objpfx)tst-quad2pie): Likewise.
18955 * sysdeps/x86_64/tst-quad1.c: New file.
18956 * sysdeps/x86_64/tst-quad1pie.c: New file.
18957 * sysdeps/x86_64/tst-quad2.c: Likewise.
18958 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18959 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18960 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18961 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18962 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18963
f34d6f84
ST
189642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18965
f42d41d1
ST
18966 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18967 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18968 * streams/stropts.h (t_scalar_t): Define type.
18969
3c3571fc
ST
18970 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18971 (_PATH_PRESERVE): Set to "/var/lib".
18972 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18973
61f06bd3
ST
18974 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18975 instead of int.
18976
918d4d71
ST
18977 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18978 if __dir_mkfile succeeded.
18979
f34d6f84
ST
18980 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18981 checking for _hurd_dtablesize. Unlock it right after having
18982 finished _hurd_dtable allocation.
18983
10589b4a
TS
189842012-05-10 Thomas Schwinge <thomas@schwinge.name>
18985
674cdbc7
TS
18986 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18987 * sysdeps/mach/hurd/configure: Regenerated.
18988 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18989 special-casing to...
18990 * sysdeps/gnu/configure.in: ... this new file.
18991 * sysdeps/unix/sysv/linux/configure: Regenerated.
18992 * sysdeps/gnu/configure: New generated file.
18993
8e41b99f
TS
18994 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18995 for Linux: use nsec instead of usec, as well as:
18996 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18997 members of type struct timespec.
18998 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18999 New macros.
19000 (struct stat64): Likewise.
19001 (_STATBUF_ST_NSEC): New macro.
19002 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19003
10589b4a
TS
19004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19005 __strtoul_internal rather than strtoul.
19006
63643c85
PT
190072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19008
19009 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19010 and reject them.
19011
3faebe6a
ST
190122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19013
19014 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19015 which preserves existing values.
19016 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19017
c6474b07
PT
190182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19019
19020 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19021 TIMEOUT values. Return EINVAL for NFDS values either negative or
19022 greater than FD_SETSIZE.
19023
1043890b
ST
190242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19025
19026 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19027 allocated, call __vm_protect to finish enabling the existing space, and
19028 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19029 allocate the remainder.
19030
37ed8b9b
PT
190312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19032
19033 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19034 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19035
db653660
ST
190362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19037
37ed8b9b
PT
19038 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19039 sysdeps/mach/hurd/readlink.c.
b29d4053 19040
db653660
ST
19041 * posix/tst-sysconf.c (posix_options): Only use
19042 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19043 _POSIX_SYNCHRONIZED_IO when they are defined
19044 * sysdeps/mach/hurd/bits/posix_opt.h:
19045 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19046 (_XOPEN_REALTIME): Undefine macro.
19047 (_XOPEN_REALTIME_THREADS): Undefine macro.
19048 (_XOPEN_SHM): Undefine macro.
19049 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19050 macro to -1.
19051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19052 macro to -1.
19053 (_POSIX_ASYNC_IO): Undefine macro.
19054 (_POSIX_PRIORITIZED_IO): Undefine macro.
19055 (_POSIX_SPIN_LOCKS): Define macro to -1.
19056
ee16e894
ST
19057 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19058 SA_NODEFER, SA_RESETHAND.
19059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19060 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19061 F_DUPFD_CLOEXEC.
19062
6103ae3b
TS
190632012-05-10 Thomas Schwinge <thomas@schwinge.name>
19064
19065 * elf/Makefile (pldd-modules): Define unconditionally.
19066
80b4e5f3
TS
190672012-05-10 Thomas Schwinge <thomas@schwinge.name>
19068
19069 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19070
edadcbd6
ST
190712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19072
19073 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19074 Return ENOENT when name is empty.
19075 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19076
80694780
TS
190772012-05-10 Thomas Schwinge <thomas@schwinge.name>
19078
1792c087
TS
19079 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19080
80694780
TS
19081 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19082
6b645f0d
ST
190832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19084
80694780
TS
19085 Fix mlock in all cases except non-readable pages.
19086 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19087 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19088
6b645f0d
ST
19089 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19090 (__mkdir): When path is `/', just fail with EEXIST.
19091 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19092
e468f8a3
TS
190932012-05-10 Thomas Schwinge <thomas@schwinge.name>
19094
19095 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19096 <sys/uio.h> (for writev).
19097 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19098 and <sys/param.h> (for MIN).
19099
a4186cff
PT
191002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19101
19102 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19103 REQUESTED_TIME. Properly set the remaining time and return EINTR
19104 if interrupted.
19105
510bbf14
TS
191062012-05-10 Thomas Schwinge <thomas@schwinge.name>
19107
19108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19109 Depend on against $(link-rpcuserlibs).
19110
5d5722e8
ST
191112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19112
a4186cff
PT
19113 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19114 (__libc_stack_end): Do not use attribute_relro.
19115 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19116 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19117 to libthread-provided value.
a4186cff
PT
19118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19119 attribute_relro.
5d5722e8 19120
37233df9
TS
191212012-05-10 Thomas Schwinge <thomas@schwinge.name>
19122
be971a2b
TS
19123 [BZ #3748]
19124 * bits/libc-lock.h (__libc_once_get): New macro.
19125 * sysdeps/mach/bits/libc-lock.h: Likewise.
19126 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19128 instead of using implementation details.
19129
37233df9
TS
19130 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19131 * libio/freopen.c: Likewise.
19132 * libio/freopen64.c: Likewise.
19133 * misc/syslog.c: Likewise.
19134 * nscd/connections.c: Likewise.
19135 * nscd/netgroupcache.c: Likewise.
19136 * sysdeps/posix/getcwd.c: Likewise.
19137
38de94a5
RM
191382012-05-10 Roland McGrath <roland@hack.frob.com>
19139
19140 * math/w_ilogbf.c: Add #include <limits.h>.
19141
67530489
ST
191422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19143
a4186cff 19144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19145 path instead of returning without unlocking.
19146
67530489
ST
19147 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19148 immediate-write ioctls.
19149 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19150
5aa3a74a
TS
191512012-05-10 Thomas Schwinge <thomas@schwinge.name>
19152
18bad2ae
TS
19153 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19154 __builtin_frame_address instead of making assumptions about the
19155 location of the return address relative to DATA. Force early load of
19156 the return address.
19157 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19158 __builtin_frame_address.
19159
5aa3a74a
TS
19160 dup3 for GNU Hurd.
19161 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19162 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19163 implement dup3 and do some further code clean-ups.
19164 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19166
ecd0de9a
ST
191672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19168
cd9fa985
ST
19169 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19170
a4186cff
PT
19171 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19172 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19173 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19174 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19175 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19176 d->port.lock.
802ca5a5 19177
a4186cff
PT
19178 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19179 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19180 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19181
bcf55240
TS
191822012-05-10 Thomas Schwinge <thomas@schwinge.name>
19183
6960eb42
TS
19184 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19185 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19186 definitions.
19187
eb43375f
TS
19188 accept4 for GNU Hurd.
19189 * include/sys/socket.h (__libc_accept4): New prototype.
19190 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19191 to implement __libc_accept4.
19192 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19193 __libc_accept4.
19194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19195
bcf55240
TS
19196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19197 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19198 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19199 signal-defines.sym.
19200
6178c55b
ST
192012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19202
a4186cff 19203 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19204
6f080c2f
TS
192052012-05-10 Thomas Schwinge <thomas@schwinge.name>
19206
19207 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19208 assertion on O_CLOEXEC flag.
19209 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19210 * hurd/intern-fd.c: Likewise.
19211 * hurd/port2fd.c: Likewise.
19212
bcfe3a54
ST
192132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19214
19215 [BZ #3906]
19216 * bits/in.h (IPV6_PKTINFO): Define new macro.
19217 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19218
89c9aa49
AZ
192192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220
19221 [BZ #13954]
19222 [BZ #13955]
19223 [BZ #13956]
19224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19226 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19230 * math/libm-test.inc (logb_test) : Additional logb tests.
19231
021db4be
AJ
192322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19233 Andreas Jaeger <aj@suse.de>
19234
19235 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19236 * configure: Regenerated.
19237 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19238 * config.make.in (link-obsolete-rpc): New substituted variable.
19239 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19240 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19241 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19242 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19243 so that libc.a contains the symbols.
19244 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19245 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19246 * sunrpc/auth_none.c: Likewise.
19247 * sunrpc/auth_unix.c: Likewise.
19248 * sunrpc/authdes_prot.c: Likewise.
19249 * sunrpc/authuxprot.c: Likewise.
19250 * sunrpc/clnt_gen.c: Likewise.
19251 * sunrpc/clnt_perr.c: Likewise.
19252 * sunrpc/clnt_raw.c: Likewise.
19253 * sunrpc/clnt_simp.c: Likewise.
19254 * sunrpc/clnt_tcp.c: Likewise.
19255 * sunrpc/clnt_udp.c: Likewise.
19256 * sunrpc/clnt_unix.c: Likewise.
19257 * sunrpc/des_crypt.c: Likewise.
19258 * sunrpc/des_soft.c: Likewise.
19259 * sunrpc/get_myaddr.c: Likewise.
19260 * sunrpc/key_call.c: Likewise.
19261 * sunrpc/key_prot.c: Likewise.
19262 * sunrpc/netname.c: Likewise.
19263 * sunrpc/pm_getmaps.c: Likewise.
19264 * sunrpc/pm_getport.c: Likewise.
19265 * sunrpc/pmap_clnt.c: Likewise.
19266 * sunrpc/pmap_prot.c: Likewise.
19267 * sunrpc/pmap_prot2.c: Likewise.
19268 * sunrpc/pmap_rmt.c: Likewise.
19269 * sunrpc/publickey.c: Likewise.
19270 * sunrpc/rpc_cmsg.c: Likewise.
19271 * sunrpc/rpc_common.c: Likewise.
19272 * sunrpc/rpc_dtable.c: Likewise.
19273 * sunrpc/rpc_prot.c: Likewise.
19274 * sunrpc/rpc_thread.c: Likewise.
19275 * sunrpc/rtime.c: Likewise.
19276 * sunrpc/svc.c: Likewise.
19277 * sunrpc/svc_auth.c: Likewise.
19278 * sunrpc/svc_raw.c: Likewise.
19279 * sunrpc/svc_run.c: Likewise.
19280 * sunrpc/svc_tcp.c: Likewise.
19281 * sunrpc/svc_udp.c: Likewise.
19282 * sunrpc/svc_unix.c: Likewise.
19283 * sunrpc/svcauth_des.c: Likewise.
19284 * sunrpc/xcrypt.c: Likewise.
19285 * sunrpc/xdr.c: Likewise.
19286 * sunrpc/xdr_array.c: Likewise.
19287 * sunrpc/xdr_float.c: Likewise.
19288 * sunrpc/xdr_intXX_t.c: Likewise.
19289 * sunrpc/xdr_mem.c: Likewise.
19290 * sunrpc/xdr_rec.c: Likewise.
19291 * sunrpc/xdr_ref.c: Likewise.
19292 * sunrpc/xdr_sizeof.c: Likewise.
19293 * sunrpc/xdr_stdio.c: Likewise.
19294
b5c086a2
RM
192952012-05-10 Roland McGrath <roland@hack.frob.com>
19296
19297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19298 change. Update copyright years.
19299
6d74dd09
JM
193002012-05-10 Joseph Myers <joseph@codesourcery.com>
19301
19302 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19303
28e72501
MK
193042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19305 Joseph Myers <joseph@codesourcery.com>
19306 Paul Pluzhnikov <ppluzhnikov@google.com>
19307
19308 [BZ #14012]
19309 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19310 requiring rpcgen.
19311 [cross-compiling] (extra-libs): Likewise.
19312 [cross-compiling] (extra-libs-others): Likewise.
19313 [cross-compiling] (librpcsvc-routines): Likewise.
19314 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19315 [cross-compiling] (omit-deps): Likewise.
19316 (sunrpc-CPPFLAGS): New variable.
19317 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19318 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19319 (cross-rpcgen-objs): New variable.
19320 (extra-objs): Append $(cross-rpcgen-objs).
19321 ($(cross-rpcgen-objs)): New rule.
19322 ($(objpfx)cross-rpcgen): Likewise.
19323 (rpcgen-cmd): Define to use $(built-program-file). Expand
19324 comment.
19325 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19326 ($(objpfx)x%.stmp): Likewise.
19327 * sunrpc/proto.h [IS_IN_build] (_): Define.
19328 [IS_IN_build] (_libc_intl_domainname): Likewise.
19329
c8c59454
L
193302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19333 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19334 and R_X86_64_TPOFF64.
19335
6f27cd16
JM
193362012-05-10 Joseph Myers <joseph@codesourcery.com>
19337
19338 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19339 sysdeps/unix/sysv/syscalls.list.
19340 (stime): Likewise.
19341 (utime): Likewise.
19342 * sysdeps/unix/sysv/syscalls.list: Remove file.
19343
02467e1c
PE
193442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19345
19346 [BZ #3440]
19347 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19348 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19349 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19350 (__LC_IDENTIFICATION): Make these macros useful in #if
19351 expressions, as required by C99.
19352
da392631
AS
193532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19354
19355 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19356 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19357 after this.
19358
8115f29b
L
193592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 * stdlib/longlong.h: Updated from GCC.
19362
bdd74070
AJ
193632012-05-09 Andreas Jaeger <aj@suse.de>
19364
edfe0dbe
AJ
19365 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19366 default is first entry.
19367 (run_mode): Set type.
19368 (main): Remove informal message about syslog.
19369 (options): Fix typo.
19370
bcfe3a54
ST
19371 [BZ #14053]
19372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19373 to asm.
bcfe3a54
ST
19374 (lrint): Likewise.
19375 (llrintf): Likewise.
19376 (llrint): Likewise.
19377 (rint): Likewise.
19378 (rintf): Likewise.
19379 (nearbyint): Likewise.
19380 (nearbyintf): Likewise.
bdd74070 19381
91d8d69e
AJ
193822012-05-09 Andreas Jaeger <aj@suse.de>
19383 Pedro Alves <palves@redhat.com>
19384
19385 * nscd/nscd.c (run_mode): Use enum.
19386 (main): Cleanup coding style issue.
19387
bb90b80b
AJ
193882012-05-09 Alexandre Oliva <aoliva@redhat.com>
19389 Andreas Jaeger <aj@suse.de>
19390
bcfe3a54
ST
19391 * nscd/nscd.c (go_background): Replaced with...
19392 (run_mode): ... this.
bb90b80b 19393 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19394 (options): Add -F --foreground.
19395 (main): Implement it.
19396 (parse_opt): Parse it.
bb90b80b 19397
1a4b75a1
AJ
193982012-05-09 Andreas Jaeger <aj@suse.de>
19399
19400 [BZ #14083]
19401 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19402 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19403 -Wconversion warning.
19404 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19405 Likewise.
19406
b1cc2472
JM
194072012-05-09 Joseph Myers <joseph@codesourcery.com>
19408
19409 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19410 == 0.
19411 (LC_ALL): Use macro-int-constant.
19412 (LC_COLLATE): Likewise.
19413 (LC_CTYPE): Likewise.
19414 (LC_MESSAGES): Likewise.
19415 (LC_MONETARY): Likewise.
19416 (LC_NUMERIC): Likewise.
19417 (LC_TIME): Likewise.
19418 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19419 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19421 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19422 Specify type.
19423 [C99-based standards] (float_t): Expect type.
19424 [C99-based standards] (double_t): Expect type.
19425 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19426 type.
19427 [C99-based standards] (HUGE_VALL): Likewise.
19428 [C99-based standards] (INFINITY): Likewise.
19429 [C99-based standards] (NAN): Likewise.
19430 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19431 [C99-based standards] (FP_NAN): Likewise.
19432 [C99-based standards] (FP_NORMAL): Likewise.
19433 [C99-based standards] (FP_SUBNORMAL): Likewise.
19434 [C99-based standards] (FP_ZERO): Likewise.
19435 [C99-based standards] (FP_FAST_FMA): Use
19436 optional-macro-int-constant. Specify type. Require == 1.
19437 [C99-based standards] (FP_FAST_FMAF): Likewise.
19438 [C99-based standards] (FP_FAST_FMAL): Likewise.
19439 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19440 [C99-based standards] (FP_ILOGBNAN): Likewise.
19441 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19442 Specify type.
19443 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19444 [C99-based standards] (math_errhandling): Specify type.
19445 [ISO99 || ISO11] (signgam): Do not allow.
19446 [non-C99-based standards] (copysignf): Do not allow.
19447 [non-C99-based standards] (exp2f): Likewise.
19448 [non-C99-based standards] (log2f): Likewise.
19449 [non-C99-based standards] (modff): Allow.
19450 [non-C99-based standards] (erff): Do not allow.
19451 [non-C99-based standards] (erfcf): Likewise.
19452 [non-C99-based standards] (gammaf): Likewise.
19453 [non-C99-based standards] (hypotf): Likewise.
19454 [non-C99-based standards] (j0f): Likewise.
19455 [non-C99-based standards] (j1f): Likewise.
19456 [non-C99-based standards] (jnf): Likewise.
19457 [non-C99-based standards] (lgammaf): Likewise.
19458 [non-C99-based standards] (tgammaf): Likewise.
19459 [non-C99-based standards] (y0f): Likewise.
19460 [non-C99-based standards] (y1f): Likewise.
19461 [non-C99-based standards] (ynf): Likewise.
19462 [non-C99-based standards] (isnanf): Likewise.
19463 [non-C99-based standards] (acoshf): Likewise.
19464 [non-C99-based standards] (asinhf): Likewise.
19465 [non-C99-based standards] (atanhf): Likewise.
19466 [non-C99-based standards] (cbrtf): Likewise.
19467 [non-C99-based standards] (expm1f): Likewise.
19468 [non-C99-based standards] (ilogbf): Likewise.
19469 [non-C99-based standards] (log1pf): Likewise.
19470 [non-C99-based standards] (logbf): Likewise.
19471 [non-C99-based standards] (nextafterf): Likewise.
19472 [non-C99-based standards] (remainderf): Likewise.
19473 [non-C99-based standards] (rintf): Likewise.
19474 [non-C99-based standards] (scalbf): Likewise.
19475 [non-C99-based standards] (copysignl): Likewise.
19476 [non-C99-based standards] (exp2l): Likewise.
19477 [non-C99-based standards] (log2l): Likewise.
19478 [non-C99-based standards] (modfl): Allow.
19479 [non-C99-based standards] (erfl): Do not allow.
19480 [non-C99-based standards] (erfcl): Likewise.
19481 [non-C99-based standards] (gammal): Likewise.
19482 [non-C99-based standards] (hypotl): Likewise.
19483 [non-C99-based standards] (j0l): Likewise.
19484 [non-C99-based standards] (j1l): Likewise.
19485 [non-C99-based standards] (jnl): Likewise.
19486 [non-C99-based standards] (lgammal): Likewise.
19487 [non-C99-based standards] (tgammal): Likewise.
19488 [non-C99-based standards] (y0l): Likewise.
19489 [non-C99-based standards] (y1l): Likewise.
19490 [non-C99-based standards] (ynl): Likewise.
19491 [non-C99-based standards] (isnanl): Likewise.
19492 [non-C99-based standards] (acoshl): Likewise.
19493 [non-C99-based standards] (asinhl): Likewise.
19494 [non-C99-based standards] (atanhl): Likewise.
19495 [non-C99-based standards] (cbrtl): Likewise.
19496 [non-C99-based standards] (expm1l): Likewise.
19497 [non-C99-based standards] (ilogbl): Likewise.
19498 [non-C99-based standards] (log1pl): Likewise.
19499 [non-C99-based standards] (logbl): Likewise.
19500 [non-C99-based standards] (nextafterl): Likewise.
19501 [non-C99-based standards] (remainderl): Likewise.
19502 [non-C99-based standards] (rintl): Likewise.
19503 [non-C99-based standards] (scalbl): Likewise.
19504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19505 [non-C99-based standards] (FP_*): Do not allow.
19506 [C99-based standards] (FP_*): Change to
19507 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19508 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19509 allow.
19510 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19511 (SIG_ERR): Likewise.
19512 [X/Open-based standards] (SIG_HOLD): Likewise.
19513 (SIG_IGN): Likewise.
19514 (SIGABRT): Use macro-int-constant. Specify type. Require
19515 positive value.
19516 (SIGFPE): Likewise.
19517 (SIGILL): Likewise.
19518 (SIGINT): Likewise.
19519 (SIGSEGV): Likewise.
19520 (SIGTER): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19539 [X/Open-based standards] (SIGTRAP): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19544 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19545 allow.
19546
b9f1922d
IW
195472012-05-08 Ian Wienand <ianw@vmware.com>
19548
19549 [BZ #14080]
19550 * time/tzset.c (__tzset_parse_tz): Update default rules for
19551 daylight time changes in the Energy Policy Act of 2005.
19552
1db86e88
AJ
195532012-05-09 Andreas Jaeger <aj@suse.de>
19554
19555 [BZ #13983]
19556 * elf/ldconfig.c (parse_conf): Change string to make clear that
19557 ldconfig only issued a warning if ld.so.conf does not exist.
19558
dee4a4e3
DM
195592012-05-08 David S. Miller <davem@davemloft.net>
19560
ee0db190
DM
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19562 movxtod instead of popping the value on the stack.
19563
dee4a4e3
DM
19564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19565
6a43ec98
CD
195662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19567
19568 * config.h.in: Add HAVE_ARM_PCS_VFP.
19569
05c2c961
RMG
195702012-05-08 Roland Mc Grath <roland@hack.frob.com>
19571
bcfe3a54
ST
19572 [BZ #13979]
19573 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19574 checking but the checks are disabled for any reason.
05c2c961 19575
4b30f61a
L
195762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19577
19578 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19579 and ELF64_R_TYPE with ELFW(R_TYPE).
19580
eee2bc67
JM
195812012-05-08 Joseph Myers <joseph@codesourcery.com>
19582
7ea5391a
JM
19583 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19584 (ulimit): Likewise.
19585
eee2bc67
JM
19586 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19587 (settimeofday): Likewise.
19588
abb66a67
MF
195892012-05-08 Mike Frysinger <vapier@gentoo.org>
19590
19591 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19592 a struct th_u2 inside the union, and move tu_block/tu_code into
19593 a new th_u3 union of tu_block/tu_code inside of that. Move
19594 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19595 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19596 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19597 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19598 (th_stuff): Change to th_u1.tu_stuff.
19599 (th_data): Define.
19600 (th_msg): Change to th_u1.th_u2.tu_data.
19601
7f18b530
DM
196022012-05-07 David S. Miller <davem@davemloft.net>
19603
05760585
DM
19604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19605
7f18b530
DM
19606 [BZ #14074]
19607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19608 (SETUP_PIC_REG): Use it.
19609 (SETUP_PIC_REG_LEAF): Use it.
19610
495fd99f
JM
196112012-05-07 Joseph Myers <joseph@codesourcery.com>
19612
19613 [BZ #13885]
19614 [BZ #13923]
19615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19616 USE_AS_EXPM1L.
19617 (EXPL_FINITE): Likewise.
19618 (FLDLOG): Likewise.
19619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19620 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19621 e_expl.S.
19622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19623 USE_AS_EXPM1L.
19624 (EXPL_FINITE): Likewise.
19625 (FLDLOG): Likewise.
19626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19627 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19628 e_expl.S.
19629 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19630 test of -max_value argument for long double.
19631 * sysdeps/i386/fpu/libm-test-ulps: Update.
19632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633
6693d694
DM
196342012-05-06 David S. Miller <davem@davemloft.net>
19635
19636 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19637 quad soft-float symbols whose references which are compiler
19638 generated.
19639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19640
6c23e11c
JM
196412012-05-06 Joseph Myers <joseph@codesourcery.com>
19642
d8b82cad
JM
19643 [BZ #13884]
19644 [BZ #13914]
19645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19646 USE_AS_EXP10L.
19647 (EXPL_FINITE): Likewise.
19648 (FLDLOG): Likewise.
19649 (c0): Likewise.
19650 (c1): Likewise.
19651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19652 Adjust comments for base varying.
19653 (__expl_finite): Change alias to EXPL_FINITE.
19654 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19655 e_expl.S.
19656 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19657 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19658 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19659 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19661 USE_AS_EXP10L.
19662 (EXPL_FINITE): Likewise.
19663 (FLDLOG): Likewise.
19664 (c0): Likewise.
19665 (c1): Likewise.
19666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19667 Adjust comments for base varying.
19668 (__expl_finite): Change alias to EXPL_FINITE.
19669 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19670 tests for bugs.
19671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19672
6c23e11c
JM
19673 [BZ #14064]
19674 * math/libm-test.inc (check_float_internal): Correct ulp
19675 calculation for subnormal expected results.
19676
29ba805c
AJ
196772012-05-06 Andreas Jaeger <aj@suse.de>
19678
19679 * Makeconfig (+math-flags): New, set to -frounding-math.
19680 (+cflags): Add +math-flags so that all of glibc gets compiled with
19681 it.
19682
19683 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19684
7b17aeda
JM
196852012-05-05 Joseph Myers <joseph@codesourcery.com>
19686
5779f134
JM
19687 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19688 Disable one test.
19689
41498f4d
JM
19690 [BZ #13787]
19691 [BZ #13922]
19692 [BZ #14036]
19693 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19694 (__ieee754_expl): Allow for and saturate large arguments.
19695 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19696 (u_threshold): Likewise.
19697 (__exp): Call __ieee754_exp before checking for overflow and
19698 underflow.
19699 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19700 (u_threshold): Likewise.
19701 (__expf): Call __ieee754_expf before checking for overflow and
19702 underflow.
19703 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19704 (u_threshold): Likewise.
19705 (__expl): Call __ieee754_expl before checking for overflow and
19706 underflow.
19707 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19708 (__ieee754_expl): Allow for and saturate large arguments.
19709 * math/libm-test.inc (exp_test): Add another test. Do not allow
19710 missing overflow exception on overflow.
19711 (expm1_test): Do not allow missing overflow exception on overflow.
19712
6698b8bf
JM
19713 * sysdeps/i386/fpu/e_expl.c: Move to ...
19714 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19715 rather than using inline asm.
19716 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19717 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19718 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19719
7b17aeda
JM
19720 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19721 (nice): Likewise.
19722 (poll): Likewise.
19723 (signal): Likewise.
19724 (time): Likewise.
19725 (times): Likewise.
19726
f7c85819
JM
197272012-05-04 Joseph Myers <joseph@codesourcery.com>
19728
19729 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19730 sysdeps/unix/common/syscalls.list.
19731 (fchmod): Likewise.
19732 (fchown): Likewise.
19733 (ftruncate): Likewise.
19734 (getrusage): Likewise.
19735 (gettimeofday): Likewise.
19736 (setpgid): Likewise.
19737 (setregid): Likewise.
19738 (setreuid): Likewise.
19739 (sigaction): Likewise.
19740 (truncate): Likewise.
19741 (vhangup): Likewise.
19742 * sysdeps/unix/common/syscalls.list: Remove file.
19743 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19744 * sysdeps/unix/sysv/linux/Implies: Likewise.
19745
336270d0
L
197462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19747
19748 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19750 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19751 Moved to ...
19752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19753 Here.
19754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19755 to ...
19756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19758 to ...
19759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19760 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19761 to ...
19762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19763 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19764 to ...
19765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19767 to ...
19768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19769 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19770 to ...
19771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19773 to ...
19774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19775 Here.
19776 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19777 to ...
19778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19779 Here.
19780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19781 to ...
19782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19784 Moved to ...
19785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19786 Here.
19787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19788 to ...
19789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19790
d128e450
JM
197912012-05-04 Joseph Myers <joseph@codesourcery.com>
19792
fa8ee516
JM
19793 * sysdeps/unix/common/bits/dirent.h: Remove file.
19794 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19795
d128e450
JM
19796 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19797 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19798 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19799 * sysdeps/unix/bsd/isatty.c: Likewise.
19800 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19801 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19802 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19803
ff8faaf0 198042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19805
62881be4 19806 [BZ #13563]
31dc8730
AZ
19807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19808 long double comparison inaccuracies.
19809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19811
6fef930c
AS
198122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19813
19814 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19816
8f203e6c
JM
198172012-05-04 Joseph Myers <joseph@codesourcery.com>
19818
19819 [BZ #14049]
19820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19821 nonzero digits before rounding a hex value.
19822 * stdlib/tst-strtod.c (tests): Add another test.
19823
5197d9c2
AK
198242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19825
19826 * sysdeps/s390/fpu/libm-test-ulps: Update.
19827
f0c1dedf
AJ
198282012-05-03 Andreas Jaeger <aj@suse.de>
19829
19830 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19831 does not get optimized out.
19832 (malloc_opt_barrier): New.
19833
a65ef2ae 198342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19835 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19836
2b942cb7 19837 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19838 intermediate file deletion.
2b942cb7 19839 (generated): Add .symlist files.
a65ef2ae 19840
54b71e02
JM
198412012-05-03 Joseph Myers <joseph@codesourcery.com>
19842
19843 [BZ #13775]
19844 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19845 Redirect under this condition.
19846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19847 [__USE_GNU] (__dprintf_chk): Not under this condition.
19848 [__USE_GNU] (__vdprintf_chk): Likewise.
19849 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19850 under this condition.
19851 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19852 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19853 [__USE_XOPEN2K8] (vdprintf): Likewise.
19854 [__USE_GNU] (__dprintf_chk): Not under this condition.
19855 [__USE_GNU] (__vdprintf_chk): Likewise.
19856 [__USE_GNU] (dprintf): Likewise.
19857 [__USE_GNU] (vdprintf): Likewise.
19858
d3dfcc41
RM
198592012-05-03 Roland McGrath <roland@hack.frob.com>
19860
19861 * elf/Makefile (common-generated): Set this instead of generated for
19862 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19863 $(all-built-dso)-derived lists.
19864
7ac30cc5
AJ
198652012-05-03 Andreas Jaeger <aj@suse.de>
19866
0c51e550
AJ
19867 * sysdeps/i386/fpu/libm-test-ulps: Update.
19868
7ac30cc5
AJ
19869 * FAQ: Removed.
19870 * FAQ.in: Likewise.
19871 * scripts/gen-FAQ.pl: Likewise.
19872 * manual/install.texi (Installation): Point to online location of
19873 FAQ.
19874 * Makefile (files-for-dist): Remove FAQ.
19875 (FAQ): Remove.
19876
d4c2917f
AM
198772012-05-02 Allan McRae <allan@archlinux.org>
19878
19879 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19880 (LDFLAGS-reldepmod5.so): Likewise.
19881 (LDFLAGS-reldep6mod1.so): Likewise.
19882 (LDFLAGS-reldep6mod4.so): Likewise.
19883 (LDFLAGS-reldep8mod3.so): Likewise.
19884 (LDFLAGS-unload4mod1.so): Likewise.
19885 (LDFLAGS-unload4mod2.so): Likewise.
19886 (LDFLAGS-tst-initorder): Likewise.
19887 (LDFLAGS-tst-initordera2.so): Likewise.
19888 (LDFLAGS-tst-initordera3.so): Likewise.
19889 (LDFLAGS-tst-initordera4.so): Likewise.
19890 (LDFLAGS-tst-initorderb2.so): Likewise.
19891 (LDFLAGS-noload): Likewise.
19892 (LDFLAGS-next): Likewise.
19893 (LDFLAGS-order2mod1.so): Likewise.
19894 (LDFLAGS-order2mod2.so): Likewise.
19895 (LDFLAGS-tst-initorder2): Likewise.
19896 (LDFLAGS-tst-initorder2a.so): Likewise.
19897 (LDFLAGS-tst-initorder2b.so): Likewise.
19898 (LDFLAGS-tst-initorder2c.so): Likewise.
19899 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19900
d77f993f
DM
199012012-05-02 David S. Miller <davem@davemloft.net>
19902
19903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19904
171a70b4
PP
199052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19906
19907 [BZ #14055]
19908 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19909
0be196ad
AJ
199102012-05-02 Andreas Jaeger <aj@suse.de>
19911
19912 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19913 since we manipulate rounding mode.
19914 (CPPFLAGS-test-idouble.c): Likewise.
19915 (CPPFLAGS-test-ifloat.c): Likewise.
19916 (CFLAGS-test-ldouble.c): Likewise.
19917 (CFLAGS-test-double.c): Likewise.
19918 (CFLAGS-test-float.c): Likewise.
19919 (CFLAGS-test-misc.c): Likewise.
19920 (CFLAGS-test-test-fenv.c): Likewise.
19921
4f9d04aa
AZ
199222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19923
2b942cb7
RM
19924 [BZ #2550]
19925 [BZ #2570]
19926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19927 comparisons to determine direction to adjust input.
4f9d04aa 19928
82a79e7d
RM
199292012-05-01 Roland McGrath <roland@hack.frob.com>
19930
f5a01ca9
RM
19931 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19932 output to the target.
19933
90fe4186
RM
19934 * scripts/localplt.awk: New file.
19935 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19936 (check-localplt-CFLAGS): Variable removed.
19937 ($(all-built-dso:=.jmprel)): New static pattern rule.
19938 (generated): Add those targets.
19939 (localplt-built-dso): New variable.
19940 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19941
19942 * elf/check-localplt.c: File removed.
19943
82397ed6
RM
19944 * scripts/check-execstack.awk: New file.
19945 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19946 (check-execstack-CFLAGS): Variable removed.
19947 ($(objpfx)check-execstack.h): Target removed.
19948 ($(objpfx)execstack-default): New target.
19949 (generated): Add that instead of check-execstack.h.
19950 ($(all-built-dso:=.phdr)): New static pattern rule.
19951 (generated): Add those targets.
19952 * elf/check-execstack.c: File removed.
19953
82a79e7d
RM
19954 * scripts/check-textrel.awk: New file.
19955 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19956 (check-textrel-CFLAGS): Variable removed.
19957 (all-built-dso): Use := to define.o
19958 ($(all-built-dso:=.dyn)): New static pattern rule.
19959 (generated): Add those targets.
19960 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19961 * config.make.in (READELF): New substituted variable.
19962 * elf/check-textrel.c: File removed.
19963
62fde54f 199642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19965
615605c9
JM
19966 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19967 allow.
19968 * conform/data/ctype.h-data [C99-based standards] (isblank):
19969 Expect function.
19970 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19971 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19973 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19974 Specify type. Require positive value.
19975 (EILSEQ): Likewise.
19976 (ERANGE): Likewise.
19977 [ISO || POSIX] (EILSEQ): Do not expect.
19978 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19979 Specify type. Require positive value.
19980 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19981 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19982 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19983 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19984 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19985 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19986 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19987 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19988 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19990 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19991 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19996 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19997 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20001 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20002 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20003 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20004 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20005 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20006 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20007 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20010 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20012 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20054 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20055 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20056 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20057 Require >= 2.
20058 (FLT_ROUNDS): Expect as macro, not constant.
20059 (FLT_MANT_DIG): Use macro-int-constant.
20060 (DBL_MANT_DIG): Likewise.
20061 (LDBL_MANT_DIG): Likewise.
20062 (FLT_DIG): Likewise.
20063 (DBL_DIG): Likewise.
20064 (LDBL_DIG): Likewise.
20065 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20066 (DBL_MIN_EXP): Likewise.
20067 (LDBL_MIN_EXP): Likewise.
20068 (FLT_MAX_EXP): Use macro-int-constant.
20069 (DBL_MAX_EXP): Likewise.
20070 (LDBL_MAX_EXP): Likewise.
20071 (FLT_MAX_10_EXP): Likewise.
20072 (DBL_MAX_10_EXP): Likewise.
20073 (LDBL_MAX_10_EXP): Likewise.
20074 (FLT_MAX): Use macro-constant.
20075 (DBL_MAX): Likewise.
20076 (LDBL_MAX): Likewise.
20077 (FLT_EPSILON): Use macro-constant. Give upper bound.
20078 (DBL_EPSILON): Likewise.
20079 (LDBL_EPSILON): Likewise.
20080 (FLT_MIN): Likewise.
20081 (DBL_MIN): Likewise.
20082 (LDBL_MIN): Likewise.
20083 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20084 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20085 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20086 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20087 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20088 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20089 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20090 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20091 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20092 [ISO11] (FLT_TRUE_MIN): Likewise.
20093 [ISO11] (LDBL_TRUE_MIN): Likewise.
20094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20095 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20096 (SCHAR_MIN): Use macro-int-constant. Specify type.
20097 (SCHAR_MAX): Likewise.
20098 (UCHAR_MAX): Likewise.
20099 (CHAR_MIN): Likewise.
20100 (CHAR_MAX): Likewise.
20101 (MB_LEN_MAX): Use macro-int-constant.
20102 (SHRT_MIN): Use macro-int-constant. Specify type.
20103 (SHRT_MAX): Likewise.
20104 (USHRT_MAX): Likewise.
20105 (INT_MAX): Likewise.
20106 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20107 bound negative.
20108 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20109 bound with "U".
20110 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20111 bound with "L".
20112 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20113 bound negative. Suffix upper bound with "L".
20114 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20115 bound with "UL".
20116 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20117 Specify type.
20118 [C99-based standards] (LLONG_MAX): Likewise.
20119 [C99-based standards] (ULLONG_MAX): Likewise.
20120 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20121 == 0.
20122 [ISO11] (max_align_t): Require type.
20123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20124
c9140a62
JM
20125 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20126 from $CFLAGS, without defining away __attribute__ calls.
20127 (checknamespace): Use $CFLAGS_namespace.
20128
9af0bf29
JM
20129 * conform/conformtest.pl (@keywords): Only include C99 keywords
20130 for standards based on C99 or C11.
20131
343222a2
JM
20132 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20133 Disable tests.
20134 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20135 UNIX98]: Likewise.
20136
661f8cf0
JM
20137 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20138 usability of symbols in #if.
20139
ee74b9cb
JM
20140 * conform/conformtest.pl: If macro or constant types start
20141 "promoted:", expect the symbol to be of the following type
20142 promoted by the integer promotions.
62fde54f 20143
aafc49b3
JM
20144 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20145 in one place. Also handle "macro-constant".
20146
fefdf574
JM
20147 * conform/conformtest.pl: Only accept expected macro values with
20148 "==". Parse all "macro" lines in one place.
20149 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20150
f2d922fe
JM
20151 * conform/conformtest.pl: Handle braced types on "constant" lines
20152 instead of handling "typed-constant".
20153 * conform/data/signal.h-data: Use "constant" instead of
20154 "typed-constant".
20155
d22956c9
JM
20156 * conform/conformtest.pl: Handle "optional-" at start of lines in
20157 one place rather than duplicating several cases. Handle each
20158 format of "macro" line with initial "optional-".
20159
028e2e38
JM
20160 * conform/conformtest.pl: Only accept expected constant or
20161 optional-constant values with "==". Parse all "constant" lines in
20162 one place. Parse all "optional-constant" lines in one place.
20163 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20164 * conform/data/fmtmsg.h-data: Likewise.
20165 * conform/data/netinet/in.h-data: Likewise.
20166 * conform/data/tar.h-data: Likewise.
20167 * conform/data/limits.h-data: Use "==" form on "constant" and
20168 "optional-constant" lines.
20169
1b8f2850
JM
20170 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20171 Use -std=c99 for XOPEN2K.
20172 (@knownproblems): Remove.
20173 (newtoken): Don't check %isknown.
20174
a05a144b
JM
20175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20176 Do not expect macro.
20177 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20178 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20179 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20180 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20181 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20182 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20183 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20184 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20185 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20186 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20187 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20188 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20189 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20190 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20191 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20192 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20193 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20194 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20195 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20196 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20197 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20201 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20202 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20203 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20204 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20205 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20206 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20207 [XPG3] (acosh): Likewise.
20208 [XPG3] (asinh): Likewise.
20209 [XPG3] (atanh): Likewise.
20210 [XPG3] (cbrt): Likewise.
20211 [XPG3] (expm1): Likewise.
20212 [XPG3] (ilogb): Likewise.
20213 [XPG3] (log1p): Likewise.
20214 [XPG3] (logb): Likewise.
20215 [XPG3] (nextafter): Likewise.
20216 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20217 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20218 [XPG3] (remainder): Likewise.
20219 [XPG3] (rint): Likewise.
20220 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20221 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20222 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20223 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20224 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20225 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20226 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20227 [UNIX98 || XOPEN2K] (scalb): Expect.
20228 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20229 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20230 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20231 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20232 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20233 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20234 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20235 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20236 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20242 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20248 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20249 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20266 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20267 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20268 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20271 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20272 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20273 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20274 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20277 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20278 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20365
73c5ebe3
JM
20366 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20367 _XOPEN_SOURCE_EXTENDED for XPG4.
20368
39c33b6c
JM
20369 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20370
62fde54f
JM
20371 * Makeconfig (localtime): Remove variable.
20372 (inst_localtime-file): Likewise.
20373
0741d64c
AS
203742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20375
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20377 Update.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20379 Update.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20381 Update.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20383 Update.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20385 Update.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20387 Update.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20389 Update.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20391 Update.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20393 Update.
20394
7cb029ee
JM
203952012-05-01 Joseph Myers <joseph@codesourcery.com>
20396
20397 [BZ #2550]
20398 [BZ #2570]
20399 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20400 comparisons to determine direction to adjust input.
20401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20402 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20404 Likewise.
20405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20406 Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20408 Likewise.
20409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20411 Likewise.
20412 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20413 Likewise.
20414 * math/libm-test.inc (nexttoward_test): Add more tests.
20415
412bd966
AS
204162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20417
20418 [BZ #14040]
20419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20420 in version GLIBC_2.1, not GLIBC_2.0.
20421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20422 Likewise.
20423
9568c0c2
JM
204242012-04-30 Joseph Myers <joseph@codesourcery.com>
20425
adfbc8ac
JM
20426 [BZ #13942]
20427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20428 (1 - x) * (1 + x).
20429 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20430 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20431 * math/libm-test.inc (acos_test): Add more tests.
20432 (asin_test): Likewise.
20433 * sysdeps/i386/fpu/libm-test-ulps: Update.
20434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20435
5ba3cc69
JM
20436 [BZ #14034]
20437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20438 of square root.
20439 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20441 * math/libm-test.inc (acos_test_tonearest): New function.
20442 (acos_test_towardzero): Likewise.
20443 (acos_test_downward): Likewise.
20444 (acos_test_upward): Likewise.
20445 (asin_test_tonearest): Likewise.
20446 (asin_test_towardzero): Likewise.
20447 (asin_test_downward): Likewise.
20448 (asin_test_upward): Likewise.
20449 (main): Call the new functions.
20450 * sysdeps/i386/fpu/libm-test-ulps: Update.
20451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20452
9568c0c2
JM
20453 [BZ #13884]
20454 [BZ #13924]
20455 * math/e_exp10.c: Include <float.h>.
20456 (__ieee754_exp10): Handle underflow here rather than multiplying
20457 large negative argument by M_LN10.
20458 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20459 of __ieee754_expf.
20460 * math/e_exp10l.c: Include <float.h>.
20461 (__ieee754_exp10l): Handle underflow here rather than multiplying
20462 large negative argument by M_LN10l.
20463 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20464 spurious overflow exception on underflow.
20465
5ac3ea17
MP
204662012-04-29 Marek Polacek <polacek@redhat.com>
20467
20468 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20469 (__fortify_function): New macro.
20470 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20471 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20472 __extern_always_inline.
20473 * libio/bits/stdio2.h: Likewise.
20474 * libio/bits/stdio.h: Likewise.
20475 * string/string.h: Likewise.
20476 * string/bits/string3.h: Likewise.
20477 * include/stdio.h: Likewise.
20478 * stdlib/bits/stdlib.h: Likewise.
20479 * stdlib/stdlib.h: Likewise.
20480 * rt/bits/mqueue2.h: Likewise.
20481 * rt/mqueue.h: Likewise.
20482 * posix/bits/unistd.h: Likewise.
20483 * posix/unistd.h: Likewise.
20484 * io/bits/poll2.h: Likewise.
20485 * io/bits/fcntl2.h: Likewise.
20486 * io/fcntl.h: Likewise.
20487 * io/sys/poll.h: Likewise.
20488 * misc/bits/syslog.h: Likewise.
20489 * misc/bits/syslog-ldbl.h: Likewise.
20490 * misc/sys/syslog.h: Likewise.
20491 * socket/bits/socket2.h: Likewise.
20492 * socket/sys/socket.h: Likewise.
20493 * debug/tst-chk1.c: Likewise.
20494 * wcsmbs/bits/wchar2.h: Likewise.
20495 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20496 * wcsmbs/wchar.h: Likewise.
20497
ecf0ebfb
AJ
204982012-04-29 Andreas Jaeger <aj@suse.de>
20499
20500 * Makerules (tests): Remove enable-check-abi protection.
20501 (check-abi-warn): Remove.
20502 (check-abi-%): Remove check-abi-warn usage.
20503
20504 * configure.in: Remove check-abi configure option.
20505 * configure: Regenerated.
20506 * config.make.in (enable-check-abi): Remove.
20507
6d5c57fa
AS
205082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20509
24c5d07e 20510 [BZ #14033]
ded5180a
AS
20511 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20512 double functions to double *_finite functions.
20513
7e0d315d
AS
20514 [BZ #13941]
20515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20516 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20517 LDBL_MIN_EXP.
20518 * stdio-common/Makefile (tests): Add tst-sprintf3.
20519 * stdio-common/tst-sprintf3.c: New file.
20520
6d5c57fa
AS
20521 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20522 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20523
0749ff8b
JM
205242012-04-28 Joseph Myers <joseph@codesourcery.com>
20525
20526 * conform/conformtest.pl: Remove duplicate typed-constant
20527 handling.
20528
8dbd5d7b
DM
205292012-04-28 David S. Miller <davem@davemloft.net>
20530
20531 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20532 (check-abi-%): Remove AWK script prerequisite and explicit
20533 abilist directory.
20534 (check-abi): Rewrite to just diff the symlist with the abilist.
20535 (config-tls, config-abi-config): Delete, no longer used.
20536 (update-abi-%): Remove AWK script and explicit abilist directory.
20537 (update-abi): Rewrite to simply compare and conditionally copy the
20538 symlist and the sysdep abilist file. Remove update-abi-config
20539 checks.
20540 * abilist/ld.abilist: Remove.
20541 * abilist/libBrokenLocale.abilist: Remove.
20542 * abilist/libanl.abilist: Remove.
20543 * abilist/libcrypt.abilist: Remove.
20544 * abilist/libdl.abilist: Remove.
20545 * abilist/librt.abilist: Remove.
20546 * abilist/libthread_db.abilist: Remove.
20547 * abilist/libutil.abilist: Remove.
20548 * scripts/extract-abilist.awk: Remove.
20549 * scripts/merge-abilist.awk: Remove.
20550 * sysdeps/generic/libcidn.abilist: New file.
20551 * sysdeps/generic/libnss_compat.abilist: New file.
20552 * sysdeps/generic/libnss_db.abilist: New file.
20553 * sysdeps/generic/libnss_dns.abilist: New file.
20554 * sysdeps/generic/libnss_files.abilist: New file.
20555 * sysdeps/generic/libnss_hesiod.abilist: New file.
20556 * sysdeps/generic/libnss_nis.abilist: New file.
20557 * sysdeps/generic/libnss_nisplus.abilist: New file.
20558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20561 file.
20562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20564 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20566 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20570 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20571 file.
20572 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20576 file.
20577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20579 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20581 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20582 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20583 file.
20584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20585 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20587 file.
20588 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20590 New file.
20591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20592 New file.
20593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20594 New file.
20595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20596 New file.
20597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20598 New file.
20599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20600 New file.
20601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20602 New file.
20603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20604 New file.
20605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20606 New file.
20607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20608 New file.
20609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20610 New file.
20611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20612 New file.
20613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20614 New file.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20616 file.
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20618 New file.
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20620 New file.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20622 file.
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20624 New file.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20626 New file.
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20628 file.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20630 New file.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20632 New file.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20634 New file.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20636 New file.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20638 New file.
20639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20640 New file.
20641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20643 file.
20644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20645 New file.
20646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20647 file.
20648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20649 file.
20650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20651 file.
20652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20653 file.
20654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20655 file.
20656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20657 New file.
20658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20659 file.
20660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20661 file.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20663 New file.
20664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20665 file.
20666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20668 file.
20669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20670 New file.
20671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20672 file.
20673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20674 file.
20675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20676 file.
20677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20678 file.
20679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20680 file.
20681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20682 New file.
20683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20684 file.
20685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20686 file.
20687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20688 New file.
20689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20690 file.
20691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20692 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20693 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20694 file.
20695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20696 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20697 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20702 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20703 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20704 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20707 file.
20708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20709 New file.
20710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20711 file.
20712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20713 file.
20714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20715 file.
20716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20717 file.
20718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20719 file.
20720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20721 New file.
20722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20723 New file.
20724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20725 file.
20726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20727 New file.
20728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20729 file.
20730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20732 file.
20733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20734 New file.
20735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20736 file.
20737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20738 file.
20739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20740 file.
20741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20742 file.
20743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20744 file.
20745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20746 New file.
20747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20748 New file.
20749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20750 file.
20751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20752 New file.
20753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20754 file.
20755
41d73a1b
JM
207562012-04-28 Joseph Myers <joseph@codesourcery.com>
20757
20758 * conform/conformtest.pl: Fix typo in handling typed-constant from
20759 allow-header.
20760
28aeeda4
JM
207612012-04-27 Joseph Myers <joseph@codesourcery.com>
20762
adae8f5e
JM
20763 * README: Cut down references to pre-2.6 Linux kernels and
20764 Linuxthreads. Update lists of configurations in libc and ports
20765 and sort alphabetically. Say "or newer" with Linux kernel version
20766 requirements.
20767
28aeeda4
JM
20768 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20769
a462cb63
RA
207702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20771
20772 [BZ #887]
20773 * math/libm-test.inc (logb_test_downward): New test to expose
20774 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20775 rounding mode.
20776
6ad3493e
JM
207772012-04-27 Joseph Myers <joseph@codesourcery.com>
20778
20779 [BZ #14027]
20780 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20781 to be done.
20782 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20783 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20784
2ce4f015
JM
207852012-04-26 Joseph Myers <joseph@codesourcery.com>
20786
5aeb141a
JM
20787 * sysdeps/unix/i386/brk.S: Remove file.
20788 * sysdeps/unix/i386/dl-brk.S: Likewise.
20789 * sysdeps/unix/i386/pipe.S: Likewise.
20790 * sysdeps/unix/i386/sigreturn.S: Likewise.
20791 * sysdeps/unix/i386/syscall.S: Likewise.
20792 * sysdeps/unix/i386/vfork.S: Likewise.
20793 * sysdeps/unix/i386/wait.S: Likewise.
20794
7143acae
JM
20795 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20796 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20797
2ce4f015
JM
20798 * configure.in (arm*-none*): Do not allow without
20799 --enable-hacker-mode.
20800 (netbsd*): Remove case setting base_os.
20801 (386bsd*): Likewise.
20802 (freebsd*): Likewise.
20803 (bsdi*): Likewise.
20804 (osf*): Likewise.
20805 (sunos*): Likewise.
20806 (ultrix*): Likewise.
20807 (newsos*): Likewise.
20808 (dynix*): Likewise.
20809 (*bsd*): Likewise.
20810 (sysv*): Likewise.
20811 (isc*): Likewise.
20812 (esix*): Likewise.
20813 (sco*): Likewise.
20814 (minix*): Likewise.
20815 (irix4*): Likewise.
20816 (irix6*): Likewise.
20817 (solaris[2-9]*): Likewise.
20818 (none): Likewise.
20819 * configure: Regenerated.
20820
0ac229c8
AZ
208212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20822
20823 [BZ #11521]
20824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20825 overflow or cancellation in calculating denominator.
20826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20828 down expression to avoid unexpected rounding in newer GCCs.
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20830
33f244f4
DM
208312012-04-26 David S. Miller <davem@davemloft.net>
20832
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20834 long-double compat symbols.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20848
cfa1f3e8
DM
208492012-04-25 David S. Miller <davem@davemloft.net>
20850
20851 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20852 HWCAP_* values only after the memory barriers have been defined.
20853 (atomic_full_barrier): Define.
20854 (atomic_read_barrier): Define.
20855 (atomic_write_barrier): Define.
20856
6e236b92
SP
208572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20858
20859 * shlib-versions: Add libgcc_s version information.
20860 * sysdeps/generic/libgcc_s.h: Remove.
20861 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20862 libgcc_s.h.
20863 * sysdeps/gnu/unwind-resume.c: Likewise.
20864 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20865
aab39a09
DM
208662012-04-25 David S. Miller <davem@davemloft.net>
20867
20868 * sysdeps/unix/sparc/brk.S: Delete.
20869 * sysdeps/unix/sparc/dl-brk.S: Delete.
20870 * sysdeps/unix/sparc/pipe.S: Delete.
20871 * sysdeps/unix/sparc/sysdep.S: Delete.
20872 * sysdeps/unix/sparc/sysdep.h: Delete.
20873 * sysdeps/unix/sparc/vfork.S: Delete.
20874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20875 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20877 ret_ERRVAL, r0, r1, MOVE): Define.
20878 (JUMPTARGET): Remove.
20879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20880 sysdeps/unix/sparc/sysdep.h
20881 (ENTRY, END): Remove.
20882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20883
a3cc4f48
JM
208842012-04-25 Joseph Myers <joseph@codesourcery.com>
20885
2ed8cda2
JM
20886 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20887 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20888 -DIS_IN_build.
20889
35d76d59
JM
20890 * timezone/README: Update upstream location and email address for
20891 tzcode and tzdata.
20892 * timezone/zdump.c: Update from tzcode 2012b.
20893 * timezone/zic.c: Likewise.
20894
a3cc4f48
JM
20895 * configure.in (libc_cv_as_needed): Remove test.
20896 * configure: Regenerated.
20897 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20898 conditional definition.
20899 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20900 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20901 * config.make.in (have-as-needed): Remove variable.
20902
ceab42c3
SP
209032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20904 Paul Pluzhnikov <ppluzhnikov@google.com>
20905
20906 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20907 strings correctly.
20908
3ce2865f
CLT
209092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20910
20911 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20912 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20913 * sysdeps/sh/strlen.S: Likewise.
20914
f37e0d68
JM
209152012-04-24 Joseph Myers <joseph@codesourcery.com>
20916
ae186e9a
JM
20917 * sysdeps/unix/fork.S: Remove file.
20918 * sysdeps/unix/i386/fork.S: Likewise.
20919 * sysdeps/unix/sparc/fork.S: Likewise.
20920
b96914af
JM
20921 * sysdeps/unix/system.c: Remove file.
20922 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20923
f37e0d68
JM
20924 * sysdeps/unix/getegid.S: Remove file.
20925 * sysdeps/unix/geteuid.S: Likewise.
20926
87ef29ca
RM
209272012-04-24 Roland McGrath <roland@hack.frob.com>
20928
83bcd236
RM
20929 * scripts/check-localplt.awk: New file.
20930 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20931 of diff.
20932 * scripts/data/localplt-generic.data: Add a comment.
20933
87ef29ca
RM
20934 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20935 NODE when __dir_mkfile failed.
20936 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20937 Reported by Ludovic Courtès <ludo@gnu.org>.
20938
e5a6e567
AJ
209392012-04-24 Andreas Jaeger <aj@suse.de>
20940
20941 * Makerules (common-clean): Also remove gen-as-const-headers
20942 files.
20943
c1820385
JM
209442012-04-24 Joseph Myers <joseph@codesourcery.com>
20945
20946 * Makerules (native-compile): Do not change working directory for
20947 build. Use $(OUTPUT_OPTION) in command.
20948 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20949
94e02fc4
AZ
209502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20951
20952 [BZ #13886]
20953 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20954 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20955 * math/libm-test.inc (floor_test): Add more tests.
20956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20957
3a533ca3
JM
209582012-04-24 Joseph Myers <joseph@codesourcery.com>
20959
940ab4b3
JM
20960 * sysdeps/unix/getdents.c: Remove file.
20961 * sysdeps/unix/sysv/getdents.c: Likewise.
20962 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20963
90e037bd
JM
20964 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20965 sysdeps/unix/mman/syscalls.list.
20966 (mmap): Likewise.
20967 (mprotect): Likewise.
20968 (msync): Likewise.
20969 (munmap): Likewise.
20970 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20971 * sysdeps/unix/mman/syscalls.list: Remove.
20972 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20973
3a533ca3
JM
20974 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20975 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20976 * configure: Regenerated.
20977 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20978 $(libgcc_s_suffix).
20979 * config.make.in (libgcc_s_suffix): Remove variable.
20980
1ad743de
JM
209812012-04-23 Joseph Myers <joseph@codesourcery.com>
20982
4ad451e2
JM
20983 * sysdeps/unix/sysv/gethostname.c: Move to ...
20984 * sysdeps/posix/gethostname.c: ... here.
20985
5e37ce39
JM
20986 * sysdeps/unix/execve.S: Remove file.
20987
1ad743de
JM
20988 * sysdeps/unix/_exit.S: Remove file.
20989
4e681b5b
AJ
209902012-04-23 Andreas Jaeger <aj@suse.de>
20991
20992 [BZ #13739]
20993 * manual/Makefile: Remove make dist support, there's no
20994 need for a stand-alone documentation tar ball.
20995 (TEXI2DVI): Define always, it's not in Makeconfig.
20996 (dist): Removed.
20997 (tar-it): Removed.
20998 (edition): Removed.
20999 (glibc-doc-$(edition).tar): Removed
21000 (%.Z): Removed.
21001 (%.gz): Removed.
21002 (%.uu): Removed.
21003 (ETAGS): Remove, it's in Makeconfig.
21004 (move-if-change): Remove, it's in Makeconfig.
21005
38686a03 210062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21007
21008 [BZ #13970]
21009 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21010 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21011 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21012 (strtod_l, strtof_l, strtold_l): Remove __wur.
21013 It is not necessarily an error to ignore strtol's return value.
21014 One can reliably look at the stored endptr to decide whether
21015 the number had valid syntax.
21016
7c0616fa
AJ
210172012-04-21 Andreas Jaeger <aj@suse.de>
21018
803cb6b7 21019 [BZ #13739]
7c0616fa
AJ
21020 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21021
b0fe253f
JM
210222012-04-21 Joseph Myers <joseph@codesourcery.com>
21023
21024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21025 * sysdeps/unix/sysv/Versions: Remove file.
21026
8280f22d
MT
210272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21028
21029 [BZ #13927]
21030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21031
75ce411f 210322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21033
21034 [BZ #7064]
21035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21036 version from __vm86.
21037
097d59fa
JM
210382012-04-20 Joseph Myers <joseph@codesourcery.com>
21039
a90f3bcb
JM
21040 * sysdeps/unix/common/lxstat.c: Remove file.
21041 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21042
edc7ea78
JM
21043 * sysdeps/unix/sysv/Makefile: Remove file.
21044
cb78c221
JM
21045 * sysdeps/unix/sysv/direct.h: Remove file.
21046
efa6a45f
JM
21047 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21048 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21049 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21050 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21052 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21053 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21054
9c9f2d0c
JM
21055 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21056
4541c83b
JM
21057 * sysdeps/unix/xmknod.c: Remove file.
21058 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21059
f5d153a0
JM
21060 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21061
aa746595
JM
21062 * sysdeps/unix/sysv/i386/time.S: Remove file.
21063
cce5905e
JM
21064 * sysdeps/unix/fxstat.c: Remove file.
21065 * sysdeps/unix/xstat.c: Likewise.
21066 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21067
37fa3841
JM
21068 * sysdeps/unix/sysv/sigaction.c: Remove file.
21069
ff1962a3
JM
21070 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21071 (sysdep_headers): Remove variable.
21072 [termio.h not in sysdep_headers] (generated): Likewise.
21073 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21074 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21075 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21076 * sysdeps/unix/sysv/tcflow.c: Likewise.
21077 * sysdeps/unix/sysv/tcflush.c: Likewise.
21078 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21079 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21080 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21081 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21082 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21083
e7740d31
JM
21084 * sysdeps/unix/siglist.c: Remove file.
21085
ee06f18b
JM
21086 * sysdeps/unix/getppid.S: Remove file.
21087
097d59fa
JM
21088 * sysdeps/unix/mkdir.c: Remove file.
21089 * sysdeps/unix/rmdir.c: Likewise.
21090
ff3d51ec
AS
210912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21092
21093 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21094 ERR_MAX value.
21095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21096 errlist-compat value.
21097
50f81fd7
DM
210982012-04-18 David S. Miller <davem@davemloft.net>
21099
21100 * sysdeps/generic/memcopy.h (reg_char): Delete.
21101 * debug/strcat_chk.c: Use char, not reg_char.
21102 * debug/strcpy_chk.c: Likewise.
21103 * debug/strncat_chk.c: Likewise.
21104 * debug/strncpy_chk.c: Likewise.
21105 * string/memchr.c: Likewise.
21106 * string/memrchr.c: Likewise.
21107 * string/rawmemchr.c: Likewise.
21108 * string/strcat.c: Likewise.
21109 * string/strchr.c: Likewise.
21110 * string/strchrnul.c: Likewise.
21111 * string/strcmp.c: Likewise.
21112 * string/strcpy.c: Likewise.
21113 * string/strncat.c: Likewise.
21114 * string/strncmp.c: Likewise.
21115 * string/strncpy.c: Likewise.
21116
8ff41c46
WS
211172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21118
21119 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21120 __builtin_memcopy is called when src and dest ranges are known to not
21121 overlap.
21122
6b652f46
WS
211232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21124
21125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21126 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21127 fwd_align_merge macro call.
21128 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21129 bwd_align_merge macro call.
21130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21131
b282631e
WS
211322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21133
21134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21135 bwd_align_merge macros.
21136 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21137 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21139
95aa737c
DM
211402012-04-18 David S. Miller <davem@davemloft.net>
21141
21142 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21143
7a99a614
AJ
211442012-04-18 Andreas Jaeger <aj@suse.de>
21145
21146 [BZ# 6794]
21147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21150
21151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21152 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21154
21155 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21156 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21157 Adjust for changed ldbl-128 files.
21158
21159 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21160 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21162
e5270c23
DM
211632012-04-17 David S. Miller <davem@davemloft.net>
21164
21165 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21166
fb5e92c9
AS
211672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21168
21169 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21170 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21171 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21172 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21174 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21175
76da7265
AZ
211762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21177
21178 [BZ #6794]
21179 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21180 * math/libm-test.inc: Add ilogb errno and exception tests.
21181 * math/w_ilogb.c: New file: ilogb wrapper.
21182 * math/w_ilogbf.c: New file: ilogbf wrapper.
21183 * math/w_ilogbl.c: New file: ilogbl wrapper.
21184 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21185 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21186 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21187 exception being thrown with 0.0 as argument.
21188 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21189 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21190 exception being thrown with 0.0 as argument.
21191 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21192 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21193 exception being thrown with 0.0 as argument.
21194 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21195 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21196 exception being thrown with 0.0 as argument.
21197 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21198 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21200 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21203 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21204 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21205 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21206
0396e69d
PB
212072012-04-17 Petr Baudis <pasky@ucw.cz>
21208
21209 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21210 with altivec.
21211
750b5926
MP
212122012-04-16 Marek Polacek <polacek@redhat.com>
21213
21214 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21215
751728a1
MP
212162012-04-16 Marek Polacek <polacek@redhat.com>
21217
21218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21219 operands of fdivp instruction.
21220
34a27407
L
212212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21224 * elf/tst-auditmod3b.c: Likewise.
21225 * elf/tst-auditmod4b.c: Likewise.
21226 * elf/tst-auditmod5b.c: Likewise.
21227 * elf/tst-auditmod6b.c: Likewise.
21228 * elf/tst-auditmod6c.c: Likewise.
21229 * elf/tst-auditmod7b.c: Likewise.
21230 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21231 * sysdeps/x86_64/preconfigure.in: Likewise.
21232 * sysdeps/x86_64/preconfigure: Regenerated.
21233
7e73e17d
L
212342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21235
21236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21237 __ILP32__.
21238
c7a6ab72
AB
212392012-04-13 Antoine Balestrat <merkil33@gmail.com>
21240
21241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21242 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21243
a9e8e0e0
CL
212442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21245
21246 [BZ #13973]
21247 * locale/iso-639.def: Fix gl language name. Spotted by
21248 Yaron Shahrabani.
21249
ec98af7d
RM
212502012-04-12 Roland McGrath <roland@hack.frob.com>
21251
21252 [BZ #2074]
21253 * libio/libio.h (__io_write_fn): Update comment.
21254
247c3ede
PB
212552012-04-12 Petr Baudis <pasky@ucw.cz>
21256
21257 [BZ #2074]
21258 * stdio.texi (Hook Functions): The user provided writer function
21259 is not allowed to return -1.
21260
55939d6d
DM
212612012-04-11 David S. Miller <davem@davemloft.net>
21262
21263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21264
90020f5a
MF
212652012-04-11 Mike Frysinger <vapier@gentoo.org>
21266
21267 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21268 Add a leading slash to rtkaio.
21269
288f9098
JM
212702012-04-11 Jim Meyering <meyering@redhat.com>
21271
90020f5a
MF
21272 [BZ #11959]
21273 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21274 It is not necessarily an error to ignore fwrite's return
21275 value. One can reliably use ferror to test for errors after
21276 the fact.
288f9098 21277
4be2b570
L
212782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 * bits/types.h (__snseconds_t): New type.
21281 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21282
21283 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21285 (__SNSECONDS_T_TYPE): Likewise.
21286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21287 (__SNSECONDS_T_TYPE): Likewise.
21288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21289 (__SNSECONDS_T_TYPE): Likewise.
21290
288f9098 212912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21292
21293 [BZ #2636]
21294 * manual/time.texi (Processor Time): Return type of times is
21295 elapsed real time since an arbitrary point in the past.
21296 (CPU Time): Move CLK_TCK from here...
21297 (Processor Time): ...to here. Correct description.
21298 * manual/conf.texi (Constants for Sysconf): Correct description of
21299 _SC_CLK_TCK.
21300
d7dd4413
DM
213012012-04-10 David S. Miller <davem@davemloft.net>
21302
21303 [BZ #13967]
21304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21305 where the is a gap between DT_REL(A) and DT_JMPREL.
21306
b46068fc
L
213072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21308
21309 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21310 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21311 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21312
73d65cc3
SP
213132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21314
21315 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21316 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21317 (dl_main): Handle --inhibit-cache.
21318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21319 _dl_inhibit_cache.
21320 * elf/dl-load.c (_dl_map_object): Use it.
21321 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21322
bcc8d661
JM
213232012-04-09 Joseph Myers <joseph@codesourcery.com>
21324
8f9a2fae
JM
21325 [BZ #13872]
21326 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21327 (__ieee754_powl): Saturate large exponents rather than testing for
21328 overflow of y*log2(x).
21329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21330 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21331 exceptions.
21332
bcc8d661
JM
21333 [BZ #11521]
21334 * math/s_ctan.c: Include <float.h>.
21335 (__ctan): Avoid internal overflow or cancellation in calculating
21336 denominator.
21337 * math/s_ctanf.c: Likewise.
21338 * math/s_ctanl.c: Likewise.
21339 * math/s_ctanh.c: Likewise.
21340 * math/s_ctanhf.c: Likewise.
21341 * math/s_ctanhl.c: Likewise.
21342 * math/libm-test.inc (ctan_test): Add more tests.
21343 (ctanh_test): Likewise.
21344 * sysdeps/i386/fpu/libm-test-ulps: Update.
21345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21346
823fbbb4
AJ
213472012-04-09 Andreas Jaeger <aj@suse.de>
21348
03879793
AJ
21349 [BZ #6894]
21350 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21351 is an optional BSD extension.
21352
823fbbb4
AJ
21353 [BZ #10254]
21354 * manual/stdio.texi (Opening Streams): Document additional fopen
21355 parameters.
21356
8de131cb
RM
213572012-04-09 Roland McGrath <roland@hack.frob.com>
21358
21359 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21360 %eax without telling the compiler.
21361
c0ed9d7d
CD
213622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21363
21364 [BZ # 13963]
21365 * manual/install.texi: Use sourceware.org.
21366
c483f6b4
JM
213672012-04-09 Joseph Myers <joseph@codesourcery.com>
21368
d7dd9453
JM
21369 [BZ #13873]
21370 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21371 (__ieee754_pow): Generate overflow and underflow using huge*huge
21372 and tiny*tiny rather than just returning constant infinity or zero
21373 for large exponents.
21374 * math/libm-test.inc (pow_test): Require overflow exceptions for
21375 applicable cases of large exponents.
21376
c483f6b4
JM
21377 [BZ #706]
21378 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21379 (__ieee754_pow): Use iterative multiplication algorithm only for
21380 integer exponents with absolute value below 1024. Check for odd
21381 integer exponents when using algorithm for real exponents.
21382 * math/libm-test.inc (pow_test): Add more tests.
21383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21384
d2de7579
JM
213852012-04-08 Joseph Myers <joseph@codesourcery.com>
21386
21387 [BZ #13705]
21388 * math/libm-test.inc (exp_test): Do not allow overflow exception
21389 on underflow test.
21390
f77f1232
AJ
213912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21392
21393 [BZ #13705]
21394 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21395 instead of __kernel_standard_f.
21396
3884932b
MF
213972012-04-08 Mike Frysinger <vapier@gentoo.org>
21398
21399 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21400 * sysdeps/x86_64/memset_chk.S: Likewise.
21401
54472e9c
AJ
214022012-04-08 Andreas Jaeger <aj@suse.de>
21403
6ab0fbfc
AJ
21404 [BZ #10153]
21405 * manual/startup.texi (Environment Access): Describe return value
21406 for putenv and setenv.
21407
61efba8c
AJ
21408 [BZ #6895]
21409 * manual/filesys.texi (Directory Entries): Add description for
21410 DT_LNK.
21411
95c3f29a
AJ
21412 [BZ #6890]
21413 * manual/filesys.texi (Directory Entries): Clarify that it's file
21414 system not operating system in the description of DT_UNKNOWN.
21415
54472e9c
AJ
21416 [BZ #6578]
21417 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21418
624254b1
SC
214192012-04-08 Stephen Compall <s11@member.fsf.org>
21420
21421 [BZ #6649]
21422 * manual/llio.texi (Opening and Closing Files): Add cross
21423 reference to explain mode argument.
21424
1e4920e0
MF
214252012-04-07 Mike Frysinger <vapier@gentoo.org>
21426
21427 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21428 * sysdeps/x86_64/memset_chk.S: Likewise.
21429
5ed848f3
DM
214302012-04-07 David S. Miller <davem@davemloft.net>
21431
21432 * elf/elf.h (R_SPARC_WDISP10): Define.
21433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21434 R_SPARC_SIZE32.
21435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21436 R_SPARC_SIZE64 and R_SPARC_H34.
21437
96154cd8
CD
214382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21439
21440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21441 conditions and remove no longer applicable assertion.
21442
9904dc47
L
214432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * bits/byteswap.h: Include <features.h>.
21446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21448
f8887d0a
L
214492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21450
21451 * bits/byteswap.h (__bswap_16): Removed.
21452 Include <bits/byteswap-16.h> to get __bswap_16.
21453 * sysdeps/i386/bits/byteswap.h: Likewise.
21454 * sysdeps/s390/bits/byteswap.h: Likewise.
21455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21456 * bits/byteswap-16.h: New file.
21457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21458 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21459 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21460 * string/Makefile (headers): Add bits/byteswap-16.h.
21461
62470f60
PP
214622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21463
21464 [BZ #13895]
21465 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21466 extra indirection.
21467 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21468 * nss/tst-nss-static.c: New.
21469
4dad7bab
RM
214702012-04-06 Robert Millan <rmh@gnu.org>
21471
21472 [BZ #6486]
21473 * manual/llio.texi (File Position Primitive): lseek
21474 refers to WHENCE when it really means OFFSET.
21475
e9142a17
AJ
214762012-04-06 Andreas Jaeger <aj@suse.de>
21477
2c040eff
AJ
21478 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21479 strncmp declarations.
21480
e9142a17
AJ
21481 * abilist/libc.abilist: Add __poll and __ppoll.
21482
ff9f1c5f
DM
214832012-04-05 David S. Miller <davem@davemloft.net>
21484
dcd2ae90
DM
21485 * scripts/check-local-headers.sh: Accept a host triplet in the
21486 path matched by the exclude regexp.
21487
993eb054
DM
21488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21489 definition.
21490 * sysdeps/powerpc/powerpc32/dl-machine.h
21491 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21492 * sysdeps/s390/s390-32/dl-machine.h
21493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21494 * sysdeps/sparc/sparc32/dl-machine.h
21495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21496 * sysdeps/sparc/sparc64/dl-machine.h
21497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21498
ff9f1c5f
DM
21499 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21500 lazy binding.
48e2e132 21501 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21502 undefined symbol errors.
21503
48e2e132 21504 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21505 DT_NEEDED entries.
21506
e80d6f94
MM
215072012-04-05 Michael Matz <matz@suse.de>
21508
21509 [BZ #13592]
21510 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21511
349fa79f
AJ
215122012-04-05 Andreas Jaeger <aj@suse.de>
21513
21514 [BZ #13908]
21515 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21516 comment.
21517
f402708f
KK
215182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21519
21520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21521 which ROUND is no valid rounding mode.
21522
2ecccfc9
KK
215232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21524
21525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21526 read again.
21527 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21528
8a53f50f
KK
215292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21530
21531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21532 an exception using FPU order intentionally.
21533
215342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21535
21536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21537 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21538 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21539 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21540
d653abb7
SJ
215412012-04-05 Simon Josefsson <simon@josefsson.org>
21542
21543 [BZ #12340]
21544 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21545 EINVAL when BUFLEN is too smal.
21546
c3b1bf7d
TS
215472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21548
21549 [BZ #13553]
21550 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21551 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21552
b1aa60f3
AJ
215532012-04-03 Andreas Jaeger <aj@suse.de>
21554
c3b1bf7d 21555 [BZ #13938]
67f60a26
AJ
21556 * manual/setjmp.texi (System V contexts): Fix sentence.
21557
b1aa60f3
AJ
21558 [BZ #13926]
21559 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21560 New macro for this case.
21561 [!__GNUC__] (__bswap_64): New inline function for this case.
21562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21563 * bits/byteswap.h: Likewise.
21564 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21565 ull, guard with __GLIBC_HAVE_LONG_LONG.
21566
21567 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21568 __GLIBC_HAVE_LONG_LONG.
21569
21570 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21571 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21572
39c59c35
TMQMF
215732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21574
21575 [BZ #13691]
21576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21577 inptr and inend, rather than using last_ch.
21578
135ffda8
DM
215792012-04-02 David S. Miller <davem@davemloft.net>
21580
21581 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21582 * stdio-common/printf-parse.h (read_int): Change return type to
21583 'int', return -1 on INT_MAX overflow.
21584 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21585 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21586 overflows INT_MAX. Check for overflow of in-format-string precision
21587 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21588 SIZE_MAX not INT_MAX for integer overflow test.
21589 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21590 skip the construct in the format string but do not record anything.
21591 * stdio-common/bug22.c: Adjust to test both width/prevision
21592 INT_MAX overflow as well as total length INT_MAX overflow. Check
21593 explicitly for proper errno values.
21594
228c019e
TS
215952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21596
302cadd3
TS
21597 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21598 CHAR_MAX.
21599 * string/test-strcmp.c [! WIDE]: Likewise.
21600 * time/tst-mktime2.c: Likewise for INT_MAX.
21601 * string/test-string.h: #include <sys/param.h> for MIN.
21602
228c019e
TS
21603 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21604 * sysdeps/i386/init-first.c (init): Likewise.
21605 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21606 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21607 * sysdeps/sh/init-first.c (init): Likewise.
21608
cfa633f5
UD
216092012-04-01 Ulrich Drepper <drepper@gmail.com>
21610
21611 * po/ru.po: Update from translation team.
d1635ef8 21612 * po/vi.po: Likewise.
cfa633f5 21613
6cd0a5ea
SP
216142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21615
21616 * resolv/nss_dns/dns-host.c: Merge copyright years.
21617
4b43400f
LD
216182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21619
21620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21621 Optimize memcpy with prefetch if
21622 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21623 src, dst pointers have unequal 16 byte alignments.
21624
48c41d04
SP
216252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21626
21627 [BZ #13928]
21628 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21629 from a CNAME entry and return the minimum ttl for the query.
21630 (gaih_getanswer_slice): Likewise.
21631
b8dc394d
JL
216322012-03-30 Jeff Law <law@redhat.com>
21633
21634 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21635 due to long keys.
21636 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21637 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21638
2f5a5ed0
JL
21639 * resolv/nss_dns/dns-host.c: Update copyright year.
21640
1d39e359
UD
216412012-03-30 Ulrich Drepper <drepper@gmail.com>
21642
c030f70c 21643 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21644 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21645
1d39e359
UD
21646 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21647 comments for sendmmsg.
21648
216492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21650
21651 [BZ #13691]
21652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21653 with only 1 character between 0x0041 and 0x01b0.
21654 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21655 * wcsmbs/tst-mbsnrtowcs.c: New file.
21656
20fde227
DM
216572012-03-29 David S. Miller <davem@davemloft.net>
21658
21659 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21660 small copies by hand.
21661
984a4237
JL
216622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21663
21664 [BZ #13761]
21665 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21666 _nss_compat_initgroups_dyn): Fall back to malloc/free
21667 for large group memberships.
21668
18c9d62b
DM
216692012-03-28 David S. Miller <davem@davemloft.net>
21670
88d85d4f
DM
21671 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21672 that branches into memcpy.
21673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21676 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21678 bits.
21679 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21680 implementation too.
21681 * sysdeps/sparc/mempcpy.S: New file.
21682
e5aa83e1
DM
21683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21684 the IFUNC routine in the libc case.
21685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21686
88570753
DM
21687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21688 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21689 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21690 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21691 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21692 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21693 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21694 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21695
249d7567
DM
21696 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21697 loop to 256 bytes instead of 64 bytes and fix test signedness.
21698
18c9d62b
DM
21699 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21700 * sysdeps/sparc/sparc32/Makefile: rather than here...
21701 * sysdeps/sparc/sparc64/Makefile: and here.
21702
05f3d1f6
UD
217032012-03-28 Ulrich Drepper <drepper@gmail.com>
21704
21705 * malloc/mallocbug.c: Avoid warnings about unused variables.
21706
86ae07a8
JL
217072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21708
21709 [BZ #13760]
21710 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21711 in the right place. Discard and retry query if response is
21712 larger than input buffer size.
21713
41bf21a1
JM
217142012-03-28 Joseph Myers <joseph@codesourcery.com>
21715
d6270972
JM
21716 [BZ #369]
21717 [BZ #2678]
21718 [BZ #3866]
21719 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21720 x for large integer exponent.
21721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21723 sign of result as needed afterwards.
21724 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21726 result for underflowing pow the same as for overflow.
21727 (__kernel_standard_l): Handle powl overflow and underflow here
21728 rather than calling __kernel_standard.
21729 * math/libm-test.inc (pow_test): Add more tests.
21730
414fca03 21731 [BZ #3868]
41bf21a1
JM
21732 [BZ #13879]
21733 [BZ #13910]
21734 [BZ #13911]
21735 [BZ #13912]
21736 [BZ #13913]
21737 [BZ #13915]
21738 [BZ #13916]
21739 [BZ #13917]
21740 [BZ #13918]
21741 [BZ #13919]
21742 [BZ #13920]
21743 [BZ #13921]
21744 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21745 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21746 (__kernel_standard_l): New function.
21747 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21748 __kernel_standard.
21749 * math/w_acosl.c (__acosl): Likewise.
21750 * math/w_asinl.c (__asinl): Likewise.
21751 * math/w_atan2l.c (__atan2l): Likewise.
21752 * math/w_atanhl.c (__atanhl): Likewise.
21753 * math/w_coshl.c (__coshl): Likewise.
21754 * math/w_exp10l.c (__exp10l): Likewise.
21755 * math/w_exp2l.c (__exp2l): Likewise.
21756 * math/w_fmodl.c (__fmodl): Likewise.
21757 * math/w_hypotl.c (__hypotl): Likewise.
21758 * math/w_j0l.c (__j0l, __y0l): Likewise.
21759 * math/w_j1l.c (__j1l, __y1l): Likewise.
21760 * math/w_jnl.c (__jnl, __ynl): Likewise.
21761 * math/w_lgammal.c (__lgammal): Likewise.
21762 * math/w_log10l.c (__log10l): Likewise.
21763 * math/w_log2l.c (__log2l): Likewise.
21764 * math/w_logl.c (__logl): Likewise.
21765 * math/w_powl.c (__powl): Likewise.
21766 * math/w_remainderl.c (__remainderl): Likewise.
21767 * math/w_scalbl.c (sysv_scalbl): Likewise.
21768 * math/w_sinhl.c (__sinhl): Likewise.
21769 * math/w_sqrtl.c (__sqrtl): Likewise.
21770 * math/w_tgammal.c (__tgammal): Likewise.
21771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21772 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21773 * math/libm-test.inc (acos_test): Add more tests.
21774 (acosh_test): Likewise.
21775 (asin_test): Likewise.
21776 (atanh_test): Likewise.
21777 (exp_test): Likewise.
21778 (exp10_test): Likewise.
21779 (exp2_test): Likewise.
21780 (expm1_test): Likewise.
21781 (lgamma_test): Likewise.
21782 (log_test): Likewise.
21783 (log10_test): Likewise.
21784 (log1p_test): Likewise.
21785 (log2_test): Likewise.
21786 (pow_test): Do not allow some spurious overflow exceptions.
21787 (sqrt_test): Add more tests.
21788 (tgamma_test): Likewise.
21789 (y0_test): Likewise.
21790 (y1_test): Likewise.
21791 (yn_test): Likewise.
21792
dd62fda6
AB
217932012-03-27 Anton Blanchard <anton@samba.org>
21794
21795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21796 MAP_HUGETLB.
21797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21800
1e3cdfda
AJ
218012012-03-27 David S. Miller <davem@davemloft.net>
21802
b855ab85
DM
21803 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21804
1e3cdfda
AJ
21805 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21806 have-as-vis3 check.
21807
218082012-03-27 Andreas Jaeger <aj@suse.de>
21809
21810 * sysdeps/x86_64/elf/configure.in: Moved to ...
21811 * sysdeps/x86_64/configure.in: ... here.
21812 * sysdeps/x86_64/elf/start.S: Moved to ...
21813 * sysdeps/x86_64/start.S: ... here.
21814 * sysdeps/x86_64/elf/configure: Delete.
21815
21816 * sysdeps/x86_64/configure.in: Merge contents from
21817 sysdeps/i386/configure.in (without i686 check).
21818
21819 * sysdeps/i386/elf/Versions: Merge into ...
21820 * sysdeps/i386/Versions: ... this.
21821 * sysdeps/i386/elf/Versions: Delete file.
21822 * sysdeps/i386/elf/start.S: Moved to ...
21823 * sysdeps/i386/start.S: ...here.
21824 * sysdeps/i386/elf/configure.in: Merge into...
21825 * sysdeps/i386/configure.in: ...here.
21826 * sysdeps/i386/elf/configure.in: Delete file.
21827 * sysdeps/i386/elf/configure: Delete file.
21828
21829 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21830 * debug/backtracesyms.c: ... here.
21831 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21832 * debug/backtracesymsfd.c: ... here.
21833 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21834 * sysdeps/generic/ifunc-sel.h: ... here.
21835
21836 * sysdeps/unix/i386/start.c: Delete file.
21837 * sysdeps/unix/sparc/start.c: Delete file.
21838 * sysdeps/unix/start.c: Delete file.
21839
21840 * sysdeps/sh/elf/configure.in: Moved to ...
21841 * sysdeps/sh/configure.in: ... here.
21842 * sysdeps/sh/elf/start.S: Moved to ...
21843 * sysdeps/sh/start.S: ... here.
21844 * sysdeps/sh/elf/configure: Delete file.
21845
21846 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21847 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21848 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21849 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21850 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21851 * sysdeps/powerpc/powerpc64/start.S: here.
21852 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21853 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21854 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21855 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21856 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21857
21858 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21859 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21860 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21861 * sysdeps/powerpc/powerpc32/start.S: ... here.
21862 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21863 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21864 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21865
21866 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21867 * sysdeps/powerpc/ifunc-sel.h: ... here.
21868 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21869 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21870
21871 * sysdeps/sparc/elf/configure.in: Moved to ...
21872 * sysdeps/sparc/configure.in: ... here.
21873 * sysdeps/sparc/elf/configure: Delete file.
21874 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21875 * sysdeps/sparc/sparc32/start.S: ... here.
21876 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21877 * sysdeps/sparc/sparc64/start.S: ... here.
21878 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21879 * sysdeps/sparc/sparc32/Makefile: ... this.
21880 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21881 * sysdeps/sparc/sparc64/Makefile: ... this.
21882
21883 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21884 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21885 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21886 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21887 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21888 * sysdeps/s390/s390-32/setjmp.S: ... here.
21889 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21890 * sysdeps/s390/s390-32/configure.in: ... here.
21891 * sysdeps/s390/s390-32/elf/configure: Delete file.
21892 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21893 * sysdeps/s390/s390-32/start.S: ... here.
21894
21895 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21896 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21897 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21898 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21899 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21900 * sysdeps/s390/s390-64/setjmp.S: ... here.
21901 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21902 * sysdeps/s390/s390-64/configure.in: ... here
21903 * sysdeps/s390/s390-64/elf/configure: Delete file.
21904 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21905 * sysdeps/s390/s390-64/start.S: ... here.
21906 * sysdeps/s390/s390-64/elf/configure: Delete.
21907
21908 * configure.in: Remove support for elf directories in sysdeps.
21909
21910 * configure: Regenerated.
21911 * sysdeps/i386/configure: Regenerated.
21912 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21913 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21914 * sysdeps/s390/s390-32/configure: Regenerated.
21915 * sysdeps/s390/s390-64/configure: Regenerated.
21916 * sysdeps/sh/configure: Regenerated.
21917 * sysdeps/sparc/configure: Regenerated.
21918 * sysdeps/x86_64/configure: Regenerated.
21919
a3f61311
AS
219202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21921
c876e002
AS
21922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21923
a3f61311
AS
21924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21925 denormal result into account.
21926
ac4c54f0
RM
219272012-03-25 Roland McGrath <roland@hack.frob.com>
21928
21929 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21930 Reported by Allan McRae <allan@archlinux.org>.
21931
6a9b9c02
JL
219322012-03-23 Jeff Law <law@redhat.com>
21933
21934 * nss/getnssent.c (__nss_getent): Fix typo.
21935
4c42a0c1
DM
219362012-03-23 David S. Miller <davem@davemloft.net>
21937
21938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21939
1532c7ac
L
219402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21943 to pad to uint64_t for each field.
21944 (dl_tls_index): Replace unsigned long with uint64_t.
21945
3ff42526
PP
219462012-03-23 Daniel Jacobowitz <dmj@google.com>
21947 Paul Pluzhnikov <ppluzhnikov@google.com>
21948
21949 [BZ #6528]
21950 * grp/Makefile (otherlibs): Don't set it.
21951 * inet/Makefile (otherlibs): Likewise.
21952 * login/Makefile (otherlibs): Likewise.
21953 * nscd/Makefile (otherlibs): Likewise.
21954 * posix/Makefile (otherlibs): Likewise.
21955 * pwd/Makefile (otherlibs): Likewise.
21956 * rt/Makefile (otherlibs): Likewise.
21957 * sunrpc/Makefile (otherlibs): Likewise.
21958 * nss/Makefile (otherlibs): Likewise.
21959 Add libnss_files to routines and static-only-routines.
21960 ($(objpfx)getent): Remove rule.
21961 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21962 static-only-routines.
21963
7c69cd14
JM
219642012-03-22 Joseph Myers <joseph@codesourcery.com>
21965
21966 [BZ #13892]
21967 * math/s_cexp.c: Include <float.h>.
21968 (__cexp): Handle exp result overflowing not necessarily
21969 overflowing both real and imaginary parts of result.
21970 * math/s_cexpf.c: Likewise.
21971 * math/s_cexpl.c: Likewise.
21972 * math/libm-test.inc (cexp_test): Add more tests.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21975
81b035fe
L
219762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 * include/link.h (ELFW): New macro.
21979 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21980 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21981
1da7940c
L
219822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21983
21984 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21985 with uint64_t.
21986
b749dbb9
L
219872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21988
21989 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21990 declaration.
21991 (struct La_x32_retval): Likewise.
21992
2ff87f3f
L
219932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * sysdeps/x86_64/preconfigure.in: New file.
21996 * sysdeps/x86_64/preconfigure: New generated file.
21997
c0df8e69
JM
219982012-03-22 Joseph Myers <joseph@codesourcery.com>
21999
48e44791
JM
22000 [BZ #13824]
22001 * math/e_exp2l.c: Include <float.h>.
22002 (__ieee754_exp2l): Handle overflow and underflow cases
22003 separately. Only pass fractional part of argument to
22004 __ieee754_expl.
22005 * math/libm-test.inc (exp2_test): Add more tests.
22006
c0df8e69
JM
22007 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22008 negating x to take absolute value.
22009 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22010 Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22013 Likewise.
22014 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22015 computing low part if x was negated.
22016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22017
c8e43ba7
L
220182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22019
22020 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22021 la_x32_gnu_pltexit.
22022 (pltexit): Cast int_retval to ptrdiff_t.
22023 * elf/tst-auditmod3b.c: Likewise.
22024 * elf/tst-auditmod4b.c: Likewise.
22025 * elf/tst-auditmod5b.c: Likewise.
22026 * elf/tst-auditmod6b.c: Likewise.
22027 * elf/tst-auditmod6c.c: Likewise.
22028 * elf/tst-auditmod7b.c: Likewise.
22029
22030 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22031 and x32_gnu_pltexit.
22032
22033 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22034 __ELF_NATIVE_CLASS.
22035 (La_x32_regs): New macro.
22036 (La_x32_retval): Likewise.
22037 (la_x32_gnu_pltenter): New function prototype.
22038 (la_x32_gnu_pltexit): Likewise.
22039
7998fa78
AS
220402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22041
dcb33988
AS
22042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22043 exponent.
22044
233fc563
AS
22045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22046
7998fa78
AS
22047 * configure.in (libc_cv_cc_nofma): Check for option to disable
22048 generation of FMA instructions.
22049 * configure: Regenerate.
22050 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22051 * sysdeps/ieee754/dbl-64/Makefile: New file.
22052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22053 Remove brandred-fma4.
22054 (CFLAGS-brandred-fma4.c): Remove.
22055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22057 define.
22058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22059 define.
22060
8e95c99a
L
220612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22062
22063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22064 LLONG_MAX != LONG_MAX.
22065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22066 (_fitoa_word): Likewise.
22067 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22068 LLONG_MAX != LONG_MAX.
22069 * stdio-common/_itowa.h: Include <_itoa.h>.
22070 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22071 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22072 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22073 only if not defined.
22074 (_ITOA_WORD_TYPE): Likewise.
22075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22076 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22077
6f4db457
DM
220782012-03-21 David S. Miller <davem@davemloft.net>
22079
22080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22081
7785fe5a
L
220822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22085 of x86_64 when setting libc_cv_slibdir, libdir and
22086 libc_cv_localedir.
22087 * sysdeps/unix/sysv/linux/configure: Regenerated.
22088
4535cd55
JM
220892012-03-21 Joseph Myers <joseph@codesourcery.com>
22090
22091 * manual/lang.texi (Old Varargs): Remove section.
22092 (How Variadic): Update menu.
22093 (va_start): Do not mention varargs.h.
22094
17228132
TS
220952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22096 Joseph Myers <joseph@codesourcery.com>
22097
22098 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22099 link test.
22100 * configure: Regenerated.
22101
8149f976
TS
221022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22103
05f3d1f6
UD
22104 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22105 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22106 conformtest.pl
8149f976 22107
1a4ac776
JM
221082012-03-21 Joseph Myers <joseph@codesourcery.com>
22109
be22ce65
JM
22110 * NOTES: Remove.
22111 * Makefile (files-for-dist): Remove NOTES.
22112 (NOTES): Remove rule.
22113 * README: Don't refer to NOTES.
22114 * manual/creature.texi: Don't include macros.texi.
22115 * manual/intro.texi (creature.texi): Remove comment referring to
22116 NOTES.
22117
40b601fb
JM
22118 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22119 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22120 * configure: Regenerated.
22121 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22122 LIBC_TRY_CC_OPTION.
22123 (libc_cv_as_i686): Likewise.
22124 (libc_cv_cc_avx): Likewise.
22125 (libc_cv_cc_sse2avx): Likewise.
22126 (libc_cv_cc_fma4): Likewise.
22127 (libc_cv_cc_novzeroupper): Likewise.
22128 * sysdeps/i386/configure: Regenerated.
22129
1a4ac776
JM
22130 [BZ #13883]
22131 * sysdeps/i386/fpu/s_cexp.S: Remove.
22132 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22134 * math/libm-test.inc (cexp_test): Add more tests.
22135 * sysdeps/i386/fpu/libm-test-ulps: Update.
22136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137
a458e7fe
AM
221382012-03-21 Allan McRae <allan@archlinux.org>
22139
22140 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22141
0cb7efc5
JM
221422012-03-21 Joseph Myers <joseph@codesourcery.com>
22143
22144 [BZ #13871]
22145 * math/w_exp2.c: Do not include <float.h>.
22146 (o_threshold, u_threshold): Remove.
22147 (__exp2): Calculate result before checking finiteness and calling
22148 __kernel_standard.
22149 * math/w_exp2f.c: Likewise.
22150 * math/w_exp2l.c: Likewise.
22151 * math/libm-test.inc (exp2_test): Require overflow exception for
22152 1e6 input.
2460d3aa
JM
22153
22154 [BZ #3866]
22155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22156 range of signed 64-bit integers before using fistpll. Remove
22157 checks for whether integers fit in mantissa bits.
22158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22159 the range of signed 32-bit integers before using fistpl. Remove
22160 checks for whether integers fit in mantissa bits.
22161 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22162 (__ieee754_powl): Test for y outside the range of signed 64-bit
22163 integers before using fistpll. Reduce 64-bit values to 63-bit
22164 ones as needed.
22165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22166 divide-by-zero is raised for zero to large negative powers.
22167 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22168 (__ieee754_powl): Test for y outside the range of signed 64-bit
22169 integers before using fistpll. Reduce 64-bit values to 63-bit
22170 ones as needed.
22171 * math/libm-test.inc (pow_test): Add more tests.
22172
eb96ffb0
L
221732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22176 <stdio-common/_itoa.h>.
22177 * debug/segfault.c: Likewise.
22178 * elf/dl-cache.c: Likewise.
22179 * elf/dl-minimal.c: Likewise.
22180 * elf/dl-misc.c: Likewise.
22181 * elf/dl-sysdep.c: Likewise.
22182 * elf/dl-version.c: Likewise.
22183 * elf/rtld.c: Likewise.
22184 * hurd/hurdsock.c: Likewise.
22185 * hurd/lookup-retry.c: Likewise.
22186 * malloc/malloc.c: Likewise.
22187 * malloc/mtrace.c: Likewise.
22188 * nscd/nscd_getgr_r.c: Likewise.
22189 * nscd/nscd_getpw_r.c: Likewise.
22190 * nscd/nscd_getserv_r.c: Likewise.
22191 * posix/getopt_init.c: Likewise.
22192 * posix/wordexp.c: Likewise.
22193 * stdio-common/_itoa.c: Likewise.
22194 * stdio-common/printf_fphex.c: Likewise.
22195 * stdio-common/vfprintf.c: Likewise.
22196 * string/_strerror.c: Likewise.
22197 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22198 * sysdeps/i386/i686/hp-timing.h: Likewise.
22199 * sysdeps/mach/_strerror.c: Likewise.
22200 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22201 * sysdeps/mach/hurd/sethostid.c: Likewise.
22202 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22203 * sysdeps/mach/xpg-strerror.c: Likewise.
22204 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22206 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22207 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22209 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22212 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22213 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22214 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22215 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22219 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22220 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22221 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22222 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22223 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22224 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22225
22226 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22227
22228 * stdio-common/_itoa.h: Moved to ...
22229 * sysdeps/generic/_itoa.h: Here.
22230
22231 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22232
22233 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22234 instead of "_itoa.h" and "_itowa.h".
22235 * stdio-common/vfprintf.: Likewise.
22236
d1af992d
L
222372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22238
22239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22240 <bits/wordsize.h>.
22241 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22242 (__signbit): Likwise.
22243 (llrintf): Likwise.
22244 (llrint): Likwise.
22245
114883e0
L
222462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22247
22248 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22249 __WORDSIZE != 64.
22250
c135cc1b
JM
222512012-03-20 Joseph Myers <joseph@codesourcery.com>
22252
22253 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22254 OVERFLOW_EXCEPTION_OK.
22255 * math/libm-test.inc ("Philosophy"): Update comment about
22256 exception testing.
22257 (OVERFLOW_EXCEPTION): Define.
22258 (OVERFLOW_EXCEPTION_OK): Likewise.
22259 (INVALID_EXCEPTION_OK): Renumber.
22260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22261 (IGNORE_ZERO_INF_SIGN): Likewise.
22262 (test_exceptions): Handle FE_OVERFLOW.
22263 (exp10_test): Expect overflow exceptions.
22264 (exp2_test): Likewise.
22265 (expm1_test): Likewise.
22266 (nextafter_test): Likewise.
22267 (pow_test): Likewise.
22268 (scalbn_test): Likewise.
22269 (scalbln_test): Likewise.
22270
95443d88
L
222712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22272
22273 * sysdeps/x86_64/bits/atomic.h
22274 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22275 64bit integer.
22276 (atomic_exchange_acq): Likewise.
22277 (__arch_exchange_and_add_body): Likewise.
22278 (__arch_add_body): Likewise.
22279 (atomic_add_negative): Likewise.
22280 (atomic_add_zero): Likewise.
22281
490df6c4
L
222822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22283
c2722551 22284 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22285 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22286
5e52b189
L
222872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22290 Check __x86_64__ instead of __WORDSIZE.
22291
a9879d4c
L
222922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22295
5df98260
DM
222962012-03-19 David S. Miller <davem@davemloft.net>
22297
e1497744
DM
22298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22299
5df98260
DM
22300 * sysdeps/sparc/fpu/fenv_private.h: New file.
22301 * sysdeps/sparc/fpu/math_private.h: Use it.
22302 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22303 Remove.
22304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22305 (libc_feholdexcept_setroundl): Remove.
22306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22307 Remove.
22308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22310
b4c35121
L
223112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22314 int64_t instead of long int.
22315 (INSERT_WORDS64): Likwise.
22316
56965fd7
L
223172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22318
22319 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22320 _Unwind_GetCFA return to _Unwind_Ptr first.
22321
83d1aec8
JM
223222012-03-19 Joseph Myers <joseph@codesourcery.com>
22323
1897ad44
JM
22324 [BZ #13629]
22325 * math/s_clog.c: Include <float.h>.
22326 (__clog): Scale large or subnormal inputs.
22327 * math/s_clogf.c: Likewise.
22328 * math/s_clogl.c: Likewise.
22329 * math/s_clog10.c: Include <float.h>.
22330 (M_LOG10_2): Define.
22331 (__clog10): Scale large or subnormal inputs.
22332 * math/s_clog10f.c: Likewise.
22333 * math/s_clog10l.c: Likewise.
22334 * math/libm-test.inc (clog_test): Add more tests.
22335 (clog10_test): Likewise.
22336 * sysdeps/i386/fpu/libm-test-ulps: Update.
22337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22338
7726d6a9
JM
22339 [BZ #11451]
22340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22341 x and y.
22342 * math/libm-test.inc (atan2_test): Add another test.
22343
83d1aec8
JM
22344 * Makerules (common-objdir-compile): Remove.
22345 * sysdeps/unix/Makefile (config-generated): Do not add
22346 $(unix-generated) to variable.
22347 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22348 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22349 Remove rule.
22350 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22351 Likewise.
22352 [generic bits/local_lim.h] (before-compile): Do not append to
22353 variable.
22354 [generic bits/local_lim.h] (common-generated): Likewise.
22355 [generic sys/param.h] (before-compile): Do not append to variable.
22356 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22357 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22359 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22360 include.
22361 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22362 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22363 [generic sys/param.h] ($(addprefix
22364 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22365 [generic sys/param.h] (common-generated): Do not append to
22366 variable.
22367 [generic sys/param.h] (sysdep_headers): Likewise.
22368 [generic bits/errno.h] (before-compile): Do not append to
22369 variable.
22370 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22371 rule.
22372 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22373 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22374 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22375 [generic bits/errno.h] (common-generated): Do not append to
22376 variable.
22377 [generic bits/ioctls.h] (before-compile): Do not append to
22378 variable.
22379 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22380 rule.
22381 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22382 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22383 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22384 rule.
22385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22386 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22387 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22388 [generic bits/ioctls.h] (common-generated): Do not append to
22389 variable.
22390 [generic sys/syscall.h] (syscall.h): Remove variable.
22391 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22392 rule.
22393 [generic sys/syscall.h] (before-compile): Do not append to
22394 variable.
22395 [generic sys/syscall.h] (common-generated): Likewise.
22396 * sysdeps/unix/errnos-tmpl.c: Remove file.
22397 * sysdeps/unix/errnos.awk: Likewise.
22398 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22399 * sysdeps/unix/ioctls.awk: Likewise.
22400 * sysdeps/unix/mk-local_lim.c: Likewise.
22401 * sysdeps/unix/snarf-ioctls: Likewise.
22402
4851a949
RH
224032012-03-19 Richard Henderson <rth@twiddle.net>
22404
bd37f2ee
RH
22405 * sysdeps/i386/fpu/fenv_private.h: New file.
22406 * sysdeps/i386/fpu/math_private.h: Use it.
22407 (math_opt_barrier, math_force_eval): Remove.
22408 (libc_feholdexcept_setround_53bit): Remove.
22409 (libc_feupdateenv_53bit): Remove.
22410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22411 (math_opt_barrier, math_force_eval): Remove.
22412 (libc_feholdexcept): Remove.
22413 (libc_feholdexcept_setround): Remove.
22414 (libc_fetestexcept, libc_fesetenv): Remove.
22415 (libc_feupdateenv_test): Remove.
22416 (libc_feupdateenv, libc_feholdsetround): Remove.
22417 (libc_feresetround): Remove.
22418
d0adc922
RH
22419 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22420 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22421
0fe0f1f8
RH
22422 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22423 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22424 (libc_feupdateenv_testl): New.
22425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22426 (libc_feupdateenv_testf): New.
22427 (libc_feupdateenv): Use libc_feupdateenv_test.
22428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22430
eb92c487
RH
22431 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22432 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22433 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22434 (libc_feresetround_noex): New.
22435 (libc_feresetround_noexf): New.
22436 (libc_feresetround_noexl): New.
22437 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22438 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22439 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22440 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22441 SET_RESTORE_ROUND.
22442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22444 (__cos): Likewise.
22445 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22447 SET_RESTORE_ROUND_NOEX.
22448 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22449 SET_RESTORE_ROUND_NOEXF.
22450 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22451 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22452 (libc_feholdsetroundf): New.
22453 (libc_feresetround, libc_feresetroundf): New.
22454
7d2e8012
RH
22455 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22456 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22457 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22458
b4dabbb4
RH
22459 * sysdeps/generic/math_private.h: Include <fenv.h>.
22460 (default_libc_feholdexcept): New.
22461 (default_libc_feholdexcept_setround): New.
22462 (default_libc_fesetenv, default_libc_feupdateenv): New.
22463 (libc_feholdexcept): Only define if undefined.
22464 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22465 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22466 (libc_feholdexcept_setroundl): Likewise.
22467 (libc_feholdexcept_setround_53bit): Likewise.
22468 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22469 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22470 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22471 (libc_feupdateenv_53bit): Likewise.
22472 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22473 (libc_feholdexcept): Convert from macro to inline function.
22474 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22475 (libc_fesetenv, libc_feupdateenv): Likewise.
22476
4851a949
RH
22477 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22478 not previously defined.
22479 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22480 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22481 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22483 * sysdeps/ieee754/flt-32/math_private.h: New file.
22484 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22485 math_private.h below SET_FLOAT_WORD.
22486 (__isnan, __isinf_ns, __finite): Remove.
22487 (__isnanf, __isinf_nsf, __finitef): Remove.
22488
e79d442e
AS
224892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22490
22491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22492
90b80344
DM
224932012-03-17 David S. Miller <davem@davemloft.net>
22494
22495 [BZ #6471]
22496 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22497 for 2.16.
22498
edc21804
DM
224992012-03-16 David S. Miller <davem@davemloft.net>
22500
77e927af
DM
22501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22502 warnings.
22503
374976dd
DM
22504 [BZ #6471]
22505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22506 properly.
22507 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22509 sysdep_routines when subdir is sysvipc.
22510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22511 __getshmlba helper.
22512
edc21804
DM
22513 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22514
473c3ef3
L
225152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22516
22517 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22518 [__LP64__].
22519
eb0f39b6
L
225202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22521
22522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22524 (__lround): Renamed to ...
22525 (__llround): This. Replace long int with long long int.
22526 Define lround functions as aliases of llround functions.
22527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22528
6b6cd74b
L
225292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22530
22531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22532 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22533 adresses to uintptr_t. Replace "long int" and "unsigned long
22534 int" with "greg_t" on va_arg.
22535
f1a77b01
L
225362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22537
22538 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22539 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22540
22541 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22542 Move e_machine check before EI_CLASS check. Handle x32
22543 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22544 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22545 SKIP_EM_IA_64 and include
22546 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22547
22548 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22549 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22550 (add_system_dir): New macro.
22551
22552 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22554
11b90b9f
JM
225552012-03-16 Joseph Myers <joseph@codesourcery.com>
22556
c36e1d23
JM
22557 [BZ #2551]
22558 [BZ #2552]
22559 [BZ #2553]
22560 [BZ #2554]
22561 [BZ #2562]
22562 [BZ #2563]
22563 [BZ #2565]
22564 [BZ #2566]
22565 [BZ #2576]
22566 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22567 (y0): Likewise.
22568 * math/w_j0f.c (j0f): Likewise.
22569 (y0f): Likewise.
22570 * math/w_j0l.c (__j0l): Likewise.
22571 (__y0l): Likewise.
22572 * math/w_j1.c (j1): Likewise.
22573 (y1): Likewise.
22574 * math/w_j1f.c (j1f): Likewise.
22575 (y1f): Likewise.
22576 * math/w_j1l.c (__j1l): Likewise.
22577 (__y1l): Likewise.
22578 * math/w_jn.c (jn): Likewise.
22579 (yn): Likewise.
22580 * math/w_jnf.c (jnf): Likewise.
22581 (ynf): Likewise.
22582 * math/w_jnl.c (__jnl): Likewise.
22583 (__ynl): Likewise.
22584 * math/libm-test.inc (j0_test): Add more tests.
22585 (j1_test): Likewise.
22586 (jn_test): Likewise. Add trailing semicolon to existing test.
22587 (y0_test): Likewise.
22588 (y1_test): Likewise.
22589 * sysdeps/i386/fpu/libm-test-ulps: Update.
22590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591
11b90b9f
JM
22592 [BZ #13851]
22593 [BZ #13854]
22594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22595 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22596 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22598 (__tanl): Set errno for infinite argument.
22599 * sysdeps/i386/fpu/mptan.c: Remove.
22600 * sysdeps/i386/fpu/s_tan.S: Likewise.
22601 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22602 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22603 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22604 * math/libm-test.inc (tan_test): Add more tests and enable more
22605 tests for double and long double.
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22608
6a1bd2a1
JK
226092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22610
22611 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22612 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22613
10a803e0
RM
226142012-03-16 Roland McGrath <roland@hack.frob.com>
22615
22616 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22617 * configure.in: Use it for both main tree and add-ons.
22618 * configure: Regenerated.
22619
f196c7f7
L
226202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22623
8848d99d
JM
226242012-03-16 Joseph Myers <joseph@codesourcery.com>
22625
96cbe7f4
JM
22626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22627 in comment.
22628
8848d99d
JM
22629 [BZ #13851]
22630 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22631 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22635 infinite argument.
22636 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22638 != 0 for prec == 2.
22639 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22640 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22641 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22642 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22643 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22644 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22645 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22646 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22647 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22648 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22649 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22650 * math/libm-test.inc (cos_test): Add more tests and enable more
22651 tests for long double.
22652 (sin_test): Likewise.
22653 (sincos_test): Likewise.
22654 * sysdeps/i386/fpu/libm-test-ulps: Update.
22655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656
dd7f4703
DM
226572012-03-16 David S. Miller <davem@davemloft.net>
22658
22659 * sysdeps/sparc/fpu/math_private.h: New file.
22660
006f1daa
DM
226612012-03-15 David S. Miller <davem@davemloft.net>
22662
c0c83bc8
DM
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22664 file.
e6a62e18 22665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22667 file.
e6a62e18
DM
22668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22674 sysdep routines.
22675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22676
88cb87d9
DM
22677 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22678 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22679
006f1daa 22680 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22682 sparc-ifunc.h
006f1daa 22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22685 Likewise.
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22687 Likewise.
006f1daa
DM
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22692 Likewise.
006f1daa
DM
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22698 Likewise.
22699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22700 Likewise.
006f1daa
DM
22701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22725
11e0098e
AS
227262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22727
22728 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22729 scaling.
22730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22731
e85b09d0
AJ
227322012-03-15 Andreas Jaeger <aj@suse.de>
22733
22734 [BZ #13852]
22735 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22736 ieee754/flt-32 implementation for sin, cos and sincos.
22737 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22738 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22739 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22740 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22741 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22742 ieee754/flt-32 implementation for tan.
22743
22744 * math/libm-test.inc (cos_test): Enable some large input tests for
22745 float as well
22746 (sin_test): Likewise.
22747 (sincos_test): Likewise.
22748 (tan_test): Add tests for large input.
22749
22750 * sysdeps/i386/fpu/libm-test-ulps: Update.
22751
81c64153
AJ
227522012-03-15 Andreas Jaeger <aj@suse.de>
22753
22754 [BZ #13658]
22755 * math/libm-test.inc (cos_test): Add more test cases.
22756 (sin_test): Likewise.
22757 (sincos_test): Likewise.
22758
7bbfa5c6
AJ
227592012-03-15 Andreas Jaeger <aj@suse.de>
22760
22761 [BZ #13837]
22762 * math/libm-test.inc (cos_test): Add a test case for large input
22763 value.
22764 (sin_test): Likewise.
22765 (sincos_test): Likewise.
22766
227672012-03-15 Andreas Jaeger <aj@suse.de>,
22768 Joseph Myers <joseph@codesourcery.com>
22769
22770 [BZ #13658]
0671f479 22771 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22772 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22773 * sysdeps/i386/fpu/branred.c: Likewise.
22774 * sysdeps/i386/fpu/dosincos.c: Likewise.
22775 * sysdeps/i386/fpu/mpa.c: Likewise.
22776 * sysdeps/i386/fpu/s_cos.S: Likewise.
22777 * sysdeps/i386/fpu/s_sin.S: Likewise.
22778 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22779 * sysdeps/i386/fpu/sincos32.c: Likewise.
22780
22781 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22782 Define.
22783 (libc_feupdateenv_53bit): Define.
22784 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22785 Define.
22786 (libc_feupdateenv_53bit): Define.
22787
22788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22789 53 bit (without extend i386 double precision).
22790
22791 * math/libm-test.inc (sincos_test): Add tests for large input.
22792 (sin): Likewise.
22793 (cos): Likewise.
22794
22795 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22796
9cad04ea
AS
227972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22798
22799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22800
f7062b9a
DM
228012012-03-15 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22804 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22805 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22806 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22819 file.
f7062b9a 22820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22822 file.
f7062b9a 22823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22825 file.
f7062b9a 22826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22828 file.
f7062b9a
DM
22829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22831 fmin/fmax sysdep routines.
22832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22833
7bd951ff
DM
228342012-03-14 David S. Miller <davem@davemloft.net>
22835
559398ab
DM
22836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22865 routines.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22867 file.
559398ab 22868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22870 file.
559398ab 22871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22873 file.
559398ab 22874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22876 file.
559398ab 22877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22879 file.
559398ab 22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22882 file.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22884 file.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22886 file.
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22888 file.
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22890 New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22892 file.
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22894 file.
559398ab 22895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22897 file.
559398ab 22898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22900 file.
559398ab 22901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22903 file.
559398ab 22904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22906 VIS3 routines.
559398ab
DM
22907
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22909 New file.
22910
5a1c1e32
DM
22911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22912
eae47a36
DM
22913 * sysdeps/sparc/configure.in: New file.
22914 * sysdeps/sparc/configure: Generate.
22915 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22916 * configure: Regenerate.
22917 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22918 * config.make.in (have-as-vis3): New.
22919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22920 available use -Av9d instead of -Av9a.
22921 * sysdeps/sparc/sparc64/Makefile: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22924 New file.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22926 file.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22928 New file.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22930 file.
eae47a36
DM
22931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22936
c0c83bc8
DM
22937 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22938 fzeros/fnegs to load 0x80000000 into a float register instead of
22939 using the stack.
7bd951ff
DM
22940 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22941
bd951ccb
JM
229422012-03-14 Joseph Myers <joseph@codesourcery.com>
22943
22944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22945 bits/syscall.h.
22946 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22947 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22948 ($(inst_includedir)/bits/syscall.h): Remove rule.
22949 ($(objpfx)bits/syscall.d): Include instead of
22950 $(objpfx)syscall-list.d.
22951 (generated): Change syscall-list.h and syscall-list.d to
22952 bits/syscall.h and bits/syscall.d.
22953
bb4e6db2
RM
229542012-03-14 Roland McGrath <roland@hack.frob.com>
22955
22956 [BZ #13846]
22957 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22958
aa4a2ae1
JM
229592012-03-14 Joseph Myers <joseph@codesourcery.com>
22960
e456826d
JM
22961 [BZ #13841]
22962 * math/s_csqrt.c: Include <float.h>.
22963 (__csqrt): Scale large or subnormal inputs.
22964 * math/s_csqrtf.c: Likewise.
22965 * math/s_csqrtl.c: Likewise.
22966 * math/libm-test.inc (csqrt_test): Add more tests.
22967 * sysdeps/i386/fpu/libm-test-ulps: Update.
22968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22969
aa4a2ae1
JM
22970 [BZ #13840]
22971 * math/libm-test.inc (hypot_test): Add more tests.
22972
7c10fd35
DM
229732012-03-13 David S. Miller <davem@davemloft.net>
22974
22975 [BZ #13840]
22976 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22977 double-precision for the calculation instead of scaling.
22978
f453b98b
JM
229792012-03-13 Joseph Myers <joseph@codesourcery.com>
22980
22981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22982 manipulate bits before adding and subtracting TWO52[sx].
22983 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22985 Likewise.
22986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22987
09a3453f
DM
229882012-03-13 David S. Miller <davem@davemloft.net>
22989
8e59da90
DM
22990 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22991 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22993 rtld-global-offsets.h
22994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22995
2a8ab7f2
DM
22996 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22997 large parameters.
22998
10f62770
DM
22999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23000
5f0bdb18
DM
23001 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23002 'err' in the ifdef scope in which it is actually used.
23003
09a3453f
DM
23004 * nss/nss_db/db-init.c: Include string.h
23005
b4b2eb5e
DM
230062012-03-12 David S. Miller <davem@davemloft.net>
23007
98bb2f1c
DM
23008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23009 masking out of the most significant byte of random value used.
23010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23011 Fix coding style in previous change.
23012
b4b2eb5e
DM
23013 * sysdeps/unix/sysv/linux/kernel-features.h
23014 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23015 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23016 expression.
23017 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23018 later.
23019
6e226b09
DM
230202012-03-11 David S. Miller <davem@davemloft.net>
23021
a1bcbd40
DM
23022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23023 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23025 for 'resultvar' otherwise things get truncated on 64-bit.
23026
cb9d6174
DM
23027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23028 Fix masking out of the most significant byte of random value used.
23029
6e226b09
DM
23030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23031
058c132d
AS
230322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23033
23034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23035
2d2cd515
DM
230362012-03-09 David S. Miller <davem@davemloft.net>
23037
23038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23039 variables with appropriate CPP guards.
23040 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23041 frame pointer, not the stack pointer. Correct layout comments. Fix test
23042 on resulting framesize and the management of the outregs buffer for pltexit.
23043 Preserve floating point return values across _dl_call_pltexit call.
23044 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23045 framesize and the management of the outregs buffer for pltexit.
23046 Preserve floating point return values across _dl_call_pltexit
23047 call.
23048 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23049 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23050 (print_exit): Fix format string for return register value.
23051
9a07f9d0
JM
230522012-03-10 Joseph Myers <joseph@codesourcery.com>
23053
23054 * sunrpc/Makefile (others): Add rpcgen.
23055 ($(objpfx)rpcgen): Remove special build rule and dependency on
23056 libc.
23057 * sunrpc/rpcgen.c: New file.
23058
547b5e30
PE
230592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23060
c524201a
PE
23061 [BZ #13673]
23062 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23063 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23064 * sysdeps/i386/crti.S: Likewise.
23065 * sysdeps/i386/crtn.S: Likewise.
23066 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23067 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23070 * sysdeps/sh/crti.S: Likewise.
23071 * sysdeps/sh/crtn.S: Likewise.
23072 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23073
7b6235f2
PE
23074 [BZ #13673]
23075 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23076 with URL.
23077 * locale/programs/locfile-kw.gperf: Likewise.
23078 * locale/programs/charmap-kw.h: Regenerated.
23079 * locale/programs/locfile-kw.h: Likewise.
23080
547b5e30
PE
23081 [BZ #13673]
23082 * intl/plural.y: Replace FSF snail mail address with URL.
23083 * intl/plural.c: Regenerated.
23084
5f0a5dae
RH
230852012-03-09 Richard Henderson <rth@twiddle.net>
23086
23087 * include/math_private.h: Remove file.
23088 * math/math_private.h: Move file ...
23089 * sysdeps/generic/math_private.h: ... here.
23090
b8c03620
RH
23091 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23092 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23093 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23094
4e234f5d 23095 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23096 and <math_private.h>.
23097 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23098 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23099 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23100 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23101 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23102 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23129 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23130 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23133 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23134 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23135 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23185 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23186 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23187 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23188 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23190 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23191 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23192 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23193 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23194 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23195 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23196 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23197 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23198 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23199 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23200 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23201 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23202 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23203 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23204 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23209 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23210 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23211 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23214 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23216 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23217 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23221 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23224 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23225 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23226 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23229 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23230 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23231 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23232 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23233 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23234 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23237 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23240 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23241 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23242 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23243 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23244 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23246 * sysdeps/ieee754/k_standard.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23278 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23289 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23362 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23366 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23369 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23396 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23407 * sysdeps/ieee754/s_lib_version.c: Likewise.
23408 * sysdeps/ieee754/s_matherr.c: Likewise.
23409 * sysdeps/ieee754/s_signgam.c: Likewise.
23410 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23411 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23412 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23413 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23414 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23415 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23416 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23417 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23418 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23419 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23420 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23421 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23422 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23423 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23424 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23426 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23427 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23428 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23431
1991fa03
JM
234322012-03-09 Joseph Myers <joseph@codesourcery.com>
23433
23434 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23435 * sunrpc/rpc_main.c: Likewise.
23436 * sunrpc/rpc_svcout.c: Likewise.
23437
60d6f5a6
DM
234382012-03-09 David S. Miller <davem@davemloft.net>
23439
23440 * include/math_private.h: New file.
23441
4962050e
JM
234422012-03-09 Joseph Myers <joseph@codesourcery.com>
23443
02a6f887
JM
23444 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23445 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23446 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23447 from <bits/socket_type.h>.
23448 (enum __socket_type): Don't define here.
23449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23451 bits/socket_type.h.
23452
c6e013c1
JM
23453 [BZ #13566]
23454 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23455 checking __USE_GNU.
23456
4962050e
JM
23457 * Makerules ($(inst_includedir)/%.h): New rule.
23458 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23459 (install-others): Remove variable setting.
23460 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23461
38842f45
RH
234622012-03-08 Richard Henderson <rth@twiddle.net>
23463
67bb6da6
RH
23464 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23465 from macro to inline function; merge with the
23466 !__LIBC_INTERNAL_MATH_INLINES version.
23467 (__ieee754_sqrtf): Likewise.
23468
15194b4b
RH
23469 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23470 to inline function.
23471 (__rintf, __floor, __floorf): Likewise.
23472
64e21ede
RH
23473 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23474 macro to inline function.
23475 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23476
38842f45
RH
23477 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23478 not <math/math_private.h>.
23479
c64bf5fe
DM
234802012-03-08 David S. Miller <davem@davemloft.net>
23481
23482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23483 copyright year.
23484 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23485
82d86f28
TS
234862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23487
23488 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23489 normalization.
23490 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23491 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23492
aea5d727
UD
234932012-03-08 Ulrich Drepper <drepper@gmail.com>
23494
23495 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23496 be defined individually, they must be defined as a block. Define
23497 S for printing a string instead of hidint the different by using a
23498 macro for adding the 'l'.
23499 * stdio-common/tst-fphex-wide.c: Adjust.
23500
70bca0a3
MP
235012012-03-07 Marek Polacek <polacek@redhat.com>
23502
23503 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23504
65b81130
MP
235052012-03-08 Marek Polacek <polacek@redhat.com>
23506
23507 [BZ #13806]
23508 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23509 * stdio-common/tst-fphex.c: Define a few macros to make the
23510 test reusable. Use them.
23511 * stdio-common/tst-fphex-wide.c: New file.
23512
07037eeb
JM
235132012-03-08 Joseph Myers <joseph@codesourcery.com>
23514
a7a93d50
JM
23515 [BZ #6911]
23516 * manual/macros.texi (gnusystems): New macro.
23517 (nongnusystems): Likewise.
23518 (gnulinuxhurdsystems): Likewise.
23519 (gnuhurdsystems): Likewise..
23520 (gnulinuxsystems): Likewise.
23521 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23522 variants of the GNU system, not "GNU system".
23523 * manual/conf.texi: Likewise.
23524 * manual/errno.texi: Likewise. Update example of errno macro
23525 expansion.
23526 * manual/filesys.texi: Likewise.
23527 (getumask): Document as specific to GNU/Hurd.
23528 * manual/install.texi: Likewise. Reword some references to
23529 GNU/Linux.
23530 * manual/intro.texi: Likewise.
23531 * manual/io.texi: Likewise.
23532 (File Name Portability): Detail which constraints are inapplicable
23533 to all GNU systems and which are only inapplicable to GNU/Hurd.
23534 * manual/job.texi: Likewise.
23535 * manual/llio.texi: Likewise.
23536 (O_NOCTTY): Document as present on GNU/Linux.
23537 * manual/maint.texi: Likewise.
23538 * manual/memory.texi: Likewise.
23539 * manual/pattern.texi: Likewise.
23540 * manual/pipe.texi: Likewise.
23541 * manual/process.texi: Likewise.
23542 * manual/resource.texi: Likewise.
23543 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23544 child on GNU/Hurd.
23545 * manual/setjmp.texi: Likewise.
23546 * manual/signal.texi: Likewise.
23547 * manual/startup.texi: Likewise.
23548 * manual/stdio.texi: Likewise.
23549 * manual/terminal.texi: Likewise.
23550 (ONLCR): Document as POSIX.
23551 (OXTABS): Document availability on GNU/Linux as XTABS.
23552 (ONOEOT): Document availability separately from other bits.
23553 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23554 * manual/time.texi: Likewise.
23555 * manual/users.texi: Likewise.
23556 * INSTALL: Regenerated.
23557 * sysdeps/gnu/errlist.c: Regenerated.
23558
07037eeb
JM
23559 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23560 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23561 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23562 puts.
23563 * configure: Regenerated.
23564
d1d3431a
JM
235652012-03-07 Joseph Myers <joseph@codesourcery.com>
23566
af6a1e37
JM
23567 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23568 default includes instead of AC_HEADER_CHECK.
23569 * sysdeps/i386/configure: Regenerated.
23570
d1d3431a
JM
23571 [BZ #10716]
23572 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23573 * math/s_cacoshf.c (__cacoshf): Likewise.
23574 * math/s_cacoshl.c (__cacoshl): Likewise.
23575 * math/s_casinh.c (__casinh): Set signs of result from argument.
23576 * math/s_casinhf.c (__casinhf): Likewise.
23577 * math/s_casinhl.c (__casinhl): Likewise.
23578 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23579 (casinh_test): Add more tests.
23580 * sysdeps/i386/fpu/libm-test-ulps: Update.
23581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582
482ff4da
UD
235832012-03-07 Ulrich Drepper <drepper@gmail.com>
23584
872fda05
UD
23585 * po/zh_TW.po: Update from translation team.
23586
a4300c7a
UD
23587 * login/Makefile (distribute): Remove variable.
23588 * catgets/Makefile: Likewise.
23589 * mach/Makefile: Likewise.
23590 * malloc/Makefile: Likewise.
23591 * misc/Makefile: Likewise.
23592 * iconv/Makefile: Likewise.
23593 * nscd/Makefile: Likewise.
23594 * hurd/Makefile: Likewise.
23595 * manual/Makefile: Likewise.
23596 * locale/Makefile: Likewise.
23597 * intl/Makefile: Likewise.
23598 * conform/Makefile: Likewise.
23599 * nss/Makefile: Likewise.
23600 * time/Makefile: Likewise.
23601 * soft-fp/Makefile: Likewise.
23602 * dirent/Makefile: Likewise.
23603 * gmon/Makefile: Likewise.
23604 * po/Makefile: Likewise.
23605 * rt/Makefile: Likewise.
23606 * socket/Makefile: Likewise.
23607 * math/Makefile: Likewise.
23608 * signal/Makefile: Likewise.
23609 * debug/Makefile: Likewise.
23610 * elf/Makefile: Likewise.
23611 * timezone/Makefile: Likewise.
23612 * stdlib/Makefile: Likewise.
23613 * iconvdata/Makefile: Likewise.
23614 * sunrpc/Makefile: Likewise.
23615 * io/Makefile: Likewise.
23616 * argp/Makefile: Likewise.
23617 * inet/Makefile: Likewise.
23618 * hesiod/Makefile: Likewise.
23619 * grp/Makefile: Likewise.
23620 * csu/Makefile: Likewise.
23621 * wctype/Makefile: Likewise.
23622 * crypt/Makefile: Likewise.
23623 * libio/Makefile: Likewise.
23624 * string/Makefile: Likewise.
23625 * nis/Makefile: Likewise.
23626 * resolv/Makefile: Likewise.
23627 * stdio-common/Makefile: Likewise.
23628 * wcsmbs/Makefile: Likewise.
23629 * dlfcn/Makefile: Likewise.
23630 * posix/Makefile: Likewise.
23631
3b7c4e74 23632 [BZ #6959]
482ff4da
UD
23633 * timezone/Makefile: Don't install timezone files, just the programs
23634 and scripts.
23635
f72ed77d
UD
236362012-03-06 Ulrich Drepper <drepper@gmail.com>
23637
a000466f
UD
23638 * nss/databases.def: Add missing gshadow entry.
23639
f72ed77d
UD
23640 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23641
a53b7a4e
MP
236422012-03-06 Marek Polacek <polacek@redhat.com>
23643
23644 [BZ #13726]
23645 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23646 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23647 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23648 * stdio-common/tst-long-dbl-fphex.c: New file.
23649
e9258400
DM
236502012-03-06 David S. Miller <davem@davemloft.net>
23651
23652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23653 (set_obp_int): New function.
23654 (get_obp_int): New function.
23655 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23657 Avoid unused variable warnings on 'val' and use builtin_expect.
23658 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23659 __builtin_expect.
e9258400
DM
23660 (INLINE_CLONE_SYSCALL): Likewise.
23661
3bd2c723
DM
236622012-03-05 David S. Miller <davem@davemloft.net>
23663
23664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23665
bbb78d03
AS
236662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23667
884c5db4
AS
23668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23669
bbb78d03
AS
23670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23671 only for |x| >= 40.
23672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23673
1c9f702a 236742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23675
23676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23677 Replace gettimeofday with __vdso_gettimeofday.
23678
7be16f82
RM
23679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23680 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23681 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23682
23683 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23684 time with __vdso_time.
23685
ed58a00f
JM
236862012-03-05 Joseph Myers <joseph@codesourcery.com>
23687
23688 * manual/lang.texi (size_t): Note types to which size_t may be
23689 equivalent with the GNU C Library, but do not describe when
23690 differences between them are significant.
23691
30ee4ced
AJ
236922012-03-05 Andreas Jaeger <aj@suse.de>
23693
23694 * sysdeps/i386/fpu/libm-test-ulps: Update.
23695
b7cd39e8
JM
236962012-03-05 Joseph Myers <joseph@codesourcery.com>
23697
23698 [BZ #3976]
23699 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23700 (__ieee754_pow): Save and restore rounding mode and use
23701 round-to-nearest for main computations.
23702 * math/libm-test.inc (pow_test_tonearest): New function.
23703 (pow_test_towardzero): Likewise.
23704 (pow_test_downward): Likewise.
23705 (pow_test_upward): Likewise.
23706 (main): Call the new functions.
23707 * sysdeps/i386/fpu/libm-test-ulps: Update.
23708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23709
23710 [BZ #3976]
23711 * math/libm-test.inc (cosh_test_tonearest): New function.
23712 (cosh_test_towardzero): Likewise.
23713 (cosh_test_downward): Likewise.
23714 (cosh_test_upward): Likewise.
23715 (sinh_test_tonearest): Likewise.
23716 (sinh_test_towardzero): Likewise.
23717 (sinh_test_downward): Likewise.
23718 (sinh_test_upward): Likewise.
23719 (main): Call the new functions.
23720 * sysdeps/i386/fpu/libm-test-ulps: Update.
23721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23722
6c6a98c9
TV
237232012-03-05 Tom de Vries <tom@codesourcery.com>
23724
23725 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23726 default stack guard is set in last bytes.
23727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23728
21bb2d2e 237292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23730
21bb2d2e 23731 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23732
21bb2d2e
AJ
23733 [BZ #13656]
23734 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23735 possibly allocate from heap instead of stack.
23736 * stdio-common/bug-vfprintf-nargs.c: New file.
23737 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23738
c6922934
AS
237392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23740
23741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23742
bc957d53
MP
237432012-03-03 Marek Polacek <polacek@redhat.com>
23744
23745 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23746 * math/math_private.h: Likewise.
23747 * stdlib/tst-strtod.c: Likewise.
23748 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23749 * sysdeps/x86_64/bits/atomic.h: Likewise.
23750
6358490d
DM
237512012-03-02 David S. Miller <davem@davemloft.net>
23752
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23757 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23758 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23759 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23760 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23761
01ae168d
RM
237622012-03-02 Roland McGrath <roland@hack.frob.com>
23763
d9a17c07
RM
23764 [BZ #13792]
23765 * manual/examples/README: New file, says the example source files
23766 can be used under GPL>=2.
23767 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23768 line containing just "*/".
23769 * manual/examples/add.c: Add copyright header (GPL>=2).
23770 * manual/examples/argp-ex1.c: Likewise.
23771 * manual/examples/argp-ex2.c: Likewise.
23772 * manual/examples/argp-ex3.c: Likewise.
23773 * manual/examples/argp-ex4.c: Likewise.
23774 * manual/examples/atexit.c: Likewise.
23775 * manual/examples/db.c: Likewise.
23776 * manual/examples/dir.c: Likewise.
23777 * manual/examples/dir2.c: Likewise.
23778 * manual/examples/execinfo.c: Likewise.
23779 * manual/examples/filecli.c: Likewise.
23780 * manual/examples/filesrv.c: Likewise.
23781 * manual/examples/fmtmsgexpl.c: Likewise.
23782 * manual/examples/genpass.c: Likewise.
23783 * manual/examples/inetcli.c: Likewise.
23784 * manual/examples/inetsrv.c: Likewise.
23785 * manual/examples/isockad.c: Likewise.
23786 * manual/examples/longopt.c: Likewise.
23787 * manual/examples/memopen.c: Likewise.
23788 * manual/examples/memstrm.c: Likewise.
23789 * manual/examples/mkfsock.c: Likewise.
23790 * manual/examples/mkisock.c: Likewise.
23791 * manual/examples/mygetpass.c: Likewise.
23792 * manual/examples/pipe.c: Likewise.
23793 * manual/examples/popen.c: Likewise.
23794 * manual/examples/rprintf.c: Likewise.
23795 * manual/examples/search.c: Likewise.
23796 * manual/examples/select.c: Likewise.
23797 * manual/examples/setjmp.c: Likewise.
23798 * manual/examples/sigh1.c: Likewise.
23799 * manual/examples/sigusr.c: Likewise.
23800 * manual/examples/stpcpy.c: Likewise.
23801 * manual/examples/strdupa.c: Likewise.
23802 * manual/examples/strftim.c: Likewise.
23803 * manual/examples/strncat.c: Likewise.
23804 * manual/examples/subopt.c: Likewise.
23805 * manual/examples/swapcontext.c: Likewise.
23806 * manual/examples/termios.c: Likewise.
23807 * manual/examples/testopt.c: Likewise.
23808 * manual/examples/testpass.c: Likewise.
23809 * manual/examples/timeval_subtract.c: Likewise.
23810
01ae168d
RM
23811 [BZ #13792]
23812 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23813 function to ...
23814 * manual/timeval_subtract.c.texi: ... here, new file.
23815
49efa33d
DM
238162012-03-02 David S. Miller <davem@davemloft.net>
23817
23818 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23819
28afd92d
JM
238202012-03-02 Joseph Myers <joseph@codesourcery.com>
23821
804360ed
JM
23822 [BZ #3976]
23823 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23824 (__sin): Save and restore rounding mode and use round-to-nearest
23825 for all computations.
23826 (__cos): Save and restore rounding mode and use round-to-nearest
23827 for all computations.
23828 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23829 <fenv.h>.
23830 (tan): Save and restore rounding mode and use round-to-nearest for
23831 all computations.
23832 * math/libm-test.inc (cos_test_tonearest): New function.
23833 (cos_test_towardzero): Likewise.
23834 (cos_test_downward): Likewise.
23835 (cos_test_upward): Likewise.
23836 (sin_test_tonearest): Likewise.
23837 (sin_test_towardzero): Likewise.
23838 (sin_test_downward): Likewise.
23839 (sin_test_upward): Likewise.
23840 (tan_test_tonearest): Likewise.
23841 (tan_test_towardzero): Likewise.
23842 (tan_test_downward): Likewise.
23843 (tan_test_upward): Likewise.
23844 (main): Call the new functions.
23845 * sysdeps/i386/fpu/libm-test-ulps: Update.
23846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23847
a6d06d7b
JM
23848 [BZ #10135]
23849 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23850 small n, then large n, before computing and testing k+n.
23851 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23853 Likewise.
23854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23855 Likewise.
23856 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23857 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23860 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23861 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23862 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23864 * math/libm-test.inc (scalbn_test): Add more tests.
23865 (scalbln_test): Likewise.
23866
07e12bb3
JM
23867 * manual/filesys.texi (mode_t): Describe constraints on size and
23868 signedness, not exact equivalence to a particular type.
23869 (ino_t): Likewise.
23870 (ino64_t): Likewise.
23871 (dev_t): Likewise.
23872 (nlink_t): Likewise.
23873 (blkcnt_t): Likewise.
23874 (blkcnt64_t): Likewise.
23875 * manual/llio.texi (off_t): Likewise.
23876
28afd92d
JM
23877 [BZ #3976]
23878 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23879 (__ieee754_exp): Save and restore rounding mode and use
23880 round-to-nearest for all computations.
23881 * math/libm-test.inc (exp_test_tonearest): New function.
23882 (exp_test_towardzero): Likewise.
23883 (exp_test_downward): Likewise.
23884 (exp_test_upward): Likewise.
23885 (main): Call the new functions.
23886 * sysdeps/i386/fpu/libm-test-ulps: Update.
23887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23888
b1eeb65d
CD
238892012-03-01 Chris Demetriou <cgd@google.com>
23890
23891 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23892 have predictable order.
23893
53362a4b
DM
238942012-03-01 David S. Miller <davem@davemloft.net>
23895
3c969083
DM
23896 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23897
759707de
DM
23898 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23899 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23900 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23901 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23902
dfdb8ff2
DM
23903 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23904 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23905 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23907 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23908 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23909 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23910 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23911 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23912
ead89f96
DM
23913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23914
7f66bd07
DM
23915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23916 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23918
53362a4b
DM
23919 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23920 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23921 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23922 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23923 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23926 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23927 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23928 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23929 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23930 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23932 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23935 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23936 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23937 * sysdeps/sparc/elf/configure: Regenerated.
23938
7b1902cb
JM
239392012-03-01 Joseph Myers <joseph@codesourcery.com>
23940
bec039bc
JM
23941 * configure.in (AS, LD): Require binutils 2.20 or later.
23942 * configure: Regenerated.
23943 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23944 as required minimum version.
23945 * INSTALL: Regenerated.
23946
7b1902cb
JM
23947 [BZ #2541]
23948 [BZ #4108]
23949 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23950 before squaring exponent.
23951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23952 bottom long double and 27 bits of top long double before squaring
23953 exponent.
23954 * math/libm-test.inc (erfc_test): Add more tests.
23955 * sysdeps/i386/fpu/libm-test-ulps: Update.
23956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23958
f775c276
KT
239592012-03-01 Kai Tietz <ktietz@redhat.com>
23960
23961 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23962 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23963 containing bit-fields.
23964 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23965 * soft-fp/single.h (_FP_UNION_S): Likewise.
23966 * soft-fp/double.h (_FP_UNION_D): Likewise.
23967
5b8a4d4a
JM
239682012-02-29 Joseph Myers <joseph@codesourcery.com>
23969
0bab47b6
JM
23970 [BZ #13786]
23971 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23972 not include ../strcmp.S.
23973 [USE_AS_STRNCASECMP_L]: Likewise.
23974 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23975 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23976 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23977 (__strncasecmp_l_ia32): Define as alias to
23978 __strncasecmp_l_nonascii.
23979
0fcad3e2
JM
23980 [BZ #5794]
23981 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23982 * sysdeps/i386/fpu/libm-test-ulps: Update.
23983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23984
5b8a4d4a
JM
23985 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23987
8fdceb2e
JL
239882012-02-29 Jeff Law <law@redhat.com>
23989
23990 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23991 out of bounds read.
23992
1f393a11
MP
239932012-02-29 Marek Polacek <polacek@redhat.com>
23994
23995 [BZ #13706]
23996 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23997 * elf/Makefile: Add rules to run tst-unused-dep.out.
23998
8847f037
DM
239992012-02-28 David S. Miller <davem@davemloft.net>
24000
24001 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24002 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24004 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24005 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24006 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24007
169d7f11
JM
240082012-02-29 Joseph Myers <joseph@codesourcery.com>
24009
24010 * math/libm-test.inc (llround_test): Move one test from
24011 lround_test. Use TEST_f_L in moved test.
24012 (lround_test): Move misplaced test to llround_test. Add testcase
24013 from bug 2561.
24014
39adf059
UD
240152012-02-28 Ulrich Drepper <drepper@gmail.com>
24016
24017 * sysdeps/x86_64/fpu/e_expf.S: New file.
24018 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24019
71b5d1c5
SB
240202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24021
24022 [BZ #13637]
24023 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24024 of remain_len that may cause incomplete multi-byte character and
24025 false match.
24026 * posix/bug-regex33.c: New file.
24027 * posix/Makefile (tests): Add bug-regex33.
24028
1f77f049
JM
240292012-02-28 Joseph Myers <joseph@codesourcery.com>
24030
24031 * manual/macros.texi: New file.
24032 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24033 * manual/libc.texinfo: Include macros.texi.
24034 * manual/creatute.texi: Likewise.
24035 * manual/install.texi: Likewise.
24036 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24037 @glibcadj{} in references to the GNU C Library.
24038 * manual/charset.texi: Likewise.
24039 * manual/conf.texi: Likewise.
24040 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24041 when not using those macros.
24042 * manual/creature.texi: Likewise.
24043 * manual/crypt.texi: Likewise.
24044 * manual/errno.texi: Likewise.
24045 * manual/filesys.texi: Likewise.
24046 * manual/header.texi: Likewise.
24047 * manual/install.texi: Likewise.
24048 * manual/intro.texi: Likewise.
24049 * manual/io.texi: Likewise.
24050 * manual/job.texi: Likewise.
24051 * manual/lang.texi: Likewise.
24052 * manual/libc.texiinfo: Likewise.
24053 * manual/llio.texi: Likewise.
24054 * manual/locale.texi: Likewise.
24055 * manual/maint.texi: Likewise.
24056 * manual/math.texi: Likewise.
24057 * manual/memory.texi: Likewise.
24058 * manual/message.texi: Likewise.
24059 * manual/nss.texi: Likewise.
24060 * manual/pattern.texi: Likewise.
24061 * manual/process.texi: Likewise.
24062 * manual/resource.texi: Likewise.
24063 * manual/search.texi: Likewise.
24064 * manual/setjmp.texi: Likewise.
24065 * manual/signal.texi: Likewise.
24066 * manual/socket.texi: Likewise.
24067 * manual/startup.texi: Likewise.
24068 * manual/stdio.texi: Likewise.
24069 * manual/string.texi: Likewise.
24070 * manual/sysinfo.texi: Likewise.
24071 * manual/syslog.texi: Likewise.
24072 * manual/terminal.texi: Likewise.
24073 * manual/time.texi: Likewise.
24074 * manual/users.texi: Likewise.
24075 * INSTALL: Regenerated.
24076 * NOTES: Regenerated.
d40c5d54 24077 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24078
450bf206
AS
240792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24080
24081 * include/dirent.h: Include <dirstream.h> before
24082 <dirent/dirent.h>.
24083
741a235b
DM
240842012-02-28 David S. Miller <davem@davemloft.net>
24085
24086 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24087 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24088 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24089 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24090
d6b5aa58
DM
240912012-02-27 David S. Miller <davem@davemloft.net>
24092
1aff59a3
DM
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24097
d6b5aa58
DM
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24099 frame pointer instead of stack pointer relative arg slot.
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24103
433f48bf
CD
241042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24105
24106 [BZ #3992]
24107 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24108
d674b76d
DM
241092012-02-27 David S. Miller <davem@davemloft.net>
24110
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24117 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24118 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24119
0e7727f7
JM
241202012-02-27 Joseph Myers <joseph@codesourcery.com>
24121
24122 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24123 later. Allow versions 5-9.
43be4ca2 24124 * configure: Regenerated.
0e7727f7
JM
24125 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24126 required minimum version and 4.6 as recommended version. Do not
24127 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24128 * INSTALL: Regenerated.
0e7727f7 24129
a78bc654
DM
241302012-02-27 David S. Miller <davem@davemloft.net>
24131
428d5830
DM
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24136 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24137 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24138 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24139 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24140
a78bc654
DM
24141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24142 manipulate bits before adding and subtracting TWO112[sx].
24143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24144
4579f81c
RM
241452012-02-27 Roland McGrath <roland@hack.frob.com>
24146
36c8acb4
RM
24147 [BZ #13775]
24148 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24149 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24150 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24151 being in POSIX, because they are in 1003.1-2008.
24152
84ad622b
RM
24153 * rt/tst-aio.c: Include <fcntl.h>.
24154 * rt/tst-aio7.c: Likewise.
24155 * rt/tst-aio64.c: Likewise.
24156
4579f81c
RM
24157 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24158
abd923db
JM
241592012-02-27 Joseph Myers <joseph@codesourcery.com>
24160
24161 * manual/install.texi (--with-headers): Describe headers as
24162 interface headers, not private headers.
24163 (Specific advice for GNU/Linux systems): Describe use of headers
24164 from "make headers_install", not private headers from older
24165 kernels.
43be4ca2 24166 * INSTALL: Regenerated.
abd923db
JM
24167 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24168 Change to 2.6.19.
24169 * sysdeps/unix/sysv/linux/configure: Regenerated.
24170
6664049b
JM
24171 * manual/llio.texi (fclean): Remove documentation.
24172
bb8b6697
JM
24173 * manual/Makefile (libc-texi-generated): New variable. Include
24174 version.texi.
24175 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24176 $(libc-texi-generated), not duplicated list of files.
24177 (version.texi, stamp-version): New rules.
24178 (realclean): Remove $(libc-texi-generated), not individual files
24179 from that list. Do not remove dir-add.texinfo.
24180 * manual/libc.texinfo: Comment out uses of edition numbers and
24181 references to printed manual. Remove last-updated dates.
24182 (EDITION): Comment out.
24183 (ISBN): Likewise.
24184 (VERSION, UPDATED): Remove.
24185 (version.texi): Include.
24186
12e5c3b9
AS
241872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24188
24189 * sysdeps/posix/spawni.c: Include <signal.h>.
24190 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24191 * sysdeps/pthread/aio_fsync.c: Likewise.
24192
4efeffc1 241932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24194
ba63ba08
UD
24195 * conform/Makefile (tests): Run only when not cross-compiling and
24196 when fast-check is not defined.
24197
d94a4670
UD
24198 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24199 * conform/data/limits.h-data: Fixes for POSIX2008.
24200 * conform/run-conformtest.sh: Run all tests.
24201 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24202 headers.
24203 * include/bits/dlfcn.h: Likewise.
24204 * include/langinfo.h: Likewise.
24205 * include/monetary.h: Likewise.
24206 * include/sys/poll.h: Likewise.
24207
24208 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24209 for __USE_GNU.
24210 * posix/spawn.h: Define __need_sigset_t.
24211 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24212 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24213 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24214 to get sigevent_t only.
24215 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24216 only for __USE_GNU.
24217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24218 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24219 process_vm_writev only for __USE_GNU.
24220 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24221
24222 * conform/Makefile: For now ignore errors from run-conformtest.
24223 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24224 POSIX to avoid namespace pollution. Don't prepend headers.
24225 * conform/data/aio.h-data: Fixes for POSIX testing.
24226 * conform/data/fcntl.h-data: Likewise.
24227 * conform/data/glob.h-data: Likewise.
24228 * conform/data/grp.h-data: Likewise.
24229 * conform/data/pthread.h-data: Likewise.
24230 * conform/data/pwd.h-data: Likewise.
24231 * conform/data/signal.h-data: Likewise.
24232 * conform/data/spawn.h-data: Likewise.
24233 * conform/data/stdio.h-data: Likewise.
24234 * conform/data/stdlib.h-data: Likewise.
24235 * conform/data/stropts.h-data: Likewise.
24236 * conform/data/sys/mman.h-data: Likewise.
24237 * conform/data/sys/stat.h-data: Likewise.
24238 * conform/data/sys/types.h-data: Likewise.
24239 * conform/data/sys/wait.h-data: Likewise.
24240 * conform/data/time.h-data: Likewise.
24241 * conform/data/unistd.h-data: Likewise.
24242 * conform/data/utime.h-data: Likewise.
24243
24244 * io/sys/stat.h: fchmod was always in POSIX.
24245 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24246 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24247 * rt/aio.h: Define __need_timespec before including <time.h>.
24248 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24249 struct. Add forward declaration of pthread_attr_t and use it in
24250 sigevent.
24251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24253 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24254 always remove CLK_TCK definition.
24255
c20105c3
AS
242562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24257
24258 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24259
7a270350
UD
242602012-02-25 Ulrich Drepper <drepper@gmail.com>
24261
31341567
UD
24262 * conform/run-conformtest.sh: New file.
24263 * conform/Makefile: Run run-conformtest for tests.
24264 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24265 support.
24266
24267 * conform/data/uchar.h-data: New file.
24268 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24269 * conform/data/arpa/inet.h-data: Likewise.
24270 * conform/data/assert.h-data: Likewise.
24271 * conform/data/complex.h-data: Likewise.
24272 * conform/data/cpio.h-data: Likewise.
24273 * conform/data/ctype.h-data: Likewise.
24274 * conform/data/dirent.h-data: Likewise.
24275 * conform/data/dlfcn.h-data: Likewise.
24276 * conform/data/errno.h-data: Likewise.
24277 * conform/data/fcntl.h-data: Likewise.
24278 * conform/data/float.h-data: Likewise.
24279 * conform/data/fmtmsg.h-data: Likewise.
24280 * conform/data/fnmatch.h-data: Likewise.
24281 * conform/data/ftw.h-data: Likewise.
24282 * conform/data/glob.h-data: Likewise.
24283 * conform/data/grp.h-data: Likewise.
24284 * conform/data/iconv.h-data: Likewise.
24285 * conform/data/inttypes.h-data: Likewise.
24286 * conform/data/langinfo.h-data: Likewise.
24287 * conform/data/libgen.h-data: Likewise.
24288 * conform/data/limits.h-data: Likewise.
24289 * conform/data/locale.h-data: Likewise.
24290 * conform/data/math.h-data: Likewise.
24291 * conform/data/monetary.h-data: Likewise.
24292 * conform/data/mqueue.h-data: Likewise.
24293 * conform/data/ndbm.h-data: Likewise.
24294 * conform/data/net/if.h-data: Likewise.
24295 * conform/data/netdb.h-data: Likewise.
24296 * conform/data/netinet/in.h-data: Likewise.
24297 * conform/data/nl_types.h-data: Likewise.
24298 * conform/data/poll.h-data: Likewise.
24299 * conform/data/pthread.h-data: Likewise.
24300 * conform/data/pwd.h-data: Likewise.
24301 * conform/data/regex.h-data: Likewise.
24302 * conform/data/sched.h-data: Likewise.
24303 * conform/data/search.h-data: Likewise.
24304 * conform/data/semaphore.h-data: Likewise.
24305 * conform/data/setjmp.h-data: Likewise.
24306 * conform/data/signal.h-data: Likewise.
24307 * conform/data/spawn.h-data: Likewise.
24308 * conform/data/stdarg.h-data: Likewise.
24309 * conform/data/stdio.h-data: Likewise.
24310 * conform/data/stdlib.h-data: Likewise.
24311 * conform/data/string.h-data: Likewise.
24312 * conform/data/strings.h-data: Likewise.
24313 * conform/data/stropts.h-data: Likewise.
24314 * conform/data/sys/ipc.h-data: Likewise.
24315 * conform/data/sys/mman.h-data: Likewise.
24316 * conform/data/sys/msg.h-data: Likewise.
24317 * conform/data/sys/resource.h-data: Likewise.
24318 * conform/data/sys/select.h-data: Likewise.
24319 * conform/data/sys/sem.h-data: Likewise.
24320 * conform/data/sys/shm.h-data: Likewise.
24321 * conform/data/sys/socket.h-data: Likewise.
24322 * conform/data/sys/stat.h-data: Likewise.
24323 * conform/data/sys/statvfs.h-data: Likewise.
24324 * conform/data/sys/time.h-data: Likewise.
24325 * conform/data/sys/timeb.h-data: Likewise.
24326 * conform/data/sys/times.h-data: Likewise.
24327 * conform/data/sys/types.h-data: Likewise.
24328 * conform/data/sys/uio.h-data: Likewise.
24329 * conform/data/sys/un.h-data: Likewise.
24330 * conform/data/sys/utsname.h-data: Likewise.
24331 * conform/data/sys/wait.h-data: Likewise.
24332 * conform/data/syslog.h-data: Likewise.
24333 * conform/data/tar.h-data: Likewise.
24334 * conform/data/termios.h-data: Likewise.
24335 * conform/data/utime.h-data: Likewise.
24336 * conform/data/utmpx.h-data: Likewise.
24337 * conform/data/varargs.h-data: Likewise.
24338 * conform/data/wchar.h-data: Likewise.
24339 * conform/data/wctype.h-data: Likewise.
24340 * conform/data/wordexp.h-data: Likewise.
24341
24342 * include/stropts.h: New file.
24343 * include/uchar.h: New file.
24344 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24345 * include/assert.h: Likewise.
24346 * include/ctype.h: Likewise.
24347 * include/dirent.h: Likewise.
24348 * include/dlfcn.h: Likewise.
24349 * include/fcntl.h: Likewise.
24350 * include/fnmatch.h: Likewise.
24351 * include/glob.h: Likewise.
24352 * include/grp.h: Likewise.
24353 * include/libio.h: Likewise.
24354 * include/locale.h: Likewise.
24355 * include/math.h: Likewise.
24356 * include/net/if.h: Likewise.
24357 * include/netdb.h: Likewise.
24358 * include/netinet/in.h: Likewise.
24359 * include/pthread.h: Likewise.
24360 * include/pwd.h: Likewise.
24361 * include/regex.h: Likewise.
24362 * include/sched.h: Likewise.
24363 * include/search.h: Likewise.
24364 * include/setjmp.h: Likewise.
24365 * include/signal.h: Likewise.
24366 * include/stdio.h: Likewise.
24367 * include/stdlib.h: Likewise.
24368 * include/string.h: Likewise.
24369 * include/sys/cdefs.h: Likewise.
24370 * include/sys/mman.h: Likewise.
24371 * include/sys/msg.h: Likewise.
24372 * include/sys/resource.h: Likewise.
24373 * include/sys/select.h: Likewise.
24374 * include/sys/socket.h: Likewise.
24375 * include/sys/stat.h: Likewise.
24376 * include/sys/statvfs.h: Likewise.
24377 * include/sys/time.h: Likewise.
24378 * include/sys/times.h: Likewise.
24379 * include/sys/uio.h: Likewise.
24380 * include/sys/utsname.h: Likewise.
24381 * include/sys/wait.h: Likewise.
24382 * include/termios.h: Likewise.
24383 * include/time.h: Likewise.
24384 * include/ulimit.h: Likewise.
24385 * include/unistd.h: Likewise.
24386 * include/utime.h: Likewise.
24387 * include/wchar.h: Likewise.
24388 * include/wctype.h: Likewise.
24389 * include/wordexp.h: Likewise.
24390
24391 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24392
7a270350
UD
24393 * time/time.h: TIME_UTC must be a macro.
24394 Make timespec_get available for ISO C11 only as well.
24395
7724defc
UD
243962012-02-24 Ulrich Drepper <drepper@gmail.com>
24397
24398 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24399 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24400
6b1d1d46
JM
244012012-02-24 Joseph Myers <joseph@codesourcery.com>
24402
24403 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24404
0f8bbd69
JM
244052012-02-24 Joseph Myers <joseph@codesourcery.com>
24406
24407 * manual/texinfo.tex: Update to version 2012-01-19.16.
24408
66ab80bc
JM
244092012-02-24 Joseph Myers <joseph@codesourcery.com>
24410
24411 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24412
74981cc5
RM
244132012-02-24 Roland McGrath <roland@hack.frob.com>
24414
ee968201
RM
24415 [BZ #13738]
24416 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24417 * manual/fdl-1.3.texi: New file.
24418 * manual/fdl-1.1.texi: File removed.
24419
74981cc5
RM
24420 [BZ #13738]
24421 * manual/libc.texinfo (FDL_VERSION): New @set.
24422 Use it for mention of FDL in cover text.
24423 (Documentation License): Use it in @include file name.
24424
7bb764bc
JM
244252012-02-22 Joseph Myers <joseph@codesourcery.com>
24426 Roland McGrath <roland@hack.frob.com>
24427
24428 [BZ #5461]
24429 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24430 not LONG_LONG_MAX and LONG_LONG_MIN.
24431 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24432 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24433 name.
24434 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24435
6cbeae47
JM
244362012-02-22 Joseph Myers <joseph@codesourcery.com>
24437
24438 [BZ #2547]
24439 [BZ #11365]
24440 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24441 manipulate bits before adding and subtracting TWO23[sx].
24442 * math/libm-test.inc (nearbyint_test): Add more tests.
24443
fe45ce09
JM
244442012-02-22 Joseph Myers <joseph@codesourcery.com>
24445
24446 [BZ #2548]
24447 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24448 bits before adding and subtracting TWO23[sx].
24449 * math/libm-test.inc (rint_test): Add more tests.
24450 (rint_test_tonearest): Likewise.
24451 (rint_test_towardzero): Likewise.
24452 (rint_test_downward): Likewise.
24453 (rint_test_upward: Likewise.
24454
ff3b3d82
JM
244552012-02-22 Joseph Myers <joseph@codesourcery.com>
24456
24457 [BZ #10110]
24458 * include/stdc-predef.h: New file. Extracted from features.h.
24459 * include/features.h: Include stdc-predef.h.
24460 * Makefile (headers): Add stdc-predef.h.
24461 * CONFORMANCE (Compiler limitations): Update.
24462
ef0aab35
JM
244632012-02-22 Joseph Myers <joseph@codesourcery.com>
24464
24465 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24466
58639409
DM
244672012-02-21 David S. Miller <davem@davemloft.net>
24468
24469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24471
c0e70b25
DM
244722012-02-20 David S. Miller <davem@davemloft.net>
24473
24474 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24475 using a normal save/restore sequence, rather than allocating a
24476 dummy stack frame just to store a frame pointer and restore.
24477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24478
fb06851d
JM
244792012-02-21 Joseph Myers <joseph@codesourcery.com>
24480
24481 * manual/install.texi: Fix stray word in line-wrapped comment.
24482
7a8b71c3
DM
244832012-02-20 David S. Miller <davem@davemloft.net>
24484
d510c123
DM
24485 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24486 both binutils and gcc support GOTDATA.
24487
0722d7c2
DM
24488 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24489 "rd %pc" in the PIC register setup sequences.
24490
3d2b3019
DM
24491 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24492 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24493 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24494 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24495 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24497 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24500 (SYSCALL_ERROR_HANDLER): Likewise.
24501 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24502 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24504 (SYSCALL_ERROR_HANDLER): Likewise.
24505
c80098a9
DM
24506 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24507 (HAVE_GCC_GOTDATA): New.
24508 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24509 relocation support in both binutils and gcc.
24510 * sysdeps/sparc/elf/configure: Regenerate.
24511
3a2545a0
DM
24512 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24513 * sysdeps/sparc/sparc32/elf/configure: Delete.
24514 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24515 * sysdeps/sparc/sparc64/elf/configure: Delete.
24516 * sysdeps/sparc/elf/configure.in: New file.
24517 * sysdeps/sparc/elf/configure: Generate.
24518
7a8b71c3
DM
24519 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24520 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24521 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24522 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24523 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24524
f1e86fca
JM
245252012-02-21 Joseph Myers <joseph@codesourcery.com>
24526
24527 * manual/install.texi: Do not mention specific glibc version
24528 numbers.
24529 * manual/libc.texinfo (VERSION, UPDATED): Update.
24530 (@copying): Use @copyright{} and range of years.
24531
0e7dfaef
JM
245322012-02-21 Joseph Myers <joseph@codesourcery.com>
24533
24534 [BZ #13695]
24535 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24536 [crti.S not in sysdirs] (generated): Do not append.
24537 [crti.S not in sysdirs] (omit-deps): Likewise.
24538 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24539 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24540 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24541 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24542 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24543 Likewise.
24544 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24545 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24546 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24547 * csu/defs.awk: Remove file.
24548 * sysdeps/generic/initfini.c: Likewise.
24549 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24550 variable.
24551 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24552 Likewise.
24553
599af3ca
JM
245542012-02-20 Joseph Myers <joseph@codesourcery.com>
24555
24556 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24557 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24558 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24560 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24561 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24562 <bits/epoll.h>.
24563 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24564 (__EPOLL_PACKED): Define to empty if not defined by
24565 <bits/epoll.h>.
24566 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24568 bits/epoll.h.
24569
0e499750
JM
245702012-02-20 Joseph Myers <joseph@codesourcery.com>
24571
24572 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24573 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24574 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24575 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24576 <bits/timerfd.h>.
24577 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24579 bits/timerfd.h.
24580
5ad91f6e
JM
245812012-02-20 Joseph Myers <joseph@codesourcery.com>
24582
24583 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24584 in C locale.
24585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24586 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24589
06b99b02
AJ
245902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24591
24592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24594
7638c0fd
AS
245952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24596
24597 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24598 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24599 defined.
24600 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24601 Likewise.
24602 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24603 entry for 2.16.
24604
92221550
AJ
246052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24606
24607 * math/w_acos.c: Use non-signaling floating-point comparisons.
24608 * math/w_acosf.c: Likewise.
24609 * math/w_acosh.c: Likewise.
24610 * math/w_acoshf.c: Likewise.
24611 * math/w_acoshl.c: Likewise.
24612 * math/w_acosl.c: Likewise.
24613 * math/w_asin.c: Likewise.
24614 * math/w_asinf.c: Likewise.
24615 * math/w_asinl.c: Likewise.
24616 * math/w_atanh.c: Likewise.
24617 * math/w_atanhf.c: Likewise.
24618 * math/w_atanhl.c: Likewise.
24619 * math/w_exp2.c: Likewise.
24620 * math/w_exp2f.c: Likewise.
24621 * math/w_exp2l.c: Likewise.
24622 * math/w_j0.c: Likewise.
24623 * math/w_j0f.c: Likewise.
24624 * math/w_j0l.c: Likewise.
24625 * math/w_j1.c: Likewise.
24626 * math/w_j1f.c: Likewise.
24627 * math/w_j1l.c: Likewise.
24628 * math/w_jn.c: Likewise.
24629 * math/w_jnf.c: Likewise.
24630 * math/w_log.c: Likewise.
24631 * math/w_log10.c: Likewise.
24632 * math/w_log10f.c: Likewise.
24633 * math/w_log10l.c: Likewise.
24634 * math/w_log2.c: Likewise.
24635 * math/w_log2f.c: Likewise.
24636 * math/w_log2l.c: Likewise.
24637 * math/w_logf.c: Likewise.
24638 * math/w_logl.c: Likewise.
24639 * math/w_sqrt.c: Likewise.
24640 * math/w_sqrtf.c: Likewise.
24641 * math/w_sqrtl.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24647
ebaf36eb
JM
246482012-02-19 Joseph Myers <joseph@codesourcery.com>
24649
24650 [BZ #9739]
24651 * manual/string.texi (strnlen): Use correct parameter name in
24652 equivalent expression.
24653
71c254a6
JM
246542012-02-19 Joseph Myers <joseph@codesourcery.com>
24655
24656 [BZ #11174]
24657 * manual/users.texi (seteuid): Consistently use neweuid for
24658 argument name.
24659
16d2c631
JM
246602012-02-19 Joseph Myers <joseph@codesourcery.com>
24661
24662 [BZ #13704]
24663 * manual/nss.texi (Services in the NSS configuration): Correct
24664 list of services in example configuration file.
24665
cd837b09
NB
246662012-02-19 Nick Bowler <nbowler@draconx.ca>
24667
24668 [BZ #11322]
24669 * manual/arith.texi: Remove statements about negative zero
24670 behaving identically to zero.
24671
02c4bbad
JM
246722012-02-18 Joseph Myers <joseph@codesourcery.com>
24673
24674 [BZ #5993]
24675 * manual/install.texi: Do not document upgrading from libc5.
24676
366842e7
JM
246772012-02-18 Joseph Myers <joseph@codesourcery.com>
24678
24679 [BZ #4596]
24680 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24681
dd54084d
DM
246822012-02-18 David S. Miller <davem@davemloft.net>
24683
24684 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24685 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24686 %o7 across the call.
24687 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24688 instead.
24689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24690 SETUP_PIC_REG_LEAF.
24691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24692 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24693 * sysdeps/sparc/crtn.S: Likewise.
24694
2bcc53a3
UD
246952012-02-17 Ulrich Drepper <drepper@gmail.com>
24696
24697 * aout/Makefile: Remove.
24698
09c093b5
RK
246992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24700
24701 [BZ #13058]
24702 * manual/examples/argp-ex1.c (main): Format definition in GNU
24703 style.
24704 * manual/examples/argp-ex2.c (main): Likewise.
24705 * manual/examples/argp-ex3.c (main): Likewise.
24706 * manual/examples/argp-ex4.c (main): Likewise.
24707 * manual/examples/longopt.c (main): Use new-style prototype
24708 definition.
24709 * manual/examples/strncat.c (main): Specify return type and use
24710 (void) for arguments.
24711 * manual/examples/subopt.c (main): Use char **argv argument.
24712
2ee633a2
JM
247132012-02-17 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #5077]
24716 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24717 rounding modes.
24718
0520adde
FB
247192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24720
24721 [BZ #6907]
24722 * manual/string.texi (strchr): Change when strchrnul is
24723 recommended.
24724
3f4081cd
DGM
247252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24726
24727 [BZ #174]
24728 * manual/locale.texi (setlocale): Document LOCPATH.
24729
d1b10e78
JM
247302012-02-17 Joseph Myers <joseph@codesourcery.com>
24731
24732 [BZ #10210]
24733 * manual/process.texi (execle): Move @dots{} before last argument.
24734
79c6869c
PB
247352012-02-17 Paul Bolle <pebolle@tiscali.nl>
24736
24737 [BZ #12047]
24738 * manual/charset.texi (Generic Charset Conversion): Fix typo
24739 (LC_TYPE -> LC_CTYPE).
24740
cc6e48bc
NB
247412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24742
24743 [BZ #5805]
24744 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24745 (scalbnf): Likewise.
24746 (scalbnl): Likewise.
24747 (scalbln): Likewise.
24748 (scalblnf): Likewise.
24749 (scalblnl): Likewise.
24750 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24751 (vwarnx): Likewise.
24752 (verr): Likewise.
24753 (verrx): Likewise.
24754 * manual/filesys.texi (telldir): Use braces around return type.
24755 * manual/llio.texi (mmap): Add space after comma.
24756 (mmap64): Likewise.
24757 * manual/math.texi (jn): Use @var{} on parameter names.
24758 (jnf): Likewise.
24759 (jnl): Likewise.
24760 (yn): Likewise.
24761 (ynf): Likewise.
24762 (ynl): Likewise.
24763 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24764 line.
24765 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24766 "...".
24767 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24768 (sched_get_priority_max): Likewise.
24769 * manual/signal.texi (sigvec): Add space after comma.
24770 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24771 names.
24772 (if_indextoname): Likewise.
24773 (if_freenameindex): Likewise.
24774 (sendto): Use ',' instead of '.' in prototype.
24775 * manual/startup.texi (syscall): Use @dots{} instead of literal
24776 "...".
24777 * manual/stdio.texi (__fpending): Separate initial words of
24778 paragraph from @deftypefun line.
24779 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24780 "...".
24781 (vsyslog): Use @var{} on parameter names.
24782 * manual/terminal.texi (stty): Use @var{} on parameter names.
24783 * manual/users.texi (getutmp): Use @var{} on parameter names.
24784 (getutmpx): Likewise.
24785
5b23062f
JM
247862012-02-17 Joseph Myers <joseph@codesourcery.com>
24787
24788 [BZ #6884]
24789 * manual/stdio.texi (fopen): Fix typos in description of
24790 ",ccs=STRING".
24791
8dee4833
AJ
247922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24793
24794 [BZ #4026]
24795 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24796 get clock_id definition.
24797
9078ce93
TS
247982012-02-17 Thomas Schwinge <thomas@schwinge.name>
24799
24800 [BZ #4822]
24801 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24802 (madvise): Cast every argument to void on its own.
24803
3835c55f
JM
248042012-02-17 Joseph Myers <joseph@codesourcery.com>
24805
24806 [BZ #9902]
24807 * manual/startup.texi (Exit Status): Fix typo.
24808
35c47e37
JM
248092012-02-17 Joseph Myers <joseph@codesourcery.com>
24810
24811 [BZ #10140]
24812 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24813 * manual/examples/argp-ex2.c: Likewise.
24814 * manual/examples/argp-ex3.c: Likewise.
24815
e3b69ca7
RH
248162012-02-16 Richard Henderson <rth@redhat.com>
24817
24818 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24819 * sysdeps/s390/s390-32/initfini.c: Remove.
24820 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24821 * sysdeps/s390/s390-64/initfini.c: Remove.
24822
df83af67
KK
248232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24824
24825 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24826 compiler output for sysdeps/generic/initfini.c.
24827 * sysdeps/sh/elf/initfini.c: Remove file.
24828
f63f3380
DM
248292012-02-16 David S. Miller <davem@davemloft.net>
24830
fb59b3a4
DM
24831 [BZ #11494]
24832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24833
f63f3380
DM
24834 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24835 * sysdeps/sparc/crti.S: New file.
24836 * sysdeps/sparc/crtn.S: New file.
24837 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24838 * sysdeps/sparc/sparc64/Makefile: Likewise.
24839
df6a4a4a
MF
248402012-02-15 Mike Frysinger <vapier@gentoo.org>
24841
6dd8f3dc 24842 [BZ #3335]
df6a4a4a
MF
24843 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24844
1cac7236
RM
248452012-02-15 Roland McGrath <roland@hack.frob.com>
24846
d2c736f8
RM
24847 [BZ #4822]
24848 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24849
1cac7236
RM
24850 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24851 (write, read, close): Likewise.
24852 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24853
8e475601
JM
248542012-02-15 Joseph Myers <joseph@codesourcery.com>
24855
24856 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24857 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24858 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24859 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24860 <bits/signalfd.h>.
24861 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24863 bits/signalfd.h.
24864
ed656b40
MP
248652012-02-14 Marek Polacek <polacek@redhat.com>
24866
24867 * sysdeps/x86_64/crti.S: New file.
24868 * sysdeps/x86_64/crtn.S: New file.
24869 * sysdeps/x86_64/elf/initfini.c: Remove file.
24870
2a979d3a
JM
248712012-02-13 Joseph Myers <joseph@codesourcery.com>
24872
24873 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24874 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24876 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24877 <bits/inotify.h>.
24878 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24880 bits/inotify.h.
24881
2a418ac3
JM
248822012-02-13 Joseph Myers <joseph@codesourcery.com>
24883
24884 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24885 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24886 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24887 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24888 <bits/eventfd.h>.
24889 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24891 bits/eventfd.h.
24892
fb779be7
TS
248932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24894
e19e83c5
RM
24895 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24896 __feraiseexcept instead of feraiseexcept.
7c35ffed 24897
fb779be7
TS
24898 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24899 nanosleep invocations.
24900 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24901 strings, and add error checking for a nanosleep invocations.
24902
59ba27a6
PE
249032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24904
24905 Replace FSF snail mail address with URLs, as per GNU coding standards.
24906 Most of the snail mail addresses were wrong anyway, and omitting
24907 them makes the source code easier to maintain. Almost all of the
24908 changes are to license notices and to locale LC_IDENTIFICATION
24909 addresses, except for this one:
24910 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24911 not its snail mail address.
24912
57b957eb
RH
249132012-02-09 Richard Henderson <rth@twiddle.net>
24914
af850b1c
RH
24915 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24916 of kernel-features.h.
24917
57b957eb
RH
24918 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24919
6b73181a
MP
249202012-02-08 Marek Polacek <polacek@redhat.com>
24921
24922 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24923 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24924 * sysdeps/gnu/_G_config.h: Likewise.
24925 * sysdeps/generic/_G_config.h: Likewise.
24926
26ecc33a
AS
249272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24928
6c6dbc63
AS
24929 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24930 tests.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932
e216c012
AS
24933 * sysdeps/powerpc/powerpc32/crti.S: New file.
24934 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24935 * sysdeps/powerpc/powerpc64/crti.S: New file.
24936 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24937
26ecc33a
AS
24938 * Makeconfig (have-initfini): Don't set.
24939 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24940 * configure.in (nopic_initfini): Don't substitute.
24941 * config.h.in (HAVE_INITFINI): Don't #undef.
24942 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24943 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24944
3add8e13
JM
249452012-02-08 Joseph Myers <joseph@codesourcery.com>
24946
24947 Support crti.S and crtn.S provided directly by architectures.
24948 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24949 [crti.S in sysdirs] (omit-deps): Likewise.
24950 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24951 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24952 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24953 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24954 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24955 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24956 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24957 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24958 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24959 compiler output for sysdeps/generic/initfini.c.
24960 * sysdeps/i386/elf/Makefile: Remove file.
24961 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24962
a22f12b4
MP
249632012-02-07 Marek Polacek <polacek@redhat.com>
24964
24965 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24966 * sysdeps/gnu/_G_config.h: Likewise.
24967 * sysdeps/mach/hurd/_G_config.h: Likewise.
24968
148cf100
MP
249692012-02-07 Marek Polacek <polacek@redhat.com>
24970
24971 * math/Makefile (tests): Add tst-CMPLX2.
24972 * math/tst-CMPLX2.c: New file.
24973
cfdc0dd7
AS
249742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24975
84ba42c4
AS
24976 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24977
cfdc0dd7
AS
24978 * math/libm-test.inc (jn_test): Add missing L suffix.
24979
622c86f4
MP
249802012-02-06 Marek Polacek <polacek@redhat.com>
24981
24982 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24983 * sysdeps/i386/fpu/e_powf.S: Likewise.
24984 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24985 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24987 * sysdeps/i386/fpu/e_pow.S: Likewise.
24988 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24989 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24990 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24991 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24992 * sysdeps/i386/fpu/e_log2.S: Likewise.
24993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24994 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24995 * sysdeps/i386/fpu/e_powl.S: Likewise.
24996 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24998 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24999 * sysdeps/i386/fpu/e_logl.S: Likewise.
25000 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25001 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25002 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25003 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25005 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25006 * sysdeps/i386/fpu/e_log.S: Likewise.
25007 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25008 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25009 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25010 * sysdeps/i386/fpu/e_logf.S: Likewise.
25011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25012 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25013 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25014 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25015 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25016 * sysdeps/i386/fpu/e_log10.S: Likewise.
25017 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25018 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25019 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25020 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25021 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25022 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25023 * sysdeps/i386/asm-syntax.h: Likewise.
25024 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25026 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25027 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25028 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25029 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25030 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25031 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25033 * sysdeps/powerpc/sysdep.h: Likewise.
25034 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25035 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25036
d4a54ac6
JM
250372012-02-06 Joseph Myers <joseph@codesourcery.com>
25038
25039 [BZ #411]
25040 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25041
314054ea
JM
250422012-02-06 Joseph Myers <joseph@codesourcery.com>
25043
25044 * sysdeps/i386/sysdep.h: Include <features.h>.
25045 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25046 version.
25047
d8e0ca50
JM
250482012-02-05 Joseph Myers <joseph@codesourcery.com>
25049
25050 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25051 Define.
25052 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25053 LOAD_PIC_REG_STR.
25054
b1da7dd9
JM
250552012-02-03 Joseph Myers <joseph@codesourcery.com>
25056
25057 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25058 (SETUP_PIC_REG): Use GET_PC_THUNK.
25059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25060 macro.
25061
9a1d9254
JM
250622012-02-03 Joseph Myers <joseph@codesourcery.com>
25063
25064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25065 for non-PIC compilation.
25066 (SETUP_PIC_REG): Add .p2align directive.
25067 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25068 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25069 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25070 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25071 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25072 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25073 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25075 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25076 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25077 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25078 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25079 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25080 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25081 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25108
65dc3b75
JM
251092012-02-03 Joseph Myers <joseph@codesourcery.com>
25110
25111 * math/tst-CMPLX.c: Include <stdio.h>.
25112
d55bf177
JM
251132012-01-31 Joseph Myers <joseph@codesourcery.com>
25114
25115 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25116 float.
25117 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25118 * sysdeps/sparc/bits/mathdef.h: Likewise.
25119
69db4f8f
MP
251202012-01-31 Marek Polacek <polacek@redhat.com>
25121
25122 * libio/libio.h: Don't define _PARAMS.
25123 * locale/programs/config.h: Don't define PARAMS.
25124 * stdlib/strtol_l.c: Likewise.
25125 (__strtol_l): Remove PARAMS from the prototype.
25126
41b81892
UD
251272012-01-31 Ulrich Drepper <drepper@gmail.com>
25128
3b49edc0
UD
25129 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25130 names. Just use the correct names. Remove unnecessary wrapper
25131 functions.
25132 * malloc/arena.c: Likewise.
25133 * malloc/hooks.c: Likewise.
25134
41b81892
UD
25135 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25136 ARENA_TEST says not to. Simplify test for creation of a new arena.
25137 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25138
27a25b6e
UD
251392012-01-30 Ulrich Drepper <drepper@gmail.com>
25140
25141 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25142 into tail calls.
25143 (update_get_addr): New function.
25144 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25145 GET_ADDR_MODULE parameter.
25146
c8a89e7d
JM
251472012-01-30 Joseph Myers <joseph@codesourcery.com>
25148
25149 * crypt/cert.c: Remove __STDC__ conditionals.
25150 * crypt/crypt-entry.c: Likewise.
25151 * crypt/crypt_util.c: Likewise.
25152 * libio/filedoalloc.c: Likewise.
25153 * libio/fileops.c: Likewise.
25154 * libio/genops.c: Likewise.
25155 * libio/iofclose.c: Likewise.
25156 * libio/iofdopen.c: Likewise.
25157 * libio/iofopen.c: Likewise.
25158 * libio/iofopen64.c: Likewise.
25159 * libio/iogetdelim.c: Likewise.
25160 * libio/iopopen.c: Likewise.
25161 * libio/obprintf.c: Likewise.
25162 * libio/oldfileops.c: Likewise.
25163 * libio/oldiofclose.c: Likewise.
25164 * libio/oldiofdopen.c: Likewise.
25165 * libio/oldiofopen.c: Likewise.
25166 * libio/oldiopopen.c: Likewise.
25167 * libio/wfiledoalloc.c: Likewise.
25168 * libio/wgenops.c: Likewise.
25169 * locale/programs/xmalloc.c: Likewise.
25170 * misc/syslog.c: Likewise.
25171 * stdio-common/xbug.c: Likewise.
25172 * string/memchr.c: Likewise.
25173 * string/memcmp.c: Likewise.
25174 * string/memrchr.c: Likewise.
25175 * string/rawmemchr.c: Likewise.
25176 * sysdeps/posix/getcwd.c: Likewise.
25177 * time/strftime_l.c: Likewise.
25178
3b100462
JM
251792012-01-30 Joseph Myers <joseph@codesourcery.com>
25180
25181 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25182 * config.make.in (config-cflags-sse2avx): Define.
25183 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25184 Fix typo.
25185
607998af
CM
251862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25187
25188 * scripts/config.guess: Update from upstream config git repository.
25189 * scripts/config.sub: Likewise.
25190
3601428f
CM
251912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25192
3ac8b282
CM
25193 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25194 (EM_NUM): Update.
25195 (R_TILEPRO_*, R_TILEGX_*): New macros.
25196
e034841e
CM
25197 * scripts/firstversions.awk: Fix bug in version range handling.
25198
540d7568
CM
25199 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25200
3601428f
CM
25201 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25202
463de862
CM
25203 * include/sys/epoll.h: New file.
25204 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25205 libc_hidden_def.
25206
73139a76
UD
252072012-01-28 Ulrich Drepper <drepper@gmail.com>
25208
96bc5b45
UD
25209 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25210 Avoid unnecessary __WORDSIZE == 64 test.
25211 (fmaxf): Use VEX format if possible.
25212 (fmax): Likewise.
25213 (fminf): Likewise.
25214 (fmin): Likewise.
25215
56f6f6a2
UD
25216 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25217 * math/math_private.h: Remove libc_fegetround* and
25218 libc_fesetround*.
25219 * sysdeps/i386/configure.in: Check for -msse2avx.
25220 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25221 also if SSE2AVX is defined.
25222 Remove libc_fegetround* and libc_fesetround*.
25223 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25224 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25226 of HAS_YMM_USABLE.
25227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25228 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25229 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25230 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25232
73139a76
UD
25233 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25234
d73f93a4
AZ
252352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25236
25237 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25238 size is not set.
25239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25240
6ee65ed6
UD
252412012-01-27 Ulrich Drepper <drepper@gmail.com>
25242
25243 [BZ #13618]
25244 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25245 relocation.
25246 * Makeconfig (libm): Define.
25247 * elf/Makefile: Add rules to build and run tst-relsort1.
25248 * elf/tst-relsort1.c: New file.
25249 * elf/tst-relsort1mod1.c: New file.
25250 * elf/tst-relsort1mod2.c: New file.
25251
8db21882
JM
252522012-01-27 Joseph Myers <joseph@codesourcery.com>
25253
25254 * math/s_ldexp.c: Remove __STDC__ conditionals.
25255 * math/s_ldexpf.c: Likewise.
25256 * math/s_ldexpl.c: Likewise.
25257 * math/s_nextafter.c: Likewise.
25258 * math/s_nexttowardf.c: Likewise.
25259 * math/s_significand.c: Likewise.
25260 * math/s_significandf.c: Likewise.
25261 * math/s_significandl.c: Likewise.
25262 * math/w_jnl.c: Likewise.
25263 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25264 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25265 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25266 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25267 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25269 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25270 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25272 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25273 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25276 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25280 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25289 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25291 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25292 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25293 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25294 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25295 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25296 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25297 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25298 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25300 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25301 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25303 * sysdeps/ieee754/k_standard.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25365 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25379 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25383 * sysdeps/ieee754/s_matherr.c: Likewise.
25384 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25385 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25388
965a54a4
JM
253892012-01-26 Joseph Myers <joseph@codesourcery.com>
25390
25391 * crypt/md5.h: Remove __STDC__ conditionals.
25392 * libio/libioP.h: Likewise.
25393 * locale/programs/config.h: Likewise.
25394 * sysdeps/generic/sysdep.h: Likewise.
25395 * sysdeps/i386/asm-syntax.h: Likewise.
25396 * sysdeps/s390/asm-syntax.h: Likewise.
25397 * sysdeps/unix/sysdep.h: Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25400
7071ad79
JM
254012012-01-26 Joseph Myers <joseph@codesourcery.com>
25402
25403 * libio/libio.h: Remove __STDC__ conditionals.
25404 * malloc/obstack.h: Likewise.
25405 * math/complex.h: Likewise.
25406 * math/math.h: Likewise.
25407 * sysdeps/generic/_G_config.h: Likewise.
25408 * sysdeps/gnu/_G_config.h: Likewise.
25409 * sysdeps/mach/hurd/_G_config.h: Likewise.
25410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25411 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25412 * sysdeps/sparc/bits/mathdef.h: Likewise.
25413
afc5ed09
UD
254142012-01-26 Ulrich Drepper <drepper@gmail.com>
25415
25416 [BZ #13583]
25417 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25418 Clean up HAS_* macros.
afc5ed09 25419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25420 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25421 possible.
25422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25423 HAS_AVX.
25424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25425 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25426 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25429
bdb6de1d
JM
254302012-01-25 Joseph Myers <joseph@codesourcery.com>
25431
25432 * elf/tst-unique3.cc (gets): Remove declaration.
25433 * elf/tst-unique3lib.cc (gets): Likewise.
25434 * elf/tst-unique3lib2.cc (gets): Likewise.
25435 * elf/tst-unique4.cc (gets): Likewise.
25436
b15549e6
UD
254372012-01-24 Ulrich Drepper <drepper@gmail.com>
25438
25439 * include/stdio.h: Add C++ protection. Add gets declarations and
25440 definitions.
25441 * debug/tst-chk1.c: Don't declare gets here.
25442 * stdio-common/tst-gets.c: Likewise.
25443
a037381f
JM
254442012-01-24 Joseph Myers <joseph@codesourcery.com>
25445
25446 * posix/glob: Remove directory.
25447
f1d4aa75
JM
254482012-01-24 Joseph Myers <joseph@codesourcery.com>
25449
25450 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25451
81c0c964
PT
254522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25453
25454 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25455 of the non-standard EPFNOSUPPORT.
25456
0ea698ae
ST
254572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25458
25459 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25460 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25461 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25462
d220b117
UD
254632012-01-21 Ulrich Drepper <drepper@gmail.com>
25464
25465 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25466
3e1aa84e
UD
254672012-01-20 Ulrich Drepper <drepper@gmail.com>
25468
25469 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25470 transient errors.
25471 * nscd/grpcache.c (cache_addgr): Likewise.
25472 * nscd/hstcache.c (cache_addhst): Likewise.
25473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25474 * nscd/pwdcache.c (cache_addpw): Likewise.
25475 * nscd/servicescache.c (cache_addserv): Likewise.
25476
400aa020
UD
254772012-01-16 Ulrich Drepper <drepper@gmail.com>
25478
d77e7869
UD
25479 * malloc/malloc.c: Various cleanups.
25480 * malloc/hooks.c: Likewise.
25481
400aa020
UD
25482 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25483 * stdlib/bug-fmtmsg1.c: New file.
25484
25485 * stdlib/fmtmsg.c (init): Add missing unlock.
25486 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25487
e0a309cf
MP
254882012-01-12 Marek Polacek <polacek@redhat.com>
25489
25490 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25491 and _GNU_SOURCE.
25492
929d11c7
WS
254932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25494
25495 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25496 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25497 macro to ensure uniqueness of label name.
25498 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25499 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25500
41d0e869
UD
255012012-01-11 Ulrich Drepper <drepper@gmail.com>
25502
0cc5ed3b
UD
25503 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25504
41d0e869
UD
25505 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25506 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25507 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25509
a47a831a
UD
255102012-01-10 Ulrich Drepper <drepper@gmail.com>
25511
daa891c0
UD
25512 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25513
25514 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25515 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25516 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25517
e58ef0f2
UD
25518 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25519
a47a831a 25520 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25521 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25524
25525 * math/bits/math-finite.h: Add ldexp support.
25526
a0bfc9c7
MP
255272012-01-10 Marek Polacek <polacek@redhat.com>
25528
25529 * locale/programs/localedef.h (show_archive_content): Add noreturn
25530 attribute.
25531
d6e97a1d
UD
255322012-01-09 Ulrich Drepper <drepper@gmail.com>
25533
25534 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25535
d5835c26
UD
255362012-01-08 Ulrich Drepper <drepper@gmail.com>
25537
e5f484c6
UD
25538 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25539
d5835c26
UD
25540 * io/Makefile (headers): Add bits/poll2.h.
25541
d1f741e9
WS
255422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25543
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25545 typo #include statement.
25546
ec09c1c4
UD
255472012-01-08 Ulrich Drepper <drepper@gmail.com>
25548
25549 * include/sys/cdefs.h: Define __attribute_alloc_size.
25550 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25551 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25552 * elf/pldd.c: Likewise.
25553 * iconv/iconv_charmap.c: Likewise.
25554 * iconv/iconvconfig.c: Likewise.
25555 * iconv/strtab.c: Likewise.
25556 * locale/programs/locale.c: Likewise.
25557 * locale/programs/localedef.h: Likewise.
25558 * locale/programs/simple-hash.c: Likewise.
25559 * nscd/nscd.h: Likewise.
25560 * nss/makedb.c: Likewise.
25561 * sysdeps/generic/ldconfig.h: Likewise.
25562 * locale/programs/localedef.c: Remove xmalloc prototype.
25563 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25564
20b38e03
PP
255652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25566
25567 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25568 appropriate.
25569
a0da5fe1
UD
255702012-01-08 Ulrich Drepper <drepper@gmail.com>
25571
1d5a644a 25572 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25573 * math/tst-CMPLX.c: New file.
1d5a644a 25574
8784a6db
UD
25575 * math/complex.h (CMPLXL): Fix typo.
25576
d9a216c0
UD
25577 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25578 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25579 GLIBC_2.16.
25580 * debug/tst-chk1.c: Add poll and ppoll tests.
25581 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25582 * include/sys/poll.h: Add hidden proto for ppoll.
25583 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25584 * sysdeps/mach/hurd/ppoll.c: Likewise.
25585 * io/ppoll.c: Likewise.
25586 * debug/poll_chk.c: New file.
25587 * debug/ppoll_chk.c: New file.
25588 * include/bits/poll2.h: New file.
25589 * io/bits/poll2.h: New file.
25590
ac097f5c
UD
25591 [BZ #1350]
25592 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25593
2119dcfa
UD
25594 * configure.in: static is always set to yes. Remove.
25595 * config.make.in: Don't set build-static.
25596 * Makeconfig: Remove use of build-static.
25597 * dlfcn/Makefile: Likewise.
25598 * elf/Makefile: Likewise.
25599 * math/Makefile: Likewise.
25600 * misc/Makefile: Likewise.
25601 * nptl/Makefile: Likewise.
25602 * sysdeps/mach/hurd/Makefile: Likewise.
25603
121766a9
UD
25604 * configure.in: PWD_P is not used anymore.
25605 * config.make.in: Remove PWD_P entry.
25606
51a1d39c 25607 * configure.in: Remove last remnants of RANLIB.
8720d066 25608 No need to check for signed size_t anymore.
215f4bdc
UD
25609 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25610 and IA-64.
3857022a 25611 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25612 * aclocal.m4: Likewise.
25613
d3ed7225
UD
25614 * wcsmbs/mbrtoc16.c: Implement using towc function.
25615 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25616 * wcsmbs/wcsmbsload.c: Likewise.
25617 * iconv/gconv_simple.c: Likewise.
25618 * iconv/gconv_int.h: Likewise.
25619 * iconv/gconv_builtin.h: Likewise.
25620 * iconv/iconv_prog.c: Remove CHAR16 handling.
25621
25622 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25623
25624 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25625
a0da5fe1
UD
25626 * configure.in: Remove --with-elf and --enable-bounded options.
25627 Dont set base_machine for ia64. More non-ELF conditions removed.
25628 Remove testing and setting of leading underscore information.
25629 * config.make.in (build-bounded): Set to no.
25630 * config.h.in: Remove NO_UNDERSCORES entry.
25631 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25632 them.
25633 * csu/start.c: Remove !NO_UNDERSCORE code.
25634 * locale/localeinfo.h: Likewise.
25635 * sysdeps/generic/machine-gmon.h: Likewise.
25636 * sysdeps/generic/sysdep.h: Likewise.
25637 * sysdeps/i386/sysdep.h: Likewise.
25638 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25639 * sysdeps/mach/sysdep.h: Likewise.
25640 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25642 * sysdeps/sh/sysdep.h: Likewise.
25643 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25644 * sysdeps/unix/i386/sysdep.S: Likewise.
25645 * sysdeps/unix/sparc/start.c: Likewise.
25646 * sysdeps/unix/sparc/sysdep.S: Likewise.
25647 * sysdeps/unix/sparc/sysdep.h: Likewise.
25648 * sysdeps/unix/start.c: Likewise.
25649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25650 * sysdeps/x86_64/sysdep.h: Likewise.
25651
df78418a
UD
256522012-01-07 Ulrich Drepper <drepper@gmail.com>
25653
a784e502
UD
25654 [BZ #13553]
25655 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25656 for non-gcc.
25657 * argp/argp-fmtstream.h: Use const instead __const.
25658 * argp/argp.h: Likewise.
25659 * assert/assert.h: Likewise.
25660 * bits/fenv.h: Likewise.
25661 * bits/sched.h: Likewise.
25662 * bits/sigset.h: Likewise.
25663 * bits/sigthread.h: Likewise.
25664 * catgets/nl_types.h: Likewise.
25665 * conform/data/pthread.h-data: Likewise.
25666 * crypt/crypt-private.h: Likewise.
25667 * crypt/crypt.h: Likewise.
25668 * crypt/crypt_util.c: Likewise.
25669 * ctype/ctype.h: Likewise.
25670 * debug/execinfo.h: Likewise.
25671 * debug/mbsnrtowcs_chk.c: Likewise.
25672 * debug/mbsrtowcs_chk.c: Likewise.
25673 * debug/wcsnrtombs_chk.c: Likewise.
25674 * debug/wcsrtombs_chk.c: Likewise.
25675 * debug/wcstombs_chk.c: Likewise.
25676 * dirent/dirent.h: Likewise.
25677 * dlfcn/dlfcn.h: Likewise.
25678 * elf/neededtest4.c: Likewise.
25679 * grp/grp.h: Likewise.
25680 * gshadow/gshadow.h: Likewise.
25681 * iconv/gconv.h: Likewise.
25682 * iconv/gconv_int.h: Likewise.
25683 * iconv/gconv_simple.c: Likewise.
25684 * iconv/iconv.h: Likewise.
25685 * iconv/loop.c: Likewise.
25686 * iconv/skeleton.c: Likewise.
25687 * include/aio.h: Likewise.
25688 * include/aliases.h: Likewise.
25689 * include/argz.h: Likewise.
25690 * include/arpa/inet.h: Likewise.
25691 * include/assert.h: Likewise.
25692 * include/dirent.h: Likewise.
25693 * include/dlfcn.h: Likewise.
25694 * include/execinfo.h: Likewise.
25695 * include/fcntl.h: Likewise.
25696 * include/fenv.h: Likewise.
25697 * include/glob.h: Likewise.
25698 * include/grp.h: Likewise.
25699 * include/libintl.h: Likewise.
25700 * include/mntent.h: Likewise.
25701 * include/netdb.h: Likewise.
25702 * include/pwd.h: Likewise.
25703 * include/rpc/netdb.h: Likewise.
25704 * include/sched.h: Likewise.
25705 * include/search.h: Likewise.
25706 * include/shadow.h: Likewise.
25707 * include/signal.h: Likewise.
25708 * include/stdio.h: Likewise.
25709 * include/stdlib.h: Likewise.
25710 * include/string.h: Likewise.
25711 * include/sys/socket.h: Likewise.
25712 * include/sys/stat.h: Likewise.
25713 * include/sys/statfs.h: Likewise.
25714 * include/sys/statvfs.h: Likewise.
25715 * include/sys/syslog.h: Likewise.
25716 * include/sys/time.h: Likewise.
25717 * include/sys/uio.h: Likewise.
25718 * include/time.h: Likewise.
25719 * include/unistd.h: Likewise.
25720 * include/utmp.h: Likewise.
25721 * include/wchar.h: Likewise.
25722 * include/wctype.h: Likewise.
25723 * inet/aliases.h: Likewise.
25724 * inet/arpa/inet.h: Likewise.
25725 * inet/netinet/ether.h: Likewise.
25726 * inet/netinet/in.h: Likewise.
25727 * intl/libintl.h: Likewise.
25728 * io/bits/fcntl2.h: Likewise.
25729 * io/fcntl.h: Likewise.
25730 * io/ftw.h: Likewise.
25731 * io/sys/poll.h: Likewise.
25732 * io/sys/stat.h: Likewise.
25733 * io/sys/statfs.h: Likewise.
25734 * io/sys/statvfs.h: Likewise.
25735 * io/utime.h: Likewise.
25736 * libio/bits/stdio.h: Likewise.
25737 * libio/bits/stdio2.h: Likewise.
25738 * libio/libio.h: Likewise.
25739 * libio/libioP.h: Likewise.
25740 * libio/stdio.h: Likewise.
25741 * locale/lc-ctype.c: Likewise.
25742 * locale/locale.h: Likewise.
25743 * login/utmp.h: Likewise.
25744 * malloc/arena.c: Likewise.
25745 * malloc/malloc.c: Likewise.
25746 * malloc/malloc.h: Likewise.
25747 * malloc/mcheck.c: Likewise.
25748 * malloc/mtrace.c: Likewise.
25749 * math/bits/mathcalls.h: Likewise.
25750 * math/fenv.h: Likewise.
25751 * math/math_private.h: Likewise.
25752 * misc/bits/error.h: Likewise.
25753 * misc/bits/syslog.h: Likewise.
25754 * misc/err.h: Likewise.
25755 * misc/error.h: Likewise.
25756 * misc/fstab.h: Likewise.
25757 * misc/mntent.h: Likewise.
25758 * misc/regexp.h: Likewise.
25759 * misc/search.h: Likewise.
25760 * misc/sgtty.h: Likewise.
25761 * misc/sys/mman.h: Likewise.
25762 * misc/sys/syslog.h: Likewise.
25763 * misc/sys/uio.h: Likewise.
25764 * misc/sys/xattr.h: Likewise.
25765 * misc/ttyent.h: Likewise.
25766 * nis/rpcsvc/ypclnt.h: Likewise.
25767 * nss/nss.h: Likewise.
25768 * posix/bits/unistd.h: Likewise.
25769 * posix/fnmatch.h: Likewise.
25770 * posix/glob.h: Likewise.
25771 * posix/sched.h: Likewise.
25772 * posix/spawn.h: Likewise.
25773 * posix/sys/wait.h: Likewise.
25774 * posix/unistd.h: Likewise.
25775 * posix/wordexp.h: Likewise.
25776 * pwd/pwd.h: Likewise.
25777 * resolv/netdb.h: Likewise.
25778 * resource/sys/resource.h: Likewise.
25779 * rt/aio.h: Likewise.
25780 * rt/bits/mqueue2.h: Likewise.
25781 * rt/mqueue.h: Likewise.
25782 * shadow/shadow.h: Likewise.
25783 * signal/signal.h: Likewise.
25784 * socket/send.c: Likewise.
25785 * socket/sendto.c: Likewise.
25786 * socket/sys/socket.h: Likewise.
25787 * stdio-common/printf.h: Likewise.
25788 * stdlib/bits/stdlib.h: Likewise.
25789 * stdlib/fmtmsg.h: Likewise.
25790 * stdlib/monetary.h: Likewise.
25791 * stdlib/stdlib.h: Likewise.
25792 * stdlib/ucontext.h: Likewise.
25793 * streams/stropts.h: Likewise.
25794 * string/argz.h: Likewise.
25795 * string/bits/string2.h: Likewise.
25796 * string/string.h: Likewise.
25797 * string/strings.h: Likewise.
25798 * sunrpc/rpc/auth.h: Likewise.
25799 * sunrpc/rpc/auth_des.h: Likewise.
25800 * sunrpc/rpc/clnt.h: Likewise.
25801 * sunrpc/rpc/netdb.h: Likewise.
25802 * sunrpc/rpc/pmap_clnt.h: Likewise.
25803 * sunrpc/rpc/xdr.h: Likewise.
25804 * sysdeps/generic/inttypes.h: Likewise.
25805 * sysdeps/generic/net/if.h: Likewise.
25806 * sysdeps/generic/sys/swap.h: Likewise.
25807 * sysdeps/gnu/net/if.h: Likewise.
25808 * sysdeps/gnu/utmpx.h: Likewise.
25809 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25810 * sysdeps/i386/i486/bits/string.h: Likewise.
25811 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25812 * sysdeps/s390/bits/string.h: Likewise.
25813 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25814 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25815 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25816 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25817 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25818 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25819 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25820 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25821 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25822 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25823 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25824 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25825 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25826 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25827 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25828 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25829 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25834 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25835 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25836 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25837 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25838 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25839 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25840 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25841 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25842 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25843 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25844 * sysvipc/sys/ipc.h: Likewise.
25845 * sysvipc/sys/msg.h: Likewise.
25846 * sysvipc/sys/sem.h: Likewise.
25847 * sysvipc/sys/shm.h: Likewise.
25848 * termios/termios.h: Likewise.
25849 * time/sys/time.h: Likewise.
25850 * time/time.h: Likewise.
25851 * wcsmbs/bits/wchar2.h: Likewise.
25852 * wcsmbs/uchar.h: Likewise.
25853 * wcsmbs/wchar.h: Likewise.
25854 * wctype/wctype.h: Likewise.
25855
0269750c
UD
25856 [BZ #13551]
25857 * Makeconfig: Remove all but ELF support including AIX support.
25858 * Makerules: Likewise.
25859 * config.h.in: Likewise.
25860 * config.make.in: Likewise.
25861 * configure: Likewise.
25862 * configure.in: Likewise.
25863 * csu/Makefile: Likewise.
25864 * csu/version.c: Likewise.
25865 * debug/Makefile: Likewise.
25866 * dlfcn/Makefile: Likewise.
25867 * elf/Makefile: Likewise.
25868 * extra-lib.mk: Likewise.
25869 * iconv/Makefile: Likewise.
25870 * include/libc-symbols.h: Likewise.
25871 * include/shlib-compat.h: Likewise.
25872 * resolv/Makefile: Likewise.
25873 * resolv/res_libc.c: Likewise.
25874 * rt/Makefile: Likewise.
25875 * sysdeps/i386/asm-syntax.h: Likewise.
25876 * sysdeps/i386/sysdep.h: Likewise.
25877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25878 * sysdeps/mach/sysdep.h: Likewise.
25879 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25880 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25881 * sysdeps/s390/asm-syntax.h: Likewise.
25882 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25883 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25884 * sysdeps/sh/sysdep.h: Likewise.
25885 * sysdeps/unix/sparc/sysdep.h: Likewise.
25886 * sysdeps/wordsize-32/divdi3.c: Likewise.
25887 * sysdeps/x86_64/sysdep.h: Likewise.
25888
00bbd29b
UD
25889 * argp/Versions: Remove _argp_unlock_xxx.
25890
25891 [BZ #13559]
25892 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25893 * abilist/libBrokenLocale.abilist: Likewise.
25894 * abilist/libanl.abilist: Likewise.
25895 * abilist/libc.abilist: Likewise.
25896 * abilist/libcrypt.abilist: Likewise.
25897 * abilist/libdl.abilist: Likewise.
25898 * abilist/libm.abilist: Likewise.
25899 * abilist/libnsl.abilist: Likewise.
25900 * abilist/libpthread.abilist: Likewise.
25901 * abilist/libresolv.abilist: Likewise.
25902 * abilist/librt.abilist: Likewise.
25903 * abilist/libthread_db.abilist: Likewise.
25904 * abilist/libutil.abilist: Likewise.
25905 * abilist/libnss_db.abilist: New file.
25906
25907 * scripts/abilist.awk: Add support for indirect functions.
25908
a2693a0e
UD
25909 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25910
3f05895f
UD
25911 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25912
ecb6fb48
UD
25913 * shlib-versions: Remove entries for ports architectures.
25914
664f8cb9
UD
25915 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25916 files in ports.
25917 * elf/stackguard-macros.h: Remove support for IA-64.
25918 * elf/tst-auditmod1.c: Likewise.
25919 * sysdeps/generic/ldsodefs.h: Likewise.
25920
7ae81d88
UD
25921 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25922 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25923 configure files.
25924
bdeba135
UD
25925 [BZ #13552]
25926 * configure.in: Remove --enable-omitfp support.
25927 * FAQ.in: Adjust.
25928 * config.make.in: Likewise.
25929 * Makeconfig: Likewise.
25930 * manual/install.texi: Likewise.
25931
d75a0a62
UD
25932 In case anyone cares, the IA-64 architecture could move to ports.
25933 * sysdeps/ia64/*: Removed.
25934 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25935 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25936
dcc9756b
UD
25937 [BZ #13555]
25938 * configure.in: Remove entries for unsupported architectures.
25939
d3761ebc 25940 [BZ #13533]
9954432e
UD
25941 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25942 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25943 routines.
25944 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25945 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25946 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25947 fall back to using wcrtomb.
25948 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25949 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25950 renaming.
25951 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25952 * wcsmbs/tst-c16c32-1.c: New file.
25953
25954 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25955 local variable.
25956
c3a87236
UD
25957 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25958
28926a1b
UD
25959 * elf/tst-unique3.cc: Add explicit declaration of gets.
25960 * elf/tst-unique3lib.cc: Likewise.
25961 * elf/tst-unique3lib2.cc: Likewise.
25962 * elf/tst-unique4.cc: Likewise.
25963
df78418a
UD
25964 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25965
8ecd6b2a
JM
259662012-01-06 Joseph Myers <joseph@codesourcery.com>
25967
25968 [BZ #13566]
25969 * assert/assert.h (static_assert): Don't define for C++.
25970 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25971 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25972
9f115170
UD
259732012-01-03 Ulrich Drepper <drepper@gmail.com>
25974
5e0d0300
UD
25975 * iconv/loop.c (single loop): Fix assertion in storing of
25976 remaining bytes.
25977
9f115170
UD
25978 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25979
81fb02b0
UD
259802012-01-01 Ulrich Drepper <drepper@gmail.com>
25981
25982 * posix/getconf.c: Update copyright year.
25983 * nss/getent.c: Likewise.
a316c1f6 25984 * nss/makedb.c: Likewise.
81fb02b0
UD
25985 * iconv/iconvconfig.c: Likewise.
25986 * iconv/iconv_prog.c: Likewise.
25987 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25988 * elf/pldd.c: Likewise.
25989 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25990 * catgets/gencat.c: Likewise.
25991 * csu/version.c: Likewise.
25992 * elf/ldd.bash.in: Likewise.
25993 * elf/sprof.c (print_version): Likewise.
25994 * locale/programs/locale.c: Likewise.
25995 * locale/programs/localedef.c: Likewise.
a316c1f6 25996 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25997 * nscd/nscd.c (print_version): Likewise.
25998 * debug/xtrace.sh: Likewise.
25999 * malloc/memusage.sh: Likewise.
26000 * malloc/mtrace.pl: Likewise.
26001 * debug/catchsegv.sh: Likewise.
26002
2ba92745
JJ
260032011-12-30 Jakub Jelinek <jakub@redhat.com>
26004
26005 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26006 pure attribute.
26007
dadebdae
UD
260082011-12-24 Ulrich Drepper <drepper@gmail.com>
26009
d3761ebc 26010 [BZ #13533]
db6af3eb
UD
26011 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26012 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26013 transformations.
26014 * iconv/gconv_int.h: Likewise.
26015 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26016 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26017 from libc for GLIBC_2.16.
26018 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26019 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26020 * wcsmbs/uchar.h: Really define mbstate_t.
26021 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26022 * wcsmbs/c16rtomb.c: New file.
26023 * wcsmbs/mbrtoc16.c: New file.
26024 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26025 for C/POSIX locale.
26026 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26027 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26028
dadebdae
UD
26029 * wcsmbs/wchar.h: Add missing __restrict.
26030
67371b56
UD
260312011-12-23 Ulrich Drepper <drepper@gmail.com>
26032
74033a25
UD
26033 [BZ #13532]
26034 * time/Makefile (routines): Add timespec_get.
26035 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26036 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26037 timespec for ISO C11.
26038 * time/timespec_get.c: New file.
26039 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26040 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26041
380d7e87
UD
26042 [BZ #13531]
26043 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26044 * stdlib/stdlib.h: Declare aligned_alloc.
26045 * Versions.def: Add GLIBC_2.16 for libc.
26046 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26047
4e9e7a35
UD
26048 [BZ 13527]
26049 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26050 ISO C11.
26051
380d7e87 26052 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26053 code.
26054
03a71829
UD
26055 [BZ #13528]
26056 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26057
839e283e
UD
26058 [BZ #13529]
26059 * assert/assert.h (static_assert): Define.
26060
ce5294e2 26061 * version.h: Update for 2.16 development version.
90fa7312 26062
8d44e150 26063 [BZ #13526]
d7809905
UD
26064 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26065 _ISOC11_SOURCE.
26066
c0da14cd
UD
26067 * version.h (RELEASE): Bump for 2.15 release.
26068 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26069
530a3249
MP
26070 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26071 Patch by Marek Polacek <mpolacek@redhat.com>.
26072
67371b56
UD
26073 * bits/byteswap.h: Protect long long constants with __extension__.
26074 * sysdeps/i386/bits/byteswap.h: Likewise.
26075 * sysdeps/ia64/bits/byteswap.h: Likewise.
26076 * sysdeps/s390/bits/byteswap.h: Likewise.
26077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26078
15db4de1
LD
260792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26080
26081 [BZ #13540]
bbe315ea
LD
26082 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26083 destination buffer.
15db4de1
LD
26084 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26085
2b2596b1
MP
260862011-12-23 Marek Polacek <polacek@redhat.com>
26087
26088 * elf/dl-addr.c (determine_info): Add inline keyword.
26089 * elf/tst-auditmod4b.c (check_avx): Likewise.
26090 * elf/tst-auditmod6b.c (check_avx): Likewise.
26091 * elf/tst-auditmod6c.c (check_avx): Likewise.
26092 * elf/tst-auditmod7b.c (check_avx): Likewise.
26093
70c6c246
UD
260942011-12-23 Ulrich Drepper <drepper@gmail.com>
26095
26096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26097 !__SSE_MATH__.
26098
c044cf14
LD
260992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26100
15db4de1 26101 [BZ #13540]
c044cf14
LD
26102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26103 processing for last bytes.
26104
6b13d9d9
BH
261052011-08-06 Bruno Haible <bruno@clisp.org>
26106
d455f537
BH
26107 [BZ #13061]
26108 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26109 U+0385, not to U+1FEE.
26110
6b13d9d9
BH
26111 [BZ #13062]
26112 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26113 entry for U+00A5 U+0301.
26114
db910efd
UD
261152011-12-22 Ulrich Drepper <drepper@gmail.com>
26116
27deeafc
UD
26117 [BZ #13166]
26118 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26119 buffer for the output is too small.
26120
aed9d171
UD
26121 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26122 optimization.
26123
db910efd
UD
26124 [BZ #13185]
26125 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26126 SSE flags if possible.
26127
2bd779ae
LD
261282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26129
e7f9dac3 26130 [BZ #13540]
2bd779ae
LD
26131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26132 processing for last bytes.
26133
154bfc16
JM
261342011-12-22 Joseph Myers <joseph@codesourcery.com>
26135
26136 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26137 (syscall-list-default-options, syscall-list-default-condition)
26138 (syscall-list-includes): Define.
26139 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26140 list of ABIs and options and #if conditions for each ABI. Do not
26141 handle common syscalls between ABIs specially.
26142 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26143 Remove.
26144 (syscall-list-variants, syscall-list-32bit-options)
26145 (syscall-list-32bit-condition, syscall-list-64bit-options)
26146 (syscall-list-64bit-condition): Define.
26147 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26148 (syscall-list-variants, syscall-list-32bit-options)
26149 (syscall-list-32bit-condition, syscall-list-64bit-options)
26150 (syscall-list-64bit-condition): Define.
26151 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26152 Remove.
26153 (syscall-list-variants, syscall-list-32bit-options)
26154 (syscall-list-32bit-condition, syscall-list-64bit-options)
26155 (syscall-list-64bit-condition): Define.
26156 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26157 Remove.
26158 (syscall-list-variants, syscall-list-32bit-options)
26159 (syscall-list-32bit-condition, syscall-list-64bit-options)
26160 (syscall-list-64bit-condition): Define.
26161
21eaf3a5
UD
261622011-12-22 Ulrich Drepper <drepper@gmail.com>
26163
16c6f992
UD
26164 * locale/iso-639.def: Add brx entry.
26165
41043168
UD
26166 [BZ #13328]
26167 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26168 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26169
21eaf3a5
UD
26170 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26171 __feraiseexcept_renamed.
26172
e3a851a2
UD
261732011-12-21 Ulrich Drepper <drepper@gmail.com>
26174
4920765e
UD
26175 [BZ #13538]
26176 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26177 EPOLLET with unsigned values.
26178 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26179 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26180
e3a851a2
UD
26181 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26182 to large cancellation.
26183 * math/s_cacoshf.c: Likewise.
26184 * math/s_cacoshl.c: Likewise.
26185
b27e24b8
RK
261862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26187
26188 [BZ #13305]
aebefeee 26189 [BZ #12786]
b27e24b8
RK
26190 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26191 * math/s_cacoshf.c: Likewise.
26192 * math/s_cacoshl.c: Likewise.
26193
ee190f67
UD
261942011-12-21 Ulrich Drepper <drepper@gmail.com>
26195
26196 [BZ #13439]
26197 * iconv/gconv.h: Define __GCONV_SWAP.
26198 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26199 * iconvdata/utf-16.c: Likewise.
26200 * iconvdata/utf-32.c: Likewise.
26201
707f25df
AS
262022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26203
26204 [BZ #13524]
26205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26206 numerator after shifting it by one limb.
26207
d2daaa1e
RÁE
262082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26209
26210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26211 under [__USE_EXTERN_INLINES].
26212
a4647e72
UD
262132011-12-17 Ulrich Drepper <drepper@gmail.com>
26214
26215 [BZ #13446]
26216 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26217
f0b264f1
AZ
262182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26219
26220 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26221 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26222 optimized code.
26223 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26224 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26225 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26226 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26227 for strncasecmp/strncasecmp_l compilation.
26228 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26229 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26230
8ef4f244
MP
262312011-12-08 Marek Polacek <mpolacek@redhat.com>
26232
26233 [BZ #13484]
26234 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26235 of __asm__.
26236
97ac2654
UD
262372011-12-17 Ulrich Drepper <drepper@gmail.com>
26238
26239 [BZ #13506]
26240 * time/tzfile.c (__tzfile_read): Check values from file header.
26241
91d2a845
WS
262422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26243
26244 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26245 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26246 * powerpc/powerpc32/dl-start.S: Likewise.
26247 * powerpc/powerpc32/elf/start.S: Likewise.
26248 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26249 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26250 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26251 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26252 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26253 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26254 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26255 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26256 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26257 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26258 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26259 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26260 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26261 * powerpc/powerpc32/memset.S: Likewise.
26262 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26263 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26264 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26265 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26266 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26267 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26268 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26269 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26270 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26271 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26272 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26275
a1267ba1
AZ
262762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26277
26278 * math/libm-test.inc: Added more nearbyint tests.
26279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26283
ad8ac1bd
RL
262842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26285
26286 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26287 FD_CLOEXEC.
26288
1d3e4b61
UD
262892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26290
26291 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26292 Add wcscpy-ssse3 wcscpy-c.
26293 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26294 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26295 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26296 * sysdeps/x86_64/wcschr.S: New file.
26297 * sysdeps/x86_64/wcsrchr.S: New file.
26298 * string/test-strcmp.c: Remove checking of wcscmp function for
26299 wrong alignments.
26300 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26301 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26302 wcsrchr-sse2 wcsrchr-c.
26303 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26304 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26305 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26306 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26307 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26308 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26309 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26310 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26311 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26312 * wcsmbc/wcschr.c (WCSCHR): New macro.
26313
5b330a2d
UD
263142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26315
26316 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26317 * wcsmbs/test-wcsrchr.c: New file.
26318 * string/test-strrchr.c: Add wcsrchr support.
26319 (WIDE): New macro.
26320 * wcsmbs/test-wcscpy.c: New file.
26321 * string/test-strcpy.c: Add wcscpy support.
26322 (WIDE): New macro.
26428b7c 26323
f039c043
UD
263242011-12-10 Ulrich Drepper <drepper@gmail.com>
26325
26326 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26327 the inner loop.
26328
850fb039
AS
263292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26330
26331 [BZ #13472]
26332 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26333
4efbd5cb
UD
263342011-12-04 Ulrich Drepper <drepper@gmail.com>
26335
52ff5dd0 26336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26337 Minor optimizations.
52ff5dd0 26338
4efbd5cb
UD
26339 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26340 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26341 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26342
8a426e12
UD
263432011-12-03 Ulrich Drepper <drepper@gmail.com>
26344
aff2453d
UD
26345 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26346 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26347 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26348 for gcc to avoid warnings.
26349 * inet/Makefile (tests): Add tst-checks.
26350 * inet/tst-checks.c: New file.
26351
26352 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26353 warning.
26354
26355 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26356 __wmemcmp_sse2.
26357
26358 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26359 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26360
8a426e12
UD
26361 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26362
9bea3473
UD
263632011-12-02 Ulrich Drepper <drepper@gmail.com>
26364
3a965496
UD
26365 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26366 problem.
26367
9bea3473
UD
26368 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26369
f101631b
UD
263702011-11-29 Joseph Myers <joseph@codesourcery.com>
26371
26372 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26373 conditional on GCC version.
26374 (__arch_compare_and_exchange_val_8_acq)
26375 (__arch_compare_and_exchange_val_16_acq)
26376 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26377 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26378 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26379
a98275aa
UD
263802011-12-02 Joseph Myers <joseph@codesourcery.com>
26381
26382 * sysdeps/sh/backtrace.c: New file.
26383
d4cc29a2
AS
263842011-12-02 Andreas Schwab <schwab@redhat.com>
26385
26386 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26387 parenthesis.
26388
6257af2d
AS
263892011-12-01 Andreas Schwab <schwab@redhat.com>
26390
26391 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26392 falling back to utime.
26393
b5f44c1a
AS
263942011-11-30 Andreas Schwab <schwab@redhat.com>
26395
26396 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26397 expectations for float.
26398
f3a6cc0a
AS
263992011-11-29 Andreas Schwab <schwab@redhat.com>
26400
26401 * locale/weight.h (findidx): Add parameter len.
26402 * locale/weightwc.h (findidx): Likewise.
26403 * posix/fnmatch_loop.c (FCT): Adjust caller.
26404 * posix/regcomp.c (build_equiv_class): Likewise.
26405 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26406 * posix/regexec.c (check_node_accept_bytes): Likewise.
26407 * string/strcoll_l.c (STRCOLL): Likewise.
26408 * string/strxfrm_l.c (STRXFRM): Likewise.
26409
9d65ea3a
UD
264102011-11-17 Ulrich Drepper <drepper@gmail.com>
26411
26412 * Makefile.in: Remove CVSOPT handling.
26413 * configure.in: Remove use of AC_REVISION.
26414 * iconvdata/Makefile (distribute): No need to filter out CVS.
26415 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26416 handling.
26417
5583a086
AS
264182011-11-16 Andreas Schwab <schwab@redhat.com>
26419
26420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26421 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26422 [USE_AS_STRNCASECMP_L]: Likewise.
26423 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26424 NO_TLS_DIRECT_SEG_REFS.
26425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26426 Fix argument offsets for non-PIC.
26427 [USE_AS_STRNCASECMP_L]: Likewise.
26428 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26429 NO_TLS_DIRECT_SEG_REFS.
26430
d62a8200
UD
264312011-11-15 Ulrich Drepper <drepper@gmail.com>
26432
9d65ea3a 26433 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26434 O_CLOEXEC.
26435 * locale/loadlocale.c (_nl_load_locale): Likewise.
26436
09f93bd3
AS
264372011-11-15 Andreas Schwab <schwab@redhat.com>
26438
446514f9
AS
26439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26440 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26441 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26442 (SYSCALL_GETTIME): Set errno on error.
26443
09f93bd3
AS
26444 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26445 count references to noai6ai_cached.
26446
312be3f9
UD
264472011-11-15 Ulrich Drepper <drepper@gmail.com>
26448
26449 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26450
26451 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26452 FD_CLOEXEC for /proc/self/maps.
26453
26454 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26455 FD_CLOEXEC for /proc/meminfo.
26456
26457 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26458 gai.conf.
26459
26460 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26461 FD_CLOEXEC for given file.
26462
26463 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26464
26465 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26466 FD_CLOEXEC for /etc/hosts.
26467 (_gethtent): Likewise.
26468
26469 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26470
26471 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26472 cancellation and set FD_CLOEXEC for /etc/netgroup.
26473
26474 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26475 reading /etc/publickey.
26476
26477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26478 allow cancellation when reading /etc/group.
26479
26480 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26481 cancellation.
26482 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26483
26484 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26485 when using data file.
26486
26487 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26488
26489 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26490 (write_nis_obj): Use "c" and "e" in fopen.
26491
26492 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26493
26494 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26495
26496 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26497
26498 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26499
26500 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26501 locale.alias.
26502
26503 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26504
26505 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26506
26507 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26508
26509 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26510 file parsing and set FD_CLOEXEC.
26511
82af0fa8
UD
265122011-11-14 Ulrich Drepper <drepper@gmail.com>
26513
26514 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26515
a5fb313c
AS
265162011-11-14 Andreas Schwab <schwab@redhat.com>
26517
26518 * malloc/arena.c (arena_get2): Don't call reused_arena when
26519 _int_new_arena failed.
26520
6abf3465
UD
265212011-11-14 Ulrich Drepper <drepper@gmail.com>
26522
26523 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26524 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26525 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26526 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26528 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26529 to compile strcasecmp and strncasecmp.
26530 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26531 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26532
26533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26534
76e3966e
UD
265352011-11-13 Ulrich Drepper <drepper@gmail.com>
26536
26537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26538 locale-defines.sym to gen-as-const-headers.
26539 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26540 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26542 to compile strcasecmp and strncasecmp.
26543 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26544 strcasecmp_l and strncasecmp_l.
26545 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26546 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26547 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26548 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26549 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26550 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26551 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26552 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26553 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26554 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26555 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26556
ab26144e
UD
265572011-11-12 Ulrich Drepper <drepper@gmail.com>
26558
7edb22ef
UD
26559 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26560 result of SYSDEP_GETTIME_CPU to retval.
26561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26562 parameter list to macro. Remove trailing semicolon. Adjust users.
26563
9694fc44
UD
26564 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26565 variable.
26566
8ad89ef8
UD
26567 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26568 mantissa words.
26569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26570
0c822ef9
UD
26571 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26572 from unused variable.
26573
874e0564
UD
26574 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26575 DWARF definitions.
26576 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26577 for assembling.
26578
3a2edc79
UD
26579 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26580 over namespaces.
26581
f3c2577f
UD
26582 * sunrpc/rpc_prot.c (rejected): Fix case value.
26583
294ce126
UD
26584 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26585 unsigned long long int to avoid warnings in shift.
26586
5e2b63c6
UD
26587 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26588 of use of trans.
26589 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26590 variable tmp.
26591
e7f4b08e
UD
26592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26593 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26594 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26595
ab26144e
UD
26596 * nis/nis_table.c (nis_list): Use variable of correct type for
26597 result of __follow_path call.
26598
8a6d5255
AZ
265992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26600
26601 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26602 of math functions ceil, trunc, floor, round, and sqrt, when
26603 avaliable on the platform.
26604 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26605 name clash.
26606 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26607 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26608 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26609
aaddc98c
MP
266102011-10-30 Marek Polacek <mpolacek@redhat.com>
26611
26612 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26613 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26614
95b7042b
RM
266152011-11-11 Roland McGrath <roland@hack.frob.com>
26616
26617 * include/unistd.h: Fix __readlink return type.
26618 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26619
57769839
UD
266202011-11-11 Ulrich Drepper <drepper@gmail.com>
26621
26622 * stdlib/ucontext.h: Undo last change for makecontext.
26623
edc5984d
AS
266242011-11-11 Andreas Schwab <schwab@redhat.com>
26625
98591e58
AS
26626 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26627
edc5984d
AS
26628 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26629 * setjmp/setjmp.h: Mark functions as non-leaf.
26630 * setjmp/bits/setjmp2.h: Likewise.
26631 * stdlib/ucontext.h: Likewise.
26632
77cdc054
AS
266332011-11-10 Andreas Schwab <schwab@redhat.com>
26634
26635 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26636 (reused_arena): Don't check arena limit.
26637 (arena_get2): Atomically check arena limit.
26638
fe72eebd
UD
266392011-11-08 Ulrich Drepper <drepper@gmail.com>
26640
5f078c32
UD
26641 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26642 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26643
fe72eebd
UD
26644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26645 instructions.
26646
ae1bc2fa
AS
266472011-11-07 Andreas Schwab <schwab@redhat.com>
26648
7583a88d
AS
26649 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26650 handler when locking.
26651
ae1bc2fa
AS
26652 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26653 Fix size of allocated buffer.
26654
10fb0bfa
AS
266552011-11-04 Andreas Schwab <schwab@redhat.com>
26656
998832a4
AS
26657 [BZ #10103]
26658 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26659 declarations for long double functions.
26660 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26661
10fb0bfa
AS
26662 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26663
3d7ba52b
AS
266642011-11-03 Andreas Schwab <schwab@redhat.com>
26665
a9ae54a1
AS
26666 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26667 installed.
26668
3d7ba52b
AS
26669 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26670 is disabled.
26671
bc8db248
ST
266722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26673
26674 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26675
45b96dd6
AS
266762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26677
647776f6
AS
26678 * include/alloca.h (stackinfo_alloca_round): Define.
26679 (extend_alloca): Use it.
26680 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26681 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26682 here.
26683
d91a8b93
AS
26684 * scripts/check-local-headers.sh: Ignore libaudit.h.
26685
45b96dd6
AS
26686 * nscd/Makefile (extra-objs): Make recursively expanded.
26687
432d41ce
UD
266882011-11-01 Ulrich Drepper <drepper@gmail.com>
26689
34372fc6
UD
26690 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26692
fadb59f8
UD
26693 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26694 * posix/tst-rfc3484-2.c: Likewise.
26695 * posix/tst-rfc3484-3.c: Likewise.
26696
78239589
UD
26697 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26698 process_vm_writev.
26699 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26700 process_vm_writev.
26701 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26702 process_vm_writev from libc using GLIBC_2.15 version.
26703
432d41ce
UD
26704 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26705
02f9c6cf
PP
267062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26707
26708 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26709 stack usage.
26710
3a2c0242
UD
267112011-10-31 Ulrich Drepper <drepper@gmail.com>
26712
f4ec4833
UD
26713 [BZ #13367]
26714 * nss/getent.c (initgroups_keys): Show error message in case no group
26715 names are given.
26716
3a2c0242
UD
26717 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26718 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26719 __bump_nl_timestamp.
26720 * nscd/connections (nscd_init): When host database is served open
26721 netlink socket and request notification about configuration changes.
26722 (main_loop_poll): Track netlink file descriptor and bump timestamp
26723 in case data becomes available.
26724 (main_loop_epoll): Likewise.
26725 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26726 (database_pers_head): Add extra_data fileds.
26727 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26728 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26729 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26730 Adjust caller.
26731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26732 in6ai data, call __free_in6ai.
26733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26734 Add -DHAVE_NETLINK.
26735 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26736 interface information. Reuse previous data if netlink timestamp
26737 is not changed.
26738 (__bump_nl_timestamp): New function.
26739 (__free_in6ai): New function.
26740
636064eb
UD
267412011-10-30 Ulrich Drepper <drepper@gmail.com>
26742
26743 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26744 close_not_cancel_no_status here.
26745 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26746
9beb2334
UD
267472011-10-29 Ulrich Drepper <drepper@gmail.com>
26748
6ef76f3b
UD
26749 [BZ #13276]
26750 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26751 return value.
26752
0ffc4f3e 26753 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26754 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26755 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26756
cb95113e
UD
267572011-07-03 Andreas Jaeger <aj@suse.de>
26758
26759 [BZ #10709]
26760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26761 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26762 * math/libm-test.inc (sin_test): Add test case.
26763
a1b560ff
UD
267642011-10-29 Ulrich Drepper <drepper@gmail.com>
26765
c9aaface
UD
26766 [BZ #13337]
26767 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26768 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26769
d272e7f1
UD
26770 * elf/chroot_canon.c (chroot_canon): Cleanups.
26771
1bc33071
UD
26772 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26773
1760874d
TJ
26774 [BZ #13335]
26775 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26776 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26777
51d91b18
UD
26778 * string/test-strchr.c: Make usable for strchrnul testing.
26779 * string/test-strchrnul.c: New file.
26780 * string/Makefile (strop-tests): Add strchrnul.
26781
a1b560ff 26782 * po/it.po: Update from translation team.
b611fb81 26783 * po/es.po: Likewise.
a1b560ff 26784
a5b81e1f
UD
267852011-10-28 Ulrich Drepper <drepper@gmail.com>
26786
fd52bc6d
UD
26787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26788 the three constants needed as parameters. Drop the others.
26789 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26790 __m128i_strloadu_tolower.
52e4b9eb
UD
26791 Create and initialize variable zero and use it in all the places
26792 where _mm_setzero_si128 was used.
fd52bc6d 26793
a5b81e1f
UD
26794 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26795 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26796 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26798 anymore.
26799 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26800 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26801 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26802 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26803 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26804 __mpranred, __mptan.
26805 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26806 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26807 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26808 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26809 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26810 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26812 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26814
b4343346
AS
268152011-10-28 Andreas Schwab <schwab@redhat.com>
26816
0c92d8a8
AS
26817 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26818 redefine if SHARED.
26819 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26820
b4343346
AS
26821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26822 wide char related routines to wcsmbs subdir.
26823
3871f58f
AS
268242011-10-27 Andreas Schwab <schwab@redhat.com>
26825
26826 [BZ #13344]
26827 * misc/sys/cdefs.h (__THROWNL): Define.
26828 * posix/unistd.h: Use __THREADNL instead of __THREAD
26829 for memory synchronization functions.
26830
94d44d9f
RM
268312011-10-26 Roland McGrath <roland@hack.frob.com>
26832
21b64b15 26833 [BZ #13349]
94d44d9f
RM
26834 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26835 doesn't exist.
26836 * manual/stdio.texi (Obstack Streams): Node removed.
26837
f6ce9294
AS
268382011-10-26 Andreas Schwab <schwab@redhat.com>
26839
80479147
AS
26840 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26841 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26843
f6ce9294
AS
26844 * math/math_private.h (math_force_eval): Allow non-addressable
26845 arguments.
26846 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26847
618280a1
UD
268482011-10-25 Ulrich Drepper <drepper@gmail.com>
26849
e0016b11
UD
26850 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26851 file is not needed.
26852
26853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26854 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26860 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26861 Add AVX variants.
26862 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26863 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26864 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26865 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26866 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26867 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26868 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26869 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26870 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26872 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26876 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26877 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26879 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26880 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26881
26882 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26883 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26884
618280a1
UD
26885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26886 place. Use VEX encoding when compiling for AVX.
26887
37822576
AS
268882011-10-25 Andreas Schwab <schwab@redhat.com>
26889
1f1e1947
AS
26890 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26891 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26892
37822576
AS
26893 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26894
31ea014d
UD
268952011-10-25 Ulrich Drepper <drepper@gmail.com>
26896
d7826aa1 26897 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26898 useless if() expression.
d7826aa1
UD
26899 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26908 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26909 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26910 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26911 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26912 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26913 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26914 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26917 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26918
31ea014d
UD
26919 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26920
16437fec
AS
269212011-10-25 Andreas Schwab <schwab@redhat.com>
26922
26923 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26924 condition.
26925 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26926
31d3cc00
UD
269272011-10-25 Ulrich Drepper <drepper@gmail.com>
26928
26929 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26930 .text section. Avoid duplicate constants.
26931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26933 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26939 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26943 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26944 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26946 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26948 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26949 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26951 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26952 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26954 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26955 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26956 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26957 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26958 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26959 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26961 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26962 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26964 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26965 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26966 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26967 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26969 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26970 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26972 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26973 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26974 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26975 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26976
58985aa9
UD
269772011-10-24 Ulrich Drepper <drepper@gmail.com>
26978
202c9deb
UD
26979 * sysdeps/x86_64/dla.h: Move to ...
26980 * sysdeps/x86_64/fpu/dla.h: ...here.
26981 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26982 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26983
af968f62
UD
26984 * config.make.in: Add have-mfma4 entry.
26985 * configure.in: Substitute libc_cv_cc_fma4.
26986 * math/Makefile (dbl-only-routines): Add sincostab.
26987 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26988 Use __sincostab not sincos.
26989 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26990 name is a macro.
26991 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26995 using __copysign.
26996 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26997 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26998 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26999 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27000 and __inv.
27001 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27002 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27003 __copysign.
27004 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27005 define aliases when function name is a macro.
27006 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27007 sysdeps/ieee754/dbl-64/sincos.tbl.
27008 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27009 fma4-enabled routines.
27010 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27011 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27012 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27013 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27014 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27015 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27017 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27020 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27021 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27022 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27023 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27024 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27025 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27026 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27027 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27028 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27030 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27031 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27033 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27040
58985aa9
UD
27041 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27042 rename.
27043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27051
a201fbcf
AS
270522011-10-24 Andreas Schwab <schwab@redhat.com>
27053
27054 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27055
fc2ee42a
LD
270562011-10-23 Ulrich Drepper <drepper@gmail.com>
27057
bb3129bd
UD
27058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27059
0275fff8
UD
27060 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27061 prediction.
27062 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27063
2fa2ae85
UD
27064 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27065 Remove unused variable magic_bits.
27066 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27067
fc2ee42a
LD
27068 * string/strnlen.c: Define and use STRNLEN macro.
27069 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27070 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27072 * wcsmbs/wcslen.c: Define and use WCSLEN.
27073 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27074 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27075 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27076 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27077 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27078 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27079 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27080
ce7dd29f
LD
270812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27082
27083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27084 strnlen-sse2-no-bsf.
27085 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27087 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27088 Add strnlen support.
27089 (USE_AS_STRNLEN): New macro.
27090 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27092 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27093 * sysdeps/x86_64/wcslen.S: New file.
27094
979c70a3
MZ
270952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27096
27097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27098 XMM-moves are used for copying on small sizes.
27099
2d09f82f
LD
271002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27101
27102 * wcsmbs/Makefile (strop-tests): Add wcschr.
27103 * wcsmbs/test-wcschr.c: New file.
27104 * string/test-strchr.c: Update.
27105 Add wcschr support.
27106 (WIDE): New macro.
27107
619fccca
LD
271082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27109
2d09f82f 27110 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27111 * wcsmbs/test-wcslen.c: New file.
27112 * string/test-strlen.c: Update.
27113 Add wcslen support.
27114 (WIDE): New macro.
27115
09f699ea
UD
271162011-10-23 Ulrich Drepper <drepper@gmail.com>
27117
27118 * po/it.po: Update from translation team.
27119
95584d3b
LD
271202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27121
27122 * sysdeps/x86_64/wcscmp.S: Update.
27123 Fix wrong comparison semantics.
27124 wcscmp shall use signed comparison not unsigned.
27125 Don't use substraction to avoid overflow bug.
27126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27127 * wcsmbc/wcscmp.c: Likewise.
27128 * string/test-strcmp.c: Likewise.
27129 Add new tests to check cases with negative values.
27130
c8b3296b
UD
271312011-10-23 Ulrich Drepper <drepper@gmail.com>
27132
27133 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27134 * sysdeps/x86_64/dla.h: ...here. New file.
27135 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27144
246ad57a
AS
271452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27146
27147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27148 __ynl_finite aliases.
27149
a1a87169
UD
271502011-10-22 Ulrich Drepper <drepper@gmail.com>
27151
0d355eb7
UD
27152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27153
a1a87169
UD
27154 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27155 define DLA_FMA.
27156 [DLA_FMA] (EMULV): Use DLA_FMA.
27157 [DLA_FMA] (MUL12): Use EMULV.
27158 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27159 that are not needed.
27160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27167
ee2aafe0
AS
271682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27169
27170 * math/s_nan.c: Undef __nan.
27171 * math/s_nanf.c: Undef __nanf.
27172 * math/s_nanl.c: Undef __nanl.
27173 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27174 "math_private.h".
27175
bc62c2fb
UD
271762011-10-22 Ulrich Drepper <drepper@gmail.com>
27177
77425c63
UD
27178 * math/s_catan.c: Add branch predictions.
27179 * math/s_catanf.c: Likewise.
27180 * math/s_catanh.c: Likewise.
27181 * math/s_catanhf.c: Likewise.
27182 * math/s_catanhl.c: Likewise.
27183 * math/s_catanl.c: Likewise.
27184 * math/s_cexp.c: Likewise.
27185 * math/s_cexpf.c: Likewise.
27186 * math/s_cexpl.c: Likewise.
27187 * math/s_clog.c: Likewise.
27188 * math/s_clog10.c: Likewise.
27189 * math/s_clog10f.c: Likewise.
27190 * math/s_clog10l.c: Likewise.
27191 * math/s_clogf.c: Likewise.
27192 * math/s_clogl.c: Likewise.
27193 * math/s_csqrt.c: Likewise.
27194 * math/s_csqrtf.c: Likewise.
27195 * math/s_csqrtl.c: Likewise.
27196 * math/s_ctanf.c: Likewise.
27197 * math/s_ctanh.c: Likewise.
27198 * math/s_ctanhf.c: Likewise.
27199 * math/s_ctanhl.c: Likewise.
27200 * math/s_ctanl.c: Likewise.
27201
bc62c2fb
UD
27202 * math/math_private.h: Define __nan, __nanf, __nanl.
27203 * math/s_cacosh.c: Include <math_private.h>.
27204 * math/s_cacoshl.c: Likewise.
27205 * math/s_casinh.c: Likewise.
27206 * math/s_casinhf.c: Likewise.
27207 * math/s_casinhl.c: Likewise.
27208 * math/s_ccos.c: Rely entire on ccosh.
27209 * math/s_ccosf.c: Rely entire on ccoshf.
27210 * math/s_ccosl.c: Rely entirely on ccoshl.
27211 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27212 Remove tests for FE_INVALID.
27213 * math/s_ccoshf.c: Likewise.
27214 * math/s_ccoshl.c: Likewise.
27215 * math/s_csin.c: Likewise.
27216 * math/s_csinf.c: Likewise.
27217 * math/s_csinh.c Likewise.
27218 * math/s_csinhf.c: Likewise.
27219 * math/s_csinhl.c: Likewise.
27220 * math/s_csinl.c: Likewise.
27221 * math/s_ctan.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27223 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27224 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27225
8ec250a4
UD
272262011-10-21 Ulrich Drepper <drepper@gmail.com>
27227
c196fed8
UD
27228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27229 compilation problems.
27230
8ec250a4
UD
27231 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27232 __builtin_expect.
27233
8d4f46c6
UD
272342011-10-20 Ulrich Drepper <drepper@gmail.com>
27235
ed72b654
UD
27236 * sysdeps/i386/configure.in: Test for -mfma4 option.
27237 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27238 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27239 COMMON_CPUID_INDEX_80000001.
27240 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27241 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27242 use it if FMA3 is not supported.
27243 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27244
8d4f46c6
UD
27245 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27246 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27247
d45c60c2
AS
272482011-10-20 Andreas Schwab <schwab@redhat.com>
27249
27250 [BZ #12892]
27251 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27252 it would create a cycle with a link time dependency.
27253
d9a4d2ab
UD
272542011-10-19 Ulrich Drepper <drepper@gmail.com>
27255
855d1560
UD
27256 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27257 instruction.
27258 * string/Makefile (strop-tests): Add rawmemchr.
27259 * string/test-rawmemchr.c: New file.
27260
d9a4d2ab
UD
27261 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27262 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27263 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27264 when compiling str{,n}casecmp and when AVX is available. Hook up
27265 new optimized code in initializers.
27266
8f3b1ffe
AS
272672011-10-19 Andreas Schwab <schwab@redhat.com>
27268
27269 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27270 __feraiseexcept instead of feraiseexcept.
27271
d38f1dba
UD
272722011-10-18 Ulrich Drepper <drepper@gmail.com>
27273
d9a8d0ab
UD
27274 * math/math_private.h: Define defaults for libc_fetestexcept and
27275 libc_feupdateenv.
27276 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27277 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27278 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27279 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27280 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27281 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27282 libc_fetestexcept and libc_feupdateenv.
27283
4855e3dd
UD
27284 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27285 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27286 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27287 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27288 libc_feholdexcept_setround.
27289
581d30e3
UD
27290 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27291 Add s_nearbyint-c and s_nearbyintf-c.
27292 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27293 nearbyintf inlines.
27294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27295 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27297 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27298
d38f1dba
UD
27299 * math/math_private.h: Define defaults for libc_fegetround,
27300 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27301 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27302 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27304 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27305 standard functions.
27306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27307 Remove comments and hacks for old compiler versions.
27308 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27309 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27310 libc_feholdexceptl.
27311
caa6c9d8
AS
273122011-10-18 Andreas Schwab <schwab@redhat.com>
27313
27314 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27315 (__feraiseexcept_renamed): Add __NTH.
27316 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27317 namespace violations.
27318
97c066e6
UD
273192011-10-17 Ulrich Drepper <drepper@gmail.com>
27320
99ce7b04
UD
27321 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27322
1004d182
UD
27323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27324
228a984d
UD
27325 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27326 recently added interfaces.
27327 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27328
c8553a6a
UD
27329 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27330 about macro parameter expansion.
27331
ed22dcf6
UD
27332 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27333 __NO_MATH_INLINES is defined. Cleanups.
27334
27335 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27336 and __floorf is target has SSE4.1.
27337 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27338 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27339 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27340 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27341
b171c137
UD
27342 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27343 name.
27344 (floorf): Likewise.
27345
97c066e6
UD
27346 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27347
629f62ef
AS
273482011-10-17 Andreas Schwab <schwab@redhat.com>
27349
49a43d80
AS
27350 * misc/sys/cdefs.h: Fix last change.
27351
629f62ef
AS
27352 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27353 database lookup.
27354
e453f6cd
UD
273552011-10-16 Ulrich Drepper <drepper@gmail.com>
27356
aa78043a
UD
27357 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27358
ad0f5cad
UD
27359 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27365 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27366 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27367 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27368 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27369 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27370 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27371 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27372 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27373 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27374 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27375 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27376 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27377 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27378 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27379 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27380 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27381
27382 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27383 ceil, ceilf, floor, floorf.
27384
27385 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27386 Perform IRELATIVE relocations last.
27387
e453f6cd
UD
27388 * elf/do-rel.h: Add another parameter nrelative, replacing the
27389 local variable with the same name. Change name of the function
27390 to end in Rel or Rela (uppercase).
27391 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27392 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27393 elf_dynamic_do_##reloc function.
27394
fd5bdc09
UD
273952011-10-15 Ulrich Drepper <drepper@gmail.com>
27396
79b195b5
UD
27397 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27398 is sufficient, at least on modern CPUs.
27399
d4a28569
UD
27400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27401
b61099b5
UD
27402 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27403 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27404
bcf01e6d
UD
27405 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27406 __expl_finite.
27407 * math/bits/math-finite.h: Add entries for exp.
27408 * math/e_expl.c: Add __*_finite alias.
27409 * sysdeps/i386/fpu/e_exp.S: Likewise.
27410 * sysdeps/i386/fpu/e_expf.S: Likewise.
27411 * sysdeps/i386/fpu/e_expl.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27413 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27417 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27418 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27419
ba1a0d59
UD
27420 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27421 is sufficient, at least on modern CPUs.
27422
fd5bdc09
UD
27423 * ctype/ctype-info.c (__ctype_init): Define.
27424 * include/ctype.h (__ctype_init): Declare.
27425 (__ctype_b_loc): The variable is always initialized.
27426 (__ctype_toupper_loc): Likewise.
27427 (__ctype_tolower_loc): Likewise.
27428 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27429 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27430
7872cfb0
AS
274312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27432
b468825a
AS
27433 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27434
7872cfb0
AS
27435 * configure.in: Also look in $cxxmachine/include for C++ system
27436 headers.
27437
be13f7bf
LD
274382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27439
27440 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27441 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27442 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27443 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27444 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27445 (USE_AS_WMEMCMP): New macro.
27446 Fixing indents.
27447 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27448 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27449 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27450 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27452 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27453 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27454 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27455 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27456 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27457 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27458 (USE_AS_WMEMCMP): New macro.
27459 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27460 * sysdeps/string/test-memcmp.c: Update.
27461 Fix simple_wmemcmp.
27462 Add new tests.
27463 * wcsmbs/wmemcmp.c: Update.
27464 (WMEMCMP): New macro.
27465 Fix overflow bug.
27466
556a2007
AJ
274672011-10-12 Andreas Jaeger <aj@suse.de>
27468
27469 [BZ #13268]
27470 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27471
538faaa7
UD
274722011-10-15 Ulrich Drepper <drepper@gmail.com>
27473
ab6737ff
UD
27474 * libio/iofwide.c (do_length): Avoid warning.
27475
538faaa7
UD
27476 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27477
396a21b1
UD
274782011-10-14 Ulrich Drepper <drepper@gmail.com>
27479
cdf2901f
UD
27480 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27481
38ad40ce
UD
27482 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27483 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27484 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27485 * sysdeps/i386/i686/fpu/e_log.S: New file.
27486 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27487 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27488
396a21b1
UD
27489 * ctype/ctype.h: Add support for inlined isXXX functions when
27490 compiling C++ code.
27491
6b1f68c9
AS
274922011-10-14 Andreas Schwab <schwab@redhat.com>
27493
349290c0
AS
27494 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27495
6b1f68c9
AS
27496 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27497
f2282d42
RM
274982011-10-13 Roland McGrath <roland@hack.frob.com>
27499
27500 [BZ #13291]
27501 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27502
5298ffa8
AS
275032011-10-13 Andreas Schwab <schwab@redhat.com>
27504
714fad23
AS
27505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27506 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27507 feraiseexcept.
27508
81dcc7fb
AS
27509 * sysdeps/x86_64/memrchr.S: Check for zero size.
27510
5298ffa8
AS
27511 * string/stratcliff.c: Add memrchr tests.
27512
951fbcec
LD
275132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27514
27515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27516 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27517 rawmemchr-sse2 rawmemchr-sse2-bsf.
27518 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27519 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27520 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27521 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27522 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27523 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27524 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27525 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27527 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27528 * string/memrchr.c (MEMRCHR): New macro.
27529
0ac5ae23
UD
275302011-10-12 Ulrich Drepper <drepper@gmail.com>
27531
27532 Add integration with gcc's -ffinite-math-only and optimize wrapper
27533 functions in libm.
27534 * Versions.def: Define GLIBC_2.15 version for libm.
27535 * math/Makefile (headers): Add bits/math-finite.h.
27536 * math/bits/math-finite.h: New file.
27537 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27538 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27539 * math/e_acoshl.c: Add __*_finite alias.
27540 * math/e_acosl.c: Likewise.
27541 * math/e_asinl.c: Likewise.
27542 * math/e_atan2l.c: Likewise.
27543 * math/e_atanhl.c: Likewise.
27544 * math/e_coshl.c: Likewise.
27545 * math/e_exp10.c: Likewise.
27546 * math/e_exp10f.c: Likewise.
27547 * math/e_exp10l.c: Likewise.
27548 * math/e_exp2l.c: Likewise.
27549 * math/e_fmodl.c: Likewise.
27550 * math/e_gammal_r.c: Likewise.
27551 * math/e_hypotl.c: Likewise.
27552 * math/e_j0l.c: Likewise.
27553 * math/e_j1l.c: Likewise.
27554 * math/e_jnl.c: Likewise.
27555 * math/e_lgammal_r.c: Likewise.
27556 * math/e_log10l.c: Likewise.
27557 * math/e_log2l.c: Likewise.
27558 * math/e_logl.c: Likewise.
27559 * math/e_powl.c: Likewise.
27560 * math/e_sinhl.c: Likewise.
27561 * math/e_sqrtl.c: Likewise.
27562 * math/e_scalb.c: Completely rewritten and optimized.
27563 * math/e_scalbf.c: Likewise.
27564 * math/e_scalbl.c: Likewise.
27565 * math/w_acos.c: Likewise.
27566 * math/w_acosf.c: Likewise.
27567 * math/w_acosl.c: Likewise.
27568 * math/w_acosh.c: Likewise.
27569 * math/w_acoshf.c: Likewise.
27570 * math/w_acoshl.c: Likewise.
27571 * math/w_asin.c: Likewise.
27572 * math/w_asinf.c: Likewise.
27573 * math/w_asinl.c: Likewise.
27574 * math/w_atan2.c: Likewise.
27575 * math/w_atan2f.c: Likewise.
27576 * math/w_atan2l.c: Likewise.
27577 * math/w_atanh.c: Likewise.
27578 * math/w_atanhf.c: Likewise.
27579 * math/w_atanhl.c: Likewise.
27580 * math/w_exp10.c: Likewise.
27581 * math/w_exp10f.c: Likewise.
27582 * math/w_exp10l.c: Likewise.
27583 * math/w_fmod.c: Likewise.
27584 * math/w_fmodf.c: Likewise.
27585 * math/w_fmodl.c: Likewise.
27586 * math/w_j0.c: Likewise.
27587 * math/w_j0f.c: Likewise.
27588 * math/w_j0l.c: Likewise.
27589 * math/w_j1.c: Likewise.
27590 * math/w_j1f.c: Likewise.
27591 * math/w_j1l.c: Likewise.
27592 * math/w_jn.c: Likewise.
27593 * math/w_jnf.c: Likewise.
27594 * math/w_log.c: Likewise.
27595 * math/w_logf.c: Likewise.
27596 * math/w_logl.c: Likewise.
27597 * math/w_log10.c: Likewise.
27598 * math/w_log10f.c: Likewise.
27599 * math/w_log10l.c: Likewise.
27600 * math/w_log2.c: Likewise.
27601 * math/w_log2f.c: Likewise.
27602 * math/w_log2l.c: Likewise.
27603 * math/w_pow.c: Likewise.
27604 * math/w_powf.c: Likewise.
27605 * math/w_powl.c: Likewise.
27606 * math/w_remainder.c: Likewise.
27607 * math/w_remainderf.c: Likewise.
27608 * math/w_remainderl.c: Likewise.
27609 * math/w_scalb.c: Likewise.
27610 * math/w_scalbf.c: Likewise.
27611 * math/w_scalbl.c: Likewise.
27612 * math/w_sqrt.c: Likewise.
27613 * math/w_sqrtf.c: Likewise.
27614 * math/w_sqrtl.c: Likewise.
27615 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27616 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27617 used.
27618 * math/math_private.h: Declare __kernel_standard_f.
27619 * math/w_cosh.c: Remove cruft and optimize a bit.
27620 * math/w_coshf.c: Likewise.
27621 * math/w_coshl.c: Likewise.
27622 * math/w_exp2.c: Likewise.
27623 * math/w_exp2f.c: Likewise.
27624 * math/w_exp2l.c: Likewise.
27625 * math/w_hypot.c: Likewise.
27626 * math/w_hypotf.c: Likewise.
27627 * math/w_hypotl.c: Likewise.
27628 * math/w_lgamma.c: Likewise.
27629 * math/w_lgamma_r.c: Likewise.
27630 * math/w_lgammaf.c: Likewise.
27631 * math/w_lgammaf_r.c: Likewise.
27632 * math/w_lgammal.c: Likewise.
27633 * math/w_lgammal_r.c: Likewise.
27634 * math/w_sinh.c: Likewise.
27635 * math/w_sinhf.c: Likewise.
27636 * math/w_sinhl.c: Likewise.
27637 * math/w_tgamma.c: Likewise.
27638 * math/w_tgammaf.c: Likewise.
27639 * math/w_tgammal.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27642 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27643 Minor optimizations. Pretty printing. Remove cruft.
27644 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27645 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27648 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27649 * sysdeps/i386/fpu/e_asin.S: Likewise.
27650 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27651 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27652 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27653 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27654 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27655 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27657 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27658 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27659 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27660 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27661 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27662 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27663 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27664 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27665 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27666 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27667 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27668 * sysdeps/i386/fpu/e_log.S: Likewise.
27669 * sysdeps/i386/fpu/e_log10.S: Likewise.
27670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27671 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27672 * sysdeps/i386/fpu/e_log2.S: Likewise.
27673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27674 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27675 * sysdeps/i386/fpu/e_logf.S: Likewise.
27676 * sysdeps/i386/fpu/e_logl.S: Likewise.
27677 * sysdeps/i386/fpu/e_pow.S: Likewise.
27678 * sysdeps/i386/fpu/e_powf.S: Likewise.
27679 * sysdeps/i386/fpu/e_powl.S: Likewise.
27680 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27681 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27682 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27683 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27684 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27685 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27686 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27687 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27688 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27710 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27711 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27712 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27713 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27714 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27715 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27716 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27717 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27718 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27719 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27720 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27721 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27723 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27724 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27725 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27726 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27727 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27728 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27729 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27730 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27772 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27774 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27781 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27782 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27784 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27785 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27786 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27787 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27788 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27789 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27790 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27791 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27792 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27793 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27794 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27796 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27797 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27798 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27799 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27800 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27801 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27802 (__isnanf): Likewise.
27803 (__isinf_ns): Likewise.
27804 (__isinf_nsf): Likewise.
27805 (__finite): Likewise.
27806 (__finitef): Likewise.
27807 (__ieee754_sqrt): Define as macro.
27808 (__ieee754_sqrtf): Define as macro.
27809 (__ieee754_sqrtl): Define as macro.
27810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27811 inlined copy.
27812 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27813 __FINITE_MATH_ONLY__ consistent.
27814 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27815
12cc2fcd
AS
278162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27817
a843a204
AS
27818 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27819 of rawmemchr.
27820
12cc2fcd
AS
27821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27822
c853acd5
UD
278232011-10-09 Ulrich Drepper <drepper@gmail.com>
27824
27825 * po/ja.po: Update from translation team.
27826
c658d255
RM
278272011-10-08 Roland McGrath <roland@hack.frob.com>
27828
110946e4
RM
27829 * locale/programs/locarchive.c (prepare_address_space): New function.
27830 (create_archive, enlarge_archive, open_archive): Use it.
27831
50604220
RM
27832 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27833 inside [SHARED], where it is used.
27834
c658d255
RM
27835 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27836
27837 * nss/getent.c (netgroup_keys): Remove unused variable.
27838 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27839
6a621eb7
UD
278402011-10-08 Ulrich Drepper <drepper@gmail.com>
27841
7edb55ce
UD
27842 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27846 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27847 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27848 * math/Makefile (libm-calls): Add s_isinf_ns.
27849 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27850 * math/multc3.c: Likewise.
27851 * math/s_casin.c: Likewise.
27852 * math/s_casinf.c: Likewise.
27853 * math/s_casinl.c: Likewise.
27854 * math/s_ccos.c: Likewise.
27855 * math/s_ccosf.c: Likewise.
27856 * math/s_ccosl.c: Likewise.
27857 * math/s_ctan.c: Likewise.
27858 * math/s_ctanf.c: Likewise.
27859 * math/s_ctanh.c: Likewise.
27860 * math/s_ctanhf.c: Likewise.
27861 * math/s_ctanhl.c: Likewise.
27862 * math/s_ctanl.c: Likewise.
27863 * math/w_fmod.c: Likewise.
27864 * math/w_fmodf.c: Likewise.
27865 * math/w_fmodl.c: Likewise.
27866 * math/w_remainder.c: Likewise.
27867 * math/w_remainderf.c: Likewise.
27868 * math/w_remainderl.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27870 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27873 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27874 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27875 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27876 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27877
187da0ae
UD
27878 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27879 of the number.
27880 * stdio-common/printf_fphex.c: Likewise.
27881 * stdio-common/printf_size.c: Likewise.
27882
9277c064
UD
27883 * math/e_exp10.c: Include math_private.h using <...> not "...".
27884 * math/e_exp10f.c: Likewise.
27885 * math/e_exp10l.c: Likewise.
27886 * math/e_exp2l.c: Likewise.
27887 * math/e_j0l.c: Likewise.
27888 * math/e_j1l.c: Likewise.
27889 * math/e_jnl.c: Likewise.
27890 * math/e_lgammal_r.c: Likewise.
27891 * math/e_rem_pio2l.c: Likewise.
27892 * math/e_scalb.c: Likewise.
27893 * math/e_scalbf.c: Likewise.
27894 * math/e_scalbl.c: Likewise.
27895 * math/k_cosl.c: Likewise.
27896 * math/k_sinl.c: Likewise.
27897 * math/k_tanl.c: Likewise.
27898 * math/s_cacoshf.c: Likewise.
27899 * math/s_catan.c: Likewise.
27900 * math/s_catanf.c: Likewise.
27901 * math/s_catanh.c: Likewise.
27902 * math/s_catanhf.c: Likewise.
27903 * math/s_catanhl.c: Likewise.
27904 * math/s_catanl.c: Likewise.
27905 * math/s_ccosh.c: Likewise.
27906 * math/s_ccoshf.c: Likewise.
27907 * math/s_ccoshl.c: Likewise.
27908 * math/s_cexp.c: Likewise.
27909 * math/s_cexpf.c: Likewise.
27910 * math/s_cexpl.c: Likewise.
27911 * math/s_clog.c: Likewise.
27912 * math/s_clog10.c: Likewise.
27913 * math/s_clog10f.c: Likewise.
27914 * math/s_clog10l.c: Likewise.
27915 * math/s_clogf.c: Likewise.
27916 * math/s_clogl.c: Likewise.
27917 * math/s_csin.c: Likewise.
27918 * math/s_csinf.c: Likewise.
27919 * math/s_csinh.c: Likewise.
27920 * math/s_csinhf.c: Likewise.
27921 * math/s_csinhl.c: Likewise.
27922 * math/s_csinl.c: Likewise.
27923 * math/s_csqrt.c: Likewise.
27924 * math/s_csqrtf.c: Likewise.
27925 * math/s_csqrtl.c: Likewise.
27926 * math/s_ctan.c: Likewise.
27927 * math/s_ctanf.c: Likewise.
27928 * math/s_ctanh.c: Likewise.
27929 * math/s_ctanhf.c: Likewise.
27930 * math/s_ctanhl.c: Likewise.
27931 * math/s_ctanl.c: Likewise.
27932 * math/s_ldexp.c: Likewise.
27933 * math/s_ldexpf.c: Likewise.
27934 * math/s_ldexpl.c: Likewise.
27935 * math/s_significand.c: Likewise.
27936 * math/s_significandf.c: Likewise.
27937 * math/s_significandl.c: Likewise.
27938 * math/w_acos.c: Likewise.
27939 * math/w_acosf.c: Likewise.
27940 * math/w_acosh.c: Likewise.
27941 * math/w_acoshf.c: Likewise.
27942 * math/w_acoshl.c: Likewise.
27943 * math/w_acosl.c: Likewise.
27944 * math/w_asin.c: Likewise.
27945 * math/w_asinf.c: Likewise.
27946 * math/w_asinl.c: Likewise.
27947 * math/w_atan2.c: Likewise.
27948 * math/w_atan2f.c: Likewise.
27949 * math/w_atan2l.c: Likewise.
27950 * math/w_atanh.c: Likewise.
27951 * math/w_atanhf.c: Likewise.
27952 * math/w_atanhl.c: Likewise.
27953 * math/w_cosh.c: Likewise.
27954 * math/w_coshf.c: Likewise.
27955 * math/w_coshl.c: Likewise.
27956 * math/w_dremf.c: Likewise.
27957 * math/w_exp10.c: Likewise.
27958 * math/w_exp10f.c: Likewise.
27959 * math/w_exp10l.c: Likewise.
27960 * math/w_exp2.c: Likewise.
27961 * math/w_exp2f.c: Likewise.
27962 * math/w_fmod.c: Likewise.
27963 * math/w_fmodf.c: Likewise.
27964 * math/w_fmodl.c: Likewise.
27965 * math/w_hypot.c: Likewise.
27966 * math/w_hypotf.c: Likewise.
27967 * math/w_hypotl.c: Likewise.
27968 * math/w_j0.c: Likewise.
27969 * math/w_j0f.c: Likewise.
27970 * math/w_j0l.c: Likewise.
27971 * math/w_j1.c: Likewise.
27972 * math/w_j1f.c: Likewise.
27973 * math/w_j1l.c: Likewise.
27974 * math/w_jn.c: Likewise.
27975 * math/w_jnf.c: Likewise.
27976 * math/w_jnl.c: Likewise.
27977 * math/w_lgamma.c: Likewise.
27978 * math/w_lgamma_r.c: Likewise.
27979 * math/w_lgammaf.c: Likewise.
27980 * math/w_lgammaf_r.c: Likewise.
27981 * math/w_lgammal.c: Likewise.
27982 * math/w_lgammal_r.c: Likewise.
27983 * math/w_log.c: Likewise.
27984 * math/w_log10.c: Likewise.
27985 * math/w_log10f.c: Likewise.
27986 * math/w_log10l.c: Likewise.
27987 * math/w_log2.c: Likewise.
27988 * math/w_log2f.c: Likewise.
27989 * math/w_log2l.c: Likewise.
27990 * math/w_logf.c: Likewise.
27991 * math/w_logl.c: Likewise.
27992 * math/w_pow.c: Likewise.
27993 * math/w_powf.c: Likewise.
27994 * math/w_powl.c: Likewise.
27995 * math/w_remainder.c: Likewise.
27996 * math/w_remainderf.c: Likewise.
27997 * math/w_remainderl.c: Likewise.
27998 * math/w_scalb.c: Likewise.
27999 * math/w_scalbf.c: Likewise.
28000 * math/w_scalbl.c: Likewise.
28001 * math/w_sinh.c: Likewise.
28002 * math/w_sinhf.c: Likewise.
28003 * math/w_sinhl.c: Likewise.
28004 * math/w_sqrt.c: Likewise.
28005 * math/w_sqrtf.c: Likewise.
28006 * math/w_sqrtl.c: Likewise.
28007 * math/w_tgamma.c: Likewise.
28008 * math/w_tgammaf.c: Likewise.
28009 * math/w_tgammal.c: Likewise.
28010
6a621eb7
UD
28011 * po/ja.po: Update from translation team.
28012
bf582445
AJ
280132011-09-29 Andreas Jaeger <aj@suse.de>
28014
f9efbf3a
AJ
28015 [BZ #13179]
28016 * sunrpc/netname.c (netname2host): Fix logic.
28017
bf582445
AJ
28018 [BZ #6779]
28019 [BZ #6783]
28020 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28021 correctly.
28022 * math/w_remainder.c (__remainder): Likewise.
28023 * math/w_remainderf.c (__remainderf): Likewise.
28024 * math/libm-test.inc (remainder_test): Add test cases.
28025
48693bea
AK
280262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28027
28028 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28029 sdiv_qrnnd.
28030
42622229
LD
280312011-10-07 Ulrich Drepper <drepper@gmail.com>
28032
28033 * string/test-memcmp.c: Avoid unncessary #defines.
28034 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28035
093ecf92
LD
280362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28037
28038 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28039 Use new sse2 version for core i3 - i7 as it's faster
28040 than sse42 version.
28041 (bit_Prefer_PMINUB_for_stringop): New.
28042 * sysdeps/x86_64/rawmemchr.S: Update.
28043 Replace with faster SSE2 version.
28044 * sysdeps/x86_64/memrchr.S: New file.
28045 * sysdeps/x86_64/memchr.S: Update.
28046 Replace with faster SSE2 version.
28047
fde56e5c
MP
280482011-09-12 Marek Polacek <mpolacek@redhat.com>
28049
28050 * elf/dl-load.c (lose): Add cast to avoid warning.
28051
21fd49a9
UD
280522011-10-07 Ulrich Drepper <drepper@gmail.com>
28053
5a06e643
UD
28054 * po/ca.po: Update from translation team.
28055
684ae515
UD
28056 * inet/getnetgrent_r.c: Hook up nscd.
28057 * nscd/Makefile (routines): Add nscd_netgroup.
28058 (nscd-modules): Add netgroupcache.
28059 (CFLAGS-netgroupcache.c): Define.
28060 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28061 (cache_search): Add const to second parameter.
28062 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28063 INNETGR.
28064 (dbs): Add netgrdb entry.
28065 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28066 (verify_persistent_db): Handle netgrdb.
28067 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28068 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28069 GETFDNETGR.
28070 (netgroup_response_header): Define.
28071 (innetgroup_response_header): Define.
28072 (datahead): Add netgroup_response_header and innetgroup_response_header
28073 elements.
28074 * nscd/nscd.conf: Add entries for netgroup cache.
28075 * nscd/nscd.h (dbtype): Add netgrdb.
28076 (_PATH_NSCD_NETGROUP_DB): Define.
28077 (netgroup_iov_disabled): Declare.
28078 (xmalloc, xcalloc, xrealloc): Move declarations here.
28079 (cache_search): Adjust prototype.
28080 Add netgroup-related prototypes.
28081 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28082 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28083 (__nscd_innetgr): Declare.
28084 * nscd/selinux.c (perms): Use access_vector_t as element type and
28085 add netgroup-related initializers.
28086 * nscd/netgroupcache.c: New file.
28087 * nscd/nscd_netgroup.c: New file.
28088 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28089 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28090 For four parameters use innetgr.
28091 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28092 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28093 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28094 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28095
21fd49a9
UD
28096 * nscd/connections.c (register_traced_file): Don't register file
28097 for disabled databases.
28098
054c0457
UD
280992011-10-06 Ulrich Drepper <drepper@gmail.com>
28100
32b63198
UD
28101 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28102
054c0457
UD
28103 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28104 from tree and freeing node.
28105
64031225
JO
281062011-09-25 Jiri Olsa <jolsa@redhat.com>
28107
28108 * nss/nsswitch.c (__nss_database_lookup): Handle
28109 nss_parse_service_list out of memory case.
28110
0490345c
JO
281112011-09-15 Jiri Olsa <jolsa@redhat.com>
28112
28113 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28114 out of memory case.
28115
3a62d00d
AS
281162011-10-04 Andreas Schwab <schwab@redhat.com>
28117
28118 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28119 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28120 pass it down.
28121 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28122 elf_machine_rela, elf_machine_lazy_rel.
28123 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28124 (ELF_DYNAMIC_DO_REL): Likewise.
28125 (ELF_DYNAMIC_DO_RELA): Likewise.
28126 (ELF_DYNAMIC_RELOCATE): Likewise.
28127 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28128 to ELF_DYNAMIC_DO_REL.
28129 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28130 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28131 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28132 elf_machine_rela.
28133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28134 skip_ifunc, don't call ifunc function if non-zero.
28135 (elf_machine_rela): Likewise.
28136 (elf_machine_lazy_rel): Likewise.
28137 (elf_machine_lazy_rela): Likewise.
28138 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28139 (elf_machine_lazy_rel): Likewise.
28140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28141 Likewise.
28142 (elf_machine_lazy_rel): Likewise.
28143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28144 Likewise.
28145 (elf_machine_lazy_rel): Likewise.
28146 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28147 (elf_machine_lazy_rel): Likewise.
28148 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28149 (elf_machine_lazy_rel): Likewise.
28150 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28151 (elf_machine_lazy_rel): Likewise.
28152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28153 (elf_machine_lazy_rel): Likewise.
28154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28155 (elf_machine_lazy_rel): Likewise.
28156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28157 (elf_machine_lazy_rel): Likewise.
28158
68577918
UD
281592011-09-28 Ulrich Drepper <drepper@gmail.com>
28160
28161 * nss/nss_files/files-init.c (_nss_files_init): Use static
28162 initialization for all the *_traced_file variables.
28163
68822d74
AS
281642011-09-28 Andreas Schwab <schwab@redhat.com>
28165
28166 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28167
2056100b
RM
281682011-09-27 Roland McGrath <roland@hack.frob.com>
28169
28170 [BZ #13226]
28171 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28172
32c76b63
AS
281732011-09-27 Andreas Schwab <schwab@redhat.com>
28174
28175 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28176 Reread the line before reparsing it.
28177
bf972c9d
AS
281782011-09-26 Andreas Schwab <schwab@redhat.com>
28179
28180 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28181
e057a1b5
JM
281822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28183 Maxim Kuvyrkov <maxim@codesourcery.com>
28184 Joseph Myers <joseph@codesourcery.com>
28185
28186 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28187 if needed for __stack_chk_guard.
28188
bc7e1c36
RM
281892011-09-19 Roland McGrath <roland@hack.frob.com>
28190
ecb1482f
RM
28191 * sysdeps/posix/spawni.c (script_execute): Always define it.
28192 It will be optimized away if unused.
28193 (maybe_script_execute): New function.
28194 (__spawni): Call it.
28195
bc7e1c36
RM
28196 * Makerules: Don't include tls.make.
28197 (config-tls): Always set to thread.
28198 * tls.make.c: File removed.
28199
1c3b002b
MF
282002011-09-19 Mike Frysinger <vapier@gentoo.org>
28201
28202 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28203 * config.make.in (CPPFLAGS-config): New substituted variable.
28204
2840865d
UD
282052011-09-15 Ulrich Drepper <drepper@gmail.com>
28206
88738eb6
UD
28207 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28208
cbf645a6 28209 [BZ #13192]
2840865d
UD
28210 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28211 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28212
b402e91a
RM
282132011-09-15 Roland McGrath <roland@hack.frob.com>
28214
28215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28216 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28218 (CALL_FAIL): Likewise.
28219 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28220 (CALL_FAIL): Macro removed.
28221 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28222
4c1a1f71
UD
282232011-09-15 Ulrich Drepper <drepper@gmail.com>
28224
28225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28226 for __FINITE_MATH_ONLY__ == 1.
28227
edc121be
AS
282282011-09-15 Andreas Schwab <schwab@redhat.com>
28229
28230 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28231 __ieee754_sqrt instead of sqrt.
28232 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28233 __ieee754_sqrtf instead of sqrtf.
28234 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28235 __floorf instead of floorf.
28236 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28237 __floorf, __truncf instead of floorf, truncf.
28238
cd205654
UD
282392011-09-14 Ulrich Drepper <drepper@gmail.com>
28240
ee4d0315
UD
28241 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28242
cd205654
UD
28243 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28244 __extern_always_inline.
28245 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28246 32-bit.
28247
48b67d71
AS
282482011-09-14 Andreas Schwab <schwab@redhat.com>
28249
28250 * elf/rtld.c (dl_main): Also relocate in dependency order when
28251 doing symbol dependency testing.
28252
1ae12c75
AS
282532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28254
28255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28256 Always define `refsym'.
28257
995a80df
AS
282582011-09-13 Andreas Schwab <schwab@redhat.com>
28259
e529793b
AS
28260 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28261 (__FD_ELT): Renamed from __FDELT.
28262 * misc/bits/select2.h (__FD_ELT): Likewise.
28263 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28264 __FD_MASK instead of __FDELT, __FDMASK.
28265 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28266 Likewise.
28267 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28268 Likewise.
28269
52d4fef8
AS
28270 * elf/Makefile (gen-ldd): Fix pattern.
28271
995a80df
AS
28272 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28273 (init_tls): Likewise.
28274
8682f8b0
UD
282752011-09-12 Ulrich Drepper <drepper@gmail.com>
28276
28277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28278
de82006d
AS
282792011-09-12 Andreas Schwab <schwab@redhat.com>
28280
a7c8e6a1
AS
28281 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28282 `struct cmsghdr *' instead of `void *'.
28283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28284 Likewise.
28285
0f31fe77
AS
282862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28287
28288 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28289 if non-absolute.
28290 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28291 ldd_rewrite_script.
0f31fe77 28292
32b4c839
UD
282932011-09-11 Ulrich Drepper <drepper@gmail.com>
28294
83cd1420
UD
28295 * configure.in: Remove --with-tls option.
28296 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28297 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28298 out in case it is missing.
28299 * sysdeps/ia64/elf/configure.in: Likewise.
28300 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28301 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28302 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28303 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28304 * sysdeps/sh/elf/configure.in: Likewise.
28305 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28306 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28307 * sysdeps/x86_64/elf/configure.in: Likewise.
28308 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28309 * sysdeps/mach/hurd/tls.h: Likewise.
28310
633f745d
UD
28311 [BZ #13067]
28312 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28313
f318beb8
UD
28314 [BZ #13090]
28315 * configure.in: Fix use of AC_INIT.
28316
32b4c839
UD
28317 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28318
3ce1f295
UD
283192011-09-10 Ulrich Drepper <drepper@gmail.com>
28320
bb016596
UD
28321 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28322 __set_errno.
8e58439c
UD
28323 * malloc/hooks.c: Likewise.
28324
aebae053 28325 [BZ #11929]
02d46fc4
UD
28326 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28327 variables statically.
28328 (narenas): Initialize.
28329 (list_lock): Initialize.
bb016596
UD
28330 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28331 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28332 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28333 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28334 Add initializers to main_arena and mp_.
28335 (malloc_state): Remove pagesize member. Change all users to use
28336 GLRO(dl_pagesize).
28337
28338 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28339 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28340 is always initialized.
28341
22a89187
UD
28342 * malloc/malloc.c: Removed unused configurations and dead code.
28343 * malloc/arena.c: Likewise.
28344 * malloc/hooks.c: Likewise.
02d46fc4 28345 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28346
d063d164
UD
28347 * include/tls.h: Removed. USE___THREAD must always be defined.
28348 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28349 * elf/dl-libc.c: Likewise.
28350 * elf/dl-tsd.c: Likewise.
28351 * include/errno.h: Likewise.
28352 * include/netdb.h: Likewise.
28353 * include/resolv.h: Likewise.
28354 * inet/herrno-loc.c: Likewise.
28355 * inet/herrno.c: Likewise.
28356 * malloc/arena.c: Likewise.
28357 * malloc/hooks.c: Likewise.
28358 * malloc/malloc.c: Likewise.
28359 * resolv/res-state.c: Likewise.
28360 * resolv/res_libc.c: Likewise.
28361 * sysdeps/i386/dl-machine.h: Likewise.
28362 * sysdeps/ia64/dl-machine.h: Likewise.
28363 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28364 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28365 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28366 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28367 * sysdeps/sh/dl-machine.h: Likewise.
28368 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28369 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28370 * sysdeps/unix/i386/sysdep.S: Likewise.
28371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28372 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28377 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28381 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28382 * sysdeps/x86_64/dl-machine.h: Likewise.
28383 * tls.make.c: Likewise.
28384
3ce1f295
UD
28385 * configure.in: Remove --with-__thread option. Make tests for
28386 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28387 tls_model attribute fail if no support is available. Remove
28388 USE_IN_LIBIO.
28389 * Makeconfig: Adjust for dropped configure option. All features are
28390 now mandatory.
28391 * Makerules: Likewise.
28392 * Versions.def: Likewise.
28393 * argp/argp-fmtstream.c: Likewise.
28394 * argp/argp-fmtstream.h: Likewise.
28395 * argp/argp-help.c: Likewise.
28396 * assert/assert.c: Likewise.
28397 * config.h.in: Likewise.
28398 * config.make.in: Likewise.
28399 * configure: Likewise.
28400 * configure.in: Likewise.
28401 * csu/Versions: Likewise.
28402 * csu/init.c: Likewise.
28403 * elf/tst-audit2.c: Likewise.
28404 * elf/tst-tls10.c: Likewise.
28405 * elf/tst-tls10.h: Likewise.
28406 * elf/tst-tls11.c: Likewise.
28407 * elf/tst-tls12.c: Likewise.
28408 * elf/tst-tls14.c: Likewise.
28409 * elf/tst-tlsmod11.c: Likewise.
28410 * elf/tst-tlsmod12.c: Likewise.
28411 * elf/tst-tlsmod13.c: Likewise.
28412 * elf/tst-tlsmod13a.c: Likewise.
28413 * elf/tst-tlsmod14a.c: Likewise.
28414 * elf/tst-tlsmod15b.c: Likewise.
28415 * elf/tst-tlsmod16a.c: Likewise.
28416 * elf/tst-tlsmod16b.c: Likewise.
28417 * elf/tst-tlsmod7.c: Likewise.
28418 * elf/tst-tlsmod8.c: Likewise.
28419 * elf/tst-tlsmod9.c: Likewise.
28420 * gmon/gmon.c: Likewise.
28421 * grp/fgetgrent_r.c: Likewise.
28422 * grp/putgrent.c: Likewise.
28423 * hurd/fopenport.c: Likewise.
28424 * include/libc-symbols.h: Likewise.
28425 * include/tls.h: Likewise.
28426 * intl/gettextP.h: Likewise.
28427 * intl/loadinfo.h: Likewise.
28428 * locale/global-locale.c: Likewise.
28429 * locale/localeinfo.h: Likewise.
28430 * mach/devstream.c: Likewise.
28431 * malloc/arena.c: Likewise.
28432 * malloc/set-freeres.c: Likewise.
28433 * misc/err.c: Likewise.
28434 * misc/getttyent.c: Likewise.
28435 * misc/mntent_r.c: Likewise.
28436 * posix/getopt.c: Likewise.
28437 * posix/wordexp.c: Likewise.
28438 * pwd/fgetpwent_r.c: Likewise.
28439 * resolv/Versions: Likewise.
28440 * resolv/res_hconf.c: Likewise.
28441 * shadow/fgetspent_r.c: Likewise.
28442 * shadow/putspent.c: Likewise.
28443 * stdio-common/printf_fphex.c: Likewise.
28444 * stdio-common/tmpfile.c: Likewise.
28445 * stdlib/abort.c: Likewise.
28446 * stdlib/fmtmsg.c: Likewise.
28447 * sunrpc/auth_unix.c: Likewise.
28448 * sunrpc/clnt_perr.c: Likewise.
28449 * sunrpc/clnt_tcp.c: Likewise.
28450 * sunrpc/clnt_udp.c: Likewise.
28451 * sunrpc/clnt_unix.c: Likewise.
28452 * sunrpc/openchild.c: Likewise.
28453 * sunrpc/svc_simple.c: Likewise.
28454 * sunrpc/svc_tcp.c: Likewise.
28455 * sunrpc/svc_udp.c: Likewise.
28456 * sunrpc/svc_unix.c: Likewise.
28457 * sunrpc/xdr.c: Likewise.
28458 * sunrpc/xdr_array.c: Likewise.
28459 * sunrpc/xdr_rec.c: Likewise.
28460 * sunrpc/xdr_ref.c: Likewise.
28461 * sunrpc/xdr_stdio.c: Likewise.
28462
1248c1c4
PB
284632011-09-09 Ulrich Drepper <drepper@gmail.com>
28464
28465 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28466
284672011-07-03 Andreas Jaeger <aj@suse.de>
28468
28469 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28470 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28471 regenerate with gen-libm-tests.pl.
28472
284732010-05-12 Petr Baudis <pasky@suse.cz>
28474
28475 [BZ #11589]
28476 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28477 around j0() zero points by switching to j1().
28478 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28482
f22e1074
UD
284832011-09-09 Ulrich Drepper <drepper@gmail.com>
28484
f19009c1
UD
28485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28486 instead of 0.
28487 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28488 instead of 0.
f19009c1
UD
28489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28490 Patch in part by Pavel Roskin <proski@gnu.org>.
28491
3f8cc204
UD
28492 [BZ #13138]
28493 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28494 realloc.
28495 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28496 Free memory block if necessary.
28497
f22e1074
UD
28498 [BZ #12847]
28499 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28500 be NULL. Don't lock in this case.
28501
0a2349f9
RM
285022011-09-09 Roland McGrath <roland@hack.frob.com>
28503
28504 * elf/elf.h (ELFOSABI_GNU): New macro.
28505 (ELFOSABI_LINUX): Define to that.
28506
f3cdd467
DZ
285072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28508
28509 * string/strncat.c (strncat): Undef the symbol in case it has been
28510 defined in bits/string.h.
28511
74718d13
UD
285122011-09-09 Ulrich Drepper <drepper@gmail.com>
28513
633e9e0f
UD
28514 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28515
0a2349f9 28516 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28517 link map.
28518
f9924780
AJ
285192011-08-17 Andreas Jaeger <aj@suse.de>
28520
28521 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28522
7f5517aa
PP
285232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28524 Ian Lance Taylor <iant@google.com>
28525
28526 * math/libm-test.inc (lround_test): New testcase.
28527 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28528
762011fe
UD
285292011-09-08 Ulrich Drepper <drepper@gmail.com>
28530
92963737
UD
28531 * Makefile: Remove support for automatic cvs check-ins.
28532 * Makerules: Likewise.
28533 * config.make.in: Likewise.
28534 * configure.in: Likewise.
28535 * intl/Makefile: Likewise.
28536 * locale/Makefile: Likewise.
28537 * po/Makefile: Likewise.
28538 * posix/Makefile: Likewise.
28539 * sysdeps/gnu/Makefile: Likewise.
28540 * sysdeps/mach/hurd/Makefile: Likewise.
28541 * sysdeps/sparc/sparc32/Makefile: Likewise.
28542
b0727fd8
JS
28543 [BZ #13118]
28544 * posix/Makefile (bug-regex32-ENV): Define.
28545 Patch by John Stanley <jpsinthemix@verizon.net>.
28546
a0f33f99
UD
28547 * misc/Makefile (headers): Add bits/select2.h.
28548 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28549 * misc/bits/select2.h: New file.
28550 * include/bits/select2.h: New file.
28551 * debug/Makefile (routines): Add fdelt_chk.
28552 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28553 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28554 FD_ISSET.
28555 * debug/fdelt_chk.c: New file.
28556
762011fe
UD
28557 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28558 * wcsmbs/test-wmemcmp.c: Likewise.
28559 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28560 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28561
285622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28563
28564 * string/Makefile (strop-tests): Add memcmp.
28565 * string/test-wmemcmp.c: New file.
28566 * string/test-memcmp.c: Add wmemcmp support.
28567
7f513ec8
RM
285682011-09-08 Roland McGrath <roland@hack.frob.com>
28569
0442afb4
RM
28570 [BZ #13153]
28571 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28572 2011-07-19 change.
28573
7f513ec8
RM
28574 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28575 garbage value in a __mach_port_mod_refs call in the cases of the
28576 task-self and thread-self ports.
28577
a12b2239
ST
285782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28579
28580 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28581
610f9ab4
AS
285822011-09-08 Andreas Schwab <schwab@redhat.com>
28583
7f513ec8 28584 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28585
48882a1a
LD
285862011-09-07 Ulrich Drepper <drepper@gmail.com>
28587
b49865be
UD
28588 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28589
fdc86bc9
UD
28590 * elf/dl-libc.c (dlerror_run): Pass back error code from
28591 dl_catch_error.
28592
c966526a
UD
28593 [BZ #13123]
28594 * elf/dl-load.c (lose): Free l_origin if it is valid.
28595
48882a1a
LD
28596 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28597 names.
28598 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28599 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28600 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28601 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28602 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28603 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28604
77a2a8b4
AZ
286052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28606
28607 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28608 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28609 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28610 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28611 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28612 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28613 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28614 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28615 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28616 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28617
24f579d8
AM
286182011-08-15 Alan Modra <amodra@gmail.com>
28619
28620 [BZ #13092]
28621 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28622 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28623 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28624 ppc_mcount to static-only-routines.
28625 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28626 __mcount_internal.
28627 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28628 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28629
3d4837df
UD
286302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28631
28632 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28633 for finite and infinity parameters.
28634
22700377
WS
286352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28636
28637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28638 and add nop instructions for throughput optimization.
28639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28640
5025581e
WS
286412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28642
28643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28644 aligned copy for power7 with vector-scalar instructions.
28645 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28646
08a300c9
L
286472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28650 AVX check.
28651
59178ef9
AS
286522011-09-07 Andreas Schwab <schwab@redhat.com>
28653
28654 [BZ #13144]
28655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28656 last change.
28657
e38ba7ab
UD
286582011-09-07 Ulrich Drepper <drepper@gmail.com>
28659
28660 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28661 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28662 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28663 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28664 clock_gettime.
28665
d53a73ac
UD
286662011-09-06 Ulrich Drepper <drepper@gmail.com>
28667
fc8bffcc
UD
28668 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28669 Forgot to demangle the pointer.
28670
ceaa0c5d
UD
28671 * sysdeps/i386/sysdep.h: Define atom_text_section.
28672 * sysdeps/x86_64/sysdep.h: Likewise.
28673 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28674 section with atom_text_section.
28675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28676 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28677 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28679 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28680
a77d3c17
UD
28681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28682 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28683 already be defined. Change to take two parameters and don't assign
28684 result to variable. Adjust all users.
28685 Define INTERNAL_GETTIME if not already defined.
28686 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28687 call.
28688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28689 HAVE_CLOCK_GETTIME_VSYSCALL.
28690 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28691
d53a73ac
UD
28692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28693 gettimeofday vsyscall, just use time.
28694
a8f84144
AS
286952011-09-06 Andreas Schwab <schwab@redhat.com>
28696
28697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28698 <errno.h>.
28699
ef606249
UD
287002011-09-06 Ulrich Drepper <drepper@gmail.com>
28701
28702 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28703 syscall on x86-64.
28704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28705 syscall.
28706 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28707 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28708 syscall if possible.
28709
6585cb60
UD
287102011-09-05 Ulrich Drepper <drepper@gmail.com>
28711
28712 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28713 e_ident. Don't pass to find_mapsXX.
28714 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28715
a5f524e4
LD
287162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28717
28718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28719 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28720 * sysdeps/x86_64/multiarch/strchr.S: Update.
28721 Check bit_slow_BSF bit.
28722 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28723 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28724 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28725
554881ef
UD
287262011-09-05 Ulrich Drepper <drepper@gmail.com>
28727
d96de963
UD
28728 [BZ #13134]
28729 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28730 before glibc 2.15.
28731 (tryshell): Define.
28732 (__spawni): Change last parameter to be flag. Test
28733 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28734 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28735 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28736 * posix/spawni.c: Likewise.
28737 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28738 * posix/spawnp.c: Likewise. Change normal version to use
28739 SPAWN_XFLAGS_USE_PATH.
28740 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28741 SPAWN_XFLAGS_TRY_SHELL.
28742
d48e5868
UD
28743 [BZ #13150]
28744 * posix/glob.h: Remove gcc 1.x support.
28745
554881ef
UD
28746 [BZ #13068]
28747 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28748
693fb948
LD
287492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28750
28751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28752 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28753 strrchr-sse2-bsf
28754 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28755 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28756 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28757 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28758 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28760
1b48c537
UD
287612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28762
49d42c37
UD
28763 * sysdeps/x86_64/wcscmp.S: New file.
28764
1b48c537
UD
28765 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28766 wcscmp-c wcscmp-sse2
28767 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28768 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28769 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28770 * wcsmbs/wcscmp.c: Allow renaming.
28771
15c95c5d
DM
287722011-09-05 David S. Miller <davem@davemloft.net>
28773
28774 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28775 stack slot, rather than the struct return pointer slot.
28776 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28777 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28779 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28780
2f0ad8f3
UD
287812011-09-05 Ulrich Drepper <drepper@gmail.com>
28782
d88ae418
UD
28783 * po/ja.po: Update from translation team.
28784
2f0ad8f3
UD
28785 [BZ #13144]
28786 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28787 kernel in 64-bit binaries.
28788
5f4318d1
DM
287892011-09-01 David S. Miller <davem@davemloft.net>
28790
28791 * elf/elf.h (HWCAP_SPARC_*): Move to..
28792 * sysdeps/sparc/sysdep.h: this new file and add new values.
28793 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28794 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28795 _DL_HWCAP_COUNT to 24.
28796 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28797 entries.
28798 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28799 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28800 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28802 instead of magic constants.
28803 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28804
3ba57516
DM
288052011-08-31 David S. Miller <davem@davemloft.net>
28806
28807 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28809 Reimplement to do errno handling inline.
28810 (SYSCALL_ERROR_HANDLER): New macro.
28811 (__SYSCALL_STRING): Do not do errno handling in asm.
28812 (__CLONE_SYSCALL_STRING): Delete.
28813 (__INTERNAL_SYSCALL_STRING): Delete.
28814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28815 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28816 (PSEUDO): Reimplement to do errno handling inline.
28817 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28818 (SYSCALL_ERROR_HANDLER): New macro.
28819 (__SYSCALL_STRING): Do not do errno handling in asm.
28820 (__CLONE_SYSCALL_STRING): Delete.
28821 (__INTERNAL_SYSCALL_STRING): Delete.
28822 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28823 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28824 i386.
28825 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28826 (inline_syscall*): Add 'err' argument.
28827 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28828 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28829 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28830 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28831
28832 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28833 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28834
2bc17433
AS
288352011-08-30 Andreas Schwab <schwab@redhat.com>
28836
28837 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28838
fbeb5f4d
JO
288392011-08-29 Jiri Olsa <jolsa@redhat.com>
28840
28841 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28842 directive.
28843
ad69cc26
DM
288442011-08-24 David S. Miller <davem@davemloft.net>
28845
28846 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28847
39dd69df
AS
288482011-08-24 Andreas Schwab <schwab@redhat.com>
28849
28850 * elf/Makefile: Add rules to build and run unload8 test.
28851 * elf/unload8.c: New file.
28852 * elf/unload8mod1.c: New file.
28853 * elf/unload8mod1x.c: New file.
28854 * elf/unload8mod2.c: New file.
28855 * elf/unload8mod3.c: New file.
28856
28857 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28858 it wasn't used.
28859
2c0b250a
DM
288602011-08-23 David S. Miller <davem@davemloft.net>
28861
28862 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28863 subtract stack bias.
28864 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28865 %sp not %fp in calculations.
28866 (_JMPBUF_UNWINDS_ADJ): Likewise.
28867
22044b48
DM
28868 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28869 (aio_suspend): Call it to force an exception region around the
28870 AIO_MISC_WAIT() invocation.
28871
2cae4995
AS
288722011-08-23 Andreas Schwab <schwab@redhat.com>
28873
28874 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28875 backslash.
28876
873a772e
AJ
288772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28878
28879 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28880 protection macro.
28881 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28882 and <dl-machine.h>.
28883 (Elf64_FuncDesc): Remove.
28884
25ad0df1
DM
288852011-08-22 David S. Miller <davem@davemloft.net>
28886
28887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28888 sigaltstack check, add missing cfi directives.
28889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28890 missing cfi directives, and sigaltstack handling.
28891
e888bcbe
AS
288922011-08-16 Andreas Schwab <schwab@redhat.com>
28893
28894 [BZ #11724]
28895 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28896 object is seen twice.
28897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28898
28899 * elf/Makefile (distribute): Add tst-initorder2.c.
28900 (tests): Add tst-initorder2.
28901 (modules-names): Add tst-initorder2a tst-initorder2b
28902 tst-initorder2c tst-initorder2d. Add rules to build them.
28903 ($(objpfx)tst-initorder2.out): New rule.
28904 * elf/tst-initorder2.c: New file.
28905 * elf/tst-initorder2.exp: New file.
28906
87162f46
AS
289072011-08-22 Andreas Schwab <schwab@redhat.com>
28908
70538b7f
AS
28909 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28910
f55ffe58
AS
28911 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28912 dependencies back to end of function.
28913
87162f46
AS
28914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28915 $(elfobjdir)/ld.so.
28916
91b392a4
UD
289172011-08-21 Ulrich Drepper <drepper@gmail.com>
28918
28919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28920 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28922 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28923 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28924 of __vdso_gettimeofday.
28925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28926 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28927 attribute_hidden.
28928 (_libc_vdso_platform_setup): Remove initialization of
28929 __vdso_gettimeofday and __vdso_time.
28930
5c43483f
UD
289312011-08-20 Ulrich Drepper <drepper@gmail.com>
28932
775a77e7
UD
28933 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28934 and fgetc_unlocked.
28935 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28936 getc_unlocked.
89f447ed 28937
49c74ba9
UD
28938 * elf/dl-open.c (add_to_global): Report additions to the global scope
28939 for LD_DEBUG=scopes.
28940 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28941 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28942
5c43483f
UD
28943 [BZ #13114]
28944 * stdio-common/Makefile (tests): Add bug24.
28945 * stdio-common/bug24.c: New file.
28946
a101b025
AJ
289472011-08-19 Andreas Jaeger <aj@suse.de>
28948
28949 [BZ #13114]
28950 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28951 non-existant file when using close-on-exec mode.
28952
c88f1766
UD
289532011-08-20 Ulrich Drepper <drepper@gmail.com>
28954
0276a718
UD
28955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28956 the very first instruction.
28957
c88f1766
UD
28958 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28959 the CFI state in the end.
28960 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28961 inclusion of dl-trampoline.h.
28962 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28963
51ccffa0
AS
289642011-08-19 Andreas Schwab <schwab@redhat.com>
28965
94d7165f
AS
28966 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28967 expectations for long double.
28968
51ccffa0
AS
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28970 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28971
fd708658 289722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28973
28974 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28975 artificual limit depends upon the system page size.
28976
44f0a71e
UD
289772011-08-17 Ulrich Drepper <drepper@gmail.com>
28978
28979 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28980 * resolv/Makefile: Define CFLAGS-libresolv.
28981
8de79a24
AS
289822011-08-17 Andreas Schwab <schwab@redhat.com>
28983
28984 * nss/makedb.c (compute_tables): Make variables used in nested
28985 function static.
28986
27724598
UD
289872011-08-17 Ulrich Drepper <drepper@gmail.com>
28988
c5305d88
UD
28989 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28990 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28991 if buffer was too small.
28992
27724598
UD
28993 * elf/pldd.c (main): Attach to all threads in the process.
28994 Rewrite /proc handling to use *at functions.
28995
076fe015
UD
289962011-08-16 Ulrich Drepper <drepper@gmail.com>
28997
174baab3
UD
28998 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28999 specifies first scope to show.
29000 (dl_open_worker): Update callers. Move printing scope of new
29001 object to before the relocation.
44f0a71e 29002 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29003 * sysdeps/generic/ldsodefs.h: Update declaration.
29004
076fe015
UD
29005 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29006 string for the scope number.
29007
a60df2c3
UD
290082011-08-14 Ulrich Drepper <drepper@gmail.com>
29009
29010 * nscd/servicescache.c (cache_addserv): Make sure written is always
29011 initialized.
29012
5e4287d1
RM
290132011-08-14 Roland McGrath <roland@hack.frob.com>
29014
85ae0589
RM
29015 * sysdeps/i386/i486/bits/atomic.h
29016 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29017 statement expression, so as to suppress "set but not used" warning.
29018 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29019
69f63097
RM
29020 * string/strncat.c (STRNCAT): Use prototype definition.
29021
675456ef
RM
29022 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29023 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29024 -Iprograms here.
29025 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29026 (localedef-modules): Add localedef.
29027 (locale-modules): Add locale.
29028
5e4287d1
RM
29029 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29030 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29031 to avoid a warning.
29032
9c96ff23
DM
290332011-08-14 David S. Miller <davem@davemloft.net>
29034
29035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29036 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29037
f9ddf089
UD
290382011-08-13 Ulrich Drepper <drepper@gmail.com>
29039
44f0a71e 29040 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29041 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29042 * elf/rtld.c (dl_main): Set l_name of vDSO.
29043 Call _dl_show_scope when DL_DEBUG_SCOPES.
29044 (process_dl_debug): Recognize scopes flag and also set it for all.
29045 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29046 Declare _dl_show_scope.
29047
1dc27704
UD
29048 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29049 (do_dlopen): Pass caller_dlopen to dl_open.
29050 (__libc_dlopen_mode): Initialize caller_dlopen.
29051
f9ddf089
UD
29052 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29053 of libc. Make tolower call locale-independent. Optimize a bit by
29054 using isdigit instead of isalnum.
29055 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29056
9ac533d3
UD
290572011-08-12 Ulrich Drepper <drepper@gmail.com>
29058
29059 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29060 was a dependency or dynamically loaded.
29061
89edf2e9
UD
290622011-08-11 Ulrich Drepper <drepper@gmail.com>
29063
8e999d29
UD
29064 * intl/l10nflist.c: Allow architecture-specific pop function.
29065 * sysdeps/x86_64/l10nflist.c: New file.
29066
89edf2e9
UD
29067 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29068 classification.
29069
14d96785
AS
290702011-08-10 Andreas Schwab <schwab@redhat.com>
29071
29072 * include/dirent.h: Add libc_hidden_proto for scandirat and
29073 scandirat64. Don't declare __scandirat64.
29074 * dirent/scandirat.c: Add libc_hidden_def.
29075 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29076 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29077
6761ac04
DM
290782011-08-10 David S. Miller <davem@davemloft.net>
29079
29080 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29081 enum.
29082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29085
c55fbd1e
UD
290862011-08-09 Ulrich Drepper <drepper@gmail.com>
29087
29088 * Versions.def [libc]: Add GLIBC_2.15.
29089 * dirent/Makefile (routines): Add scandirat and scandirat64.
29090 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29091 GLIBC_2.15.
29092 * dirent/dirent.h: Declare scandirat and scandirat64.
29093 * dirent/scandirat.c: New file.
29094 * dirent/scandirat64.c: New file.
29095 * sysdeps/wordsize-64/scandirat.c: New file.
29096 * sysdeps/wordsize-64/scandirat64.c: New file.
29097 * dirent/opendir.c: Define opendirat.
29098 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29099 using scandirat.
29100 * dirent/scandir64.c: Adjust for scandir.c change.
29101 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29102 __scandirat64, and __scandir_cancel_handler.
29103 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29104 additional parameter and use openat instead of open (outside of ld.so).
29105 Add new __opendir as wrapper around __opendirat.
29106 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29107 here without requiring old scandirat implementation.
29108
879165f2
UD
291092011-08-08 Ulrich Drepper <drepper@gmail.com>
29110
29111 * dirent/scandir.c (cancel_handler): Renamed to
29112 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29113 defined. Adjust users.
29114 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29116
cb7e923b
UD
291172011-08-04 Ulrich Drepper <drepper@gmail.com>
29118
16292edd
UD
29119 * string/test-string.h (IMPL): Use __STRING to expand name and then
29120 stringify it.
29121
cb7e923b
UD
29122 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29123 of cleanups.
29124
cff82933
LD
291252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29126
29127 * string/Makefile: Update.
29128 (strop-tests): Append strncat.
29129 * string/test-wcscmp.c: New file.
29130 New comprehensive test for wcscmp.
29131 * string/test-strcmp.c: Update.
29132 (WIDE): New define.
29133
9be9bfcc
AS
291342011-07-22 Andreas Schwab <schwab@redhat.com>
29135
29136 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29137 line.
29138
2e96f1c7
AS
291392011-07-26 Andreas Schwab <schwab@redhat.com>
29140
29141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29142 encoding to ACE if AI_IDN.
29143
85188888
JJ
291442011-08-01 Jakub Jelinek <jakub@redhat.com>
29145
29146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29147 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29148
5fa16e9b
LD
291492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29150
29151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29152 Fix overflow bug in strncat.
29153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29154
29155 * string/test-strncat.c: Update.
29156 Add new tests for checking overflow bugs.
29157
291582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29159
29160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29161 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29162 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29163 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29165 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29166 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29167 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29168 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29169
29170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29171 (USE_AS_STRCAT): Define.
29172 Add strcat and strncat support.
29173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29174
8c1a459f
AS
291752011-07-25 Andreas Schwab <schwab@redhat.com>
29176
29177 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29178 __n bigger than INT_MAX+1.
29179 (__strncmp_g): Likewise.
29180
bba33c28
UD
291812011-07-23 Ulrich Drepper <drepper@gmail.com>
29182
798be72d
UD
29183 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29184 * libio/stido.h: Likewise.
29185
8accd4dc
UD
29186 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29187 (AF_NFC): Define.
29188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29189 (AF_NFC): Define.
29190
cbff0d96
UD
29191 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29192 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29193 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29194 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29196
9191c04a
UD
29197 [BZ #13021]
29198 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29199 installed.
29200
bba33c28
UD
29201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29202 typo.
29203 (_dl_x86_64_save_sse): Likewise.
29204
90f139dd
UD
292052011-07-22 Ulrich Drepper <drepper@gmail.com>
29206
1aae088a
UD
29207 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29208 OSXSAVE.
29209 (_dl_x86_64_save_sse): Likewise.
29210
8e2045f5
UD
29211 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29212
90f139dd
UD
29213 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29214
1d002f25
AS
292152011-07-21 Andreas Schwab <schwab@redhat.com>
29216
29217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29218 change.
29219 (_dl_x86_64_save_sse): Use correct AVX check.
29220
21137f89
UD
292212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29222
29223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29224 bug in strncpy/strncat.
29225 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29226
a65c0b7a
UD
292272011-07-21 Ulrich Drepper <drepper@gmail.com>
29228
29229 * string/tester.c (test_strcat): Add tests for different alignments
29230 of source and destination.
29231 (test_strncat): Likewise.
29232
6986b98a
UD
292332011-07-20 Ulrich Drepper <drepper@gmail.com>
29234
90bb2039
UD
29235 [BZ #12852]
29236 * posix/glob.c (glob): Check passed in values before using them in
29237 expressions to avoid some overflows.
29238 (glob_in_dir): Likewise.
29239
5644ef54
UD
29240 [BZ #13007]
29241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29242 check for AVX enablement so that we don't crash with old kernels and
29243 new hardware.
29244 * elf/tst-audit4.c: Add same checks here.
29245 * elf/tst-audit6.c: Likewise.
29246
29247 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29248
bfc9dc9b
AS
292492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29250
29251 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29252
702e64bb
UD
292532011-07-20 Ulrich Drepper <drepper@gmail.com>
29254
29255 * po/cs.po: Update from translation team.
29256 * po/bg.po: Likewise.
29257
295e904f
MP
292582011-07-12 Marek Polacek <mpolacek@redhat.com>
29259
29260 * misc/sys/cdefs.h: Add support for const attribute.
29261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29262 to gnu_dev_{major,minor,makedev} functions.
29263
3ff94596
MP
292642011-07-20 Marek Polacek <mpolacek@redhat.com>
29265
29266 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29267
28b59fca
AS
292682011-07-20 Andreas Schwab <schwab@redhat.com>
29269
29270 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29271 strlen results.
29272
19df733e
AK
292732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29274
29275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29276 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29277 register in order to avoid conflicts with the soft frame pointer
29278 being held in r11 when necessary.
29279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29280 (INTERNAL_VSYSCALL_NCS): Likewise.
29281
c8835729
MP
292822011-07-14 Marek Polacek <mpolacek@redhat.com>
29283
29284 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29285 * elf/dl-fini.c (_dl_fini): Adjust caller.
29286 * elf/dl-close.c (_dl_close_worker): Likewise.
29287 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29288
b902330c
MP
292892011-07-15 Marek Polacek <mpolacek@redhat.com>
29290
8991e135
MP
29291 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29292 "aux_cache->nlibs < 0".
29293
b902330c
MP
29294 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29295 in the reload-count case.
29296
99710781
LD
292972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29298
29299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29300 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29301 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29302 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29303 * sysdeps/x86_64/multiarch/strcat.S: New file.
29304 * sysdeps/x86_64/multiarch/strncat.S: New file.
29305 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29307 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29308 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29310 (USE_AS_STRCAT): Define.
29311 Add strcat and strncat support.
29312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29313 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29314 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29315 * string/strncat.c: Update.
29316 (USE_AS_STRNCAT): Define.
29317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29318 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29319 and i7.
29320 * sysdeps/x86_64/multiarch/init-arch.h
29321 (bit_Prefer_PMINUB_for_stringop): New.
29322 (index_Prefer_PMINUB_for_stringop): Likewise.
29323 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29324 bit_Prefer_PMINUB_for_stringop.
29325
7dc6bd90
UD
293262011-07-19 Ulrich Drepper <drepper@gmail.com>
29327
29328 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29329 buffer64.
29330 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29331 of casting of buffer.
29332 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29333 buffer32 and buffer64.
29334 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29335 writes instead of casting of buffer.
29336 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29337 buffer32.
29338 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29339 casting of buffer.
29340
e0e72284
AS
293412011-07-19 Andreas Schwab <schwab@redhat.com>
29342
29343 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29344
feb1eb0b
UD
293452011-07-19 Ulrich Drepper <drepper@gmail.com>
29346
29347 * nscd/nscd.c (termination_handler): Don't do anything for a database
29348 if it has not yet been initialized.
29349
298711ff
UD
293502011-07-18 Ulrich Drepper <drepper@gmail.com>
29351
29352 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29353
293542011-07-15 Marek Polacek <mpolacek@redhat.com>
29355
29356 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29357
f9d68389
UD
293582011-07-18 Ulrich Drepper <drepper@gmail.com>
29359
29360 * po/nl.po: Update from translation team.
29361 * po/sv.po: Likewise.
29362
db290cf5
RM
293632011-07-16 Roland McGrath <roland@hack.frob.com>
29364
29365 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29366 now disallowed by GCC.
5c550700 29367
fd5e21c7
RM
29368 * configure.in (use-default-link): Default to yes if a test -shared
29369 link meets our qualifications.
29370 * configure: Regenerated.
29371
5c550700
RM
29372 * config.make.in (output-format): New variable.
29373 * configure.in: Check for ld --print-output-format support.
29374 * configure: Regenerated.
29375 * Makerules ($(common-objpfx)format.lds)
29376 [$(output-format) != unknown]: Just use $(output-format),
29377 instead of the linker-script munging.
29378
9fa2c032
RM
293792011-07-14 Roland McGrath <roland@hack.frob.com>
29380
a6928d51
RM
29381 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29382 of $(common-objpfx)shlib.lds.
29383 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29384
661607b3
RM
29385 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29386 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29387
9fa2c032
RM
29388 * configure.in (-z relro check): Adjust test code to add a large
29389 writable data section after it.
29390 * configure: Regenerated.
29391
defe9061
RM
293922011-07-11 Roland McGrath <roland@hack.frob.com>
29393
29394 * configure.in (-z relro check): Fix test code to make the variable
29395 truly const.
29396 * configure: Regenerated.
29397
319b9ad4
UD
293982011-07-11 Ulrich Drepper <drepper@gmail.com>
29399
29400 * nscd/nscd.h (struct traced_file): Define.
29401 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29402 elements. Add traced_files.
29403 (inotify_fd): Declare.
29404 (register_traced_file): Declare.
29405 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29406 (inotify_fd): Export.
29407 (resolv_conf_descr): Remove.
29408 (nscd_init): Move inotify descriptor creation to main.
29409 Don't register files for notification here.
29410 (register_traced_file): New function.
29411 (invalidate_cache): Don't use reset_res to determine whether to call
29412 res_init, go through the list of registered files.
29413 (main_loop_poll): The inotify descriptors are now stored in the
29414 structures for the traced files.
29415 (main_loop_epoll): Likewise
29416 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29417 to __nss_disable_nscd.
29418 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29419 for a database anymore. Check the records for all the registered
29420 files instead.
29421 * nss/Makefile (libnss_files-routines): Add files-init.
29422 (libnss_db-routines): Add db-init.
29423 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29424 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29425 * nss/nss_db/db-init.c: New file.
29426 * nss/nss_files/files-init.c: New file.
29427 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29428 __nss_lookup_function.
29429 (__nss_lookup_function): Call nss_load_library.
29430 (nss_load_all_libraries): New function.
29431 (__nss_disable_nscd): Take parameter with callback function for files
29432 to register. Set is_nscd. Load all the DSOs for the NSS modules
29433 used for the cached services.
29434 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29436 options for features to all the files in nscd.
29437
29438 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29439
23bee3e8
RM
294402011-07-10 Roland McGrath <roland@hack.frob.com>
29441
29442 * csu/elf-init.c (__libc_csu_init): Comment typo.
29443
46a5b7f0
UD
294442011-07-09 Ulrich Drepper <drepper@gmail.com>
29445
29446 * po/pl.po: Update from translation team.
29447 * po/ja.po: Likewise.
29448 * po/ru.po: Likewise.
29449 * po/ko.po: Likewise.
29450 * po/fr.po: Likewise.
29451
d30cf5bb
RM
294522011-07-09 Roland McGrath <roland@hack.frob.com>
29453
113ddea4
RM
29454 * configure.in (.ctors/.dtors header and trailer check):
29455 Use an empirical test on a built program.
29456 * configure: Regenerated.
29457
574920b4
RM
29458 * configure.in (-z relro check): Use an empirical test on a built DSO.
29459 Detect, but do not require, on ia64.
29460 * configure: Regenerated.
29461
d30cf5bb
RM
29462 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29463 Update tests that use readelf to use $READELF instead.
29464 * configure: Regenerated.
29465
8538fdb3
UD
294662011-07-08 Ulrich Drepper <drepper@gmail.com>
29467
29468 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29469 if the result is not used.
29470
04d08991
AJ
294712011-07-05 Andreas Jaeger <aj@suse.de>
29472
29473 [BZ#9696]
29474 * stdlib/tst-strtod.c: Add testcase.
29475
de283087
AD
294762011-07-07 Ulrich Drepper <drepper@gmail.com>
29477
4e5f31c8 29478 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29479 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29480 The latter has a higher limit. Take additional parameter to pass to
29481 the new function.
29482 (__pathconf): Pass file to __statfs_link_max.
29483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29484 __statfs_link_max.
29485 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29486 __statfs_link_max.
29487
de283087
AD
29488 [BZ #12868]
29489 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29490 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29491 Handle Lustre.
29492 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29493 (__statfs_filesize_max): Likewise.
29494 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29495
c75fa153
AJ
294962011-07-05 Andreas Jaeger <aj@suse.de>
29497
29498 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29499
1a544854
UD
295002011-07-06 Marek Polacek <mpolacek@redhat.com>
29501
29502 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29503 `status' variable.
29504 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29505 Likewise.
29506
6f0eec67
UD
295072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29508
29509 * Makefile (strop-tests): Add strncat.
29510 * string/test-strncat.c: New file.
29511
aae30307
UD
295122011-06-30 Marek Polacek <mpolacek@redhat.com>
29513
29514 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29515
c0cfb5eb
UD
295162011-06-21 Andreas Jaeger <aj@suse.de>
29517
29518 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29519 Copy rule from iconvdata/Makefile.
29520
01636b21
UD
295212011-07-06 Ulrich Drepper <drepper@gmail.com>
29522
29523 [BZ #12922]
29524 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29525 but no long options are defined, just return 'W'.
29526
9895c8bc
UD
295272011-06-22 Marek Polacek <mpolacek@redhat.com>
29528
29529 [BZ #9696]
29530 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29531
5d4cf042
UD
295322011-07-06 Ulrich Drepper <drepper@gmail.com>
29533
29534 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29535 netgroups to read.
960e5535 29536 (innetgr): Likewise.
5d4cf042 29537
751eb97e
RM
295382011-07-05 Roland McGrath <roland@hack.frob.com>
29539
29540 * config.make.in (install_root): Default to $(DESTDIR).
29541
f15f1e45
UD
295422011-07-05 Ulrich Drepper <drepper@gmail.com>
29543
29544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29545
4e34ac6a
RM
295462011-07-02 Roland McGrath <roland@hack.frob.com>
29547
5e9b6af4
RM
29548 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29549
84f9ea0f
RM
29550 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29551 containing directory rather than embedding absolute directory names.
29552
ea5ee9f7
RM
29553 * scripts/check-local-headers.sh: Rewritten using awk.
29554 Match by word, not by line. Print error messages for matches.
29555 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29556
1b74661a
RM
29557 * Makerules [shlib-lds-flags empty]:
29558 ($(common-objpfx)libc_pic.opts): New target.
29559 ($(common-objpfx)libc_pic.os.clean): New target.
29560 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29561
29562 * config.make.in (OBJCOPY): New variable.
29563 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29564 * configure: Regenerated.
29565
f781ef40
RM
29566 * config.make.in (use-default-link): New variable.
29567 * configure.in (use_default_link): Grok --with-default-link to set it.
29568 * configure: Regenerated.
29569 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29570 (shlib-lds, shlib-lds-flags): Define to empty.
29571
2d4fa81e
RM
29572 * Makerules (shlib-lds): New variable.
29573 (shlib-lds-flags): New variable.
29574 (build-shlib, build-moduile, build-module-asneeded): Use it.
29575 ($(common-objpfx)libc.so): Use $(shlib-lds).
29576 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29577 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29578
31fffa6b
RM
29579 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29580 DT_FLAGS/DT_FLAGS_1 with zero flags.
29581
4e34ac6a
RM
29582 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29583 linker script munging.
29584
fcfc776b
UD
295852011-07-02 Ulrich Drepper <drepper@gmail.com>
29586
29587 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29588 as 128-bit value.
29589 * crypt/sha512.c (sha512_process_block): Perform total addition using
29590 128-bit if possible.
29591 (__sha512_finish_ctx): Likewise.
29592 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29593 as 64-bit value.
29594 * crypt/sha256.c (SWAP64): Define.
29595 (sha256_process_block): Perform total addition using 64-bit if
29596 possible.
29597 (__sha256_finish_ctx): Likewise.
29598
99231d9a
UD
295992011-07-01 Ulrich Drepper <drepper@gmail.com>
29600
29601 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29602 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29603 * nscd/hstcache.c (cache_addhst): Likewise.
29604 * nscd/grpcache.c (cache_addgr): Likewise.
29605 * nscd/aicache.c (addhstaiX): Likewise
29606 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29607
445b4a53
TK
296082011-07-01 Thorsten Kukuk <kukuk@suse.de>
29609
29610 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29612 * nscd/hstcache.c (cache_addhst): Likewise.
29613 * nscd/grpcache.c (cache_addgr): Likewise.
29614 * nscd/aicache.c (addhstaiX): Likewise
29615
6d4d8e8e
AS
296162011-07-01 Andreas Schwab <schwab@redhat.com>
29617
29618 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29619 domain only when needed.
29620
89f654c5
AS
296212011-06-30 Andreas Schwab <schwab@redhat.com>
29622
29623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29624 is always restored.
29625
cf3b23ff
UD
296262011-06-29 Ulrich Drepper <drepper@gmail.com>
29627
29628 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29629 are re-adding the entry.
29630 * nscd/servicescache.c (cache_addserv): Likewise.
29631
751626f9
AJ
296322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29633
29634 * sysdeps/generic/dl-irel.h: fix protection against multiple
29635 inclusions.
29636 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29637
9113ea1f
UD
296382011-06-28 Ulrich Drepper <drepper@gmail.com>
29639
5c0b8d90
UD
29640 [BZ #12935]
29641 * malloc/memusage.sh: Fix quoting in message.
29642 * debug/xtrace.sh: Likewise.
29643
9113ea1f
UD
29644 * configure.in: Remove support for --experimental-malloc option, make
29645 it the default.
29646 * config.make.in: Likewise.
29647 * malloc/Makefile: Likewise.
29648
a4172181
AS
296492011-06-27 Andreas Schwab <schwab@redhat.com>
29650
29651 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29652 two-byte characters.
29653
78a7eee7
RM
296542011-06-27 Roland McGrath <roland@hack.frob.com>
29655
62bede13
RM
29656 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29657 AC_CACHE_CHECK invocation.
29658 * configure: Regenerated.
29659
78a7eee7
RM
29660 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29661
5ce33a62
UD
296622011-06-27 Ulrich Drepper <drepper@gmail.com>
29663
034807a9
UD
29664 [BZ #12350]
29665 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29666 bit from old_res_options.
29667
4902da17
UD
29668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29669
5ce33a62
UD
29670 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29671 value type for setfct.
29672
c2344f56
L
296732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29674
29675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29676 __gettimeofday instead of gettimeofday.
29677
68468076
UD
296782011-06-26 Ulrich Drepper <drepper@gmail.com>
29679
29680 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29681
acb0d739
L
296822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29683
29684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29685
29686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29687 info.
29688
8912479f
L
296892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29690
29691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29692 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29693 strcpy-sse2-unaligned strncpy-sse2-unaligned
29694 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29695 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29696 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29697 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29698 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29701 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29702 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29703 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29704 (STRCPY): Support SSE2 and SSSE3 versions.
29705
d5495a11
UD
297062011-06-24 Ulrich Drepper <drepper@gmail.com>
29707
29708 [BZ #12874]
29709 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29710 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29711 kernels which artificially limit size of requests.
29712
0b1cbaae
L
297132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29716 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29717 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29718 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29719 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29720 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29721 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29722 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29723 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29725 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29726 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29727 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29728 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29729 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29731 Enable unaligned load optimization for Intel Core i3, i5 and i7
29732 processors.
29733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29734 Define.
29735 (index_Fast_Unaligned_Load): Define.
29736 (HAS_FAST_UNALIGNED_LOAD): Define.
29737
07f494a0
MP
297382011-06-23 Marek Polacek <mpolacek@redhat.com>
29739
29740 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29741
fa3fc0fe
UD
297422011-06-22 Ulrich Drepper <drepper@gmail.com>
29743
29744 [BZ #12907]
29745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29746 until it is clear that the information is realy needed.
29747 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29748
e12df166
AS
297492011-06-22 Andreas Schwab <schwab@redhat.com>
29750
29751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29752
852eb34d
UD
297532011-06-22 Ulrich Drepper <drepper@gmail.com>
29754
84e2a551
UD
29755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29756 /sys/devices/system/cpu/online if it is usable.
29757
852eb34d
UD
29758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29759 reading the information from the /proc filesystem to once a second.
29760
6e502e19
UD
297612011-06-21 Andreas Jaeger <aj@suse.de>
29762
29763 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29764 NULL after inclusion of kernel headers.
29765
75d39ff2
UD
297662011-06-21 Ulrich Drepper <drepper@gmail.com>
29767
51f9aa6a
UD
29768 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29769 calls to internal_setent.
29770
c0244a9d
UD
29771 [BZ #12885]
29772 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29773 addresses using gethostbyname4_r ignore IPv4 addresses.
29774
c5e3c2ae
UD
29775 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29776 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29777
75d39ff2
UD
29778 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29779
42675c6f
DM
297802011-06-20 David S. Miller <davem@davemloft.net>
29781
29782 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29783 inclusions.
29784 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29785
29786 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29787 (elf_irel): Use it.
29788 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29789 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29790 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29791 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29792 * sysdeps/x86_64/dl-irel.h: Likewise.
29793
29794 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29795 * elf/dl-sym.c: Likewise.
29796
57912a71
UD
297972011-06-15 Ulrich Drepper <drepper@gmail.com>
29798
29799 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29800 need to dereference resplen2.
29801
ee22793d
AS
298022011-06-14 Andreas Schwab <schwab@redhat.com>
29803
29804 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29805
a9e836b0
UD
298062011-06-15 Ulrich Drepper <drepper@gmail.com>
29807
77fb9117
UD
29808 * Makeconfig: Define vardbdir and inst_vardbdir.
29809 * nss/Makefile: Add rules to install db-Makefile.
29810
40c1b22c
UD
29811 * nss/nss_db/db-XXX.c: Cleanup.
29812
9f2da732
UD
29813 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29814 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29815 GLIBC_PRIVATE.
29816 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29817 * nss/makedb.c: Implement -g option to specify that value strings
29818 are generated and should not be added to table iterated over for
29819 get*ent calls.
29820 * nss/nss_db/db-initgroups.c: New file.
29821
82e9a1f7
UD
29822 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29823 interface.
29824
c41af17e
UD
29825 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29826 (internal_getgrouplist): Adjust to name change.
29827 Update use_initgroups_entry if this is not the first call.
29828 * nss/databases.def: Add initgroups entry.
29829
a9e836b0
UD
29830 * nss/makedb.c (compute_tables): Check result of multiple hash table
29831 sizes to minimize maximum chain length.
29832
2666d441
UD
298332011-06-14 Ulrich Drepper <drepper@gmail.com>
29834
29835 * Versions.def: Add entry for libnss_db.
29836 * shlib-versions: Likewise.
29837 * nss/Makefile: Add rules to build libnss_db.
29838 * nss/Versions: Add libnss_db information. Organize libnss_files
29839 entries better.
29840 * nss/db-Makefile: Add gshadow support. Change rules for the new
29841 makedb progra. Some minor improvements to generate smaller files.
29842 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29843 here from...
29844 * nss/makedb.c: ...here.
29845 Improve database format to be smaller and require less memory at
29846 runtime.
29847 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29848 db anymore.
29849 * nss/nss_db/db-netgrp.c: Likewise.
29850 * nss/nss_db/db-open.c: Likewise.
29851 * nss/nss_files/flies-XXX.x: Adjust comments.
29852 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29853 * nss/nss_files/files-grp.c: Likewise.
29854 * nss/nss_files/files-hosts.c: Likewise.
29855 * nss/nss_files/files-network.c: Likewise.
29856 * nss/nss_files/files-proto.c: Likewise.
29857 * nss/nss_files/files-pwd.c: Likewise.
29858 * nss/nss_files/files-rpc.c: Likewise.
29859 * nss/nss_files/files-service.c: Likewise.
29860 * nss/nss_files/files-sgrp.c: Likewise.
29861 * nss/nss_files/files-spwd.c: Likewise.
29862 * nss/nss_db/db-alias.c: Removed.
29863 * nss/nss_db/dummy-db.h: Removed.
29864
9ee76b5a
UD
298652011-06-02 Ulrich Drepper <drepper@gmail.com>
29866
29867 * nss/makedb.c: Rewritten to not use database library.
29868 * nss/Makefile: Update to build new makedb program.
29869
c71ca1f8
AJ
298702011-06-14 Andreas Jaeger <aj@suse.de>
29871
29872 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29873 memset declaration.
29874
3154bfb8
UD
298752011-06-10 Andreas Schwab <schwab@redhat.com>
29876
29877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29878 tmpbuf.
29879
b350afab
RM
298802011-06-10 Roland McGrath <roland@hack.frob.com>
29881
decd4e50
RM
29882 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29883 * elf/Makefile ($(objpfx)ld.so): Likewise.
29884
5615eaf2
RM
29885 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29886 Don't list ld.so twice in dependencies.
29887
29888 * posix/bug-regex31.c: Include <stdlib.h>.
29889
29890 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29891
29892 * nis/nss_compat/compat-spwd.c
29893 (getspent_next_nss_netgr): Remove unused variable.
29894 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29895
29896 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29897 nonmembers" output to use the right array.
29898
29899 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29900
29901 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29902
29903 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29904 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29905 * catgets/gencat.c (read_input_file): Likewise.
29906 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29907
29908 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29909 variable definition inside #if's controlling its use.
29910
29911 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29912
29913 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29914
29915 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29916
29917 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29918 unreachable code.
29919
29920 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29921
b68e08db
RM
29922 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29923 * configure: Regenerated.
29924
b350afab
RM
29925 * Makerules: Revert last change.
29926 * elf/Makefile: Likewise.
29927
28368601
RM
299282011-06-09 Roland McGrath <roland@hack.frob.com>
29929
29930 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29931 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29932 (reloc-link): Likewise.
29933
11988f8f
UD
299342011-06-09 Ulrich Drepper <drepper@gmail.com>
29935
29936 * elf/Makefile: Add rules to build pldd.
29937 * elf/pldd.c: New file.
29938 * elf/pldd-xx.c: New file.
29939
e80fab37
UD
299402011-06-07 Ulrich Drepper <drepper@gmail.com>
29941
29942 * version.h: Update for 2.15 development version.
29943
9b849836
DM
299442011-06-07 David S. Miller <davem@davemloft.net>
29945
29946 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29947 ifuncs.
29948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29949 elf_machine_lazy_rel): Likewise.
29950 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29952 elf_machine_lazy_rel): Likewise.
29953 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29954 dl_hwcap via passed in argument.
29955 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29956 Likewise.
29957
5a31b283
AK
299582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29959
29960 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29961
069e52f8
RM
299622011-06-06 Roland McGrath <roland@hack.frob.com>
29963
29964 [BZ #12849]
29965 * manual/fdl-1.1.texi: New file, verbatim from:
29966 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29967 * manual/lgpl-2.1.texi: New file, verbatim from:
29968 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29969 * manual/Makefile (licenses): New variable, list those new file names.
29970 (texis): Use it.
29971 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29972
29973 * manual/fdl.texi: File removed.
29974 * manual/lesser.texi: File removed.
29975 * manual/libc.texinfo (Copying, Documentation License):
29976 Use new @include file names, put @appendix directive before @include.
29977
f16846a5
JJ
299782011-06-04 Jakub Jelinek <jakub@redhat.com>
29979
29980 [BZ #12841]
29981 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29982 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29983 (mq_open): Add __NTH.
29984
3d29045b
L
299852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29986
29987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29988 Assume Intel Core i3/i5/i7 processor if AVX is available.
29989
8c297311
UD
299902011-05-31 Ulrich Drepper <drepper@gmail.com>
29991
29992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29993 typo.
29994
c8fc0c91
UD
299952011-05-31 Andreas Schwab <schwab@redhat.com>
29996
29997 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29998 memory. Use alloca_account. Fix memory leak when retrying.
29999
5b27a807
UD
300002011-05-31 Ulrich Drepper <drepper@gmail.com>
30001
356f8bc6
UD
30002 * version.h (RELEASE): Bump for 2.14 release.
30003 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30004
5b27a807
UD
30005 * config.make.in (RANLIB): Remove entry.
30006
01f16ab0
UD
300072011-05-30 Ulrich Drepper <drepper@gmail.com>
30008
41fce8bd
UD
30009 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30010 (libc.pot): Work around missing support for .ksh extension in xgettext.
30011
4769ae77
UD
30012 [BZ #12684]
30013 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30014 if both request failed.
30015 (send_dg): In case of server errors clear resplen or *resplen2.
30016
6b1e7d19
UD
30017 [BZ #12454]
30018 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30019 when there are multiple maps.
30020 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30021 (_dl_fini): Remove test here.
30022
01f16ab0
UD
30023 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30024
b1ebd700
UD
300252011-05-29 Ulrich Drepper <drepper@gmail.com>
30026
7ae22829
UD
30027 [BZ #12350]
30028 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30029 bit from old_res_options.
30030 (gaih_inet): Likewise.
30031
553149f6 30032 [BZ #11099]
18a84741 30033 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30034 as signed.
30035
652ffab1
UD
30036 * resolv/res_init.c (res_setoptions): Make the code more compact.
30037
16985fd0
UD
30038 [BZ #11558]
30039 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30040 set RES_USEVC.
30041
0464f746
UD
30042 [BZ #11634]
30043 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30044
7d17596c
UD
30045 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30046
cf6bbbd7
UD
30047 [BZ #11781]
30048 * malloc/malloc.h: Declare malloc hook variables as volatile.
30049
13f1ab36
UD
30050 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30051 in last patch.
30052
b1ebd700
UD
30053 [BZ #11799]
30054 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30055 raise in the comment.
80e2212d
UD
30056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30058 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30059
ce67228d
UD
300602011-05-28 Ulrich Drepper <drepper@gmail.com>
30061
8887a920
UD
30062 [BZ #12811]
30063 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30064 grow the buffers more if it already has to be sufficient.
30065 (build_wcs_upper_buffer): Likewise.
30066 * posix/regexec.c (check_matching): Likewise.
30067 (clean_state_log_if_needed): Likewise.
30068 (extend_buffers): Don't enlarge buffers beyond size of the input
30069 buffer.
30070 Patches mostly by Emil Wojak <emil@wojak.eu>.
30071 * posix/bug-regex32.c: New file.
30072 * posix/Makefile (tests): Add bug-regex32.
30073
4f031072
UD
30074 * locale/findlocale.c (_nl_find_locale): Return right away if
30075 _nl_explode_name failed.
30076 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30077
d0478f0c
UD
30078 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30079
de81b246
UD
30080 * debug/xtrace.sh: Unify messages.
30081 * malloc/memusage.sh: Likewise.
30082
c738465a
UD
30083 [BZ #12813]
30084 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30085 time symbol from vDSO. Substitute with vsyscall if not available.
30086 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30087 __vdso_time.
30088
f1f929d7
UD
30089 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30090 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30091 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30092 Add sendmmsg and internal_sendmmsg.
30093 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30095 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30096
ce67228d
UD
30097 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30098 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30100
e57420c6
UD
301012011-05-27 Ulrich Drepper <drepper@gmail.com>
30102
a8509ca5
UD
30103 [BZ #12813]
30104 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30105 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30106 available.
30107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30108 __vdso_getcpu.
30109
e57420c6
UD
30110 [BZ #12814]
30111 * iconvdata/Makefile (tests): Add bug-iconv9.
30112 * iconvdata/bug-iconv9.c: New file.
30113
4d07db15
AS
301142011-05-27 Andreas Schwab <schwab@redhat.com>
30115
30116 [BZ #12814]
30117 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30118
ea486f69
JJ
301192011-05-25 Jakub Jelinek <jakub@redhat.com>
30120
30121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30122 (struct user_regs_struct): Change intcs field back to cs.
30123
6f038433
UD
301242011-05-25 Ulrich Drepper <drepper@gmail.com>
30125
30126 * po/ja.po: Update from translation team.
30127
67f86a25
UD
301282011-05-23 Ulrich Drepper <drepper@gmail.com>
30129
30130 [BZ #12795]
30131 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30132 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30133
def7fbd6
AS
301342011-05-20 Andreas Schwab <schwab@redhat.com>
30135
30136 * stdlib/longlong.h: Update from GCC.
30137
f50ef8f1
AS
301382011-05-23 Andreas Schwab <schwab@redhat.com>
30139
30140 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30141 parameter name.
30142 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30143 Add parameter name.
30144 (__sysconf): Pass it down.
30145
de7ce8f1
UD
301462011-05-22 Ulrich Drepper <drepper@gmail.com>
30147
f2962a71
UD
30148 [BZ #12671]
30149 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30150 some situations.
30151 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30152 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30153 add in in __libc_use_alloca calls. Adjust callers.
30154 (glob): Use malloc in some situations.
30155
de7ce8f1
UD
30156 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30157 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30158 pltexit.
30159
aec84f53
UD
301602011-05-21 Ulrich Drepper <drepper@gmail.com>
30161
05bb4a68
UD
30162 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30163 and CLOCK_BOOTTIME_ALARM.
30164
7ea72f99
UD
30165 [BZ #12782]
30166 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30167 is returned.
30168
7e4afad5
UD
30169 * string/_strerror.c (__strerror_r): Print negative errors as signed
30170 numbers.
30171
8e211fec
UD
30172 [BZ #12777]
30173 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30174 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30175 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30176
f7d82dc9
UD
30177 * configure.in: Fix typo in redirection and correct removal of test
30178 files in two cases.
30179
cc9e536d
UD
30180 [BZ #12788]
30181 * locale/setlocale.c (new_composite_name): Fix test to check for
30182 identical name of all categories.
30183
aec84f53
UD
30184 [BZ #12792]
30185 * libio/filedoalloc.c (local_isatty): New function.
30186 (_IO_file_doallocate): Use local_isatty.
30187 * stdio-common/perror.c (perror): In case a new stream is used
30188 forward the stream error.
30189 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30190 error flag.
30191
78e64fdc
RT
301922011-05-20 Ulrich Drepper <drepper@gmail.com>
30193
34a9094f
UD
30194 [BZ #11869]
30195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30196 alloca.
30197 * include/alloca.h (extend_alloca_account): Define.
30198
78e64fdc
RT
30199 [BZ #11857]
30200 * posix/regex.h: Fix comments with documentation of user-accessible
30201 fields after compilation and describe correct free'ing of pattern
30202 after re_compile_pattern.
30203 Patch by Reuben Thomas <rrt@sc3d.org>.
30204
457bddfc
RA
302052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30206
30207 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30208 and -mno-altivec to prevent the compiler from using Altivec and/or
30209 VSX instructions when the corresponding registers are not available.
30210
a4527b51
AS
302112011-05-19 Andreas Schwab <schwab@redhat.com>
30212
30213 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30214
ed690b2f
UD
302152011-05-19 Ulrich Drepper <drepper@gmail.com>
30216
30217 * libio/freopen.c (freopen): Use __dup2, not dup2.
30218 * libio/freopen64.c (freopen64): Likewise.
30219
8db73634
L
302202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30221
30222 [BZ #12775]
30223 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30224 * math/Makefile (tests): Add test-powl.
30225 (CFLAGS-test-powl.c): Define.
30226 * math/test-powl.c: New file.
30227
0a197a9d
L
302282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30231
ee30c380
UD
302322011-05-17 Ulrich Drepper <drepper@gmail.com>
30233
30234 [BZ #11837]
30235 * iconvdata/gb18030.c: Update to GB18020-2005.
30236
6ce75379
UD
302372011-05-16 Ulrich Drepper <drepper@gmail.com>
30238
a4b89fd8
AR
30239 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30240 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30241 Patch by Aharon Robbins <arnold@skeeve.com>.
30242
ea389b12
UD
30243 [BZ #11892]
30244 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30245 on the stack.
30246
68a3f91f
UD
30247 [BZ #11895]
30248 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30249 through underflows.
30250
15cc7dd1
UD
30251 [BZ #12766]
30252 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30253 point to strings before performing equality test for error_one_per_line
30254 mode.
30255
f3799213
UD
30256 [BZ #11697]
30257 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30258
d79a9c94
UD
30259 [BZ #11820]
30260 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30261 (struct user_fpregs_struct): Avoid __uint*_t types.
30262
56e5eb46
UD
30263 [BZ #6420]
30264 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30265 symbol info. Use it instead of calling _dl_addr locally.
30266 (lock_and_info): New function.
30267 (tr_freehook): Call lock_and_info and pass symbol info as additional
30268 parameter to tr_where.
30269 (tr_mallochook): Likewise.
30270 (tr_reallochook): Likewise.
30271 (tr_memalignhook): Likewise.
30272
6ce75379
UD
30273 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30274 used and couldn't be at all thread-safe.
30275
f8a3b5bf
UD
302762011-05-15 Ulrich Drepper <drepper@gmail.com>
30277
94b7cc37
UD
30278 * libio/freopen.c (freopen): Don't close old file descriptor
30279 before the new one is opened. Instead dup the new file descriptor
30280 to the old one after the new stream is created.
30281 * libio/freopen64.c (freopen64): Likewise.
30282 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30283 * libio/fileops.c (_IO_new_file_close_it): Handle new
30284 _IO_FLAGS2_NOCLOSE flag.
30285 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30286 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30287 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30288 _IO_FLAGS2_NOCLOSE flag.
30289 * include/unistd.h: Add hidden_proto for dup3.
30290 Define __have_dup3.
30291 * io/dup3.c: Define hidden symbol.
30292 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30293
bd25564e
UD
30294 [BZ #7101]
30295 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30296 when an incomplete long option is used.
30297 * posix/tst-getopt_long1.c: New file.
30298 * posix/Makefile (tests): Add tst-getopt_long1.
30299
c84cfef4
UD
30300 [BZ #10138]
30301 * scripts/config.guess: Update from autoconf-2.68.
30302 * scripts/config.sub: Likewise.
30303
3b85df27
UD
30304 [BZ #10157]
30305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30306 tests into ...
30307 (has_cpuclock): ...this. New function.
30308 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30309 macro here based on has_cpuclock code.
30310
15a856b1
UD
30311 [BZ #10149]
30312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30313 First byte (not low byte) is now always NUL.
30314 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30315
05f399e6
UD
30316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30317 Use non-cancelable interfaces.
30318
10a52685 30319 [BZ #9809]
94ecc67d
UD
30320 * locale/iso-639.def: Add entry for Sorani.
30321
f8a3b5bf
UD
30322 [BZ #11901]
30323 * include/stdlib.h: Move include protection to the right place.
30324 Define abort_msg_s. Declare __abort_msg with it.
30325 * stdlib/abort.c (__abort_msg): Adjust type.
30326 * assert/assert.c (__assert_fail_base): New function. Majority
30327 of code from __assert_fail. Allocate memory for __abort_msg with
30328 mmap.
30329 (__assert_fail): Now call __assert_fail_base.
30330 * assert/assert-perr.c: Remove bulk of implementation. Use
30331 __assert_fail_base.
30332 * include/assert.hL Declare __assert_fail_base.
30333 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30334 mmap.
30335 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30336
1af4e298
UD
303372011-05-14 Ulrich Drepper <drepper@gmail.com>
30338
f8a3b5bf 30339 [BZ #11952]
d26dfc60
MG
30340 [BZ #12453]
30341 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30342 until all modules are registered in the DTV.
30343 * elf/Makefile: Add rules to build and run tst-tls19.
30344 * elf/tst-tls19.c: New file.
30345 * elf/tst-tls19mod1.c: New file.
30346 * elf/tst-tls19mod2.c: New file.
30347 * elf/tst-tls19mod3.c: New file.
30348 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30349
2fc54d6f
UD
30350 [BZ #12083]
30351 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30352 correctly.
30353
98d76b46
UD
30354 [BZ #12601]
30355 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30356 two-byte sequence errors.
30357 * iconvdata/Makefile (tests): Add bug-iconv8.
30358 * iconvdata/bug-iconv8.c: New file.
30359
da3c19ef
UD
30360 [BZ #12626]
30361 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30362 buf2 definition.
30363
ca408c15
UD
30364 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30365
d6f67f7d
UD
30366 [BZ #12432]
30367 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30368 (dummy_getcfa): New function.
30369 (init): Get _Unwind_GetCFA address, use dummy if not found.
30370 (backtrace_helper): In recursion check, also check whether CFA changes.
30371 (__backtrace): Completely initialize arg.
30372
1af4e298 30373 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30374 storing incomplete byte sequence in state object. Avoid testing for
30375 guaranteed too small input if we know there is enough data available.
1af4e298 30376
da62f81b
AS
303772011-05-11 Andreas Schwab <schwab@redhat.com>
30378
30379 * Makeconfig (+link-pie): Indent.
30380 * Rules (binaries-pie): Define if $(have-fpie) and
30381 $(build-shared).
30382 (binaries-shared): Also filter out $(binaries-pie).
30383 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30384 * nscd/Makefile (others-pie): Add nscd.
30385 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30386 ($(objpfx)nscd): Remove command override.
30387 * login/Makefile (others-pie): Add pt_chown.
30388 ($(objpfx)pt_chown): Remove command override.
30389 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30390 remove command overrides.
30391
fcabc0f8
UD
303922011-05-13 Ulrich Drepper <drepper@gmail.com>
30393
20030ae6
UD
30394 * libio/tst_putwc.c: Fix error messages.
30395
fcabc0f8
UD
30396 [BZ #12724]
30397 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30398 currently writing and seek to current position when not.
30399 * libio/Makefile (tests): Add bug-fclose1.
30400 * libio/bug-fclose1.c: New file.
30401
320a5dc0
PB
304022011-05-12 Ulrich Drepper <drepper@gmail.com>
30403
30404 [BZ #12511]
30405 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30406 don't set DF_1_NODELETE here.
30407 (do_lookup_x): When entering new entry test for copy relocation
30408 and if necessary set DF_1_NODELETE flag.
30409 * elf/tst-unique4.cc: New file.
30410 * elf/tst-unique4.h: New file.
30411 * elf/tst-unique4lib.cc: New file.
30412 * elf/Makefile: Add rules to build and run tst-unique4.
30413 Patch by Piotr Bury <pbury@goahead.com>.
30414
22836f52
UD
304152011-05-11 Ulrich Drepper <drepper@gmail.com>
30416
f574184a
UD
30417 [BZ #12052]
30418 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30419
e1fb097f
UD
30420 [BZ #12625]
30421 * misc/mntent_r.c (addmntent): Flush the stream after the output
30422
22836f52
UD
30423 [BZ #12393]
30424 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30425 (is_trusted_path_normalize): Skip initial colon. Append slash
30426 to empty buffer. Duplicate is_trusted_path code but allow
30427 constructed patch to be prefix.
30428 (is_dst): Allow $ORIGIN followed by /.
30429 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30430 Correct testing of result of is_trusted_path_normalize
30431 (decompose_rpath): Fix warning.
30432
7b3b0b2a
UD
304332011-05-10 Ulrich Drepper <drepper@gmail.com>
30434
30435 [BZ #11257]
30436 * grp/initgroups.c (internal_getgrouplist): When we found the service
30437 list through the initgroups entry in nsswitch.conf do not always
30438 continue on a successful lookup. Don't always use the
eac80ce2 30439 __nss_group_database value if it is set.
7b3b0b2a
UD
30440 * nss/nsswitch.conf (initgroups): Change action for successful db
30441 lookup to continue for compatibility.
30442
2a81eaa5
UD
304432011-05-09 Ulrich Drepper <drepper@gmail.com>
30444
be97a69e
UD
30445 [BZ #11532]
30446 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30447 and CP774 modules.
30448 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30449 and CP774 modules.
30450 * iconvdata/tst-tables.sh: Likewise.
30451 * iconvdata/cp770.c: New file.
30452 * iconvdata/cp771.c: New file.
30453 * iconvdata/cp772.c: New file.
30454 * iconvdata/cp773.c: New file.
30455 * iconvdata/cp774.c: New file.
30456 * iconvdata/testdata/CP770: New file.
30457 * iconvdata/testdata/CP770..UTF8: New file.
30458 * iconvdata/testdata/CP771: New file.
30459 * iconvdata/testdata/CP771..UTF8: New file.
30460 * iconvdata/testdata/CP772: New file.
30461 * iconvdata/testdata/CP772..UTF8: New file.
30462 * iconvdata/testdata/CP773: New file.
30463 * iconvdata/testdata/CP773..UTF8: New file.
30464 * iconvdata/testdata/CP774: New file.
30465 * iconvdata/testdata/CP774..UTF8: New file.
30466
30467 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30468 END CHARMAP line.
30469 * iconvdata/gen-8bit-gap.sh: Likewise.
30470 * iconvdata/gen-8bit.sh: Likewise.
30471
c1e9e399
UD
30472 * locale/iso-639.def: Add ary entry.
30473
24c55fb3 30474 [BZ #11258]
96b4b1b0
UD
30475 * locale/C-translit.h.in: Add U20A1 transliteration.
30476
bdc2f971
KB
30477 [BZ #12178]
30478 * locale/iso-639.def: Add wae entry.
30479 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30480
2952b117
UD
30481 [BZ #12545]
30482 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30483 for n.
30484
2a81eaa5
UD
30485 [BZ #12711]
30486 * locale/C-translit.h.in: Add entry for U20B9.
30487 Patch by pravin.d.s@gmail.com.
30488
28377d1b
UD
304892011-05-08 Ulrich Drepper <drepper@gmail.com>
30490
7fb90fb8
UD
30491 [BZ #12713]
30492 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30493 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30494 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30495 in rtld. Use *stat64.
7fb90fb8 30496 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30497 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30498 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30499 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30500 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30501 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30502 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30503 __fstatat64 macros.
7fb90fb8
UD
30504 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30505 * dirent/rewinddir.c: Add libc_hidden_def.
30506 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30507 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30508
28377d1b
UD
30509 * include/dirent.h (__alloc_dir): Add flags parameter.
30510 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30511 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30512 __alloc_dir.
30513 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30514 from fdopendir if O_CLOEXEC is already set.
30515
66bdbaa4
AM
305162011-03-15 Alan Modra <amodra@gmail.com>
30517
30518 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30519 l_tls_firstbyte_offset non-zero. Save padding offset in
30520 l_tls_firstbyte_offset for later use.
30521 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30522 freeing static tls block.
30523
95721191
JN
305242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30525
30526 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30527 where #ifdef was intended. The intent is to prevent ARG_MAX from
30528 being defined by the kernel headers.
30529
f87dfb1f
UD
305302011-05-07 Ulrich Drepper <drepper@gmail.com>
30531
30532 [BZ #12734]
30533 * resolv/resolv.h: Define RES_NOTLDQUERY.
30534 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30535 no-tld-query and set RES_NOTLDQUERY.
30536 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30537 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30538 modern BIND to search name as TLD unless forbidden.
30539
47c3cd7a
UD
305402011-05-07 Petr Baudis <pasky@suse.cz>
30541 Ulrich Drepper <drepper@gmail.com>
30542
30543 [BZ #12393]
30544 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30545 (is_trusted_path): ...to here.
c1e9ea35 30546 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30547 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30548 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30549
8a35c912
PP
305502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30551
30552 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30553 __BEGIN/__END_DECLS.
30554
acd41f47
UD
305552011-05-06 Ulrich Drepper <drepper@gmail.com>
30556
30557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30558 NSS_STATUS_NOTFOUND if no record was found.
30559
597df647
AS
305602011-05-05 Andreas Schwab <schwab@redhat.com>
30561
30562 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30563 (headers-not-in-tirpc): Remove rpc/netdb.h
30564 * resolv/netdb.h: Revert last change.
30565
b9af1301
PP
305662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30567
30568 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30569 circular dependency between libgcc.a and libc.a.
30570
4e34d5f5
AS
305712011-05-05 Andreas Schwab <schwab@redhat.com>
30572
30573 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30574 * nis/Makefile: Don't install rpcsvc/*.
30575 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30576 instead of <rpc/types.h>.
30577 (MAXHOSTNAMELEN): Define.
30578
00ee369c
AS
305792011-05-03 Andreas Schwab <schwab@redhat.com>
30580
30581 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30582
0b592a30
MB
305832011-04-28 Maciej Babinski <mbabinski@google.com>
30584
30585 [BZ #12714]
30586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30587 gethostbyname4_r when IPv6 results are possible.
30588
6e04cbbe
UD
305892011-05-02 Ulrich Drepper <drepper@gmail.com>
30590
30591 [BZ #12723]
30592 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30593 _PC_PIPE_BUF handling.
30594
e4ecafe0
BH
305952011-04-30 Bruno Haible <bruno@clisp.org>
30596
30597 [BZ #12717]
30598 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30599 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30600 to 'int'.
30601 * inet/getnameinfo.c (getnameinfo): Likewise.
30602
125ee683
UD
306032011-04-29 Ulrich Drepper <drepper@gmail.com>
30604
30605 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30606 to groups setting in database lookup.
30607 * nss/nsswitch.conf: Add initgroups entry.
30608
b722481a
EB
306092011-04-22 Ulrich Drepper <drepper@gmail.com>
30610
30611 [BZ #12685]
30612 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30613 mode string.
30614 Patch by Eric Blake <eblake@redhat.com>.
30615
4df46dbd
L
306162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30617
30618 * sunrpc/Makefile (need-export-routines): Add svc_run.
30619 (routines): Remove svc_run.
30620 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30621 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30622 * sunrpc/svc_run.c (svc_run): Likewise.
30623 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30624
e84142d2
UD
306252011-04-21 Ulrich Drepper <drepper@gmail.com>
30626
30627 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30628 problem in reallocation in last patch.
30629
877175d8
UD
306302011-04-20 Ulrich Drepper <drepper@gmail.com>
30631
30632 * sunrpc/Makefile: Move inclusion of Rules.
30633
ab8eed78
UD
306342011-04-19 Ulrich Drepper <drepper@gmail.com>
30635
30636 * nss/nss_files/files-initgroups.c: New file.
30637 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30638 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30639 _nss_files_initgroups_dyn.
30640
e3d8f584
RS
306412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30642
30643 * elf/elf.h (R_ARM_IRELATIVE): Define.
30644
af190f45
UD
306452011-04-19 Ulrich Drepper <drepper@gmail.com>
30646
30647 * po/ru.po: Update from translation team.
30648
53cf59ef
UD
306492011-04-17 Ulrich Drepper <drepper@gmail.com>
30650
30651 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30652 dependencies.
30653
4c559bcd
MF
306542011-02-06 Mike Frysinger <vapier@gentoo.org>
30655
30656 [BZ #12653]
30657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30658 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30662
4420675c
AS
306632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30664
30665 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30666 differing bytes.
30667 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30670
75ea32ab
UD
306712011-04-17 Ulrich Drepper <drepper@gmail.com>
30672
30673 [BZ #12420]
30674 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30675 storing it.
30676 * stdlib/bug-getcontext.c: New file.
30677 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30678
27390476
AK
306792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30680
30681 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30682 instructions into .machine "z9-109".
30683 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30684 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30685
10442705
AK
306862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30687
30688 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30689 between environment variables and auxiliary vector.
30690
7b57bfe5
UD
306912011-04-16 Ulrich Drepper <drepper@gmail.com>
30692
30693 * Makefile: Add rules to build linkobj/libc.so.
30694 * include/libc-symbols.h: Define libc_hidden_nolink.
30695 * include/rpc/auth.h: Mark functions which are to be hidden.
30696 * include/rpc/auth_des.h: Likewise.
30697 * include/rpc/auth_unix.h: Likewise.
30698 * include/rpc/clnt.h: Likewise.
30699 * include/rpc/des_crypt.h: Likewise.
30700 * include/rpc/key_prot.h: Likewise.
30701 * include/rpc/pmap_clnt.h: Likewise.
30702 * include/rpc/pmap_prot.h: Likewise.
30703 * include/rpc/pmap_rmt.h: Likewise.
30704 * include/rpc/rpc_msg.h: Likewise.
30705 * include/rpc/svc.h: Likewise.
30706 * include/rpc/svc_auth.h: Likewise.
30707 * include/rpc/xdr.h: Likewise.
30708 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30709 * nss/Makefile: Likewise.
30710 * sunrpc/Makefile: Don't install headers. Build library with normal
30711 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30712 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30713 for the compat linking library. Remove use of INTDEF/INTUSE.
30714 * sunrpc/auth_none.c: Likewise.
30715 * sunrpc/auth_unix.c: Likewise.
30716 * sunrpc/authdes_prot.c: Likewise.
30717 * sunrpc/authuxprot.c: Likewise.
30718 * sunrpc/clnt_gen.c: Likewise.
30719 * sunrpc/clnt_perr.c: Likewise.
30720 * sunrpc/clnt_raw.c: Likewise.
30721 * sunrpc/clnt_simp.c: Likewise.
30722 * sunrpc/clnt_tcp.c: Likewise.
30723 * sunrpc/clnt_udp.c: Likewise.
30724 * sunrpc/clnt_unix.c: Likewise.
30725 * sunrpc/des_crypt.c: Likewise.
30726 * sunrpc/des_soft.c: Likewise.
30727 * sunrpc/get_myaddr.c: Likewise.
30728 * sunrpc/key_call.c: Likewise.
30729 * sunrpc/key_prot.c: Likewise.
30730 * sunrpc/netname.c: Likewise.
30731 * sunrpc/pm_getmaps.c: Likewise.
30732 * sunrpc/pm_getport.c: Likewise.
30733 * sunrpc/pmap_clnt.c: Likewise.
30734 * sunrpc/pmap_prot.c: Likewise.
30735 * sunrpc/pmap_prot2.c: Likewise.
30736 * sunrpc/pmap_rmt.c: Likewise.
30737 * sunrpc/publickey.c: Likewise.
30738 * sunrpc/rpc_cmsg.c: Likewise.
30739 * sunrpc/rpc_common.c: Likewise.
30740 * sunrpc/rpc_dtable.c: Likewise.
30741 * sunrpc/rpc_prot.c: Likewise.
30742 * sunrpc/rpc_thread.c: Likewise.
30743 * sunrpc/rtime.c: Likewise.
30744 * sunrpc/svc.c: Likewise.
30745 * sunrpc/svc_auth.c: Likewise.
30746 * sunrpc/svc_authux.c: Likewise.
30747 * sunrpc/svc_raw.c: Likewise.
30748 * sunrpc/svc_run.c: Likewise.
30749 * sunrpc/svc_simple.c: Likewise.
30750 * sunrpc/svc_tcp.c: Likewise.
30751 * sunrpc/svc_udp.c: Likewise.
30752 * sunrpc/svc_unix.c: Likewise.
30753 * sunrpc/svcauth_des.c: Likewise.
30754 * sunrpc/xcrypt.c: Likewise.
30755 * sunrpc/xdr.c: Likewise.
30756 * sunrpc/xdr_array.c: Likewise.
30757 * sunrpc/xdr_float.c: Likewise.
30758 * sunrpc/xdr_intXX_t.c: Likewise.
30759 * sunrpc/xdr_mem.c: Likewise.
30760 * sunrpc/xdr_rec.c: Likewise.
30761 * sunrpc/xdr_ref.c: Likewise.
30762 * sunrpc/xdr_sizeof.c: Likewise.
30763 * sunrpc/xdr_stdio.c: Likewise.
30764
e6c61494
UD
307652011-04-10 Ulrich Drepper <drepper@gmail.com>
30766
30767 [BZ #12650]
30768 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30769 * sysdeps/ia64/dl-tls.h: Likewise.
30770 * sysdeps/powerpc/dl-tls.h: Likewise.
30771 * sysdeps/s390/dl-tls.h: Likewise.
30772 * sysdeps/sh/dl-tls.h: Likewise.
30773 * sysdeps/sparc/dl-tls.h: Likewise.
30774 * sysdeps/x86_64/dl-tls.h: Likewise.
30775 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30776
34fe483e
AS
307772011-03-14 Andreas Schwab <schwab@redhat.com>
30778
30779 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30780 rpath element also skip the following colon.
30781 (expand_dynamic_string_token): Add is_path parameter and pass
30782 down to DL_DST_REQUIRED and _dl_dst_substitute.
30783 (decompose_rpath): Call expand_dynamic_string_token with
30784 non-zero is_path. Ignore empty rpaths.
30785 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30786 with zero is_path.
30787
f12a32e6
AS
307882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30789
30790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30791 Make cancelable.
30792
38a7d692
UD
307932011-04-09 Ulrich Drepper <drepper@gmail.com>
30794
30795 [BZ #12655]
30796 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30797 Patch by Filipe David Manana <fdmanana@apache.org>.
30798
e451d22b
AS
307992011-04-07 Andreas Schwab <schwab@redhat.com>
30800
30801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30802 Maintain aligned stack.
30803 (CHECK_RSP): Remove unused macro.
30804
dedc7c7b
UD
308052011-04-03 Ulrich Drepper <drepper@gmail.com>
30806
30807 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30809
94521213
UD
308102011-04-02 Ulrich Drepper <drepper@gmail.com>
30811
30812 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30813
8cb700c0 30814 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30815
0354e355
L
308162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30817
30818 [BZ #12518]
30819 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30820 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30821 * sysdeps/x86_64/memmove.c: New file.
30822 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30823 (memcpy): Renamed to ...
30824 (__new_memcpy): This.
30825 (memcpy): Provide GLIBC_2_14 memcpy.
30826 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30827 (memcpy): Provide GLIBC_2_2_5 memcpy.
30828
8593482f
UD
308292011-04-01 Ulrich Drepper <drepper@gmail.com>
30830
30831 [BZ #12631]
30832 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30833
81a5726b
AS
308342011-03-30 Andreas Schwab <schwab@redhat.com>
30835
30836 * misc/syncfs.c: New file.
30837 * misc/Makefile (routines): Add syncfs.
30838 * posix/unistd.h: Declare syncfs.
30839 * sysdeps/unix/syscalls.list: Add syncfs.
30840
00e5419f
AS
308412011-04-01 Andreas Schwab <schwab@redhat.com>
30842
30843 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30844 open_by_handle_at.
30845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30846 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30850 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30852
748876bf
UD
308532011-04-01 Ulrich Drepper <drepper@gmail.com>
30854
658e451d
UD
30855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30857 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30862
748876bf
UD
30863 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30864 sync_file_range.c with -fexceptions.
30865 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30866 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30867 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30868 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30869 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30870 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30872 sync_file_range as cancellation point
30873 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30874 now a wrapper around __call_sync_file_range with cancellation handling.
30875 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30876 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30877 function name to __call_sync_file_range.
30878 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30879 Add call_sync_file_range.
748876bf 30880
6e63d5e1
AS
308812011-04-01 Andreas Schwab <schwab@redhat.com>
30882
30883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30884 bits/timex.h.
6e63d5e1 30885
46998f74
UD
308862011-04-01 Ulrich Drepper <drepper@gmail.com>
30887
4c1423ed
UD
30888 * iconv/iconv.h: Fix typo in comment.
30889 * io/fcntl.h: Likewise.
30890 * libio/stdio.h: Likewise.
30891 * posix/spawn.h: Likewise.
30892 * posix/unistd.h: Likewise.
30893 * stdlib/stdlib.h: Likewise.
30894 * time/time.h: Likewise.
30895 * wcsmbs/wchar.h: Likewise.
30896
158648c0
UD
30897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30898 open_by_handle): Add.
30899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30900 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30901 Augment a few comments.
30902 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30904 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30907 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30908 open_by_handle.
30909
46998f74
UD
30910 * io/fcntl.h (AT_EMPTY_PATH): Define.
30911
83fe108b
UD
309122011-03-30 Ulrich Drepper <drepper@gmail.com>
30913
30914 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30915 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30916 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30917 to...
30918 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30919 * Versions.def: Add GLIBC_2.14.
30920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30921 Export.
83fe108b 30922
bb242059
UD
309232011-03-22 Ulrich Drepper <drepper@gmail.com>
30924
30925 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30926 round counter.
30927 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30928
c97a1282
L
309292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 [BZ #12597]
30932 * string/test-strncmp.c (do_page_test): New function.
30933 (check2): Likewise.
30934 (test_main): Call check2.
30935 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30936
2a115601
UD
309372011-03-20 Ulrich Drepper <drepper@gmail.com>
30938
30939 [BZ #12587]
30940 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30941 Handle cache information in CPU leaf 4.
30942 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30943
8126d904
UD
309442011-03-18 Ulrich Drepper <drepper@gmail.com>
30945
042c49c6 30946 [BZ #12583]
8126d904
UD
30947 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30948 character representation.
30949 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30950
ccfe366e
RA
309512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30952
30953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30954 END(__isnan) to END(__isnanf) to match function entry point/label
30955 EALIGN(__isnanf,...).
30956
c6e13027
JJ
309572011-03-10 Jakub Jelinek <jakub@redhat.com>
30958
30959 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30960
33f85a3f
UD
309612011-03-10 Ulrich Drepper <drepper@gmail.com>
30962
028478fa
UD
30963 [BZ #12510]
30964 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30965 copy from the symbol referenced in the relocation to initialize the
30966 used variable.
30967 Patch by Piotr Bury <pbury@goahead.com>.
30968 * elf/Makefile: Add rules to build and tst-unique3.
30969 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30970 * elf/tst-unique3.cc: New file.
30971 * elf/tst-unique3.h: New file.
30972 * elf/tst-unique3lib.cc: New file.
30973 * elf/tst-unique3lib2.cc: New file.
30974
33f85a3f
UD
30975 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30976
03592fc7
MF
309772011-03-10 Mike Frysinger <vapier@gentoo.org>
30978
30979 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30980 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30981 to _start.
03592fc7 30982
6a5ee102
UD
309832011-03-06 Ulrich Drepper <drepper@gmail.com>
30984
30985 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30986 to-be-loaded object along a path to loader is ld.so.
30987
7e4ba49c
HJ
309882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30989 Ulrich Drepper <drepper@gmail.com>
30990
30991 * sysdeps/x86_64/memset.S: After aligning destination, code
30992 branches to different locations depending on the value of
30993 misalignment, when multiarch is enabled. Fix this.
30994
309952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30996
30997 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30998 Set _x86_64_preferred_memory_instruction for AMD processsors.
30999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31000 Set bit_Prefer_SSE_for_memop for AMD processors.
31001
13a804de
UD
310022011-03-04 Ulrich Drepper <drepper@gmail.com>
31003
31004 * libio/fmemopen.c (fmemopen): Optimize a bit.
31005
9d25c392
AS
310062011-03-03 Andreas Schwab <schwab@redhat.com>
31007
31008 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31009
a5543c6a
RM
310102011-03-03 Roland McGrath <roland@redhat.com>
31011
31012 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31013
012d35f7
DM
310142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31015
7e4ba49c 31016 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31017 __bzero_ultra1 instead of __memset_ultra1.
31018
4bff6e01
AS
310192011-02-23 Andreas Schwab <schwab@redhat.com>
31020 Ulrich Drepper <drepper@gmail.com>
31021
31022 [BZ #12509]
31023 * include/link.h (struct link_map): Add l_orig_initfini.
31024 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31025 returning unsuccessfully.
31026 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31027 close of a file loaded at startup, restore the original l_initfini
31028 list.
31029 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31030 list, store the pointer.
31031 * elf/Makefile ($(objpfx)noload-mem): New rule.
31032 (noload-ENV): Define.
31033 (tests): Add $(objpfx)noload-mem.
31034 * elf/noload.c: Include <memcheck.h>.
31035 (main): Call mtrace. Close all opened handles.
31036
f2092faf
AS
310372011-02-17 Andreas Schwab <schwab@redhat.com>
31038
31039 [BZ #12454]
31040 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31041 dependencies are missing.
31042
6c8a2e88
ST
310432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31044
f2092faf 31045 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31046 Hurd needs munmap.
31047 * sysdeps/mach/hurd/ifreq.h: New file.
31048
84a42118
PB
310492011-01-27 Petr Baudis <pasky@suse.cz>
31050 Ulrich Drepper <drepper@gmail.com>
31051
071f805e 31052 [BZ 12445]#
84a42118
PB
31053 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31054 to extend_alloca().
31055 * stdio-common/bug23.c: New file.
31056 * stdio-common/Makefile (tests): Add bug23.
31057
e23fe25b
AS
310582010-09-28 Andreas Schwab <schwab@redhat.com>
31059 Ulrich Drepper <drepper@gmail.com>
31060
31061 [BZ #12489]
31062 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31063 before performing relro protection. At old place add assertion
31064 to make sure nothing changed.
31065
d3f02e10
NS
310662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31067 Glauber de Oliveira Costa <glommer@gmail.com>
31068
31069 * elf/elf.h: Add new ARM TLS relocs.
31070
d55fd7a5
RA
310712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31072
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31074 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31075 cast from r3.
31076 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31077 'tests' variable.
31078 * sysdeps/wordsize-64/tst-writev.c: New file.
31079
2206397e
RA
310802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31081
31082 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31083 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31084 insns in _dl_start to prevent a TOC reference before relocs are
31085 resolved.
31086
e9433893
UD
310872011-02-15 Ulrich Drepper <drepper@gmail.com>
31088
31089 [BZ #12469]
31090 * Makeconfig: Remove RANLIB definition.
31091 * Makerules: Don't use RANLIB.
31092 * aclocal.m4: Remove ranlib test.
31093 * configure.in: No need to check for ranlib.
31094 * elf/rtld-Rules: Don't use RANLIB.
31095
f75286c6
ST
310962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31097
8e31c82d
ST
31098 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31099 protection macro.
31100 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31101 inclusion protection macro.
31102
f75286c6
ST
31103 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31104 SIGRTMIN and SIGRTMAX and print information in that case only when
31105 SIGRTMIN is defined.
31106
c1d0e639
JJ
311072011-02-11 Jakub Jelinek <jakub@redhat.com>
31108
31109 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31110 arginfo fn returning -1.
31111
31112 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31113 and thousands string is zero terminated.
31114
edf9294e
AS
311152011-02-03 Andreas Schwab <schwab@redhat.com>
31116
31117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31118 sysdeps/unix/sysv/linux/bits/socket.h.
31119
2b7e92df
ST
311202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31121
edf9294e
AS
31122 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31123 (__CPU_COUNT): Remove old macros.
31124 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31125 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31126 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31127 (__sched_cpualloc, __sched_cpufree): Add declarations.
31128
a4c7ea7b
UD
311292011-02-05 Ulrich Drepper <drepper@gmail.com>
31130
31131 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31132 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31133 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31134 (readdhstai): Return value of addhstaiX call.
31135 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31136 (addgrbyX): Return value returned by cache_addgr.
31137 (readdgrbyname): Return value returned by addgrbyX.
31138 (readdgrbygid): Likewise.
31139 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31140 (addpwbyX): Return value returned by cache_addpw.
31141 (readdpwbyname): Return value returned by addhstbyX.
31142 (readdpwbyuid): Likewise.
31143 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31144 (addservbyX): Return value returned by cache_addserv.
31145 (readdservbyname): Return value returned by addservbyX:
31146 (readdservbyport): Likewise.
31147 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31148 (addhstbyX): Return value returned by cache_addhst.
31149 (readdhstbyname): Return value returned by addhstbyX.
31150 (readdhstbyaddr): Likewise.
31151 (readdhstbynamev6): Likewise.
31152 (readdhstbyaddrv6): Likewise.
31153 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31154 (readdinitgroups): Return value returned by addinitgroupsX.
31155 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31156 (prune_cache): Keep track of timeout value of re-added entries.
31157 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31158 * nscd/nscd.h: Adjust prototypes of readd* functions.
31159
a0bf67cc
RM
311602011-02-04 Roland McGrath <roland@redhat.com>
31161
31162 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31163 (nis_stats): Likewise.
31164 * nis/nis_modify.c (nis_modify): Likewise.
31165 * nis/nis_remove.c (nis_remove): Likewise.
31166 * nis/nis_add.c (nis_add): Likewise.
31167
31168 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31169
31170 * posix/fnmatch_loop.c: Add some consts.
31171
31172 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31173
435b95eb
L
311742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31175
31176 [BZ #12460]
31177 * config.make.in (config-cflags-novzeroupper): Define.
31178 * configure.in: Substitute libc_cv_cc_novzeroupper.
31179 * elf/Makefile (AVX-CFLAGS): Define.
31180 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31181 (CFLAGS-tst-auditmod4a.c): Likewise.
31182 (CFLAGS-tst-auditmod4b.c): Likewise.
31183 (CFLAGS-tst-auditmod6b.c): Likewise.
31184 (CFLAGS-tst-auditmod6c.c): Likewise.
31185 (CFLAGS-tst-auditmod7b.c): Likewise.
31186 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31187
8517b15e
UD
311882011-02-02 Ulrich Drepper <drepper@gmail.com>
31189
31190 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31191 function to the callback.
31192 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31193
10a656fe
AS
311942011-02-02 Andreas Schwab <schwab@redhat.com>
31195
31196 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31197 of errno.
31198
968dad0a
UD
311992011-01-19 Ulrich Drepper <drepper@gmail.com>
31200
9f94d2ea 31201 [BZ #11724]
968dad0a
UD
31202 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31203 of constructors.
31204 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31205 of destructors.
31206 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31207
31208 [BZ #11724]
31209 * elf/Makefile: Add rules to build and run new test.
31210 * elf/tst-initorder.c: New file.
31211 * elf/tst-initorder.exp: New file.
31212 * elf/tst-initordera1.c: New file.
31213 * elf/tst-initordera2.c: New file.
31214 * elf/tst-initordera3.c: New file.
31215 * elf/tst-initordera4.c: New file.
31216 * elf/tst-initorderb1.c: New file.
31217 * elf/tst-initorderb2.c: New file.
31218 * elf/tst-order-a1.c: New file.
31219 * elf/tst-order-a2.c: New file.
31220 * elf/tst-order-a3.c: New file.
31221 * elf/tst-order-a4.c: New file.
31222 * elf/tst-order-b1.c: New file.
31223 * elf/tst-order-b2.c: New file.
31224 * elf/tst-order-main.c: New file.
31225 New test case by George Gensure <werkt0@gmail.com>.
31226
86e92359
UD
312272010-10-01 Andreas Schwab <schwab@redhat.com>
31228
31229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31230 decoding ACE if AI_CANONIDN.
31231
5d5732b0
UD
312322011-01-18 Ulrich Drepper <drepper@gmail.com>
31233
31234 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31235
a77e8cbc
UD
312362011-01-17 Ulrich Drepper <drepper@gmail.com>
31237
6392473f
UD
31238 * version.h (RELEASE): Bump for 2.13 release.
31239 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31240
620a0529
UD
31241 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31242
18ba70a5
UD
31243 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31244 MADV_NOHUGEPAGE.
32465c3e
UD
31245 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31247 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31248 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31249 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31250 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31251
c0dafcf1
UD
31252 * posix/getconf.c: Update copyright year.
31253 * catgets/gencat.c: Likewise.
31254 * csu/version.c: Likewise.
31255 * debug/catchsegv.sh: Likewise.
31256 * debug/xtrace.sh: Likewise.
31257 * elf/ldconfig.c: Likewise.
31258 * elf/ldd.bash.in: Likewise.
31259 * elf/sprof.c (print_version): Likewise.
31260 * iconv/iconv_prog.c: Likewise.
31261 * iconv/iconvconfig.c: Likewise.
31262 * locale/programs/locale.c: Likewise.
31263 * locale/programs/localedef.c: Likewise.
31264 * malloc/memusage.sh: Likewise.
31265 * malloc/mtrace.pl: Likewise.
31266 * nscd/nscd.c (print_version): Likewise.
31267 * nss/getent.c: Likewise.
31268
a77e8cbc
UD
31269 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31270 PF_CAIF, and PF_ALG.
31271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31272
77e8bddf
AS
312732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31274
1f20b93a
AS
31275 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31276 (modules-names): Use them.
31277 (ifunc-test-modules, ifunc-pie-tests): Define.
31278 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31279 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31280 (test-extras): Likewise.
31281 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31282 $(compile-command.c).
31283 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31284 (all-built-dso): Define.
31285 (check-textrel.out, check-execstack.out): Depend on it.
31286
77e8bddf
AS
31287 * configure.in: Don't override --enable-multi-arch.
31288
bc425b33
UD
312892011-01-15 Ulrich Drepper <drepper@gmail.com>
31290
31291 [BZ #6812]
31292 * nscd/hstcache.c (tryagain): Define.
31293 (cache_addhst): Return tryagain not notfound for temporary errors.
31294 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31295 failed.
31296
794c3ad3
UD
312972011-01-14 Ulrich Drepper <drepper@gmail.com>
31298
70181fdd
UD
31299 [BZ #10563]
31300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31301 to make the syscall.
31302 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31303
794c3ad3
UD
31304 [BZ #12378]
31305 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31306 and fall back to matching as normal character if the string ends before
31307 the matching ']' is found. This is what POSIX requires.
31308 * posix/testfnm.c: Adjust test result.
31309 * posix/globtest.sh: Adjust test result. Add new test.
31310 * posix/tst-fnmatch.input: Likewise.
31311 * posix/tst-fnmatch2.c: Add new test.
31312
68dc9497
AS
313132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31314
31315 * elf/Makefile (check-execstack): Revert last change. Depend on
31316 check-execstack.h.
31317 (check-execstack.h): New target.
31318 (generated): Add check-execstack.h.
31319 * elf/check-execstack.c: Include "check-execstack.h".
31320 (main): Revert last change.
31321 (handle_file): Return zero if GNU_STACK is absent and
31322 DEFAULT_STACK_PERMS doesn't include PF_X.
31323
451f001b
UD
313242011-01-13 Ulrich Drepper <drepper@gmail.com>
31325
cfa28e56
UD
31326 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31327 in child fails because the descriptor is already closed.
8cf8ce17
UD
31328 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31329 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31330 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31331
1086d70d
UD
31332 [BZ #12397]
31333 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31334 syscall.
31335
451f001b
UD
31336 [BZ #10484]
31337 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31338 temporary buffer used to handle multi lookups locally.
a85b5cb4 31339 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31340
08769175
UD
313412011-01-12 Ulrich Drepper <drepper@gmail.com>
31342
31343 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31344 loader is ld.so.
31345
5e49c52e
UD
313462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31347
31348 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31349 alignment for SSE2.
31350
60522a5f
UD
313512011-01-12 Ulrich Drepper <drepper@gmail.com>
31352
31353 [BZ #12394]
31354 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31355 characters. When rounding increased number of integer digits recompute
31356 number of groups.
31357 * stdio-common/tst-grouping.c: New file.
31358 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31359
f257bbd7
UD
313602011-01-09 Ulrich Drepper <drepper@gmail.com>
31361
31362 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31363 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31364
31365 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31366 void.
31367 * bits/select.h: Likewise.
31368
fa9c15cb
UD
313692011-01-08 Ulrich Drepper <drepper@gmail.com>
31370
31371 * po/ja.po: Update from translation team.
31372
16c2895f
DM
313732011-01-04 David S. Miller <davem@sunset.davemloft.net>
31374
31375 [BZ #11155]
31376 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31377 implementation just like for lxstat, fxstatat, et al.
31378
2543fef2
JM
313792010-12-27 Jim Meyering <meyering@redhat.com>
31380
31381 [BZ #12348]
31382 * posix/regexec.c (build_trtable): Return failure indication upon
31383 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31384
98727dbe
UD
313852010-12-25 Ulrich Drepper <drepper@gmail.com>
31386
5bd6dc5c
UD
31387 [BZ #12201]
31388 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31389 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31390 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31392
97983464
UD
31393 [BZ #12207]
31394 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31395
98727dbe
UD
31396 [BZ #12204]
31397 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31398 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31399
4a531bb0
L
314002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31401
31402 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31403 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31404 script has SORT_BY_INIT_PRIORITY.
31405 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31406 NO_CTORS_DTORS_SECTIONS is defined.
31407 * elf/soinit.c: Likewise.
31408 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31409 NO_CTORS_DTORS_SECTIONS is defined.
31410 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31411 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31412 * sysdeps/sh/init-first.c: Likewise.
31413 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31414
07eb4b71
UD
314152010-12-24 Ulrich Drepper <drepper@gmail.com>
31416
31417 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31418 always use the slow path.
31419
30950a5f
RA
314202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31421
31422 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31423 similar rule which adds the sysdep directories to the header search in
31424 order to pick up the correct platform stackinfo.h.
31425 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31426 perform test if it is, otherwise return successfully without testing.
31427 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31428 DEFAULT_STACK_PERMS define in stackinfo.h.
31429 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31430 defined in stackinfo.h.
31431 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31432 DEFAULT_STACK_PERMS defined in stackinfo.h.
31433 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31434 * sysdeps/ia64/stackinfo.h: Likewise.
31435 * sysdeps/s390/stackinfo.h: Likewise.
31436 * sysdeps/sh/stackinfo.h: Likewise.
31437 * sysdeps/sparc/stackinfo.h: Likewise.
31438 * sysdeps/x86_64/stackinfo.h: Likewise.
31439 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31440 PF_X for powerpc64. Retain PF_X for powerpc32.
31441
db753e2c
UD
314422010-12-19 Ulrich Drepper <drepper@gmail.com>
31443
14b697f7
UD
31444 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31445 accurately.
db753e2c
UD
31446 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31447 GETDENTS_64BIT_ALIGNED.
31448
28300719
UD
314492010-12-14 Ulrich Drepper <dreper@gmail.com>
31450
14b697f7 31451 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31452
4f197237
AS
314532010-12-10 Andreas Schwab <schwab@redhat.com>
31454
dbb0472f
AS
31455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31456 _GNU_SOURCE.
31457
4f197237
AS
31458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31459 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31460 Remove __restrict.
31461 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31462 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31463
fb88ac72
UD
314642010-12-09 Ulrich Drepper <drepper@gmail.com>
31465
31466 [BZ #11655]
31467 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31468 are initialized.
31469
42acbb92
JJ
314702010-12-09 Jakub Jelinek <jakub@redhat.com>
31471
31472 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31473
c038d98d
UD
314742010-12-03 Ulrich Drepper <drepper@gmail.com>
31475
31476 * po/it.po: Update from translation team.
31477
3a4a2499
L
314782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31479
31480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31481 unused codes.
31482
1e24cf6e
UD
314832010-11-30 Ulrich Drepper <drepper@gmail.com>
31484
31485 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31486
a7690819
AS
314872010-11-24 Andreas Schwab <schwab@redhat.com>
31488
31489 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31490 specially.
31491 (gaih_getanswer_slice): Likewise.
31492
3bf8d1b1
JJ
314932010-10-20 Jakub Jelinek <jakub@redhat.com>
31494
31495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31496
6db52fbb
PB
314972010-05-31 Petr Baudis <pasky@suse.cz>
31498
31499 [BZ #11149]
31500 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31501 silently even in the chroot mode.
31502
eaca7569
UD
315032010-11-22 Ulrich Drepper <drepper@gmail.com>
31504
31505 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31506 last patch a bit. Pretty printing
31507
3056dcdb
UD
315082010-05-31 Petr Baudis <pasky@suse.cz>
31509
31510 [BZ #10085]
31511 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31512 initialization of skip_initgroups_dyn.
31513
cf7c9078
UD
315142010-11-19 Ulrich Drepper <drepper@gmail.com>
31515
31516 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31518
a1fb5e3e
UD
315192010-11-16 Ulrich Drepper <drepper@gmail.com>
31520
31521 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31522
3540d66b
AS
315232010-11-11 Andreas Schwab <schwab@redhat.com>
31524
31525 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31526 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31527 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31528 ($(objpfx)tst-fnmatch-mem): New rule.
31529 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31530 * posix/tst-fnmatch.c (main): Call mtrace.
31531
13b69574
L
315322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31533
31534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31535 Support Intel processor model 6 and model 0x2c.
31536
da93d214
LM
315372010-11-10 Luis Machado <luisgpm@br.ibm.com>
31538
31539 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31540 signed comparison.
31541
8ca52c6e
L
315422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31543
31544 [BZ #12205]
31545 * string/test-strncasecmp.c (check_result): New function.
31546 (do_one_test): Use it.
31547 (check1): New function.
31548 (test_main): Use it.
31549 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31550 Support strcasecmp and strncasecmp.
31551
69da074d
UD
315522010-11-08 Ulrich Drepper <drepper@gmail.com>
31553
31554 [BZ #12194]
31555 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31557
ff02d528
L
315582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31561 IFUNC support.
31562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31563 memset-x86-64.
31564 * sysdeps/x86_64/multiarch/bzero.S: New file.
31565 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31566 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31567 * sysdeps/x86_64/multiarch/memset.S: New file.
31568 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31570 Set bit_Prefer_SSE_for_memop for Intel processors.
31571 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31572 Define.
31573 (index_Prefer_SSE_for_memop): Define.
31574 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31575
344d0b54
LM
315762010-11-04 Luis Machado <luisgpm@br.ibm.com>
31577
31578 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31579 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31580
c0dde15b
UD
315812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31582
31583 [BZ #12191]
31584 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31585 (__x86_64_raw_data_cache_size_half): Likewise.
31586 (__x86_64_raw_shared_cache_size): Likewise.
31587 (__x86_64_raw_shared_cache_size_half): Likewise.
31588
31589 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31590 (__x86_64_raw_data_cache_size_half): Likewise.
31591 (__x86_64_raw_shared_cache_size): Likewise.
31592 (__x86_64_raw_shared_cache_size_half): Likewise.
31593 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31594 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31595 and __x86_64_raw_shared_cache_size_half. Round
31596 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31597 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31598 to multiple of 256 bytes.
31599
0e516e0e
MS
316002010-11-03 Ulrich Drepper <drepper@gmail.com>
31601
31602 [BZ #12167]
31603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31604 of inacessible symlinks. Verify result of symlink before returning it.
31605 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31606 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31607
0e012e87
ER
316082010-10-28 Erich Ritz <erichritz@gmail.com>
31609
31610 * math/math.h (isinf): Fix typo in comment.
31611
de0ff7bc
UD
316122010-11-01 Ulrich Drepper <drepper@gmail.com>
31613
31614 * po/da.po: Update from translation team.
31615
fa41c84d
UD
316162010-10-26 Ulrich Drepper <drepper@gmail.com>
31617
31618 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31619 is added to the list.
31620
f0967738
AK
316212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31622 Ulrich Drepper <drepper@gmail.com>
31623
31624 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31625 the global list here. Move code to...
31626 (_dl_add_to_namespace_list): ...here. New function.
31627 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31628 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31629 * elf/dl-load.c (lose): Don't remove the element from the list.
31630 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31631 (_dl_map_object): Likewise.
31632
316332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31634
31635 [BZ #12159]
31636 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31637 into all bytes of SSE register.
31638 Patch by Richard Li <richardpku@gmail.com>.
31639
f0967738 316402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31641
31642 [BZ #12140]
31643 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31644 perturbing.
31645
d0b9e94f
MB
316462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31647
31648 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31649 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31650 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31651 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31653 submachine.
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31655
8e9f92e9
AS
316562010-10-22 Andreas Schwab <schwab@redhat.com>
31657
31658 * include/dlfcn.h (__RTLD_SECURE): Define.
31659 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31660 mode & __RTLD_SECURE instead.
31661 (open_path): Rename preloaded parameter to secure.
31662 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31663 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31664 * elf/dl-deps.c (openaux): Likewise.
31665 * elf/rtld.c (struct map_args): Remove is_preloaded.
31666 (map_doit): Don't use it.
31667 (dl_main): Likewise.
31668 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31669 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31670
bc96fbda
AS
316712010-09-09 Andreas Schwab <schwab@redhat.com>
31672
31673 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31674 (sysd-rules-targets): Remove duplicates.
31675 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31676 rtld-%.$o dependency.
31677
22cd1c9b
AS
316782010-10-18 Andreas Schwab <schwab@redhat.com>
31679
31680 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31681 _dl_map_object do it.
31682
18edac48
UD
316832010-10-19 Ulrich Drepper <drepper@gmail.com>
31684
31685 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31686 fast fma builtins, define the macros in the C99 standard.
31687 (FP_FAST_FMAF): Likewise.
31688 (FP_FAST_FMAL): Likewise.
31689 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31690
31691 * bits/mathdef.h: Update copyright year.
31692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31693
d2050124
MM
316942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31695
31696 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31697 builtins, define the macros in the C99 standard.
31698 (FP_FAST_FMAF): Likewise.
31699 (FP_FAST_FMAL): Likewise.
31700 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31701 multiply/add.
31702 (FP_FAST_FMAF): Likewise.
31703
475facd1
JJ
317042010-10-15 Jakub Jelinek <jakub@redhat.com>
31705
31706 [BZ #3268]
31707 * math/libm-test.inc (fma_test): Some new testcases.
31708 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31709 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31710 y and infinite z. Do multiplication by C already in long double.
31711 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31713 y and infinite z. Do bitwise or of inexact bit into u.d.
31714 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31715 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31716 * sysdeps/i386/fpu/s_fma.S: Removed.
31717 * sysdeps/i386/fpu/s_fmal.S: Removed.
31718
7c08a05c
JJ
317192010-10-16 Jakub Jelinek <jakub@redhat.com>
31720
31721 [BZ #3268]
31722 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31724 computation is not scheduled after fetestexcept. Fix value
31725 of minimum denormal long double.
31726
f3f7372d
JJ
317272010-10-14 Jakub Jelinek <jakub@redhat.com>
31728
31729 [BZ #3268]
31730 * math/libm-test.inc (fma_test): Add some more tests.
31731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31732 correctly.
31733
14d43591
AS
317342010-10-15 Andreas Schwab <schwab@redhat.com>
31735
31736 * scripts/data/localplt-s390-linux-gnu.data: New file.
31737 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31738
5e908464
JJ
317392010-10-13 Jakub Jelinek <jakub@redhat.com>
31740
31741 [BZ #3268]
31742 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31743 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31744 instead of dbl-64.
31745 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31746 inlines.
31747 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31749 if one of x and y is very large and the other is subnormal.
31750 * sysdeps/s390/fpu/s_fmaf.c: New file.
31751 * sysdeps/s390/fpu/s_fma.c: New file.
31752 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31753 * sysdeps/powerpc/fpu/s_fma.S: New file.
31754 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31755 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31756 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31757
317582010-10-12 Jakub Jelinek <jakub@redhat.com>
31759
31760 [BZ #3268]
31761 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31762 fma tests.
31763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31764 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31765 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31766 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31767 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31768 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31769 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31770
b833d51f
UD
317712010-10-12 Ulrich Drepper <drepper@redhat.com>
31772
31773 [BZ #12078]
31774 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31775 * posix/bug-regex31.input: Add test case.
31776
1751705d
UD
317772010-10-11 Ulrich Drepper <drepper@gmail.com>
31778
e9b9cbf5
UD
31779 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31780 * posix/bug-regex31.input: New file.
31781
31782 [BZ #12078]
31783 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31784 (parse_sub_exp): Fix last change, use postorder.
31785
ef06edbe
UD
31786 * posix/bug-regex31.c: New file.
31787 * posix/Makefile: Add rules to build and run bug-regex31.
31788
a129c80d
UD
31789 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31790
31791 [BZ #12078]
31792 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31793
b76b818e
UD
31794 [BZ #12108]
31795 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31796 to have entries in sys_siglist.
31797
1751705d
UD
31798 [BZ #12093]
31799 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31800 be NULL.
31801
9ff8d36f
JJ
318022010-10-07 Jakub Jelinek <jakub@redhat.com>
31803
31804 [BZ #3268]
31805 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31806 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31807 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31808 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31809 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31810 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31811 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31812 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31813 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31814 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31815 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31816 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31817 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31818 * math/ftestexcept.c (fetestexcept): Likewise.
31819 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31820 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31821 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31822 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31823 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31824 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31825 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31826
af325969
UD
318272010-10-11 Ulrich Drepper <drepper@gmail.com>
31828
c579b202 31829 [BZ #12107]
af325969
UD
31830 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31831 newline.
31832
67a67b95
UD
318332010-10-06 Ulrich Drepper <drepper@gmail.com>
31834
31835 * string/bug-strstr1.c: New file.
31836 * string/Makefile: Add rules to build and run bug-strstr1.
31837
5fb308bc
EB
318382010-10-05 Eric Blake <eblake@redhat.com>
31839
31840 [BZ #12092]
31841 * string/str-two-way.h (two_way_long_needle): Always clear memory
31842 when skipping input due to the shift table.
31843
45db99c7
UD
318442010-10-03 Ulrich Drepper <drepper@gmail.com>
31845
3b111893
UD
31846 [BZ #12005]
31847 * malloc/mcheck.c: Handle large requests.
31848
45db99c7
UD
31849 [BZ #12077]
31850 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31851 for strncmp and strncasecmp.
31852 * string/stratcliff.c: Add tests for strcmp and strncmp.
31853 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31854
cf7a1eb8
NI
318552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31856
31857 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31858 __set_fpscr.
31859
6484ba5e
AJ
318602010-09-30 Andreas Jaeger <aj@suse.de>
31861
31862 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31863 (CGROUP_SUPER_MAGIC): Define.
31864 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31865 Handle btrfs and cgroup file systems.
31866 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31867 Likewise.
31868
91c42559
LM
318692010-09-27 Luis Machado <luisgpm@br.ibm.com>
31870
31871 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31872 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31873
87a97932
AK
318742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31875
31876 [BZ #12067]
31877 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31878 trying to locate the ELF header.
31879
c21cc9bc
AS
318802010-09-27 Andreas Schwab <schwab@redhat.com>
31881
31882 [BZ #11611]
31883 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31884 Mask out sign-bit copies when constructing f_fsid.
31885
315970f6
PB
318862010-09-24 Petr Baudis <pasky@suse.cz>
31887
31888 * debug/stack_chk_fail_local.c: Add missing licence exception.
31889 * debug/warning-nop.c: Likewise.
31890
1ac7a2c7
JM
318912010-09-15 Joseph Myers <joseph@codesourcery.com>
31892
31893 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31894 implementing getdents64 using getdents syscall, set d_type if
31895 __ASSUME_GETDENTS32_D_TYPE.
31896
56801c50
AS
318972010-09-16 Andreas Schwab <schwab@redhat.com>
31898
31899 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31900 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31901
dda51327
UD
319022010-09-21 Ulrich Drepper <drepper@redhat.com>
31903
31904 [BZ #12037]
31905 * posix/unistd.h: Undo change of feature selection for ftruncate from
31906 2010-01-11.
31907
8ffcee4a
UD
319082010-09-20 Ulrich Drepper <drepper@redhat.com>
31909
a545ecd9 31910 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31911 detection.
31912
e24f0a8b
AS
319132010-09-20 Andreas Schwab <schwab@redhat.com>
31914
31915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31916 fanotify_mark.
31917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31918
7291c56f
AS
319192010-09-14 Andreas Schwab <schwab@redhat.com>
31920
31921 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31922 variables after CHECK_SP call.
31923 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31924
bc5fb037
AS
319252010-09-13 Andreas Schwab <schwab@redhat.com>
31926 Ulrich Drepper <drepper@redhat.com>
31927
31928 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31929 re-relocationg ld.so.
31930 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31931 _dl_init_paths call.
31932 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31933 here anymore.
31934
e66e7419
UD
319352010-09-14 Ulrich Drepper <drepper@redhat.com>
31936
31937 * resolv/res_init.c (__res_vinit): Count the default server we added.
31938
c044aa75
CLT
319392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31940 Ulrich Drepper <drepper@redhat.com>
31941
31942 [BZ #11968]
31943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31944 (____longjmp_chk): Use %ebx for saving value across system call.
31945 Add unwind info.
31946
32cf4069
AS
319472010-09-06 Andreas Schwab <schwab@redhat.com>
31948
31949 * manual/Makefile: Don't mix pattern rules with normal rules.
31950
817328ee
AS
319512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31952
31953 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31954 operation.
31955 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31956 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31957 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31958 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31960 Likewise.
31961
29fddf61
UD
319622010-09-04 Ulrich Drepper <drepper@redhat.com>
31963
31964 [BZ #11979]
31965 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31966 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31967
0959ffc9
UD
319682010-09-02 Ulrich Drepper <drepper@redhat.com>
31969
31970 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31971 * sysdeps/x86_64/addmul_1.S: Likewise.
31972 * sysdeps/x86_64/lshift.S: Likewise.
31973 * sysdeps/x86_64/mul_1.S: Likewise.
31974 * sysdeps/x86_64/rshift.S: Likewise.
31975 * sysdeps/x86_64/sub_n.S: Likewise.
31976 * sysdeps/x86_64/submul_1.S: Likewise.
31977
ece29840
ST
319782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31979
0959ffc9
UD
31980 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31981 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31982 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31983 * bits/sched.h [__need_schedparam]
ece29840 31984 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31985 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31986 (__defined_schedparam): Define to 1.
ece29840
ST
31987 (__sched_param): New structure, identical to sched_param.
31988 (__need_schedparam): Undefine.
31989
e53a31fe
MF
319902010-08-31 Mike Frysinger <vapier@gentoo.org>
31991
fdc0c10d
MF
31992 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31993 (epoll_create1): Declare.
31994
e53a31fe
MF
31995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31996
a726d796
AS
319972010-08-31 Andreas Schwab <schwab@redhat.com>
31998
31999 [BZ #7066]
32000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32001 shifting retval into place.
32002
2f3e3dc7
UD
320032010-09-01 Ulrich Drepper <drepper@redhat.com>
32004
f2933da9
UD
32005 * nis/rpcsvc/nis.h: Update copyright notice.
32006 * nis/rpcsvc/nis.x: Likewise.
32007 * nis/rpcsvc/nis_callback.h: Likewise.
32008 * nis/rpcsvc/nis_callback.x: Likewise.
32009 * nis/rpcsvc/nis_object.x: Likewise.
32010 * nis/rpcsvc/nis_tags.h: Likewise.
32011 * nis/rpcsvc/yp.h: Likewise.
32012 * nis/rpcsvc/yp.x: Likewise.
32013 * nis/rpcsvc/ypupd.h: Likewise.
32014 * nis/yp_xdr.c: Likewise.
32015 * nis/ypupdate_xdr.c: Likewise.
32016
2f3e3dc7
UD
32017 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32018 mainly the body of pmap_getport. Add parameters to specify timeouts.
32019 (pmap_getport): Use __libc_rpc_getport.
32020 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32021 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32022 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32023
f3dcc2f9
AS
320242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32025
32026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32027 fanotify_mark.
32028
6d34eb5b
RM
320292010-08-27 Roland McGrath <roland@redhat.com>
32030
32031 * sysdeps/i386/i686/multiarch/Makefile
32032 (CFLAGS-varshift.c): New variable.
32033
9ea3de11
UD
320342010-08-27 Ulrich Drepper <drepper@redhat.com>
32035
c96d23fc
UD
32036 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32037 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32038
9ea3de11
UD
32039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32040
32041 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32042
623aac7f
L
320432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32044
32045 * sysdeps/x86_64/strlen.S: Unroll the loop.
32046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32047 strlen-sse2 strlen-sse2-bsf.
32048 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32049 __strlen_no_bsf if bit_Slow_BSF is set.
32050 (__strlen_sse42): Removed.
32051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32052 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32053
8b2b7715
RM
320542010-08-25 Roland McGrath <roland@redhat.com>
32055
32056 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32057 * sysdeps/x86_64/multiarch/varshift.c: New file.
32058 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32059 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32060 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32061 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32062
e73015f2
L
320632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32064
32065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32066 strlen-sse2 strlen-sse2-bsf.
32067 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32068 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32069 (__strlen_sse2): Removed.
32070 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32073 bit_Slow_BSF for Atom.
32074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32075 (index_Slow_BSF): Define.
32076 (HAS_SLOW_BSF): Define.
32077
df24a73e
UD
320782010-08-25 Ulrich Drepper <drepper@redhat.com>
32079
32080 [BZ #10851]
32081 * resolv/res_init.c (__res_vinit): When no server address at all
32082 is given default to loopback.
32083
f2ac4868
RM
320842010-08-24 Roland McGrath <roland@redhat.com>
32085
09055553
RM
32086 * configure.in: Remove config-name.h generation.
32087 * configure: Regenerated.
32088 * config-name.in: File removed.
32089 * scripts/config-uname.sh: New file.
32090 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32091 ($(objdir)config-name.h): New target.
32092
f2ac4868
RM
32093 * sunrpc/rpc_parse.h: Avoid nested comment.
32094
73f27d5e
RH
320952010-08-24 Richard Henderson <rth@redhat.com>
32096 Ulrich Drepper <drepper@redhat.com>
32097 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32101 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32102 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32103 _mm_alignr_epi8 with _mm_loadu_si128.
32104 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32105 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32106 (__m128i_shift_right): Removed.
32107 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32108 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32109 * sysdeps/x86_64/multiarch/varshift.h: New file.
32110 * sysdeps/x86_64/multiarch/varshift.S: New file.
32111
84b9230c
MF
321122010-08-21 Mike Frysinger <vapier@gentoo.org>
32113
32114 * configure.in: Move assembler checks to before sysdep dir checking.
32115
9bbd0ddc
PB
321162010-08-20 Petr Baudis <pasky@suse.cz>
32117
32118 * LICENSES: Sync the sunrpc license.
32119
9da4bb31
UD
321202010-08-19 Ulrich Drepper <drepper@redhat.com>
32121
a7ab6ec8
UD
32122 * sunrpc/auth_des.c: Update copyright notice once again.
32123 * sunrpc/auth_none.c: Likewise.
32124 * sunrpc/auth_unix.c: Likewise.
32125 * sunrpc/authdes_prot.c: Likewise.
32126 * sunrpc/authuxprot.c: Likewise.
32127 * sunrpc/bindrsvprt.c: Likewise.
32128 * sunrpc/clnt_gen.c: Likewise.
32129 * sunrpc/clnt_perr.c: Likewise.
32130 * sunrpc/clnt_raw.c: Likewise.
32131 * sunrpc/clnt_simp.c: Likewise.
32132 * sunrpc/clnt_tcp.c: Likewise.
32133 * sunrpc/clnt_udp.c: Likewise.
32134 * sunrpc/clnt_unix.c: Likewise.
32135 * sunrpc/des_crypt.c: Likewise.
32136 * sunrpc/des_soft.c: Likewise.
32137 * sunrpc/get_myaddr.c: Likewise.
32138 * sunrpc/getrpcport.c: Likewise.
32139 * sunrpc/key_call.c: Likewise.
32140 * sunrpc/key_prot.c: Likewise.
32141 * sunrpc/openchild.c: Likewise.
32142 * sunrpc/pm_getmaps.c: Likewise.
32143 * sunrpc/pm_getport.c: Likewise.
32144 * sunrpc/pmap_clnt.c: Likewise.
32145 * sunrpc/pmap_prot.c: Likewise.
32146 * sunrpc/pmap_prot2.c: Likewise.
32147 * sunrpc/pmap_rmt.c: Likewise.
32148 * sunrpc/rpc/auth.h: Likewise.
32149 * sunrpc/rpc/auth_unix.h: Likewise.
32150 * sunrpc/rpc/clnt.h: Likewise.
32151 * sunrpc/rpc/des_crypt.h: Likewise.
32152 * sunrpc/rpc/key_prot.h: Likewise.
32153 * sunrpc/rpc/netdb.h: Likewise.
32154 * sunrpc/rpc/pmap_clnt.h: Likewise.
32155 * sunrpc/rpc/pmap_prot.h: Likewise.
32156 * sunrpc/rpc/pmap_rmt.h: Likewise.
32157 * sunrpc/rpc/rpc.h: Likewise.
32158 * sunrpc/rpc/rpc_des.h: Likewise.
32159 * sunrpc/rpc/rpc_msg.h: Likewise.
32160 * sunrpc/rpc/svc.h: Likewise.
32161 * sunrpc/rpc/svc_auth.h: Likewise.
32162 * sunrpc/rpc/types.h: Likewise.
32163 * sunrpc/rpc/xdr.h: Likewise.
32164 * sunrpc/rpc_clntout.c: Likewise.
32165 * sunrpc/rpc_cmsg.c: Likewise.
32166 * sunrpc/rpc_common.c: Likewise.
32167 * sunrpc/rpc_cout.c: Likewise.
32168 * sunrpc/rpc_dtable.c: Likewise.
32169 * sunrpc/rpc_hout.c: Likewise.
32170 * sunrpc/rpc_main.c: Likewise.
32171 * sunrpc/rpc_parse.c: Likewise.
32172 * sunrpc/rpc_parse.h: Likewise.
32173 * sunrpc/rpc_prot.c: Likewise.
32174 * sunrpc/rpc_sample.c: Likewise.
32175 * sunrpc/rpc_scan.c: Likewise.
32176 * sunrpc/rpc_scan.h: Likewise.
32177 * sunrpc/rpc_svcout.c: Likewise.
32178 * sunrpc/rpc_tblout.c: Likewise.
32179 * sunrpc/rpc_util.c: Likewise.
32180 * sunrpc/rpc_util.h: Likewise.
32181 * sunrpc/rpcinfo.c: Likewise.
32182 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32183 * sunrpc/rpcsvc/key_prot.x: Likewise.
32184 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32185 * sunrpc/rpcsvc/mount.x: Likewise.
32186 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32187 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32188 * sunrpc/rpcsvc/rex.x: Likewise.
32189 * sunrpc/rpcsvc/rstat.x: Likewise.
32190 * sunrpc/rpcsvc/rusers.x: Likewise.
32191 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32192 * sunrpc/rpcsvc/spray.x: Likewise.
32193 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32194 * sunrpc/rtime.c: Likewise.
32195 * sunrpc/svc.c: Likewise.
32196 * sunrpc/svc_auth.c: Likewise.
32197 * sunrpc/svc_authux.c: Likewise.
32198 * sunrpc/svc_raw.c: Likewise.
32199 * sunrpc/svc_run.c: Likewise.
32200 * sunrpc/svc_simple.c: Likewise.
32201 * sunrpc/svc_tcp.c: Likewise.
32202 * sunrpc/svc_udp.c: Likewise.
32203 * sunrpc/svc_unix.c: Likewise.
32204 * sunrpc/svcauth_des.c: Likewise.
32205 * sunrpc/xcrypt.c: Likewise.
32206 * sunrpc/xdr.c: Likewise.
32207 * sunrpc/xdr_array.c: Likewise.
32208 * sunrpc/xdr_float.c: Likewise.
32209 * sunrpc/xdr_mem.c: Likewise.
32210 * sunrpc/xdr_rec.c: Likewise.
32211 * sunrpc/xdr_ref.c: Likewise.
32212 * sunrpc/xdr_sizeof.c: Likewise.
32213 * sunrpc/xdr_stdio.c: Likewise.
32214
9da4bb31
UD
32215 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32216 handling.
32217
bdaa77bc
AS
322182010-08-19 Andreas Schwab <schwab@redhat.com>
32219
32220 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32221
fe2f79db
LM
322222010-08-19 Luis Machado <luisgpm@br.ibm.com>
32223
32224 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32225 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32226 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32227 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32228 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32229 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32230 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32231 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32234 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32235 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32236 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32237 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32238
b9b42ee0
AB
322392010-07-26 Anton Blanchard <anton@samba.org>
32240
32241 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32242 * malloc/arena.c (heap_trim): Likewise.
32243
1c06ba31
UD
322442010-08-16 Ulrich Drepper <drepper@redhat.com>
32245
32246 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32247 here. Not...
32248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32249 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32250
f8392f40
L
322512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32252
32253 * sysdeps/i386/elf/Makefile: New file.
32254
3162f12e
AS
322552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32256
32257 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32258 from fanotify_init.
32259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32261
28c90b2c
UD
322622010-08-15 Ulrich Drepper <drepper@redhat.com>
32263
32264 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32265 of strncasecmp_l.
1feccb6c 32266 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32267
ca6bb004
UD
322682010-08-14 Ulrich Drepper <drepper@redhat.com>
32269
e9f82e0d
UD
32270 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32271 strncase_l-nonascii.
32272 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32273 Add strncase_l-ssse3.
32274 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32275 * sysdeps/x86_64/strcmp.S: Likewise.
32276 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32277 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32278 * sysdeps/x86_64/strncase.S: New file.
32279 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32280 * sysdeps/x86_64/strncase_l.S: New file.
32281 * string/Makefile (strop-tests): Add strncasecmp.
32282 * string/test-strncasecmp.c: New file.
32283
32284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32285 warning.
32286
ca6bb004
UD
32287 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32289
052fa7b3
AS
322902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32291
32292 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32293
962dba78
UD
322942010-08-12 Ulrich Drepper <drepper@redhat.com>
32295
32296 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32298 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32299
bebff237
AM
323002010-05-01 Alan Modra <amodra@gmail.com>
32301
32302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32303 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32304 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32305 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32306 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32307 tidying. Don't tail-call __sigjmp_save for static lib.
32308 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32309 save location.
32310 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32311 (CALL_MCOUNT): Add eh info, and nop after bl.
32312 (TAIL_CALL_SYSCALL_ERROR): New macro.
32313 (PSEUDO_RET): Use it.
32314 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32315 Correct save location of integer regs and cr.
32316 (_dl_profile_resolve): Correct cr save location. Delete nops
32317 after bl when SHARED. Reduce cfi size a little by better
32318 placement of cfi directives.
32319 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32320 make a stack frame. Instead use parm save area as a temp.
32321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32322 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32324 Don't make a stack frame for parent, use parm save area.
32325 Increase child stack frame to 112 bytes. Don't save unused reg,
32326 and adjust reg usage. Set up cfi on error recovery and
32327 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32329 (__makecontext): Add dummy nop after jump to exit.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32331 Use correct parm save area and cr save, reduce stack frame.
32332 Correct cfi for possible PSEUDO_RET frame setup.
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32334 Branch to local label emitted by PSEUDO_RET rather than
32335 __syscall_error.
32336
02637374
AS
323372010-08-12 Andreas Schwab <schwab@redhat.com>
32338
32339 [BZ #11904]
32340 * locale/programs/locale.c (print_assignment): New function.
32341 (show_locale_vars): Use it.
32342
c3e2f19b
UD
323432010-08-11 Ulrich Drepper <drepper@redhat.com>
32344
3cdaa6ad
UD
32345 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32346 field.
32347 (struct statfs64): Likewise.
32348 (_STATFS_F_FLAGS): Define.
32349 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32351 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32352 (ST_VALID): Define locally.
32353 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32354 __statvfs_getflags, use the provided value.
32355 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32356 __ASSUME_STATFS_F_FLAGS.
32357
754f7da3
UD
32358 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32359
10b3bedc
UD
32360 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32361 Add sys/fanotify.h.
32362 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32363 fanotify_mask for GLIBC_2.13.
32364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32365 fanotify_init and fanotify_mark.
32366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32367 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32368
c08fb0d7
UD
32369 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32370 Add prlimit.
32371 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32372 prlimit64 for GLIBC_2.13.
32373 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32374 prlimit64.
32375 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32376 syscall.
32377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32378 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32379 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32382 add prlimit alias.
32383 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32384
15bac72b
UD
32385 [BZ #11903]
32386 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32387 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32388
c3e2f19b
UD
32389 * nss/Makefile: Add rules to build and run tst-nss-test1.
32390 * shlib-versions: Add entry for libnss_test1.
32391 * nss/nss_test1.c: New file.
32392 * nss/tst-nss-test1.c: New file.
32393
32394 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32395 (__nss_configure_lookup): Set appropriate entry in
32396 __nss_configure_lookup to true.
32397 * nss/nsswitch.h: Define enum with indeces of databases in
32398 databases and __nss_database_custom arrays. Declare
32399 __nss_database_custom.
32400 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32401 to avoid using nscd when custom rules are installed.
32402 * nss/getXXbyYY_r.c: Likewise.
32403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32404
32405 * nss/nss_files/files-parse.c: Whitespace fixes.
32406
f15ce4d8
UD
324072010-08-09 Ulrich Drepper <drepper@redhat.com>
32408
32409 [BZ #11883]
32410 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32411 * posix/fnmatch_loop.c: Likewise.
32412
d22e4cc9
AK
324132010-07-17 Andi Kleen <ak@linux.intel.com>
32414
32415 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32416 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32417 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32418 * Versions.def [GLIBC_2.13]: Add.
32419
805bc17d
UD
324202010-08-06 Ulrich Drepper <drepper@redhat.com>
32421
32422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32423 Also fail if tpwd after pwuid call is NULL.
32424
5a42321d
ST
324252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32426
32427 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32428 when converting to ms.
32429
fd3ebeda
ST
324302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32431
32432 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32433 EOPNOTSUPP errors with ENOTTY.
32434 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32435 EOPNOTSUPP errors with ENOTTY.
32436
73507d3a
UD
324372010-07-31 Ulrich Drepper <drepper@redhat.com>
32438
32439 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32440 Add strcasecmp_l-ssse3.
32441 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32442 strcasecmp.
32443 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32444 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32445 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32446
fe36dd02
UD
324472010-07-30 Ulrich Drepper <drepper@redhat.com>
32448
66f6765a
UD
32449 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32450
42e08a54
UD
32451 * string/Makefile (strop-tests): Add strcasecmp.
32452 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32453 strcasecmp_l-nonascii.
32454 (gen-as-const-headers): Add locale-defines.sym.
32455 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32456 * sysdeps/x86_64/strcasecmp.S: New file.
32457 * sysdeps/x86_64/strcasecmp_l.S: New file.
32458 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32459 * sysdeps/x86_64/locale-defines.sym: New file.
32460 * string/test-strcasecmp.c: New file.
32461
fe36dd02
UD
32462 * string/test-strcasestr.c: Test both ends of the range of characters.
32463 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32464
48cbc0d6
RM
324652010-07-29 Roland McGrath <roland@redhat.com>
32466
76e6d6bc 32467 [BZ #11856]
48cbc0d6
RM
32468 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32469
880113d9
UD
324702010-07-27 Ulrich Drepper <drepper@redhat.com>
32471
32472 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32473 for ld.so.
32474
deb9cabb
AS
324752010-07-27 Andreas Schwab <schwab@redhat.com>
32476
32477 * manual/memory.texi (Malloc Tunable Parameters): Document
32478 M_PERTURB.
32479
1c7570ff
RM
324802010-07-26 Roland McGrath <roland@redhat.com>
32481
32482 [BZ #11840]
32483 * configure.in (-fgnu89-inline check): Set and substitute
32484 gnu89_inline, not libc_cv_gnu89_inline.
32485 * configure: Regenerated.
32486 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32487
24fb0f88
UD
324882010-07-26 Ulrich Drepper <drepper@redhat.com>
32489
32490 * string/test-strnlen.c: New file.
32491 * string/Makefile (strop-tests): Add strnlen.
32492 * string/tester.c (test_strnlen): Add a few more test cases.
32493 * string/tst-strlen.c: Better error reporting.
32494
32495 * sysdeps/x86_64/strnlen.S: New file.
32496
8e96b93a
UD
324972010-07-24 Ulrich Drepper <drepper@redhat.com>
32498
32499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32500 lower-latency instructions.
32501
dbc676d4
UD
325022010-07-23 Ulrich Drepper <drepper@redhat.com>
32503
32504 * string/test-strcasestr.c: New file.
32505 * string/test-strstr.c: New file.
32506 * string/Makefile (strop-tests): Add strstr and strcasestr.
32507 * string/str-two-way.h: Don't undefine MAX.
32508 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32509
f6a31e0e
AS
325102010-07-21 Andreas Schwab <schwab@redhat.com>
32511
32512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32513 strcasestr-nonascii.
32514 (CFLAGS-strcasestr-nonascii.c): Define.
32515 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32517 Remove unused attribute.
32518
5dbc3b6c
RM
325192010-07-20 Roland McGrath <roland@redhat.com>
32520
32521 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32522 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32523 ld.so.cache was broken. With it, there is no way to disable dsocaps
32524 like LD_HWCAP_MASK can disable hwcaps.
32525
23d101d8
EPM
325262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32527
32528 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32529
cc9f2e47
UD
325302010-07-16 Ulrich Drepper <drepper@redhat.com>
32531
32532 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32533 call in strcasestr.
32534 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32535 __strcasestr_sse42_nonascii.
32536 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32537 strcasestr-nonascii.c.
32538 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32539
77c1b069
LM
325402010-06-15 Luis Machado <luisgpm@br.ibm.com>
32541
32542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32543 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32545 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32546
440566c3
UD
325472010-07-09 Ulrich Drepper <drepper@redhat.com>
32548
32549 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32550 fcntl.
32551
5be9d05d
AS
325522010-07-06 Andreas Schwab <schwab@redhat.com>
32553
c30b7ee2 32554 [BZ #11577]
5be9d05d
AS
32555 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32556 dl_signal_cerror.
32557
8a492a67
UD
325582010-07-06 Ulrich Drepper <drepper@redhat.com>
32559
32560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32561 _PC_PIPE_BUF using F_GETPIPE_SZ.
32562
713df3d5
RM
325632010-07-05 Roland McGrath <roland@redhat.com>
32564
32565 * manual/arith.texi (Rounding Functions): Fix rint description
32566 implicit in round description.
32567
702e8f14
UD
325682010-07-02 Ulrich Drepper <drepper@redhat.com>
32569
32570 * elf/Makefile: Fix linking for a few tests to make recent linker
32571 happy.
32572
52ed8be9
AS
325732010-06-30 Andreas Schwab <schwab@redhat.com>
32574
32575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32576 $(common-objpfx)libc_nonshared.a.
32577
f47c9a11
LM
325782010-06-21 Luis Machado <luisgpm@br.ibm.com>
32579
32580 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32581 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32582 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32583 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32584 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32585 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32586 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32587 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32602 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32603 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32604 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32605 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32606 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32607 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32608 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32609 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32610 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32611 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32612 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32613 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32628
6fb8cbcb
L
326292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32632 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32633 * string/memmove.c (memmove): Renamed to ...
32634 (MEMMOVE): ...this. Default to memmove.
32635 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32636 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32637 (END_CHK): Define.
32638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32639 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32640 mempcpy-ssse3-back memmove-ssse3-back.
32641 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32642 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32644 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32645 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32646 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32647 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32648 * sysdeps/x86_64/multiarch/memmove.c: New file.
32649 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32650 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32651 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32652 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32653 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32655 Define.
32656 (index_Fast_Copy_Backward): Define.
32657 (HAS_ARCH_FEATURE): Define.
32658 (HAS_FAST_REP_STRING): Define.
32659 (HAS_FAST_COPY_BACKWARD): Define.
32660
4e733bac 326612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32662
32663 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32664 Restore proper fallback handling.
32665
63c4ed22
UD
326662010-06-19 Ulrich Drepper <drepper@redhat.com>
32667
ac2b484c
UD
32668 [BZ #11701]
32669 * posix/group_member.c (__group_member): Correct checking loop.
32670
63c4ed22
UD
32671 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32672 OOM in getpwuid_r correctly. Return error number when the caller
32673 should return, otherwise -1.
32674 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32675 call returning > 0 value.
32676 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32677
765ade4b
AS
326782010-06-07 Andreas Schwab <schwab@redhat.com>
32679
32680 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32681 libc_nonshared.a from targets in modules-names.
32682
80da2e09
KS
326832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32684
32685 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32686 requires it.
32687
158db122
LM
326882010-06-10 Luis Machado <luisgpm@br.ibm.com>
32689
32690 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32694
caa78cf8
AS
326952010-06-02 Andreas Schwab <schwab@redhat.com>
32696
32697 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32698
b2ef2c01
UD
326992010-06-14 Ulrich Drepper <drepper@redhat.com>
32700
32701 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32702 and F_GETPIPE_SZ.
32703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32709
fbd643b6
RM
327102010-06-14 Roland McGrath <roland@redhat.com>
32711
32712 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32713
f32f2869
JJ
327142010-06-07 Jakub Jelinek <jakub@redhat.com>
32715
32716 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32717 __REDIRECT followed by __THROW.
32718 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32719 * posix/getopt.h (getopt): Likewise.
32720
2a50c078
EPM
327212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32722
32723 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32724 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32725 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32726 in AT_FLAGS.
32727 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32728 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32729
eb5ad2eb
LM
327302010-05-28 Luis Machado <luisgpm@br.ibm.com>
32731
32732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32733
3c88fe1e
L
327342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32735
32736 [BZ #11640]
32737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32738 Properly check family and model.
32739
d2f73151
TY
327402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32741
32742 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32743
ebd2e13d
LM
327442010-05-24 Luis Machado <luisgpm@br.ibm.com>
32745
32746 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32747
b32b8b45
UD
327482010-05-21 Ulrich Drepper <drepper@redhat.com>
32749
32750 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32751 symbol reference.
32752
9acbe24d
AS
327532010-05-19 Andreas Schwab <schwab@redhat.com>
32754
32755 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32756 symbol reference.
32757
f0ccf6ea
AS
327582010-05-21 Andreas Schwab <schwab@redhat.com>
32759
3d04ff3a
AS
32760 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32761 and internal_recvmmsg.
32762 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32763 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32764 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32765 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32766
f0ccf6ea
AS
32767 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32768 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32769 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32770
5b08ac57
AS
327712010-05-20 Andreas Schwab <schwab@redhat.com>
32772
32773 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32774
4828935d
LM
327752010-05-17 Luis Machado <luisgpm@br.ibm.com>
32776
32777 POWER7 optimizations.
32778 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32779 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32780
373d545e
UD
327812010-05-19 Ulrich Drepper <drepper@redhat.com>
32782
32783 * version.h: Update for 2.13 development version.
32784
21a2b1ae
AS
327852010-05-12 Andrew Stubbs <ams@codesourcery.com>
32786
32787 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32788 exceptions. Return 0.
32789
3f7dcb2b
RM
327902010-05-07 Roland McGrath <roland@redhat.com>
32791
32792 * elf/ldconfig.c (main): Add a const.
32793
5f24d53a 327942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32795
a160f8d8
UD
32796 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32797 (args_options): Add no-idn option.
32798 (ahosts_keys_int): Add idn_flags to ai_flags.
32799 (parse_option): Handle 'i' option to clear idn_flags.
32800
5f24d53a
UD
32801 * malloc/malloc.c (_int_free): Possible race in the most recently
32802 added check. Only act on the data if no current modification
32803 happened.
265bb1ce
UD
32804
32805See ChangeLog.17 for earlier changes.