]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix memory leak in stdlib/isomac.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
83e43bf0
AM
12013-09-09 Allan McRae <allan@archlinux.org>
2
34829bc2
AM
3 [BZ #15893]
4 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5
3932737d
AM
6 [BZ #15892]
7 * libio/memstream.c (open_memstream): Fix memory leak.
8 * libio/wmemstream.c (open_wmemstream): Likewise.
9
83e43bf0
AM
10 [BZ #15895]
11 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12
0c66b8e9
WN
132013-09-09 Will Newton <will.newton@linaro.org>
14
15 * malloc/Makefile: Add tst-realloc to tests.
16 * malloc/tst-realloc.c: New file.
17
f6b00fd1
AM
182013-09-09 Allan McRae <allan@archlinux.org>
19
20 [BZ #15844]
21 * COPYING: Update from GNU website to fix FSF address.
22 * COPYING.LIB: Likewise.
23
eec55e16
DM
242013-09-06 David S. Miller <davem@davemloft.net>
25
26 * po/zh_TW.po: Update Chinese (traditional) translation from
27 translation project.
28
1ecbb381
RS
292013-09-06 Richard Sandiford <richard@codesourcery.com>
30 Joseph Myers <joseph@codesourcery.com>
31
32 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33 "localeinfo.h".
34 (obstack_chunk_alloc): New macro.
35 (obstack_chunk_free): Likewise.
36 (record_offset): New function.
37 (init_locale_data): Likewise.
38 (align_locale_data): Likewise.
39 (add_locale_empty): Likewise.
40 (add_locale_raw_data): Likewise.
41 (add_locale_raw_obstack): Likewise.
42 (add_locale_string): Likewise.
43 (add_locale_wstring): Likewise.
44 (add_locale_uint32): Likewise.
45 (add_locale_uint32_array): Likewise.
46 (add_locale_char): Likewise.
47 (start_locale_structure): Likewise.
48 (end_locale_structure): Likewise.
49 (start_locale_prelude): Likewise.
50 (end_locale_prelude): Likewise.
51 (write_locale_data): Take locale_file structure rather than an
52 iovec.
53 * locale/programs/locfile.h: Include "obstack.h".
54 (struct locale_file): Change to store locale file contents instead
55 of header.
56 (init_locale_data): New prototype.
57 (align_locale_data): Likewise.
58 (add_locale_empty): Likewise.
59 (add_locale_raw_data): Likewise.
60 (add_locale_raw_obstack): Likewise.
61 (add_locale_string): Likewise.
62 (add_locale_wstring): Likewise.
63 (add_locale_uint32): Likewise.
64 (add_locale_uint32_array): Likewise.
65 (add_locale_char): Likewise.
66 (start_locale_structure): Likewise.
67 (end_locale_structure): Likewise.
68 (start_locale_prelude): Likewise.
69 (end_locale_prelude): Likewise.
70 (write_locale_data): Update prototype.
71 * locale/programs/3level.h (struct TABLE): Remove result field.
72 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
73 Use new locale_file interface.
74 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
75 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
76 * locale/programs/ld-address.c (address_output): Use new
77 locale_file interface.
78 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
79 NO_ADD_LOCALE.
80 (collate_finish): Don't call collseq_table_finalize.
81 (collate_output): Use new locale_file interface.
82 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
83 in file.
84 (NO_FINALIZE): Change to NO_ADD_LOCALE.
85 (TABLE): Move defines earlier in file.
86 (ELEMENT): Likewise.
87 (DEFAULT): Likewise.
88 (wctrans_table_add): Move macro and inline function earlier in
89 file.
90 (struct wctype_table): Move type earlier in file.
91 (add_locale_wctype_table): New static prototype.
92 (struct locale_ctype_t): Use logical types instead of struct iovec
93 pointers for members.
94 (ctype_output): Use new locale_file interface.
95 (wctype_table_finalize): Change to add_locale_wctype_table. Use
96 new locale_file interface.
97 (allocate_arrays): Update for use of new locale_file interface.
98 * locale/programs/ld-identification.c (identification_output): Use
99 new locale_file interface.
100 * locale/programs/ld-measurement.c (measurement_output): Likewise.
101 * locale/programs/ld-messages.c (messages_output): Likewise.
102 * locale/programs/ld-monetary.c (monetary_output): Likewise.
103 * locale/programs/ld-name.c (name_output): Likewise.
104 * locale/programs/ld-numeric.c (numeric_output): Likewise.
105 * locale/programs/ld-paper.c (paper_output): Likewise.
106 * locale/programs/ld-telephone.c (telephone_output): Likewise.
107 * locale/programs/ld-time.c (time_output): Likewise.
108
e029e2e5
AZ
1092013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 * benchtests/Makefile: Add memrchr benchmark.
112 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
113 benchmark as memrchr.
114 * benchtests/bench-memrchr-ifunc.c: New file.
115 * benchtests/bench-memrchr.c: New file.
116
bbf6e8e4
WN
1172013-09-06 Will Newton <will.newton@linaro.org>
118
119 * benchtests/Makefile (string-bench): Add memcpy.
120
6c82a2f8
CD
1212013-09-05 Carlos O'Donell <carlos@redhat.com>
122 Cong Wang <amwang@redhat.com>
123
124 * sysdeps/unix/sysv/linux/bits/in.h
125 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
126 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
127 before __USE_KERNEL_IPV6_DEFS uses.
128 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
129 IPPROTO_BEETPH.
130 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
131 sockaddr_in6, or ipv6_mreq.
132
5430fc65
AZ
1332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134
135 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
136 memory access for final bytes in some large inputs.
137 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
138
4660856c
AZ
1392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
141 * string/test-memrchr.c: New file.
142 * string/test-memrchr-ifunc.c: New file.
143 * string/Makefile: Add new memrchr testcase.
144
bb8ea713
MF
1452013-09-05 Mike Frysinger <vapier@gentoo.org>
146
147 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
148 fanotify_init returns EPERM.
149
b92a20b5
JM
1502013-09-04 Joseph Myers <joseph@codesourcery.com>
151
152 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
153 errors.
154 (top level): Treat second token from macro or constant entries for
155 allowed headers as allowed.
156 * include/complex.h: Condition internal declarations on
157 [!_ISOMAC].
158 * include/fenv.h: Condition include of <stdbool.h> and internal
159 declarations on [!_ISOMAC].
7447ccd9
CL
160
1612013-09-04 Chris Leonard <cjl@sugarlabs,.org>
162
163 [BZ #15923]
164 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
165
3f2e46a4
JM
1662013-09-04 Joseph Myers <joseph@codesourcery.com>
167
168 * configure.in (--enable-versioning): Remove configure option.
169 (libc_cv_asm_symver_directive): Remove configure test.
170 (libc_cv_ld_version_script_option): Likewise.
171 (VERSIONING): Remove variable and AC_SUBST.
172 (DO_VERSIONING): Remove AC_DEFINE.
173 * configure: Regenerated.
174 * config.h.in (DO_VERSIONING): Remove macro.
175 * Makerules [$(versioning) = yes]: Change conditionals to
176 [$(build-shared) = yes].
177 * config.make.in (versioning): Remove variable.
178 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
179 [$(build-shared) = yes].
180 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
181 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
182 * elf/Makefile [$(versioning) = yes]: Change conditionals to
183 [$(build-shared) = yes].
184 * extra-lib.mk [$(versioning) = yes]: Likewise.
185 * hurd/Makefile [$(versioning) = yes]: Likewise.
186 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
187 [SHARED].
188 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
189 [SHARED].
190 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
191 [SHARED && !NO_HIDDEN].
192 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
193 [SHARED].
194 [SHARED && DO_VERSIONING]: Likewise..
195 * libio/Makefile [$(versioning) = yes]: Change conditionals to
196 [$(build-shared) = yes].
197 * manual/install.texi (--disable-versioning): Remove
198 documentation.
199 * INSTALL: Regenerated.
200 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
201 to [SHARED].
202 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
203 [$(build-shared) = yes].
204 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
205 * sysdeps/i386/i686/multiarch/strstr-c.c
206 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
207 [SHARED && !NO_HIDDEN].
208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
209 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
210 * sysdeps/powerpc/powerpc32/dl-machine.c
211 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
212 * sysdeps/powerpc/powerpc32/sysdep.h
213 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
214 to [SHARED && PIC && !NO_HIDDEN].
215 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
216 conditional to [SHARED].
217
44558701
WN
2182013-09-04 Will Newton <will.newton@linaro.org>
219
220 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
221 * benchtests/bench-string.h: Include bench-timing.h instead
222 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
223 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
224 call to HP_TIMING_DIFF_INIT.
225 * benchtests/bench-memccpy.c: Use bench-timing.h macros
226 instead of hp-timing.h macros.
227 * benchtests/bench-memchr.c: Likewise.
228 * benchtests/bench-memcmp.c: Likewise.
229 * benchtests/bench-memcpy.c: Likewise.
230 * benchtests/bench-memmem.c: Likewise.
231 * benchtests/bench-memmove.c: Likewise.
232 * benchtests/bench-memset.c: Likewise.
233 * benchtests/bench-rawmemchr.c: Likewise.
234 * benchtests/bench-strcasecmp.c: Likewise.
235 * benchtests/bench-strcasestr.c: Likewise.
236 * benchtests/bench-strcat.c: Likewise.
237 * benchtests/bench-strchr.c: Likewise.
238 * benchtests/bench-strcmp.c: Likewise.
239 * benchtests/bench-strcpy.c: Likewise.
240 * benchtests/bench-strcpy_chk.c: Likewise.
241 * benchtests/bench-strlen.c: Likewise.
242 * benchtests/bench-strncasecmp.c: Likewise.
243 * benchtests/bench-strncat.c: Likewise.
244 * benchtests/bench-strncmp.c: Likewise.
245 * benchtests/bench-strncpy.c: Likewise.
246 * benchtests/bench-strnlen.c: Likewise.
247 * benchtests/bench-strpbrk.c: Likewise.
248 * benchtests/bench-strrchr.c: Likewise.
249 * benchtests/bench-strspn.c: Likewise.
250 * benchtests/bench-strstr.c: Likewise.
251
cae16d66
WN
2522013-09-04 Will Newton <will.newton@linaro.org>
253
254 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
255
ffa3cd7f
JM
2562013-09-03 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #15427]
259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
260 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
261 * math/libm-test.inc (lgamma_test_data): Add more tests.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264
8f02859f
OB
2652013-09-03 Ondřej Bílka <neleai@seznam.cz>
266
267 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
269 Add ifunc.
270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
271 Add strcmp-sse2-unaligned
272 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
273
18d43716
MF
2742013-09-02 Mike Frysinger <vapier@gentoo.org>
275
276 * Versions.def (libc): Add GLIBC_2.19.
277
ac444012
MF
2782013-09-02 Mike Frysinger <vapier@gentoo.org>
279
280 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
281 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
282
b7835e32
JM
2832013-09-02 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #14155]
286 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
287 intermediate calculations in recurrence.
288 (__ieee754_ynf): Likewise.
289 * math/libm-test.inc (jn_test_data): Do not allow spurious
290 underflow exception. Add more tests.
291 (yn_test_data): Add more tests.
292 * sysdeps/i386/fpu/libm-test-ulps: Update.
293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
294
8220f4f0
OB
2952013-09-02 Ondřej Bílka <neleai@seznam.cz>
296
297 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
298
f24a6d08
OB
2992013-08-30 Ondřej Bílka <neleai@seznam.cz>
300
301 * csu/init-first.c: Fix then/than typos.
302 * locale/programs/ld-collate.c: Likewise.
303 * locale/programs/linereader.h: Likewise.
304 * manual/charset.texi: Likewise.
305 * manual/filesys.texi: Likewise.
306 * manual/stdio.texi: Likewise.
307 * manual/string.texi: Likewise.
308 * stdlib/fmtmsg.c: Likewise.
309 * sysdeps/i386/stpncpy.S: Likewise.
310 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
311 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
312 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
313 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
314
382466e0
OB
3152013-08-30 Ondřej Bílka <neleai@seznam.cz>
316
317 * elf/dl-open.c: Fix typos.
318 * iconvdata/gbbig5.c: Likewise.
319 * iconvdata/iso-2022-jp.c: Likewise.
320 * iconv/gconv_int.h: Likewise.
321 * iconv/loop.c: Likewise.
322 * nis/rpcsvc/nis.h: Likewise.
323 * resolv/ns_name.c: Likewise.
324 * stdio-common/vfscanf.c: Likewise.
325 * streams/stropts.h: Likewise.
326 * sunrpc/rpc_thread.c: Likewise.
327 * sysdeps/i386/strpbrk.S: Likewise.
328 * sysdeps/ieee754/k_standard.c: Likewise.
329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
331 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
332 * sysdeps/mach/hurd/profil.c: Likewise.
333 * sysdeps/s390/dl-procinfo.h: Likewise.
334 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
335 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
336 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
337 * sysdeps/x86_64/dl-trampoline.S: Likewise.
338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
339
0186c6e9
OB
3402013-08-30 Ondřej Bílka <neleai@seznam.cz>
341
342 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
344
d4e16af1
OB
3452013-08-29 Ondřej Bílka <neleai@seznam.cz>
346
347 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
348 aix specific files.
349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
357
88335980
TS
3582013-08-29 Thomas Schwinge <thomas@codesourcery.com>
359 Roland McGrath <roland@hack.frob.com>
360
361 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
362 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
363
ed479b02
ST
3642013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
365
366 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
367 __executable_start symbol instead of _start.
368
f1cc4c86
TS
3692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
370
d821f07c
TS
371 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
372 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
373 Move macros to...
374 * sysdeps/gnu/ldsodefs.h: ... this new file.
375
c54290cf
TS
376 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
377 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
378 instead of ELFOSABI_LINUX.
379
0007fc9b 380 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
381 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
382 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
383 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
384 Likewise.
385 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
386 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
387 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
388 Likewise.
389 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
390 (ibm_extended_long_double): Add ieee_nan member.
391 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
392 (do_test): New function.
393
f1cc4c86
TS
394 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
395 TEST_TRUNC.
396 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
397 functions, renamed from truncdfsf_test, trunctfsf_test,
398 trunctfdf_test.
399 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
400 functions.
401 (do_test): Run all these.
402
6f65e668
OB
4032013-08-29 Ondřej Bílka <neleai@seznam.cz>
404
405 * argp/argp-help.c: Fix typos.
406 * argp/argp-parse.c: Likewise.
407 * debug/backtracesyms.c: Likewise.
408 * elf/elf.h: Likewise.
409 * malloc/malloc.c: Likewise.
410 * nis/nis_print.c: Likewise.
411 * resolv/res_comp.c: Likewise.
412 * stdlib/stdlib.h: Likewise.
413 * sunrpc/clnt_tcp.c: Likewise.
414 * sunrpc/clnt_udp.c: Likewise.
415 * sunrpc/clnt_unix.c: Likewise.
416 * sysdeps/unix/bsd/ptsname.c: Likewise.
417 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
420 Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
422 Likewise.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
424 Likewise.
6f65e668
OB
425 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
426
3a309239
SP
4272013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
428
429 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
431
3b813b29
MF
4322013-08-27 Mike Frysinger <vapier@gentoo.org>
433
434 [BZ #15897]
435 * dlfcn/Makefile (tests): Add bug-dl-leaf.
436 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
437 ($(objpfx)bug-dl-leaf): New rule.
438 ($(objpfx)bug-dl-leaf.so): Likewise.
439 ($(objpfx)bug-dl-leaf.out): Likewise.
440 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
441 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
442 * dlfcn/bug-dl-leaf.c: New test.
443 * dlfcn/bug-dl-leaf-lib.c: Likewise.
444 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
445 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
446 (dlclose): Likewise.
447 (dlmopen): Likewise.
448
8cc3269f
RM
4492013-08-27 Roland McGrath <roland@hack.frob.com>
450
7f9d0034
RM
451 * include/netdb.h [!_ISOMAC]:
452 Don't include <tls.h>.
453 (h_errno, __libc_h_errno): Move declaration and macros out of
454 [_LIBC_REENTRANT].
455
fb431262
RM
456 * include/resolv.h [_RESOLV_H_]:
457 Don't include <tls.h>.
458 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
459 * resolv/res_libc.c: Don't include <tls.h>.
460 (_res): Use __attribute__ ((nocommon)) in place of
461 __attribute__ ((section (".bss"))).
462
bd81123a
RM
463 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
464 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
465
c4e42566
RM
466 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
467
f890a59b
RM
468 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
469 only under [SIOCGIFCONF && SIOCGIFNETMASK].
470
471 * resolv/res_mkquery.c: Include <sys/time.h>.
472
5d1f0a09
RM
473 * inet/ifreq.c: Moved to ...
474 * sysdeps/unix/ifreq.c: ... here.
475 * inet/ifreq.c: New file, true stub version.
476
6fcf28b3
RM
477 * socket/sa_len.c: New file.
478 * socket/Makefile (aux): Add it.
479 * sysdeps/unix/sysv/linux/Makefile
480 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
481 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
482 and #include <socket/sa_len.c>.
483 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
484 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
485
e041fb8b
RM
486 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
487 * bits/socket.h: ... here.
488
8cc3269f
RM
489 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
490 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
491 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
492
5d228a43
AS
4932013-08-27 Andreas Schwab <schwab@suse.de>
494
45b8accc
AS
495 [BZ #15736]
496 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
497 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
498 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
499 * string/test-strcasecmp.c (test_main): Run tests in several
500 locales.
501 * string/test-strncasecmp.c (test_main): Likewise.
502
5d228a43
AS
503 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
504 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
505 to __strcasecmp_nonascii and __strncasecmp_nonascii.
506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
507 (__strncasecmp_ssse3) [PIC]: Likewise.
508
59d112a4
RM
5092013-08-26 Roland McGrath <roland@hack.frob.com>
510
53234cc3
RM
511 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
512
59d112a4
RM
513 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
514 instead of explicitly declaring xdecrypt.
515 * nis/nss_nis/nis-publickey.c: Likewise.
516
595aba70
SP
5172013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
518
519 [BZ #15890]
520 * nscd/aicache.c: Include res_hconf.h.
521 (addhstaiX): Initialize res_hconf.
522
ffabd393
AS
5232013-08-26 Andreas Schwab <schwab@suse.de>
524
525 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
526 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
527
e0a69f5c
SP
5282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 * nscd/aicache.c (addhstaiX): Fix indentation.
531
8c12f01d
MF
5322013-08-25 Mike Frysinger <vapier@gentoo.org>
533
534 * configure.ac: Quote $build_pt_chown test.
535 * configure: Regenerated.
536
8fe89494
JM
5372013-08-23 Joseph Myers <joseph@codesourcery.com>
538
539 [BZ #15532]
540 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
541 * math/s_cexpf.c (__cexpf): Likewise.
542 * math/s_cexpl.c (__cexpl): Likewise.
543 * math/libm-test.inc (cexp_test_data): Correct expected return
544 value for NaN + i0. Add another test.
545
75b181d6
DM
5462013-08-22 David S. Miller <davem@davemloft.net>
547
548 * po/ca.po: Update Catalan translation from translation project.
936241e4 549 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 550
acd06bb1
JM
5512013-08-21 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #15797]
554 * math/s_fdim.c (__fdim): Check for infinite arguments if result
555 is infinite, not alongside NaN test.
556 * math/s_fdimf.c (__fdimf): Likewise.
557 * math/s_fdiml.c (__fdiml): Likewise.
558 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
559 errno is unchanged.
560
c0c3f78a
OB
5612013-08-21 Ondřej Bílka <neleai@seznam.cz>
562
563 * argp/argp-help.c: Fix typos.
564 * crypt/speeds.c: Likewise.
565 * csu/check_fds.c: Likewise.
566 * elf/dl-load.c: Likewise.
567 * elf/dl-open.c: Likewise.
568 * elf/reldep3.c: Likewise.
569 * elf/reldep.c: Likewise.
570 * elf/sprof.c: Likewise.
571 * iconv/iconv_charmap.c: Likewise.
572 * iconv/skeleton.c: Likewise.
573 * iconv/strtab.c: Likewise.
574 * io/lockf64.c: Likewise.
575 * libio/libioP.h: Likewise.
576 * resolv/gai_notify.c: Likewise.
577 * resolv/ns_name.c: Likewise.
578 * resolv/ns_samedomain.c: Likewise.
579 * resolv/res_send.c: Likewise.
580 * stdlib/random.c: Likewise.
581 * sunrpc/rpc/xdr.h: Likewise.
582 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
583 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
584 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
585 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
590 * sysdeps/mach/hurd/check_fds.c: Likewise.
591 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
592 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
593 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
594 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
595 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
596 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
597 * sysdeps/pthread/aio_notify.c: Likewise.
598 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
599 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
600 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
602 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
603
46ed1038
LD
6042013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
605
606 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
607 version if bit_Slow_SSE4_2 is set.
608 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
610
d400dcac
AZ
6112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612
613 [BZ #15867]
614 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
615 trampoline stack frame information.
616 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
618 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
619 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
620 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
621 * sysdeps/unix/sysv/linux/powerpc/init-first.c
622 (_libc_vdso_platform_setup): Initialize the signal trampolines.
623 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
624 sa_flags value.
625 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
626 interrupting a syscall and set with option SA_SIGINFO.
627
42c8fdd8
JM
6282013-08-20 Joseph Myers <joseph@codesourcery.com>
629
c980f2f4
JM
630 [BZ #15531]
631 * math/s_cproj.c (__cproj): Only return an infinity if one part of
632 argument is infinite.
633 * math/s_cprojf.c (__cprojf): Likewise.
634 * math/s_cprojl.c (__cprojl): Likewise.
635 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
636 * math/libm-test.inc (cproj_test_data): Add more tests.
637
0716c4fc
JM
638 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
639
42c8fdd8
JM
640 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
641 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
642 size. Use __ffs to determine corresponding shift.
643
b31469d0
JM
6442013-08-20 Joseph Myers <joseph@codesourcery.com>
645 Roland McGrath <roland@hack.frob.com>
646
647 * Makefile (INSTALL): Remove trailing blank lines from output of
648 makeinfo.
649
4e39af6e
AK
6502013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
651
652 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
653 Align 32 bit compat elf_greg to 8 bytes.
654
f315524e
AA
6552013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
656
657 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
658
1326ba1a
SP
6592013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
660
661 * string/strcoll_l.c (coll_seq): New structure.
662 (get_next_seq_cached): New function.
663 (get_next_seq): New function.
664 (do_compare): New function.
665 (STRCOLL): Use GNU style definition. Simplify implementation
666 by using get_next_seq, get_next_seq_cached and do_compare.
667
91ce4085
FW
6682013-08-16 Florian Weimer <fweimer@redhat.com>
669
670 [BZ #14699]
671 CVE-2013-4237
672 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
673 member.
674 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
675 member.
676 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
677 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
678 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
679 conditional.
680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
681 GETDENTS_64BIT_ALIGNED.
682 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
683 * manual/filesys.texi (Reading/Closing Directory): Document
684 ENAMETOOLONG return value of readdir_r. Recommend readdir more
685 strongly.
686 * manual/conf.texi (Limits for Files): Add portability note to
687 NAME_MAX, PATH_MAX.
688 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
689
ca0a6bc4
AS
6902013-08-13 Andreas Schwab <schwab@suse.de>
691
692 [BZ #15749]
693 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
694 of fabs.
695 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
696 LDBL_MAX_EXP >= 16384]: Add tests for it.
697
6c1fd795
DM
6982013-08-12 David S. Miller <davem@davemloft.net>
699
700 * version.h (RELEASE): Set to "development".
701 (VERSION): Set to "2.18.90".
702 * NEWS: Add 2.19 section.
703
31ad488d
DM
7042013-08-03 David S. Miller <davem@davemloft.net>
705
706 * po/ko.po: Update Korean translation from translation project.
707
db24e684
DM
7082013-08-01 David S. Miller <davem@davemloft.net>
709
710 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
711 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
712 Bilka.
713
f723285b
DM
7142013-07-30 David S. Miller <davem@davemloft.net>
715
716 * po/fr.po: Update French translation from translation project.
717
3cbc52db
DM
7182013-07-28 David S. Miller <davem@davemloft.net>
719
30bbc0cc
DM
720 * po/cs.po: Update Czech translation from translation project.
721
3cbc52db
DM
722 * po/sv.po: Update Swedish translation from translation project.
723
d492e6d0
DM
7242013-07-27 David S. Miller <davem@davemloft.net>
725
f1a7f492
DM
726 * po/eo.po: Update Esperanto translation from translation project.
727
90e62a4a
DM
728 * po/vi.po: Update Vietnamese translation from translation project.
729
d492e6d0
DM
730 * po/de.po: Update German translation from translation project.
731
d4baa62d
DM
7322013-07-26 David S. Miller <davem@davemloft.net>
733
641aa7b4
DM
734 * po/bg.po: Update Bulgarian translation from translation project.
735
d4baa62d
DM
736 * po/nl.po: Update Dutch translation from translation project.
737 * po/pl.po: Update Polish translation from translation project.
738 * po/ru.po: Update Russian translation from translation project.
739
61a9dcb9
DM
7402013-07-24 David S. Miller <davem@davemloft.net>
741
742 * po/libc.pot: Update.
743
7b1f8b58
AZ
7442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
745
746 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
747 variable page size.
748 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
750 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
751
a8fc7a03
AK
7522013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
753
754 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
755
e4608715
CD
7562013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
757 Andreas Schwab <schwab@suse.de>
758 Roland McGrath <roland@hack.frob.com>
759 Joseph Myers <joseph@codesourcery.com>
760 Carlos O'Donell <carlos@redhat.com>
761
762 [BZ #15755]
763 * config.h.in: Define HAVE_PT_CHOWN.
764 * config.make.in (build-pt-chown): New variable.
765 * configure.in (--enable-pt_chown): New configure option.
766 * configure: Regenerate.
767 * login/Makefile: Include Makeconfig. Build pt_chown only if
768 build-pt-chown is enabled.
769 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
770 pt_chown to fix pty ownership.
771 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
772 CLOSE_ALL_FDS.
773 * manual/install.texi (Configuring and compiling): Mention
774 --enable-pt_chown. Add @findex for grantpt.
775 * INSTALL: Regenerate.
776
da2d62df
DM
7772013-07-20 David S. Miller <davem@davemloft.net>
778
779 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
780 difference between 32-bit and 64-bit.
781
d7e06450
CD
7822013-07-15 Carlos O'Donell <carlos@redhat.com>
783
784 [BZ #15711]
785 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
786 Avoid system header dependency with -ffreestanding.
787 ($(objpfx)bits/syscall%d): Likewise.
788
f959cfd7
DM
7892013-07-13 David S. Miller <davem@davemloft.net>
790
791 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
792 underflows from atanl/atan2l due to bug 15319.
793 (casinh_test_data): Likewise.
794
c61f8513
DM
7952013-07-07 David S. Miller <davem@davemloft.net>
796
797 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
798
72c90ed0
JA
7992013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
800
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
803
52dfbe13
SP
8042013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
805
806 * configure.in (--enable-lock-elision): Fix message text.
807 * INSTALL: Regenerate.
808 * configure: Regenerate.
809
3f169543
AZ
8102013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
813
521c6785
AJ
8142013-07-03 Andreas Jaeger <aj@suse.de>
815
816 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
817 define.
818 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
819 (ptrace_peeksiginfo_args): Add.
820 (__ptrace_peeksiginfo_flags): Add.
821 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
824
d2cc15cb
AM
8252013-07-03 Allan McRae <allan@archlinux.org>
826
827 * sysdeps/i386/fpu/libm-test-ulps: Update.
828
3aaeeca7
DM
8292013-07-02 David S. Miller <davem@davemloft.net>
830
831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
832
5314ed1a
MT
8332013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
834
835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
836
67338156
JM
8372013-07-02 Joseph Myers <joseph@codesourcery.com>
838
839 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841
1717da59
AK
8422013-07-02 Andi Kleen <ak@linux.intel.com>
843
844 * config.h.in (ENABLE_LOCK_ELISION): Add.
845 * configure.in (--enable-lock-elision): Add option.
846 * manual/install.texi: Document --enable lock elision.
847 * configure: Regenerate
848 * INSTALL: Regenerate.
849
1c81621c
L
8502013-07-02 H.J. Lu <hongjiu.lu@intel.com>
851
852 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
853 SSE4.2 strcasecmp for libc.a.
854 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
855
77f01ab5
JM
8562013-07-02 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #13304]
859 * soft-fp/op-common.h (_FP_FMA): New macro.
860 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
861 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
862 (_FP_MUL_MEAT_1_imm): ... here.
863 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
864 (_FP_MUL_MEAT_1_wide): ... here.
865 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
866 (_FP_MUL_MEAT_1_hard): ... here.
867 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
868 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
869 (_FP_MUL_MEAT_2_wide): ... here.
870 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
871 (_FP_MUL_MEAT_2_wide_3mul): ... here.
872 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
873 (_FP_MUL_MEAT_2_gmp): ... here.
874 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
875 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
876 (_FP_MUL_MEAT_4_wide): ... here.
877 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
878 (_FP_MUL_MEAT_4_gmp): ... here.
879 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
880 (_FP_WFRACBITS_DW_S): Likewise.
881 (_FP_WFRACXBITS_DW_S): Likewise.
882 (_FP_HIGHBIT_DW_S): Likewise.
883 (FP_FMA_S): Likewise.
884 (_FP_FRAC_HIGH_DW_S): Likewise.
885 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
886 (_FP_WFRACBITS_DW_D): Likewise.
887 (_FP_WFRACXBITS_DW_D): Likewise.
888 (_FP_HIGHBIT_DW_D): Likewise.
889 (FP_FMA_D): Likewise.
890 (_FP_FRAC_HIGH_DW_D): Likewise.
891 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
892 (_FP_WFRACBITS_DW_E): Likewise.
893 (_FP_WFRACXBITS_DW_E): Likewise.
894 (_FP_HIGHBIT_DW_E): Likewise.
895 (FP_FMA_E): Likewise.
896 (_FP_FRAC_HIGH_DW_E): Likewise.
897 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
898 (_FP_WFRACBITS_DW_Q): Likewise.
899 (_FP_WFRACXBITS_DW_Q): Likewise.
900 (_FP_HIGHBIT_DW_Q): Likewise.
901 (FP_FMA_Q): Likewise.
902 (_FP_FRAC_HIGH_DW_Q): Likewise.
903 * soft-fp/fmasf4.c: New file.
904 * soft-fp/fmadf4.c: Likewise.
905 * soft-fp/fmatf4.c: Likewise.
906
6308fd9a
LD
9072013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
908
909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
910 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
911 Silvermont.
912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
913 macro.
914 (index_Slow_SSE4_2): Likewise.
915 (index_Prefer_PMINUB_for_stringop): Likewise.
916 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
917 bit_Slow_SSE4_2 is set.
918 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
919 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
920
89cd9569
RA
9212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
922
923 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
924 rtld_global._dl_hwcap2.
925 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
926 POWER8.
927 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
928 POWER8 feature descriptions defined in _dl_hwcap2.
929 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
930 string handling for POWER8 feature bits.
931 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
932 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
933 _dl_powerpc_cap_flags.
934 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
935 * sysdeps/powerpc/rtld-global-offsets.sym
936 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
937 _dl_hwcap2 in the rtld_global_ro structure.
938
1ae8bfe0
RA
9392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
940
941 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
942 hardware capabilities in support of AT_HWCAP2.
943 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
944 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
945 GLRO(dl_hwcap2).
946 (_dl_show_auxv): Add support for calling _dl_procinfo to display
947 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
948 explicitly the unknown a_type display mechanism is used.
949 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
950 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
951 struct member.
952 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
953 to macro prototype for AT_HWCAP2 support.
954 * sysdeps/i386/dl-procinfo.h: Likewise.
955 * sysdeps/s390/dl-procinfo.h: Likewise.
956 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
957 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
958 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
959 return -1 for unknown a_type display fallback.
960 * sysdeps/sparc/dl-procinfo.h: Likewise.
961 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
962 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
963
8fbec010
JM
9642013-06-28 Joseph Myers <joseph@codesourcery.com>
965
966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
967 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
968
0432680e
PY
9692013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
970
971 [BZ #12492]
972 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
973 mprotect making __stack_prot writable.
974
ce61a2ad
NF
9752013-06-28 Nathan Froyd <froydnj@codesourcery.com>
976 Joseph Myers <joseph@codesourcery.com>
977
978 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
979 as being properly aligned.
980
f91f1c0f
MR
9812013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
982
3d0f5d0c
MR
983 * dlfcn/modstatic5.c: New file.
984 * dlfcn/tststatic5.c: New file.
985 * dlfcn/Makefile (tests): Add tststatic5.
986 (tests-static): Likewise.
987 (modules-names): Add modstatic5.
988 (tststatic5-ENV): New variable.
989 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
990
f91f1c0f
MR
991 [BZ #15022]
992 * elf/dl-support.c (_dl_main_map): New variable.
993 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
994 (_dl_nns, _dl_load_adds): Set to 1.
995 (_dl_initial_searchlist): Refer to _dl_main_map.
996 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
997 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
998 call to _dl_get_origin.
999 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1000 around call_map.
1001 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1002 * dlfcn/modstatic3.c: New file.
1003 * dlfcn/tststatic3.c: New file.
1004 * dlfcn/tststatic4.c: New file.
1005 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1006 (tests-static): Likewise.
1007 (modules-names): Add modstatic3.
1008 (tststatic3-ENV, tststatic4-ENV): New variables.
1009 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1010 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1011
cbe7d24b
JM
10122013-06-26 Joseph Myers <joseph@codesourcery.com>
1013
1014 * configure.in (CC): Require GCC version 4.4 or later.
1015 * configure: Regenerated.
1016 * manual/install.texi (Tools for Compilation): Update GCC version
1017 requirement.
1018 * INSTALL: Regenerated.
1019
11b8a0e1
LD
10202013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1021
1022 [BZ #15674]
bb5bb87c
L
1023 * string/test-memcmp.c (check2): New.
1024 (main): Call check2.
1025
11b8a0e1
LD
1026 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1027
b0037103
MR
10282013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1029
1030 [BZ #15022]
1031 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1032 over to...
1033 (dl_open_worker) [!SHARED]: ... here.
1034
c18c701d
RA
10352013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1036
1037 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1038
1d17fa5f
RH
10392013-06-25 Richard Henderson <rth@redhat.com>
1040
1041 * locale/programs/locarchive.c: Include <libc-internal.h>
1042
8fcb833a
JM
10432013-06-25 Joseph Myers <joseph@codesourcery.com>
1044
1045 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1046 trailing whitespace removed.
1047
17db6e8d
MF
10482013-06-24 Mike Frysinger <vapier@gentoo.org>
1049
1050 [BZ #10283]
17db6e8d
MF
1051 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1052 * locale/programs/locarchive.c: Include libc-mmap.h.
1053 (prepare_address_space): Take two new outputs (the mmap base and len).
1054 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1055 values.
1056 (create_archive): Declare new mmap base and len values for
1057 prepare_address_space, and store the result in ah.
1058 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1059 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1060 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1061 Declare new mmap base and len values for
1062 prepare_address_space, and store the result in new_ah.
1063 (open_archive): Declare new mmap base and len values for
1064 prepare_address_space, and store the result in ah.
1065 (close_archive): If ah->mmap_base is not NULL, use that and
1066 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1067 * sysdeps/generic/libc-mmap.h: New file.
1068
d605071e
MF
10692013-06-24 Mike Frysinger <vapier@gentoo.org>
1070
1071 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1072 (ALIGN_UP): Likewise.
1073 (PTR_ALIGN_DOWN): Likewise.
1074 (PTR_ALIGN_UP): Likewise.
1075
2f063a6e
RA
10762013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1079 entry mapped to PPC_PLATFORM_POWER8.
1080 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1081 POWER8.
1082 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1083 (_dl_string_platform): Add case for exporting platform position for
1084 POWER8.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1086 search path to sysdeps/powerpc/powerpc32/power8 directory.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1088 search path to sysdeps/powerpc/powerpc64/power8 directory.
1089 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1090 power7 directories.
1091 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1092 power7 directories.
1093
a31ee4b3
SP
10942013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
a74ca98f
SP
1096 * INSTALL: Regenerate.
1097
a31ee4b3
SP
1098 * nscd/connections.c (nscd_init): Fix comment.
1099
695c378f
JM
11002013-06-22 Joseph Myers <joseph@codesourcery.com>
1101
d8412221
JM
1102 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1103
695c378f
JM
1104 [BZ #15667]
1105 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1106 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1107
d1d54715
MR
11082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1109
1110 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1111 DL_DST_REQ_STATIC.
1112 (DL_DST_REQ_STATIC): Remove macro.
1113
8fdda7af
JM
11142013-06-21 Joseph Myers <joseph@codesourcery.com>
1115
1116 [BZ #7006]
1117 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1118 with a shift of 0 bits.
1119
f3bc5e5a
MR
11202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1121
1122 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1123 $(tststatic-ENV).
1124
be09e8c9
KK
11252013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1126
1127 [BZ #15655]
1128 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1129
85c2e611
AZ
11302013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1131
1132 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1133 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1134 accepts -fno-tree-loop-distribute-patterns.
1135 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1136 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1137 recursive call.
1138 * string/memset.c (memset): Likewise.
1139 * string/test-memmove.c (simple_memmove): Disable loop transformation
1140 to library calls.
1141 * string/test-memset.c (simple_memset): Likewise.
1142 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1143 * benchtests/bench-memset.c (simple_memset): Likewise.
1144 * configure: Regenerated.
1145
c91e0825
JM
11462013-06-20 Joseph Myers <joseph@codesourcery.com>
1147
b8c792af
JM
1148 * math/test-misc.c (main): Ignore fesetround failure when failures
1149 of subsequent rounding tests would be ignored.
1150
c91e0825
JM
1151 [BZ #15654]
1152 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1153 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1154 * math/fegetenv.c (__fegetenv): Return 0.
1155 * math/fegetexcept.c (fegetexcept): Return 0.
1156 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1157 FE_TONEAREST.
1158 * math/feholdexcpt.c (feholdexcept): Return 0.
1159 * math/fesetenv.c (__fesetenv): Return 0.
1160 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1161 argument FE_TONEAREST.
1162 * math/feupdateenv.c (__feupdateenv): Return 0.
1163 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1164
bfcacbde
RM
11652013-06-18 Roland McGrath <roland@hack.frob.com>
1166
1167 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1168 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1169 ($(objpfx)rtld-%.os rules): Use them.
1170
e55a9b25
AZ
11712013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1174 fields.
1175
346d65b3
RM
11762013-06-17 Roland McGrath <roland@hack.frob.com>
1177
12086fb4
RM
1178 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1179 length of target pattern, then descending length of dependency pattern.
1180 * configure.in (AWK): Require gawk 3.1.2 or newer.
1181 * manual/install.texi (Tools for Compilation): Say that we do.
1182 * configure: Regenerated.
1183
346d65b3
RM
1184 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1185 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1186 * scripts/sysd-rules.awk: ... this new script.
1187 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1188 than a glob-style pattern.
1189
1a846317
JM
11902013-06-17 Joseph Myers <joseph@codesourcery.com>
1191
1192 * math/test-misc.c (main): Do not treat incorrectly rounded
1193 conversions as failure unless ROUNDING_TESTS passes.
1194
8fc75e6f
JM
11952013-06-15 Joseph Myers <joseph@codesourcery.com>
1196
3711a167
JM
1197 [BZ #15631]
1198 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1199 restore exception state around main square root computation, then
1200 check for inexactness explicitly.
1201
8fc75e6f
JM
1202 * math/libm-test.inc (fma_test_data): Add another test.
1203
61dd6208
SP
12042013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1205
adf23d2c
SP
1206 * manual/threads.texi (Non-POSIX Extensions): New document
1207 node. Document pthread_getattr_default_np and
1208 pthread_setattr_default_np.
1209
61dd6208
SP
1210 * Versions.def (libpthread): Add GLIBC_2.18.
1211 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1213 Likewise.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1215 Likewise.
1216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1217 Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1219 Likewise.
1220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1221 Likewise.
1222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1223 Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1225 Likewise.
1226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1227 Likewise.
1228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1229 Likewise.
1230
d086fc7b
LD
12312013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1232
1233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1234 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1235
747ef469
SP
12362013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1237 H.J. Lu <hjl.tools@gmail.com>
1238
1239 [BZ #15627]
1240 * sysdeps/x86_64/rtld-memset.c: Remove file.
1241 * sysdeps/x86_64/rtld-memset.S: New file.
1242
1b2feed2
JM
12432013-06-14 Joseph Myers <joseph@codesourcery.com>
1244
1245 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1246 (test_in_one_mode): Take arguments for whether the rounding mode
1247 is supported for each floating-point type.
1248 (do_test): Pass new arguments to test_in_one_mode using
1249 ROUNDING_TESTS.
1250
a58ad3f8
RM
12512013-06-13 Roland McGrath <roland@hack.frob.com>
1252
1253 * posix/tst-waitid.c (do_test): Distinguish different instances of
1254 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1255 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1256 before entering the kernel for waitpid.
1257
c204ab28
SP
12582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1259
1260 * NEWS: Fix note on clock function precision. Text by Roland
1261 McGrath.
1262
f4a29fba
RM
12632013-06-13 Roland McGrath <roland@hack.frob.com>
1264
1265 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1266 it into place only when and if the sanity check passes.
1267
1f24b9ad
JM
12682013-06-13 Joseph Myers <joseph@codesourcery.com>
1269
1270 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1271 output for whether conversion result is exact. Take argument
1272 indicating whether type is IBM long double.
1273 (round_for_all): Change need_exact field to ibm_ld.
1274 * stdlib/tst-strtod-round.c (struct exactness): New type.
1275 (struct test): Change bool ld_ok field to struct exactness exact.
1276 (TEST): Update all definitions for change to field.
1277 (tests): Regenerate array contents.
1278 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1279 field value. Check for IBM long double here.
1280 (do_test): Update calls to test_in_one_mode.
1281
58206c68
SP
12822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1283
1284 [BZ #12515]
1285 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1286 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1287
2d6f4c5b 12882013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1289
1290 [BZ #15605]
1291 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1292 generated by the compiler on loop optimizations.
1293 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1294 general definitions.
1295
94f2c076
JM
12962013-06-12 Joseph Myers <joseph@codesourcery.com>
1297
1298 * math/bug-nextafter.c: Include <math-tests.h>.
1299 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1300 the relevant type.
1301 * math/bug-nexttoward.c: Include <math-tests.h>.
1302 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1303 the relevant type.
1304 * math/test-misc.c: Include <math-tests.h>.
1305 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1306 the relevant type.
1307
e0e50a0a
AJ
13082013-06-12 Andreas Jaeger <aj@suse.de>
1309
1310 * po/ia.po: Update Interlingua translation from translation
1311 project.
1312
25061094
SP
13132013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * include/fenv.h: Include stdbool.h.
1316 (struct rm_ctx): New structure.
1317 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1318 Define macro.
1319 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1320 (SET_RESTORE_ROUNDF): Likewise.
1321 (SET_RESTORE_ROUNDL): Likewise.
1322 (SET_RESTORE_ROUND_NOEX): Likewise.
1323 (SET_RESTORE_ROUND_NOEXF): Likewise.
1324 (SET_RESTORE_ROUND_NOEXL): Likewise.
1325 (SET_RESTORE_ROUND_53BIT): Likewise.
1326 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1327 (libc_feresetround_noexf_ctx): Likewise.
1328 (libc_feresetround_noexl_ctx): Likewise.
1329 (libc_feholdsetround_53bit_ctx): Likewise.
1330 (libc_feresetround_53bit_ctx): Likewise.
1331 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1332 (libc_feholdexcept_setround_sse_ctx): New function.
1333 (libc_fesetenv_sse_ctx): Likewise.
1334 (libc_feupdateenv_sse_ctx): Likewise.
1335 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1336 (libc_feholdexcept_setround_387_ctx): Likewise.
1337 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1338 (libc_feholdsetround_387_prec_ctx): Likewise.
1339 (libc_feholdsetround_387_ctx): Likewise.
1340 (libc_feholdsetround_387_53bit_ctx): Likewise.
1341 (libc_feholdsetround_sse_ctx): Likewise.
1342 (libc_feresetround_sse_ctx): Likewise.
1343 (libc_feresetround_387_ctx): Likewise.
1344 (libc_feupdateenv_387_ctx): Likewise.
1345 (libc_feholdexcept_setroundf_ctx): Define macro.
1346 (libc_fesetenvf_ctx): Likewise.
1347 (libc_feupdateenvf_ctx): Likewise.
1348 (libc_feholdsetroundf_ctx): Likewise.
1349 (libc_feresetroundf_ctx): Likewise.
1350 (libc_feholdexcept_setround_ctx): Likewise.
1351 (libc_fesetenv_ctx): Likewise.
1352 (libc_feupdateenv_ctx): Likewise.
1353 (libc_feholdsetround_ctx): Likewise.
1354 (libc_feresetround_ctx): Likewise.
1355 (libc_feholdexcept_setroundl_ctx): Likewise.
1356 (libc_feupdateenvl_ctx): Likewise.
1357 (libc_feholdsetroundl_ctx): Likewise.
1358 (libc_feresetroundl_ctx): Likewise.
1359 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1360 (libc_feresetround_53bit_ctx): Likewise.
1361
59b30555
SP
13622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1363
1364 * locale/iso-639.def: Convert to UTF-8.
1365
f1d73d30
JM
13662013-06-11 Joseph Myers <joseph@codesourcery.com>
1367
1368 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1369 (EXCEPTION_TESTS_double): Likewise.
1370 (EXCEPTION_TESTS_long_double): Likewise.
1371 (EXCEPTION_TESTS): Likewise.
1372 * math/libm-test.inc (test_exceptions): Only test exceptions if
1373 EXCEPTION_TESTS (FLOAT).
1374
94aca5e7
SP
13752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1376
1377 * benchtests/Makefile (string-bench): Add strcpy_chk and
1378 stpcpy_chk.
1379 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1380 * benchtests/bench-stpcpy_chk.c: New file.
1381 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1382 * benchtests/bench-strcpy_chk.c: New file.
1383 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1384 code.
1385 (do_test): Likewise.
1386
fac0c5f2
RA
13872013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1390 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1391 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1392 with tabs where appropriate.
1393 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1394 dl-procinfo.h.
1395 [PPC_PLATFORM_PPC440]: Likewise.
1396 [PPC_PLATFORM_PPC464]: Likewise.
1397 [PPC_PLATFORM_PPC476]: Likewise.
1398 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1399 ppc464, and ppc476 platform strings merging from ports/
1400 dl-procinfo.h.
1401
f22bc486
AS
14022013-06-11 Andreas Schwab <schwab@suse.de>
1403
1404 [BZ #14991]
1405 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1406 (from_ucs4_idx): Regenerate.
1407 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1408 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1409 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1410 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1411 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1412 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1413 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1414 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1415 from FROM_LOOP and TO_LOOP specific macros.
1416 (BODY): Handle combining characters.
1417 * iconvdata/BIG5HKSCS.irreversible: Update.
1418 * iconvdata/BIG5HKSCS.precomposed: New file.
1419 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1420 characters.
1421 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1422
c1f75dc3
SP
14232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1424
4eacded2
SP
1425 * include/sys/time.h: Fix indentation and add copyright header.
1426
fec799f8
SP
1427 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1428 (do_test): Likewise.
1429 * string/test-memchr.c (do_one_test): Likewise.
1430 (do_test): Likewise.
1431 * string/test-memcmp.c (do_one_test): Likewise.
1432 (do_test): Likewise.
1433 * string/test-memcpy.c (do_one_test): Likewise.
1434 (do_test): Likewise.
1435 * string/test-memmem.c (do_one_test): Likewise.
1436 (do_test): Likewise.
1437 (do_random_tests): Likewise.
1438 * string/test-memmove.c (do_one_test): Likewise.
1439 (do_test): Likewise.
1440 * string/test-memset.c (do_one_test): Likewise.
1441 (do_test): Likewise.
1442 * string/test-rawmemchr.c (do_one_test): Likewise.
1443 (do_test): Likewise.
1444 * string/test-strcasecmp.c (do_one_test): Likewise.
1445 (do_test): Likewise.
1446 * string/test-strcasestr.c (do_one_test): Likewise.
1447 (do_test): Likewise.
1448 * string/test-strcat.c (do_one_test): Likewise.
1449 (do_test): Likewise.
1450 * string/test-strchr.c (do_one_test): Likewise.
1451 (do_test): Likewise.
1452 * string/test-strcmp.c (do_one_test): Likewise.
1453 (do_test): Likewise.
1454 * string/test-strcpy.c (do_one_test): Likewise.
1455 (do_test): Likewise.
1456 * string/test-string.h: Likewise.
1457 (test_init): Likewise.
1458 * string/test-strlen.c (do_one_test): Likewise.
1459 (do_test): Likewise.
1460 * string/test-strncasecmp.c (do_one_test): Likewise.
1461 (do_test): Likewise.
1462 * string/test-strncat.c (do_one_test): Likewise.
1463 (do_test): Likewise.
1464 * string/test-strncmp.c (do_one_test): Likewise.
1465 (do_test_limit): Likewise.
1466 (do_test): Likewise.
1467 * string/test-strncpy.c (do_one_test): Likewise.
1468 (do_test): Likewise.
1469 * string/test-strnlen.c (do_one_test): Likewise.
1470 (do_test): Likewise.
1471 * string/test-strpbrk.c (do_one_test): Likewise.
1472 (do_test): Likewise.
1473 * string/test-strrchr.c (do_one_test): Likewise.
1474 (do_test): Likewise.
1475 * string/test-strspn.c (do_one_test): Likewise.
1476 (do_test): Likewise.
1477 * string/test-strstr.c (do_one_test): Likewise.
1478 (do_test): Likewise.
1479
97020474
SP
1480 * benchtests/Makefile (string-bench): Add string benchmarks.
1481 * benchtests/bench-bcopy-ifunc.c: New file.
1482 * benchtests/bench-bcopy.c: New file.
1483 * benchtests/bench-bzero-ifunc.c: New file.
1484 * benchtests/bench-bzero.c: New file.
1485 * benchtests/bench-memccpy-ifunc.c: New file.
1486 * benchtests/bench-memccpy.c: New file.
1487 * benchtests/bench-memchr-ifunc.c: New file.
1488 * benchtests/bench-memchr.c: New file.
1489 * benchtests/bench-memcmp-ifunc.c: New file.
1490 * benchtests/bench-memcmp.c: New file.
1491 * benchtests/bench-memmem-ifunc.c: New file.
1492 * benchtests/bench-memmem.c: New file.
1493 * benchtests/bench-memmove-ifunc.c: New file.
1494 * benchtests/bench-memmove.c: New file.
1495 * benchtests/bench-mempcpy-ifunc.c: New file.
1496 * benchtests/bench-mempcpy.c: New file.
1497 * benchtests/bench-memset-ifunc.c: New file.
1498 * benchtests/bench-memset.c: New file.
1499 * benchtests/bench-rawmemchr-ifunc.c: New file.
1500 * benchtests/bench-rawmemchr.c: New file.
1501 * benchtests/bench-stpcpy-ifunc.c: New file.
1502 * benchtests/bench-stpcpy.c: New file.
1503 * benchtests/bench-stpncpy-ifunc.c: New file.
1504 * benchtests/bench-stpncpy.c: New file.
1505 * benchtests/bench-strcasecmp-ifunc.c: New file.
1506 * benchtests/bench-strcasecmp.c: New file.
1507 * benchtests/bench-strcasestr-ifunc.c: New file.
1508 * benchtests/bench-strcasestr.c: New file.
1509 * benchtests/bench-strcat-ifunc.c: New file.
1510 * benchtests/bench-strcat.c: New file.
1511 * benchtests/bench-strchr-ifunc.c: New file.
1512 * benchtests/bench-strchr.c: New file.
1513 * benchtests/bench-strchrnul-ifunc.c: New file.
1514 * benchtests/bench-strchrnul.c: New file.
1515 * benchtests/bench-strcmp-ifunc.c: New file.
1516 * benchtests/bench-strcmp.c: New file.
1517 * benchtests/bench-strcpy-ifunc.c: New file.
1518 * benchtests/bench-strcpy.c: New file.
1519 * benchtests/bench-strcspn-ifunc.c: New file.
1520 * benchtests/bench-strcspn.c: New file.
1521 * benchtests/bench-strlen-ifunc.c: New file.
1522 * benchtests/bench-strlen.c: New file.
1523 * benchtests/bench-strncasecmp-ifunc.c: New file.
1524 * benchtests/bench-strncasecmp.c: New file.
1525 * benchtests/bench-strncat-ifunc.c: New file.
1526 * benchtests/bench-strncat.c: New file.
1527 * benchtests/bench-strncmp-ifunc.c: New file.
1528 * benchtests/bench-strncmp.c: New file.
1529 * benchtests/bench-strncpy-ifunc.c: New file.
1530 * benchtests/bench-strncpy.c: New file.
1531 * benchtests/bench-strnlen-ifunc.c: New file.
1532 * benchtests/bench-strnlen.c: New file.
1533 * benchtests/bench-strpbrk-ifunc.c: New file.
1534 * benchtests/bench-strpbrk.c: New file.
1535 * benchtests/bench-strrchr-ifunc.c: New file.
1536 * benchtests/bench-strrchr.c: New file.
1537 * benchtests/bench-strspn-ifunc.c: New file.
1538 * benchtests/bench-strspn.c: New file.
1539 * benchtests/bench-strstr-ifunc.c: New file.
1540 * benchtests/bench-strstr.c: New file.
1541
c1f75dc3
SP
1542 * benchtests/Makefile: Disable parallel execution of targets.
1543 (string-bench): Add memcpy.
1544 (benchset): New variable to store a list of benchmark sets.
1545 (bench-func): Renamed from bench.
1546 (bench-set): New target.
1547 (bench): Depend on bench-func and bench-set.
1548 * benchtests/README: Add section on benchmark sets.
1549 * benchtests/bench-memcpy-ifunc.c: New file.
1550 * benchtests/bench-memcpy.c: New file.
1551 * benchtests/bench-string.h: New file.
1552
50fd745b
AS
15532013-06-11 Andreas Schwab <schwab@suse.de>
1554
1555 [BZ #15577]
1556 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1557 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1558 values in the triple.
1559 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1560 terminator in the group key.
1561
3ee7e9fe
AJ
15622013-06-11 Andreas Jaeger <aj@suse.de>
1563
1564 * po/zh_TW.po: Update Chinese (traditional) translation from
1565 translation project.
1566
89fb6835
SP
15672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1568
1569 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1570 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1571 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1573 (clock_getcpuclockid): Likewise.
1574 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1575 Add weak_alias and libc_hidden_def.
1576 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1577 * rt/clock_gettime.c (clock_gettime): Rename to
1578 __clock_gettime. Add weak_alias and libc_hidden_def.
1579 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1580 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1581 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1582 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1583 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1584 Likewise.
1585 * rt/clock_settime.c (clock_settime): Rename to
1586 __clock_settime. Add weak_alias and libc_hidden_def.
1587 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1588
0efa6f8b
JM
15892013-06-10 Joseph Myers <joseph@codesourcery.com>
1590
b8c61b4b
JM
1591 * mach/err_boot.sub: Remove trailing whitespace.
1592 * mach/err_ipc.sub: Likewise.
1593 * mach/err_mach.sub: Likewise.
1594
0efa6f8b
JM
1595 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1596 (ROUNDING_TESTS_double): Likewise.
1597 (ROUNDING_TESTS_long_double): Likewise.
1598 (ROUNDING_TESTS): Likewise.
1599 * math/libm-test.inc: Include <math-tests.h>.
1600 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1601 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1602 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1603 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1604
50b818bf
SP
16052013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1606
1607 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1608 of assigning.
1609
60d2f8f3
JM
16102013-06-08 Joseph Myers <joseph@codesourcery.com>
1611
4902d2c3
JM
1612 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1613 otherwise empty TRANS lines.
1614 * sysdeps/gnu/errlist.c: Regenerated.
1615
60d2f8f3
JM
1616 * catgets/gencat.c (error_print): Use (void) in function
1617 definition.
1618 * crypt/crypt_util.c (__init_des): Likewise.
1619 * crypt/speeds.c (Stop): Likewise.
1620 (main): Likewise.
1621 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1622 * inet/ruserpass.c (token): Likewise.
1623 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1624 * intl/localealias.c (extend_alias_table): Likewise.
1625 * intl/plural-exp.c (init_germanic_plural): Likewise.
1626 * libio/fcloseall.c (__fcloseall): Likewise.
1627 * libio/genops.c (_IO_flush_all): Likewise.
1628 (_IO_flush_all_linebuffered): Likewise.
1629 (_IO_cleanup): Likewise.
1630 (_IO_iter_begin): Likewise.
1631 (_IO_iter_end): Likewise.
1632 (_IO_list_lock): Likewise.
1633 (_IO_list_unlock): Likewise.
1634 (_IO_list_resetlock): Likewise.
1635 * libio/getchar.c (getchar): Likewise.
1636 * libio/getchar_u.c (getchar_unlocked): Likewise.
1637 * libio/getwchar.c (getwchar): Likewise.
1638 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1639 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1640 * login/getpt.c (__getpt): Likewise.
1641 * login/tst-utmp.c (main): Likewise.
1642 * malloc/hooks.c (__malloc_check_init): Likewise.
1643 * malloc/malloc.c (__malloc_stats): Likewise.
1644 * malloc/mtrace.c (tr_break): Likewise.
1645 (mtrace): Likewise.
1646 (muntrace): Likewise.
1647 * misc/fstab.c (endfsent): Likewise.
1648 * misc/getclktck.c (__getclktck): Likewise.
1649 * misc/getdtsz.c (__getdtablesize): Likewise.
1650 * misc/gethostid.c (gethostid): Likewise.
1651 * misc/getpagesize.c (__getpagesize): Likewise.
1652 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1653 (__get_nprocs): Likewise.
1654 (__get_phys_pages): Likewise.
1655 (__get_avphys_pages): Likewise.
1656 * misc/getttyent.c (getttyent): Likewise.
1657 (setttyent): Likewise.
1658 (endttyent): Likewise.
1659 * misc/getusershell.c (getusershell): Likewise.
1660 (endusershell): Likewise.
1661 (setusershell): Likewise.
1662 (initshells): Likewise.
1663 * misc/hsearch.c (__hdestroy): Likewise.
1664 * misc/sync.c (sync): Likewise.
1665 * misc/syslog.c (closelog_internal): Likewise.
1666 (closelog): Likewise.
1667 * misc/ttyslot.c (ttyslot): Likewise.
1668 * misc/vhangup.c (vhangup): Likewise.
1669 * posix/fork.c (__fork): Likewise.
1670 * posix/getegid.c (__getegid): Likewise.
1671 * posix/geteuid.c (__geteuid): Likewise.
1672 * posix/getgid.c (__getgid): Likewise.
1673 * posix/getpid.c (__getpid): Likewise.
1674 * posix/getppid.c (__getppid): Likewise.
1675 * posix/getuid.c (__getuid): Likewise.
1676 * posix/pause.c (pause): Likewise.
1677 * posix/setpgrp.c (setpgrp): Likewise.
1678 * posix/setsid.c (__setsid): Likewise.
1679 * posix/test-vfork.c (noop): Likewise.
1680 * resolv/gethnamaddr.c (_endhtent): Likewise.
1681 (_gethtent): Likewise.
1682 (ht_endhostent): Likewise.
1683 (gethostent): Likewise.
1684 (dns_service): Likewise.
1685 * stdlib/drand48.c (drand48): Likewise.
1686 * stdlib/lrand48.c (lrand48): Likewise.
1687 * stdlib/mrand48.c (mrand48): Likewise.
1688 * stdlib/rand.c (rand): Likewise.
1689 * stdlib/random.c (__random): Likewise.
1690 * stdlib/setenv.c (clearenv): Likewise.
1691 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1692 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1693 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1694 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1695 (__get_nprocs): Likewise.
1696 (__get_phys_pages): Likewise.
1697 (__get_avphys_pages): Likewise.
1698 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1699 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1700 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1701 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1702 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1703 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1704 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1705 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1706 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1707 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1708 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1709 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1710 * sysdeps/posix/clock.c (clock): Likewise.
1711 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1712 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1713 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1714 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1715 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1717 (__get_nprocs_conf): Likewise.
1718 (__get_phys_pages): Likewise.
1719 (__get_avphys_pages): Likewise.
1720 * time/clock.c (clock): Likewise.
1721 * time/tzset.c (__tzname_max): Likewise.
1722
2e09a79a
JM
17232013-06-07 Joseph Myers <joseph@codesourcery.com>
1724
1725 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1726 (__bswap_32): Do not use "register".
1727 * crypt/crypt.c (_ufc_doit_r): Likewise.
1728 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1729 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1730 * gmon/gmon.c (__monstartup): Likewise.
1731 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1732 * hurd/hurdmalloc.c (more_memory): Likewise.
1733 (malloc): Likewise.
1734 (free): Likewise.
1735 (realloc): Likewise.
1736 (malloc_fork_prepare): Likewise.
1737 (malloc_fork_parent): Likewise.
1738 (malloc_fork_child): Likewise.
1739 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1740 (_svcauth_des): Likewise.
1741 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1742 * inet/inet_net.c (inet_network): Likewise.
1743 * inet/inet_netof.c (inet_netof): Likewise.
1744 * inet/rcmd.c (__validuser2_sa): Likewise.
1745 * io/fts.c (fts_open): Likewise.
1746 (fts_load): Likewise.
1747 (fts_close): Likewise.
1748 (fts_read): Likewise.
1749 (fts_children): Likewise.
1750 (fts_build): Likewise.
1751 (fts_stat): Likewise.
1752 (fts_sort): Likewise.
1753 (fts_alloc): Likewise.
1754 (fts_lfree): Likewise.
1755 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1756 (_IO_file_xsgetn): Likewise.
1757 (_IO_file_xsgetn_mmap): Likewise.
1758 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1759 (_IO_cookie_write): Likewise.
1760 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1761 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1762 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1763 * malloc/obstack.c (_obstack_begin): Likewise.
1764 (_obstack_begin_1): Likewise.
1765 (_obstack_newchunk): Likewise.
1766 (_obstack_allocated_p): Likewise.
1767 (obstack_free): Likewise.
1768 (_obstack_memory_used): Likewise.
1769 * misc/getttyent.c (getttynam): Likewise.
1770 (getttyent): Likewise.
1771 (skip): Likewise.
1772 (value): Likewise.
1773 * misc/getusershell.c (initshells): Likewise.
1774 * misc/syslog.c (__vsyslog_chk): Likewise.
1775 * misc/ttyslot.c (ttyslot): Likewise.
1776 * nis/nis_hash.c (__nis_hash): Likewise.
1777 * posix/fnmatch_loop.c (FCT): Likewise.
1778 * posix/getconf.c (print_all): Likewise.
1779 (main): Likewise.
1780 * posix/getopt.c (exchange): Likewise.
1781 * posix/glob.c (globfree): Likewise.
1782 (prefix_array): Likewise.
1783 (__glob_pattern_type): Likewise.
1784 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1785 (NS_GET32): Likewise.
1786 (NS_PUT16): Likewise.
1787 (NS_PUT32): Likewise.
1788 * resolv/gethnamaddr.c (getanswer): Likewise.
1789 (gethostbyname2): Likewise.
1790 (gethostbyaddr): Likewise.
1791 (_gethtent): Likewise.
1792 (_gethtbyname2): Likewise.
1793 (_gethtbyaddr): Likewise.
1794 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1795 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1796 * resolv/res_init.c (__res_vinit): Likewise.
1797 (net_mask): Likewise.
1798 * resolv/res_mkquery.c (outchar): Likewise.
1799 (PRINT): Likewise.
1800 * stdio-common/printf_fp.c (outchar): Likewise.
1801 (PRINT): Likewise.
1802 * stdio-common/printf_fphex.c (outchar): Likewise.
1803 (PRINT): Likewise.
1804 * stdio-common/printf_size.c (outchar): Likewise.
1805 (PRINT): Likewise.
1806 * stdio-common/test_rdwr.c (main): Likewise.
1807 * stdio-common/tfformat.c (matches): Likewise.
1808 * stdio-common/vfprintf.c (outchar): Likewise.
1809 (printf_unknown): Likewise.
1810 (buffered_vfprintf): Likewise.
1811 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1812 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1813 (ReadFile): Likewise.
1814 * stdlib/qsort.c (SWAP): Likewise.
1815 (_quicksort): Likewise.
1816 * stdlib/setenv.c (__add_to_environ): Likewise.
1817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1818 * stdlib/strtol_l.c (__strtol_l): Likewise.
1819 * stdlib/tst-strtod.c (main): Likewise.
1820 * stdlib/tst-strtol.c (main): Likewise.
1821 * stdlib/tst-strtoll.c (main): Likewise.
1822 * string/bits/string2.h (__strcmp_cc): Likewise.
1823 (__strcmp_cg): Likewise.
1824 (__strcspn_c1): Likewise.
1825 (__strcspn_c2): Likewise.
1826 (__strcspn_c3): Likewise.
1827 (__strspn_c1): Likewise.
1828 (__strspn_c2): Likewise.
1829 (__strspn_c3): Likewise.
1830 (__strsep_1c): Likewise.
1831 (__strsep_2c): Likewise.
1832 (__strsep_3c): Likewise.
1833 * string/memccpy.c (__memccpy): Likewise.
1834 * string/stpcpy.c (__stpcpy): Likewise.
1835 * string/strcmp.c (strcmp): Likewise.
1836 * string/strrchr.c (strrchr): Likewise.
1837 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1838 Likewise.
1839 * sysdeps/mach/hurd/getcwd.c
1840 (_hurd_canonicalize_directory_name_internal): Likewise.
1841 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1842 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1843 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1844 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1845 Likewise, in both definitions.
1846 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1847 definitions.
1848 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1849 64] (__bswap_64): Likewise.
1850 * time/test_time.c (main): Likewise.
1851 * time/tzfile.c (__tzfile_read): Likewise.
1852 (__tzfile_compute): Likewise.
1853 * time/tzset.c (__tzset_parse_tz): Likewise.
1854 (tzset_internal): Likewise.
1855 (compute_change): Likewise.
1856 * wcsmbs/wcscat.c (__wcscat): Likewise.
1857 * wcsmbs/wcschr.c (wcschr): Likewise.
1858 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1859 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1860 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1861 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1862 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1863 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1864 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1865 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1866 * wcsmbs/wmemset.c (wmemset): Likewise.
1867
9e54314b
JM
18682013-06-06 Joseph Myers <joseph@codesourcery.com>
1869
1870 * scripts/config.guess: Update to version 2013-05-16.
1871 * scripts/config.sub: Update to version 2013-04-24.
1872 * scripts/install-sh: Update to version 2011-11-20.07.
1873 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1874 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1875
350635a5
OB
18762013-06-06 Ondřej Bílka <neleai@seznam.cz>
1877
1878 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1879 * elf/sln.c: Likewise.
1880 * hurd/hurd/ioctl.h: Likewise.
1881 * hurd/hurdmalloc.c: Likewise.
1882 * hurd/xattr.c: Likewise.
1883 * include/shlib-compat.h: Likewise.
1884 * inet/ruserpass.c: Likewise.
1885 * libio/iofgets_u.c: Likewise.
1886 * libio/iofgetws_u.c: Likewise.
1887 * locale/programs/ld-identification.c: Likewise.
1888 * locale/programs/ld-time.c: Likewise.
1889 * mach/msg-destroy.c: Likewise.
1890 * nss/nss_files/files-netgrp.c: Likewise.
1891 * resolv/res_data.c: Likewise.
1892 * soft-fp/op-1.h: Likewise.
1893 * soft-fp/op-2.h: Likewise.
1894 * soft-fp/op-4.h: Likewise.
1895 * soft-fp/op-common.h: Likewise.
1896 * stdio-common/printf_fphex.c: Likewise.
1897 * stdlib/strtod_l.c: Likewise.
1898 * sunrpc/rpc/clnt.h: Likewise.
1899 * sysdeps/generic/framestate.c: Likewise.
1900 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1901 * sysdeps/i386/bsd-setjmp.S: Likewise.
1902 * sysdeps/i386/__longjmp.S: Likewise.
1903 * sysdeps/i386/setjmp.S: Likewise.
1904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1906 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1922 * sysdeps/ieee754/support.c: Likewise.
1923 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1924 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1925 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1926 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1927 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1928 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1929 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1930 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1931 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1932 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1933 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1934 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1937 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1938 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1939 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1941
44a988af
OB
19422013-06-05 Ondřej Bílka <neleai@seznam.cz>
1943
25506f09 1944 * posix/transbug.c: Remove executable mode.
44a988af 1945
9c84384c
JM
19462013-06-05 Joseph Myers <joseph@codesourcery.com>
1947
1948 * crypt/speeds.c: Remove trailing whitespace.
1949 * dlfcn/default.c: Likewise.
1950 * elf/ifuncdep2.c: Likewise.
1951 * elf/ifuncmain1.c: Likewise.
1952 * elf/ifuncmain1vis.c: Likewise.
1953 * elf/testobj.h: Likewise.
1954 * elf/tst-stackguard1.c: Likewise.
1955 * gmon/sys/gmon.h: Likewise.
1956 * hurd/hurdmsg.c: Likewise.
1957 * hurd/new-fd.c: Likewise.
1958 * hurd/ports-get.c: Likewise.
1959 * iconvdata/ibm1008_420.c: Likewise.
1960 * inet/tst-getni1.c: Likewise.
1961 * inet/tst-getni2.c: Likewise.
1962 * libio/ioungetc.c: Likewise.
1963 * libio/wfiledoalloc.c: Likewise.
1964 * manual/libm-err-tab.pl: Likewise.
1965 * math/w_dremf.c: Likewise.
1966 * misc/ftruncate.c: Likewise.
1967 * posix/bug-glob2.c: Likewise.
1968 * posix/tst-pcre.c: Likewise.
1969 * posix/wait4.c: Likewise.
1970 * resolv/README: Likewise.
1971 * resolv/res_debug.h: Likewise.
1972 * resolv/tst-inet_ntop.c: Likewise.
1973 * setjmp/bug269-setjmp.c: Likewise.
1974 * soft-fp/extended.h: Likewise.
1975 * soft-fp/op-1.h: Likewise.
1976 * soft-fp/op-2.h: Likewise.
1977 * soft-fp/op-4.h: Likewise.
1978 * soft-fp/op-8.h: Likewise.
1979 * soft-fp/testit.c: Likewise.
1980 * stdio-common/bug16.c: Likewise.
1981 * stdlib/random.c: Likewise.
1982 * sunrpc/rpcsvc/rquota.x: Likewise.
1983 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1987 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1991 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2010 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2012 * sysdeps/ieee754/s_lib_version.c: Likewise.
2013 * sysdeps/mach/hurd/check_fds.c: Likewise.
2014 * sysdeps/mach/hurd/getsockname.c: Likewise.
2015 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2016 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2017 * sysdeps/powerpc/bits/link.h: Likewise.
2018 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2019 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2020 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2021 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2022 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2023 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2024 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2025 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2026 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2027 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2028 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2030 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2041 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2049 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2052 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2058 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2063 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2070 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2073 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2076 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2082 * sysdeps/powerpc/sysdep.h: Likewise.
2083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2084 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2085 * sysdeps/sh/dl-trampoline.S: Likewise.
2086 * sysdeps/sh/memset.S: Likewise.
2087 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2088 * sysdeps/sh/strlen.S: Likewise.
2089 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2090 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2091 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2092 * sysdeps/sparc/sparc32/rem.S: Likewise.
2093 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2094 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2095 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2096 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2097 * sysdeps/sparc/sparc32/urem.S: Likewise.
2098 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2099 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2100 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2103 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2104 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2105 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2106 * sysdeps/unix/bsd/times.c: Likewise.
2107 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2108 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2112 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2119 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2120 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2121 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2122 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2124 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2125 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2127 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2128 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2129 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2130 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2131 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2132 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2135 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2136 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2137 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2138 * sysdeps/x86_64/strcspn.S: Likewise.
2139
869378a5
RA
21402013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2141
2142 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2143 generated file. Regenerate properly from gen-translit.pl.
2144 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2145 locale/C-translit.h.
2146
840e2943
AS
21472013-06-05 Andreas Schwab <schwab@suse.de>
2148
2149 [BZ #15100]
2150 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2151 week as 6 instead of -1.
2152 * time/tst-strptime.c (day_tests): Add test case.
2153
4c60cb0c
SP
21542013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 * sysdeps/generic/math_private.h
2157 (libc_feholdexcept_setround_53bit): Replace with
2158 libc_feholdsetround_53bit.
2159 (libc_feupdateenv_53bit): Replace with
2160 libc_feresetround_53bit.
2161 (SET_RESTORE_ROUND_53BIT): Adjust.
2162
d180203e
SP
21632013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
96df079a
SP
2165 * string/test-strchrnul.c: Add copyright header.
2166
d180203e
SP
2167 * posix/tst-getaddrinfo4.c: Increase test timeout.
2168
8b0ccb2d
CD
21692013-06-03 Carlos O'Donell <carlos@redhat.com>
2170
2171 [BZ #15536]
2172 * math/libm-test.inc (MAX_EXP): Remove
2173 (MIN_EXP): Define.
2174 (ulp): Use MIN_EXP - MANT_DIG.
2175 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2176
3b3c4d40
CD
21772013-05-31 Carlos O'Donell <carlos@redhat.com>
2178
2179 * po/be.po: Revert last change.
2180 * po/zh_CN.po: Likewise.
2181 * po/header.pot: Likewise.
2182
fab7ce3f
JM
21832013-05-31 Joseph Myers <joseph@codesourcery.com>
2184
2185 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2186 link-libc-deps to empty as target-specific variable.
2187 * Makerules (link-libc-args): New variable.
2188 (libc-for-link): Likewise.
2189 (link-libc-deps): Likewise.
2190 (lib%.so): Depend on $(link-libc-deps). Link with
2191 $(link-libc-args).
2192 (build-module): Link with $(link-libc-args).
2193 (build-module-asneeded): Likewise.
2194 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2195 list of objects.
2196 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2197 target-specific variable.
2198 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2199 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2200 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2201 libc.
2202 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2203 libc and ld.so.
2204 ($(objpfx)libpcprofile.so): Likewise.
2205 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2206 libc_nonshared.a.
2207 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2208 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2209 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2210 $(link-libc-deps).
2211 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2212 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2213 * login/Makefile ($(objpfx)libutil.so): Likewise.
2214 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2215 * math/Makefile ($(objpfx)libm.so): Likewise.
2216 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2217 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2218 variable instead of depending directly on libc.
2219 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2220 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2221 $(link-libc-deps).
2222 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2223 libc.
2224 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2225 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2226 ($(objpfx)libanl.so): Likewise.
2227 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2228 ld.so.
2229 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2230 $(link-libc-deps).
2231 * sysdeps/i386/fpu/Makefile: Remove file.
2232 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2233 ($(objpfx)libm.so): Remove dependency on ld.so.
2234
eca5920c
PF
22352013-05-30 Patsy Franklin <pfrankli@redhat.com>
2236
2237 [BZ # 15553]
2238 * nis/yp_xdr.c (XDRMAXNAME): Define.
2239 (XDRMAXRECORD): Define.
2240 (xdr_domainname): Use XDRMAXNAME.
2241 (xdr_mapname): Likewise.
2242 (xdr_peername): Likewise.
2243 (xdr_keydat): Use XDRMAXRECORD.
2244 (xdr_valdat): Likewise.
2245
22462013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2247
2248 [BZ #14256]
2249 * manual/errno.texi (ESTALE): Update to account for more than
2250 just NFS file systems.
2251 * sysdeps/gnu/errlist.c: Regenerated.
2252
b9375348
SP
22532013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2254
2255 [BZ #15465]
2256 * elf/Makefile (tests): Add tst-null-argv.
2257 (modules-names): Add tst-null-argv-lib.
2258 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2259 (tst-null-argv-ENV): Set environment for tst-null-argv.
2260 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2261 (RTLD_PROGNAME): New macro.
2262 * elf/tst-null-argv.c: New test case.
2263 * elf/tst-null-argv-lib.c: Library for test case.
2264 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2265 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2266 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2267 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2268 * elf/dl-init.c (call_init): Likewise.
2269 (_dl_init): Likewise.
2270 * elf/dl-load.c (print_search_path): Likewise.
2271 (_dl_map_object): Likewise.
2272 * elf/dl-lookup.c (do_lookup_x): Likewise.
2273 (add_dependency): Likewise.
2274 (_dl_lookup_symbol_x): Likewise.
2275 (_dl_debug_bindings): Likewise.
2276 * elf/dl-open.c (_dl_show_scope): Likewise.
2277 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2278 * elf/dl-version.c (match_symbol): Likewise.
2279 (_dl_check_map_versions): Likewise.
2280 * elf/rtld.c (dl_main): Likewise.
2281 (print_unresolved): Use RTLD_PROGNAME.
2282 (print_missing_version): Likewise.
2283 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2284 (elf_machine_rela): Likewise.
2285 * sysdeps/powerpc/powerpc32/dl-machine.c
2286 (__process_machine_rela): Likewise.
2287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2288 Likewise.
2289 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2290 Likewise.
2291 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2292 Likewise.
2293 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2295 Likewise.
2296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2297 Likewise.
2298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2299
8a9f20c8
CD
23002013-05-28 Carlos O'Donell <carlos@redhat.com>
2301
2302 * po/be.po: Add descriptive title.
2303 * po/zh_CN.po: Likewise.
2304 * po/header.pot: Likewise.
2305
0e60d68e
MF
23062013-05-28 Mike Frysinger <vapier@gentoo.org>
2307
2308 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2309 error message.
2310 (enlarge_archive): Likewise.
2311
56b672e9
BN
23122013-05-28 Ben North <ben@redfrontdoor.org>
2313
2314 * manual/arith.texi (frexp): It is the magnitude of the return
2315 value which lies in [0.5, 1), not the return value itself.
2316
5e056687
AZ
23172013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2320
2b66ef5d
TS
23212013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2322
528c2405
TS
2323 * stdio-common/bug26.c (main): Correct fscanf template.
2324
07b4c13d
TS
2325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2326 declare _dl_skip_args.
2327
ec9dd97c
TS
2328 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2329 Don't declare.
2330
2b66ef5d
TS
2331 * manual/platform.texi: Add missing @end deftypefun.
2332
4f8dfe27
JM
23332013-05-24 Joseph Myers <joseph@codesourcery.com>
2334
0323d086
JM
2335 [BZ #15529]
2336 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2337 bit of mantissa of 2^16382.
2338 * math/libm-test.inc (hypot_test_data): Add more tests.
2339
dd4259b9
JM
2340 * math/libm-test.inc: Add drem and pow10 to list of tested
2341 functions.
2342 (pow10_test): New function.
2343 (drem_test): Likewise.
2344 (drem_test_tonearest): Likewise.
2345 (drem_test_towardzero): Likewise.
2346 (drem_test_downward): Likewise.
2347 (drem_test_upward): Likewise.
2348 (main): Call the new functions.
2349
4f8dfe27
JM
2350 * math/libm-test.inc (finite_test_data): Remove.
2351 (finite_test): Run tests from isfinite_test_data.
2352 (gamma_test_data): Remove.
2353 (gamma_test): Run tests from lgamma_test_data.
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2356
d116b7c4
AZ
23572013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2358
2359 * manual/platform.texi: Add PowerPC PPR function set documentation.
2360 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2361 implementation.
2362
e96e3767
CD
23632013-05-24 Carlos O'Donell <carlos@redhat.com>
2364
2365 * math/libm-test.inc (MAX_EXP): Define.
2366 (ULPDIFF): Define.
2367 (ulp): New function.
2368 (check_float_internal): Use ULPDIFF.
2369 (cpow_test): Disable failing test.
2370 (check_ulp): Test ulp() implemetnation.
2371 (main): Call check_ulp before starting tests.
2372
b679a606
JM
23732013-05-24 Joseph Myers <joseph@codesourcery.com>
2374
e8bdba36
JM
2375 * math/gen-libm-test.pl (generate_testfile): Do not handle
2376 START_DATA and END_DATA.
2377 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2378 END_DATA.
2379 (acos_tonearest_test_data): Likewise.
2380 (acos_towardzero_test_data): Likewise.
2381 (acos_downward_test_data): Likewise.
2382 (acos_upward_test_data): Likewise.
2383 (acosh_test_data): Likewise.
2384 (asin_test_data): Likewise.
2385 (asin_tonearest_test_data): Likewise.
2386 (asin_towardzero_test_data): Likewise.
2387 (asin_downward_test_data): Likewise.
2388 (asin_upward_test_data): Likewise.
2389 (asinh_test_data): Likewise.
2390 (atan_test_data): Likewise.
2391 (atanh_test_data): Likewise.
2392 (atan2_test_data): Likewise.
2393 (cabs_test_data): Likewise.
2394 (cacos_test_data): Likewise.
2395 (cacosh_test_data): Likewise.
2396 (carg_test_data): Likewise.
2397 (casin_test_data): Likewise.
2398 (casinh_test_data): Likewise.
2399 (catan_test_data): Likewise.
2400 (catanh_test_data): Likewise.
2401 (cbrt_test_data): Likewise.
2402 (ccos_test_data): Likewise.
2403 (ccosh_test_data): Likewise.
2404 (ceil_test_data): Likewise.
2405 (cexp_test_data): Likewise.
2406 (cimag_test_data): Likewise.
2407 (clog_test_data): Likewise.
2408 (clog10_test_data): Likewise.
2409 (conj_test_data): Likewise.
2410 (copysign_test_data): Likewise.
2411 (cos_test_data): Likewise.
2412 (cos_tonearest_test_data): Likewise.
2413 (cos_towardzero_test_data): Likewise.
2414 (cos_downward_test_data): Likewise.
2415 (cos_upward_test_data): Likewise.
2416 (cosh_test_data): Likewise.
2417 (cosh_tonearest_test_data): Likewise.
2418 (cosh_towardzero_test_data): Likewise.
2419 (cosh_downward_test_data): Likewise.
2420 (cosh_upward_test_data): Likewise.
2421 (cpow_test_data): Likewise.
2422 (cproj_test_data): Likewise.
2423 (creal_test_data): Likewise.
2424 (csin_test_data): Likewise.
2425 (csinh_test_data): Likewise.
2426 (csqrt_test_data): Likewise.
2427 (ctan_test_data): Likewise.
2428 (ctan_tonearest_test_data): Likewise.
2429 (ctan_towardzero_test_data): Likewise.
2430 (ctan_downward_test_data): Likewise.
2431 (ctan_upward_test_data): Likewise.
2432 (ctanh_test_data): Likewise.
2433 (ctanh_tonearest_test_data): Likewise.
2434 (ctanh_towardzero_test_data): Likewise.
2435 (ctanh_downward_test_data): Likewise.
2436 (ctanh_upward_test_data): Likewise.
2437 (erf_test_data): Likewise.
2438 (erfc_test_data): Likewise.
2439 (exp_test_data): Likewise.
2440 (exp_tonearest_test_data): Likewise.
2441 (exp_towardzero_test_data): Likewise.
2442 (exp_downward_test_data): Likewise.
2443 (exp_upward_test_data): Likewise.
2444 (exp10_test_data): Likewise.
2445 (exp2_test_data): Likewise.
2446 (expm1_test_data): Likewise.
2447 (fabs_test_data): Likewise.
2448 (fdim_test_data): Likewise.
2449 (finite_test_data): Likewise.
2450 (floor_test_data): Likewise.
2451 (fma_test_data): Likewise.
2452 (fma_towardzero_test_data): Likewise.
2453 (fma_downward_test_data): Likewise.
2454 (fma_upward_test_data): Likewise.
2455 (fmax_test_data): Likewise.
2456 (fmin_test_data): Likewise.
2457 (fmod_test_data): Likewise.
2458 (fpclassify_test_data): Likewise.
2459 (frexp_test_data): Likewise.
2460 (gamma_test_data): Likewise.
2461 (hypot_test_data): Likewise.
2462 (ilogb_test_data): Likewise.
2463 (isfinite_test_data): Likewise.
2464 (isgreater_test_data): Likewise.
2465 (isgreaterequal_test_data): Likewise.
2466 (isinf_test_data): Likewise.
2467 (isless_test_data): Likewise.
2468 (islessequal_test_data): Likewise.
2469 (islessgreater_test_data): Likewise.
2470 (isnan_test_data): Likewise.
2471 (isnormal_test_data): Likewise.
2472 (issignaling_test_data): Likewise.
2473 (isunordered_test_data): Likewise.
2474 (j0_test_data): Likewise.
2475 (j1_test_data): Likewise.
2476 (jn_test_data): Likewise.
2477 (ldexp_test_data): Likewise.
2478 (lgamma_test_data): Likewise.
2479 (lrint_test_data): Likewise.
2480 (lrint_tonearest_test_data): Likewise.
2481 (lrint_towardzero_test_data): Likewise.
2482 (lrint_downward_test_data): Likewise.
2483 (lrint_upward_test_data): Likewise.
2484 (llrint_test_data): Likewise.
2485 (llrint_tonearest_test_data): Likewise.
2486 (llrint_towardzero_test_data): Likewise.
2487 (llrint_downward_test_data): Likewise.
2488 (llrint_upward_test_data): Likewise.
2489 (log_test_data): Likewise.
2490 (log10_test_data): Likewise.
2491 (log1p_test_data): Likewise.
2492 (log2_test_data): Likewise.
2493 (logb_test_data): Likewise.
2494 (logb_downward_test_data): Likewise.
2495 (lround_test_data): Likewise.
2496 (llround_test_data): Likewise.
2497 (modf_test_data): Likewise.
2498 (nearbyint_test_data): Likewise.
2499 (nextafter_test_data): Likewise.
2500 (nexttoward_test_data): Likewise.
2501 (pow_test_data): Likewise.
2502 (pow_tonearest_test_data): Likewise.
2503 (pow_towardzero_test_data): Likewise.
2504 (pow_downward_test_data): Likewise.
2505 (pow_upward_test_data): Likewise.
2506 (remainder_test_data): Likewise.
2507 (remainder_tonearest_test_data): Likewise.
2508 (remainder_towardzero_test_data): Likewise.
2509 (remainder_downward_test_data): Likewise.
2510 (remainder_upward_test_data): Likewise.
2511 (remquo_test_data): Likewise.
2512 (rint_test_data): Likewise.
2513 (rint_tonearest_test_data): Likewise.
2514 (rint_towardzero_test_data): Likewise.
2515 (rint_downward_test_data): Likewise.
2516 (rint_upward_test_data): Likewise.
2517 (round_test_data): Likewise.
2518 (scalb_test_data): Likewise.
2519 (scalbn_test_data): Likewise.
2520 (scalbln_test_data): Likewise.
2521 (signbit_test_data): Likewise.
2522 (sin_test_data): Likewise.
2523 (sin_tonearest_test_data): Likewise.
2524 (sin_towardzero_test_data): Likewise.
2525 (sin_downward_test_data): Likewise.
2526 (sin_upward_test_data): Likewise.
2527 (sincos_test_data): Likewise.
2528 (sinh_test_data): Likewise.
2529 (sinh_tonearest_test_data): Likewise.
2530 (sinh_towardzero_test_data): Likewise.
2531 (sinh_downward_test_data): Likewise.
2532 (sinh_upward_test_data): Likewise.
2533 (sqrt_test_data): Likewise.
2534 (tan_test_data): Likewise.
2535 (tan_tonearest_test_data): Likewise.
2536 (tan_towardzero_test_data): Likewise.
2537 (tan_downward_test_data): Likewise.
2538 (tan_upward_test_data): Likewise.
2539 (tanh_test_data): Likewise.
2540 (tgamma_test_data): Likewise.
2541 (trunc_test_data): Likewise.
2542 (y0_test_data): Likewise.
2543 (y1_test_data): Likewise.
2544 (yn_test_data): Likewise.
2545 (significand_test_data): Likewise.
2546
b679a606
JM
2547 * math/gen-libm-test.pl (@functions): Remove variable.
2548 (generate_testfile): Don't handle START and END lines.
2549 * math/libm-test.inc (START): New macro.
2550 (END): Likewise.
2551 (END_COMPLEX): Likewise.
2552 (acos_test): Use END macro without arguments.
2553 (acos_test_tonearest): Likewise.
2554 (acos_test_towardzero): Likewise.
2555 (acos_test_downward): Likewise.
2556 (acos_test_upward): Likewise.
2557 (acosh_test): Likewise.
2558 (asin_test): Likewise.
2559 (asin_test_tonearest): Likewise.
2560 (asin_test_towardzero): Likewise.
2561 (asin_test_downward): Likewise.
2562 (asin_test_upward): Likewise.
2563 (asinh_test): Likewise.
2564 (atan_test): Likewise.
2565 (atanh_test): Likewise.
2566 (atan2_test): Likewise.
2567 (cabs_test): Likewise.
2568 (cacos_test): Use END_COMPLEX macro without arguments.
2569 (cacosh_test): Likewise.
2570 (carg_test): Use END macro without arguments.
2571 (casin_test): Use END_COMPLEX macro without arguments.
2572 (casinh_test): Likewise.
2573 (catan_test): Likewise.
2574 (catanh_test): Likewise.
2575 (cbrt_test): Use END macro without arguments.
2576 (ccos_test): Use END_COMPLEX macro without arguments.
2577 (ccosh_test): Likewise.
2578 (ceil_test): Use END macro without arguments.
2579 (cexp_test): Use END_COMPLEX macro without arguments.
2580 (cimag_test): Use END macro without arguments.
2581 (clog_test): Use END_COMPLEX macro without arguments.
2582 (clog10_test): Likewise.
2583 (conj_test): Likewise.
2584 (copysign_test): Use END macro without arguments.
2585 (cos_test): Likewise.
2586 (cos_test_tonearest): Likewise.
2587 (cos_test_towardzero): Likewise.
2588 (cos_test_downward): Likewise.
2589 (cos_test_upward): Likewise.
2590 (cosh_test): Likewise.
2591 (cosh_test_tonearest): Likewise.
2592 (cosh_test_towardzero): Likewise.
2593 (cosh_test_downward): Likewise.
2594 (cosh_test_upward): Likewise.
2595 (cpow_test): Use END_COMPLEX macro without arguments.
2596 (cproj_test): Likewise.
2597 (creal_test): Use END macro without arguments.
2598 (csin_test): Use END_COMPLEX macro without arguments.
2599 (csinh_test): Likewise.
2600 (csqrt_test): Likewise.
2601 (ctan_test): Likewise.
2602 (ctan_test_tonearest): Likewise.
2603 (ctan_test_towardzero): Likewise.
2604 (ctan_test_downward): Likewise.
2605 (ctan_test_upward): Likewise.
2606 (ctanh_test): Likewise.
2607 (ctanh_test_tonearest): Likewise.
2608 (ctanh_test_towardzero): Likewise.
2609 (ctanh_test_downward): Likewise.
2610 (ctanh_test_upward): Likewise.
2611 (erf_test): Use END macro without arguments.
2612 (erfc_test): Likewise.
2613 (exp_test): Likewise.
2614 (exp_test_tonearest): Likewise.
2615 (exp_test_towardzero): Likewise.
2616 (exp_test_downward): Likewise.
2617 (exp_test_upward): Likewise.
2618 (exp10_test): Likewise.
2619 (exp2_test): Likewise.
2620 (expm1_test): Likewise.
2621 (fabs_test): Likewise.
2622 (fdim_test): Likewise.
2623 (finite_test): Likewise.
2624 (floor_test): Likewise.
2625 (fma_test): Likewise.
2626 (fma_test_towardzero): Likewise.
2627 (fma_test_downward): Likewise.
2628 (fma_test_upward): Likewise.
2629 (fmax_test): Likewise.
2630 (fmin_test): Likewise.
2631 (fmod_test): Likewise.
2632 (fpclassify_test): Likewise.
2633 (frexp_test): Likewise.
2634 (gamma_test): Likewise.
2635 (hypot_test): Likewise.
2636 (ilogb_test): Likewise.
2637 (isfinite_test): Likewise.
2638 (isgreater_test): Likewise.
2639 (isgreaterequal_test): Likewise.
2640 (isinf_test): Likewise.
2641 (isless_test): Likewise.
2642 (islessequal_test): Likewise.
2643 (islessgreater_test): Likewise.
2644 (isnan_test): Likewise.
2645 (isnormal_test): Likewise.
2646 (issignaling_test): Likewise.
2647 (isunordered_test): Likewise.
2648 (j0_test): Likewise.
2649 (j1_test): Likewise.
2650 (jn_test): Likewise.
2651 (ldexp_test): Likewise.
2652 (lgamma_test): Likewise.
2653 (lrint_test): Likewise.
2654 (lrint_test_tonearest): Likewise.
2655 (lrint_test_towardzero): Likewise.
2656 (lrint_test_downward): Likewise.
2657 (lrint_test_upward): Likewise.
2658 (llrint_test): Likewise.
2659 (llrint_test_tonearest): Likewise.
2660 (llrint_test_towardzero): Likewise.
2661 (llrint_test_downward): Likewise.
2662 (llrint_test_upward): Likewise.
2663 (log_test): Likewise.
2664 (log10_test): Likewise.
2665 (log1p_test): Likewise.
2666 (log2_test): Likewise.
2667 (logb_test): Likewise.
2668 (logb_test_downward): Likewise.
2669 (lround_test): Likewise.
2670 (llround_test): Likewise.
2671 (modf_test): Likewise.
2672 (nearbyint_test): Likewise.
2673 (nextafter_test): Likewise.
2674 (nexttoward_test): Likewise.
2675 (pow_test): Likewise.
2676 (pow_test_tonearest): Likewise.
2677 (pow_test_towardzero): Likewise.
2678 (pow_test_downward): Likewise.
2679 (pow_test_upward): Likewise.
2680 (remainder_test): Likewise.
2681 (remainder_test_tonearest): Likewise.
2682 (remainder_test_towardzero): Likewise.
2683 (remainder_test_downward): Likewise.
2684 (remainder_test_upward): Likewise.
2685 (remquo_test): Likewise.
2686 (rint_test): Likewise.
2687 (rint_test_tonearest): Likewise.
2688 (rint_test_towardzero): Likewise.
2689 (rint_test_downward): Likewise.
2690 (rint_test_upward): Likewise.
2691 (round_test): Likewise.
2692 (scalb_test): Likewise.
2693 (scalbn_test): Likewise.
2694 (scalbln_test): Likewise.
2695 (signbit_test): Likewise.
2696 (sin_test): Likewise.
2697 (sin_test_tonearest): Likewise.
2698 (sin_test_towardzero): Likewise.
2699 (sin_test_downward): Likewise.
2700 (sin_test_upward): Likewise.
2701 (sincos_test): Likewise.
2702 (sinh_test): Likewise.
2703 (sinh_test_tonearest): Likewise.
2704 (sinh_test_towardzero): Likewise.
2705 (sinh_test_downward): Likewise.
2706 (sinh_test_upward): Likewise.
2707 (sqrt_test): Likewise.
2708 (tan_test): Likewise.
2709 (tan_test_tonearest): Likewise.
2710 (tan_test_towardzero): Likewise.
2711 (tan_test_downward): Likewise.
2712 (tan_test_upward): Likewise.
2713 (tanh_test): Likewise.
2714 (tgamma_test): Likewise.
2715 (trunc_test): Likewise.
2716 (y0_test): Likewise.
2717 (y1_test): Likewise.
2718 (yn_test): Likewise.
2719 (significand_test): Likewise.
2720
bae143d2
OB
27212013-05-24 Ondřej Bílka <neleai@seznam.cz>
2722
2723 [BZ #15381]
2724 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2725
9323d39b
EM
27262013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2727
d4ea44a0 2728 [BZ #14894]
9323d39b
EM
2729 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2730 __ppc_mdoio and __ppc_mdoom.
2731 * manual/platform.texi: Document new functions __ppc_yield,
2732 __ppc_mdoio and __ppc_mdoom.
2733
13e23af7
CD
27342013-05-22 Carlos O'Donell <carlos@redhat.com>
2735
2736 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2737 (main): Mention "tls" pseudo-hwcap is legacy.
2738 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2739
351fe550
JM
27402013-05-22 Joseph Myers <joseph@codesourcery.com>
2741
2742 * math/gen-libm-test.pl (parse_args): Output only string of
2743 arguments as text for test name, not full call or descriptions of
2744 tests for extra outputs.
2745 (generate_testfile): Do not pass function name to parse_args.
2746 Generate this_func variable from START.
2747 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2748 field to arg_str.
2749 (struct test_ff_f_data): Likewise.
2750 (test_ff_f_data_nexttoward): Likewise.
2751 (struct test_fi_f_data): Likewise.
2752 (struct test_fl_f_data): Likewise.
2753 (struct test_if_f_data): Likewise.
2754 (struct test_fff_f_data): Likewise.
2755 (struct test_c_f_data): Likewise.
2756 (struct test_f_f1_data): Likewise. Remove field extra_name.
2757 (struct test_fF_f1_data): Likewise.
2758 (struct test_ffI_f1_data): Likewise.
2759 (struct test_c_c_data): Rename test_name field to arg_str.
2760 (struct test_cc_c_data): Likewise.
2761 (struct test_f_i_data): Likewise.
2762 (struct test_ff_i_data): Likewise.
2763 (struct test_f_l_data): Likewise.
2764 (struct test_f_L_data): Likewise.
2765 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2766 and extra2_name.
2767 (COMMON_TEST_SETUP): New macro.
2768 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2769 (COMMON_TEST_CLEANUP): Likewise.
2770 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2771 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2772 macros.
2773 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2774 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2775 macros.
2776 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2777 (RUN_TEST_fff_f): Take argument string. Call new setup and
2778 cleanup macros.
2779 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2780 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2781 macros.
2782 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2783 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2784 macros.
2785 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2786 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2787 cleanup macros.
2788 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2789 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2790 cleanup macros.
2791 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2792 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2793 cleanup macros.
2794 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2795 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2796 macros.
2797 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2798 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2799 macros.
2800 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2801 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2802 macros.
2803 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2804 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2805 cleanup macros.
2806 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2807 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2808 cleanup macros.
2809 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2810 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2811 macros.
2812 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2813 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2814 cleanup macros.
2815 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2816 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2817 macros.
2818 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2819 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2820 macros.
2821 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2822 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2823 cleanup macros.
2824 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2825
85118d4d
EBM
28262013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2827
2828 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2829 to _sifields.sigfault.
2830 (si_addr_lsb): Define new macro.
2831 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2833 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2834
7a44c18f
CD
28352013-05-03 Carlos O'Donell <carlos at redhat.com>
2836
2837 [BZ #15441]
2838 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2839 returns -1.
2840 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2841 null return -1.
2842 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2843 loading the domain.
2844
b50a7181
JM
28452013-05-22 Joseph Myers <joseph@codesourcery.com>
2846
2847 * math/gen-libm-test.pl (parse_args): Do not include expected
2848 result in test name.
2849 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855
051063c8
SP
28562013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2857
3ce9e010
SP
2858 * benchtests/Makefile: Sort function entries.
2859
051063c8
SP
2860 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2861 tanh, asinh, acosh, atanh.
2862 * benchtests/acos-inputs: New file.
2863 * benchtests/acosh-inputs: New file.
2864 * benchtests/asin-inputs: New file.
2865 * benchtests/asinh-inputs: New file.
2866 * benchtests/atanh-inputs: New file.
2867 * benchtests/cosh-inputs: New file.
2868 * benchtests/log-inputs: New file.
2869 * benchtests/sinh-inputs: New file.
2870 * benchtests/tanh-inputs: New file.
2871
47c22455
DL
28722013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2873
2874 [BZ #15339]
2875 * posix/tst-getaddrinfo4.c: New test.
2876 * posix/Makefile (tests): Add it.
2877
3d04f5db
SP
28782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2879
2880 [BZ #15339]
2881 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2882 when no services were used.
2883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2884 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2885
d5dd6189
AS
28862013-05-21 Andreas Schwab <schwab@suse.de>
2887
2888 [BZ #15014]
2889 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2890 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2891 successful.
2892 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2893 redundant variable declarations and reallocation of buffer when
2894 parsing as IPv6 address. Always set NSS status when called from
2895 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2896 buffer too small. Correct computation of needed size.
2897 * nss/Makefile (tests): Add test-digits-dots.
2898 * nss/test-digits-dots.c: New test.
2899
fef94eab
SP
29002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2901
2902 * benchtests/Makefile: Remove instructions for adding
2903 benchmark tests.
2904 * benchtests/README: New file to explain how to execute and
2905 enhance the benchmark tests.
2906
e39adf43
AS
29072013-05-21 Andreas Schwab <schwab@suse.de>
2908
2909 [BZ #15493]
2910 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2911 * setjmp/tst-sigsetjmp.c: New test.
2912
b2b671b6
OB
29132013-05-20 Ondřej Bílka <neleai@seznam.cz>
2914
2915 * sysdeps/x86_64/memset.S (memset): New implementation.
2916 (__bzero): Likewise.
2917 (__memset_tail): New function.
2918
2d48b41c
OB
29192013-05-20 Ondřej Bílka <neleai@seznam.cz>
2920
2921 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2922 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2923 __memcpy_sse2_unaligned ifunc selection.
2924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2925 Add memcpy-sse2-unaligned.S.
2926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2927 Add: __memcpy_sse2_unaligned.
2928
f16cc3eb
JM
29292013-05-19 Joseph Myers <joseph@codesourcery.com>
2930
3e694268
JM
2931 [BZ #15490]
2932 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2933 math_force_eval before restoring floating-point envrionment.
2934 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2936 Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2938 <math_private.h>.
2939 (__nearbyintl): Use math_force_eval before restoring
2940 floating-point environment.
2941 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2942
db62a907
JM
2943 * math/gen-libm-test.pl (special_functions): Remove.
2944 (parse_args): Don't handle TEST_extra. Handle functions with no
2945 return value.
2946 * math/libm-test.inc (struct test_sincos_data): Replace with
2947 struct test_fFF_11_data.
2948 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2949 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2950 (sincos_test_data): Change element type to struct
2951 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2952 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2953 RUN_TEST_LOOP_sincos.
2954 * math/README.libm-test: Don't mention special handling of
2955 individual functions.
2956 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2957 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2958 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2959 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2962
f16cc3eb
JM
2963 * math/gen-libm-test.pl (get_variable): Remove function.
2964 (parse_args): Don't show pointer parameters to call in test
2965 names. Use "extra output N" in test names for extra outputs
2966 rather than naming variables.
2967
3779b5b6
JM
29682013-05-18 Joseph Myers <joseph@codesourcery.com>
2969
2ee094ff
JM
2970 [BZ #15488]
2971 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2972 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2973 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2974 double tests.
2975 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2976 disable.
2977 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2978 check_long_double.
2979
3779b5b6
JM
2980 * math/gen-libm-test.pl (@tests): Remove variable.
2981 ($count): Likewise.
2982 (new_test): Remove function.
2983 (show_exceptions): New function.
2984 (special_functions): Use show_exceptions instead of new_test.
2985 (parse_args): Likewise.
2986 (generate_testfile): Pass only function name in generated call to
2987 print_max_error or print_complex_max_error.
2988 (get_ulps): Do not handle complex tests specially.
2989 (output_test): Rename to ...
2990 (get_all_ulps_for_test): ... this. Return a string rather than
2991 printing to a file. Require ulps to be present.
2992 (output_ulps): Generate arrays rather than #defines.
2993 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2994 (struct ulp_data): New type.
2995 (BUILD_COMPLEX_ULP): Remove macro.
2996 (compare_ulp_data): New function.
2997 (find_ulps): Likewise.
2998 (find_test_ulps): Likewise.
2999 (find_function_ulps): Likewise.
3000 (find_complex_function_ulps): Likewise.
3001 (print_max_error): Determine allowed ulps using
3002 find_function_ulps.
3003 (print_complex_max_error): Determine allowed ulps using
3004 find_complex_function_ulps.
3005 (check_float_internal): Determine max ulps using find_test_ulps.
3006 (check_float): Do not take max_ulp parameter. Update call to
3007 check_float_internal.
3008 (check_complex): Likewise.
3009 (check_int): Do not take max_ulp parameter.
3010 (check_long): Likewise.
3011 (check_bool): Likewise.
3012 (check_longlong): Likewise.
3013 (struct test_f_f_data): Remove max_ulp field.
3014 (struct test_ff_f_data): Likewise.
3015 (struct test_ff_f_data_nexttoward): Likewise.
3016 (struct test_fi_f_data): Likewise.
3017 (struct test_fl_f_data): Likewise.
3018 (struct test_if_f_data): Likewise.
3019 (struct test_fff_f_data): Likewise.
3020 (struct test_c_f_data): Likewise.
3021 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3022 (struct test_fF_f1_data): Likewise.
3023 (struct test_ffI_f1_data): Likewise.
3024 (struct test_c_c_data): Remove max_ulp field.
3025 (struct test_cc_c_data): Likewise.
3026 (struct test_f_i_data): Likewise.
3027 (struct test_ff_i_data): Likewise.
3028 (struct test_f_l_data): Likewise.
3029 (struct test_f_L_data): Likewise.
3030 (struct test_sincos_data): Likewise.
3031 (RUN_TEST_f_f): Do not handle ulps.
3032 (RUN_TEST_LOOP_f_f): Likewise.
3033 (RUN_TEST_2_f): Likewise.
3034 (RUN_TEST_LOOP_2_f): Likewise.
3035 (RUN_TEST_fff_f): Likewise.
3036 (RUN_TEST_LOOP_fff_f): Likewise.
3037 (RUN_TEST_c_f): Likewise.
3038 (RUN_TEST_LOOP_c_f): Likewise.
3039 (RUN_TEST_f_f1): Likewise.
3040 (RUN_TEST_LOOP_f_f1): Likewise.
3041 (RUN_TEST_fF_f1): Likewise.
3042 (RUN_TEST_LOOP_fF_f1): Likewise.
3043 (RUN_TEST_fI_f1): Likewise.
3044 (RUN_TEST_LOOP_fI_f1): Likewise.
3045 (RUN_TEST_ffI_f1): Likewise.
3046 (RUN_TEST_LOOP_ffI_f1): Likewise.
3047 (RUN_TEST_c_c): Likewise.
3048 (RUN_TEST_LOOP_c_c): Likewise.
3049 (RUN_TEST_cc_c): Likewise.
3050 (RUN_TEST_LOOP_cc_c): Likewise.
3051 (RUN_TEST_f_i): Likewise.
3052 (RUN_TEST_LOOP_f_i): Likewise.
3053 (RUN_TEST_f_i_tg): Likewise.
3054 (RUN_TEST_LOOP_f_i_tg): Likewise.
3055 (RUN_TEST_ff_i_tg): Likewise.
3056 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3057 (RUN_TEST_f_b): Likewise.
3058 (RUN_TEST_LOOP_f_b): Likewise.
3059 (RUN_TEST_f_b_tg): Likewise.
3060 (RUN_TEST_LOOP_f_b_tg): Likewise.
3061 (RUN_TEST_f_l): Likewise.
3062 (RUN_TEST_LOOP_f_l): Likewise.
3063 (RUN_TEST_f_L): Likewise.
3064 (RUN_TEST_LOOP_f_L): Likewise.
3065 (RUN_TEST_sincos): Likewise.
3066 (RUN_TEST_LOOP_sincos): Likewise.
3067
8269107f
JM
30682013-05-17 Joseph Myers <joseph@codesourcery.com>
3069
bb38759d
JM
3070 [BZ #15480]
3071 [BZ #15485]
3072 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3073 main case of finite arguments, set rounding mode to FE_TONEAREST
3074 and discard exceptions.
3075 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3076 exceptions.
3077 (remainder_tonearest_test_data): New variable.
3078 (remainder_test_tonearest): New function.
3079 (remainder_towardzero_test_data): New variable.
3080 (remainder_test_towardzero): New function.
3081 (remainder_downward_test_data): New variable.
3082 (remainder_test_downward): New function.
3083 (remainder_upward_test_data): New variable.
3084 (remainder_test_upward): New function.
3085 (main): Call the new test functions.
3086
a00bdcf0
JM
3087 * math/libm-test.inc (struct test_f_f1_data): Remove field
3088 extra_init.
3089 (struct test_fF_f1_data): Likewise.
3090 (struct test_ffI_f1_data): Likewise.
3091 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3092 based on value of EXTRA_EXPECTED.
3093 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3094 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3095 EXTRA_VAR based on value of EXTRA_EXPECTED.
3096 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3097 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3098 EXTRA_VAR based on value of EXTRA_EXPECTED.
3099 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3100 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3101 EXTRA_VAR based on value of EXTRA_EXPECTED.
3102 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3103 * math/gen-libm-test.pl (parse_args): Don't output initializers
3104 for extra output values.
3105
de407f79
JM
3106 * math/libm-test.inc (check_int): Expect result to be exactly
3107 equal to expected value and do not handle ulps.
3108 (check_long): Likewise.
3109 (check_longlong): Likewise.
3110
8269107f
JM
3111 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3112 exceptions.
3113 (cimag_test_data): Likewise.
3114 (conj_test_data): Likewise.
3115 (copysign_test_data): Likewise.
3116 (cproj_test_data): Likewise.
3117 (creal_test_data): Likewise.
3118 (fabs_test_data): Likewise.
3119 (fdim_test_data): Likewise.
3120 (finite_test_data): Likewise.
3121 (floor_test_data): Likewise.
3122 (fmax_test_data): Likewise.
3123 (fmin_test_data): Likewise.
3124 (fmod_test_data): Likewise.
3125 (fpclassify_test_data): Likewise.
3126 (frexp_test_data): Likewise.
3127 (ilogb_test_data): Likewise.
3128 (isfinite_test_data): Likewise.
3129 (isgreater_test_data): Likewise.
3130 (isgreaterequal_test_data): Likewise.
3131 (isinf_test_data): Likewise.
3132 (isless_test_data): Likewise.
3133 (islessequal_test_data): Likewise.
3134 (islessgreater_test_data): Likewise.
3135 (isnan_test_data): Likewise.
3136 (isnormal_test_data): Likewise.
3137 (issignaling_test_data): Likewise.
3138 (isunordered_test_data): Likewise.
3139 (ldexp_test_data): Likewise.
3140 (lrint_test_data): Likewise.
3141 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3142 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3143 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3144 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3145 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3146 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3147 test input.
3148 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3149 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3150 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3151 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3152 that test input.
3153 (lrint_downward_test_data): Test for "inexact" exceptions.
3154 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3155 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3156 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3157 test input.
3158 (lrint_upward_test_data): Test for "inexact" exceptions.
3159 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3160 test input.
3161 (llrint_test_data): Test for "inexact" exceptions.
3162 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3163 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3164 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3165 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3166 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3167 (llrint_downward_test_data): Test for "inexact" exceptions.
3168 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3169 (llrint_upward_test_data): Test for "inexact" exceptions.
3170 (logb_test_data): Likewise.
3171 (logb_downward_test_data): Likewise.
3172 (nextafter_test_data): Likewise.
3173 (nexttoward_test_data): Likewise.
3174 (remainder_test_data): Likewise.
3175 (remquo_test_data): Likewise.
3176 (scalbn_test_data): Likewise.
3177 (scalbln_test_data): Likewise.
3178 (signbit_test_data): Likewise.
3179 (sqrt_test_data): Likewise.
3180 (significand_test_data): Likewise.
3181
48a18de1
SP
31822013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3183
3184 [BZ #15424]
3185 * benchtests/bench-modf.c (struct args): Mark arg0 as
3186 volatile.
3187 * scripts/bench.pl: Mark members of struct args as volatile.
3188
13d3b41a
AZ
31892013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190
68191c1d 3191 [BZ # 15497]
13d3b41a
AZ
3192 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3193 negative infinity on POWER6 or lower.
3194 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3195
2848b105
MR
31962013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3197
3198 [BZ #15442]
3199 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3200 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3201 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3202 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3203 (_FP_SETQNAN): New macro.
3204 (_FP_SETQNAN_SEMIRAW): Likewise.
3205 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3206 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3207 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3208 (FP_EXTEND): Use _FP_FRAC_SNANP.
3209 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3210 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3211 into account.
3212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3213 New macro.
3214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3215 Likewise.
3216
323e5cb7
JM
32172013-05-16 Joseph Myers <joseph@codesourcery.com>
3218
c58b274f
JM
3219 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3220 with DIVIDE_BY_ZERO_EXCEPTION.
3221 (gamma_test_data): Likewise.
3222 (lgamma_test_data): Likewise.
3223 (log_test_data): Likewise.
3224 (log10_test_data): Likewise.
3225 (log2_test_data): Likewise.
3226 (tgamma_test_data): Likewise.
3227
0ab34904
JM
3228 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3229 (acos_test_tonearest): Likewise.
3230 (acos_test_towardzero): Likewise.
3231 (acos_test_downward): Likewise.
3232 (acos_test_upward): Likewise.
3233 (acosh_test): Likewise.
3234 (asin_test): Likewise.
3235 (asin_test_tonearest): Likewise.
3236 (asin_test_towardzero): Likewise.
3237 (asin_test_downward): Likewise.
3238 (asin_test_upward): Likewise.
3239 (asinh_test): Likewise.
3240 (atan_test): Likewise.
3241 (atanh_test): Likewise.
3242 (atan2_test): Likewise.
3243 (cabs_test): Likewise.
3244 (cacos_test): Likewise.
3245 (cacosh_test): Likewise.
3246 (casin_test): Likewise.
3247 (casinh_test): Likewise.
3248 (catan_test): Likewise.
3249 (catanh_test): Likewise.
3250 (cbrt_test): Likewise.
3251 (ccos_test): Likewise.
3252 (ccosh_test): Likewise.
3253 (cexp_test): Likewise.
3254 (clog_test): Likewise.
3255 (clog10_test): Likewise.
3256 (cos_test): Likewise.
3257 (cos_test_tonearest): Likewise.
3258 (cos_test_towardzero): Likewise.
3259 (cos_test_downward): Likewise.
3260 (cos_test_upward): Likewise.
3261 (cosh_test): Likewise.
3262 (cosh_test_tonearest): Likewise.
3263 (cosh_test_towardzero): Likewise.
3264 (cosh_test_downward): Likewise.
3265 (cosh_test_upward): Likewise.
3266 (cpow_test): Likewise.
3267 (csin_test): Likewise.
3268 (csinh_test): Likewise.
3269 (csqrt_test): Likewise.
3270 (ctan_test): Likewise.
3271 (ctan_test_tonearest): Likewise.
3272 (ctan_test_towardzero): Likewise.
3273 (ctan_test_downward): Likewise.
3274 (ctan_test_upward): Likewise.
3275 (ctanh_test): Likewise.
3276 (ctanh_test_tonearest): Likewise.
3277 (ctanh_test_towardzero): Likewise.
3278 (ctanh_test_downward): Likewise.
3279 (ctanh_test_upward): Likewise.
3280 (erf_test): Likewise.
3281 (erfc_test): Likewise.
3282 (exp_test): Likewise.
3283 (exp_test_tonearest): Likewise.
3284 (exp_test_towardzero): Likewise.
3285 (exp_test_downward): Likewise.
3286 (exp_test_upward): Likewise.
3287 (exp10_test): Likewise.
3288 (exp2_test): Likewise.
3289 (expm1_test): Likewise.
3290 (fmod_test): Likewise.
3291 (gamma_test): Likewise.
3292 (hypot_test): Likewise.
3293 (j0_test): Likewise.
3294 (j1_test): Likewise.
3295 (jn_test): Likewise.
3296 (lgamma_test): Likewise.
3297 (log_test): Likewise.
3298 (log10_test): Likewise.
3299 (log1p_test): Likewise.
3300 (log2_test): Likewise.
3301 (logb_test_downward): Likewise.
3302 (pow_test): Likewise.
3303 (pow_test_tonearest): Likewise.
3304 (pow_test_towardzero): Likewise.
3305 (pow_test_downward): Likewise.
3306 (pow_test_upward): Likewise.
3307 (remainder_test): Likewise.
3308 (remquo_test): Likewise.
3309 (sin_test): Likewise.
3310 (sin_test_tonearest): Likewise.
3311 (sin_test_towardzero): Likewise.
3312 (sin_test_downward): Likewise.
3313 (sin_test_upward): Likewise.
3314 (sincos_test): Likewise.
3315 (sinh_test): Likewise.
3316 (sinh_test_tonearest): Likewise.
3317 (sinh_test_towardzero): Likewise.
3318 (sinh_test_downward): Likewise.
3319 (sinh_test_upward): Likewise.
3320 (sqrt_test): Likewise.
3321 (tan_test): Likewise.
3322 (tan_test_tonearest): Likewise.
3323 (tan_test_towardzero): Likewise.
3324 (tan_test_downward): Likewise.
3325 (tan_test_upward): Likewise.
3326 (tanh_test): Likewise.
3327 (tgamma_test): Likewise.
3328 (y0_test): Likewise.
3329 (y1_test): Likewise.
3330 (yn_test): Likewise.
3331
323e5cb7
JM
3332 * math/gen-libm-test.pl (adjust_arg): Remove function.
3333 (special_function): Remove argument $in_func. Only handle
3334 generating output for tables of tests, not inside functions.
3335 (parse_args): Likewise.
3336 (generate_testfile): Remove variable $in_func. Update call to
3337 parse_args.
3338 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3339 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3340 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3341 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3342 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3343 (MAX_VALUE_INIT): Rename macro to max_value.
3344 (MIN_VALUE_INIT): Rename macro to min_value.
3345 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3346 (plus_zero): Remove variable.
3347 (minus_zero): Likewise.
3348 (plus_infty): Likewise.
3349 (minus_infty): Likewise.
3350 (qnan_value): Likewise.
3351 (max_value): Likewise.
3352 (min_value): Likewise.
3353 (min_subnorm_value): Likewise.
3354
e054f494
RA
33552013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3356
3357 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3358 uint64_t or uint32_t usage.
3359 * crypt/sha256-block.c: Likewise.
3360 * crypt/sha256-crypt.c: Likewise.
3361 * crypt/sha256.c: Likewise.
3362 * crypt/sha512-block.c: Likewise.
3363 * crypt/sha512-crypt.c: Likewise.
3364 * crypt/sha512.c: Likewise.
3365 * debug/backtrace-tst.c: Likewise.
3366 * debug/pcprofiledump.c: Likewise.
3367 * elf/cache.c: Likewise.
3368 * elf/dl-cache.c: Likewise.
3369 * elf/dl-misc.c: Likewise.
3370 * elf/dl-profile.c: Likewise.
3371 * elf/dl-support.c: Likewise.
3372 * elf/ldconfig.c: Likewise.
3373 * elf/sprof.c: Likewise.
3374 * iconv/dummy-repertoire.c: Likewise.
3375 * iconv/iconv_charmap.c: Likewise.
3376 * iconv/skeleton.c: Likewise.
3377 * iconvdata/8bit-generic.c: Likewise.
3378 * iconvdata/cp737.h: Likewise.
3379 * iconvdata/cp775.h: Likewise.
3380 * iconvdata/ibm1008.h: Likewise.
3381 * iconvdata/ibm1025.h: Likewise.
3382 * iconvdata/ibm1046.h: Likewise.
3383 * iconvdata/ibm1097.h: Likewise.
3384 * iconvdata/ibm1112.h: Likewise.
3385 * iconvdata/ibm1122.h: Likewise.
3386 * iconvdata/ibm1123.h: Likewise.
3387 * iconvdata/ibm1124.h: Likewise.
3388 * iconvdata/ibm1129.h: Likewise.
3389 * iconvdata/ibm1130.h: Likewise.
3390 * iconvdata/ibm1132.h: Likewise.
3391 * iconvdata/ibm1133.h: Likewise.
3392 * iconvdata/ibm1137.h: Likewise.
3393 * iconvdata/ibm1140.h: Likewise.
3394 * iconvdata/ibm1141.h: Likewise.
3395 * iconvdata/ibm1142.h: Likewise.
3396 * iconvdata/ibm1143.h: Likewise.
3397 * iconvdata/ibm1144.h: Likewise.
3398 * iconvdata/ibm1145.h: Likewise.
3399 * iconvdata/ibm1146.h: Likewise.
3400 * iconvdata/ibm1147.h: Likewise.
3401 * iconvdata/ibm1148.h: Likewise.
3402 * iconvdata/ibm1149.h: Likewise.
3403 * iconvdata/ibm1153.h: Likewise.
3404 * iconvdata/ibm1154.h: Likewise.
3405 * iconvdata/ibm1155.h: Likewise.
3406 * iconvdata/ibm1156.h: Likewise.
3407 * iconvdata/ibm1157.h: Likewise.
3408 * iconvdata/ibm1158.h: Likewise.
3409 * iconvdata/ibm1160.h: Likewise.
3410 * iconvdata/ibm1161.h: Likewise.
3411 * iconvdata/ibm1162.h: Likewise.
3412 * iconvdata/ibm1163.h: Likewise.
3413 * iconvdata/ibm1164.h: Likewise.
3414 * iconvdata/ibm1166.h: Likewise.
3415 * iconvdata/ibm1167.h: Likewise.
3416 * iconvdata/ibm12712.h: Likewise.
3417 * iconvdata/ibm1390.h: Likewise.
3418 * iconvdata/ibm1399.h: Likewise.
3419 * iconvdata/ibm16804.h: Likewise.
3420 * iconvdata/ibm4517.h: Likewise.
3421 * iconvdata/ibm4899.h: Likewise.
3422 * iconvdata/ibm4909.h: Likewise.
3423 * iconvdata/ibm4971.h: Likewise.
3424 * iconvdata/ibm5347.h: Likewise.
3425 * iconvdata/ibm803.h: Likewise.
3426 * iconvdata/ibm856.h: Likewise.
3427 * iconvdata/ibm901.h: Likewise.
3428 * iconvdata/ibm902.h: Likewise.
3429 * iconvdata/ibm9030.h: Likewise.
3430 * iconvdata/ibm9066.h: Likewise.
3431 * iconvdata/ibm921.h: Likewise.
3432 * iconvdata/ibm922.h: Likewise.
3433 * iconvdata/ibm9448.h: Likewise.
3434 * iconvdata/isiri-3342.h: Likewise.
3435 * iconvdata/jis0201.h: Likewise.
3436 * include/link.h: Likewise.
3437 * include/netdb.h: Likewise.
3438 * inet/check_native.c: Likewise.
3439 * inet/check_pf.c: Likewise.
3440 * inet/getipv4sourcefilter.c: Likewise.
3441 * inet/getnameinfo.c: Likewise.
3442 * inet/getsourcefilter.c: Likewise.
3443 * inet/htonl.c: Likewise.
3444 * inet/setipv4sourcefilter.c: Likewise.
3445 * inet/setsourcefilter.c: Likewise.
3446 * inet/test-inet6_opt.c: Likewise.
3447 * inet/tst-network.c: Likewise.
3448 * locale/C-collate.c: Likewise.
3449 * locale/C-ctype.c: Likewise.
3450 * locale/C-time.c: Likewise.
3451 * locale/C-translit.h: Likewise.
3452 * locale/loadarchive.c: Likewise.
3453 * locale/programs/3level.h: Likewise.
3454 * locale/programs/charmap.c: Likewise.
3455 * locale/programs/charmap.h: Likewise.
3456 * locale/programs/ld-address.c: Likewise.
3457 * locale/programs/ld-collate.c: Likewise.
3458 * locale/programs/ld-ctype.c: Likewise.
3459 * locale/programs/ld-identification.c: Likewise.
3460 * locale/programs/ld-measurement.c: Likewise.
3461 * locale/programs/ld-messages.c: Likewise.
3462 * locale/programs/ld-monetary.c: Likewise.
3463 * locale/programs/ld-name.c: Likewise.
3464 * locale/programs/ld-numeric.c: Likewise.
3465 * locale/programs/ld-paper.c: Likewise.
3466 * locale/programs/ld-telephone.c: Likewise.
3467 * locale/programs/ld-time.c: Likewise.
3468 * locale/programs/linereader.c: Likewise.
3469 * locale/programs/locale.c: Likewise.
3470 * locale/programs/locarchive.c: Likewise.
3471 * locale/programs/locfile.h: Likewise.
3472 * locale/programs/repertoire.c: Likewise.
3473 * locale/programs/simple-hash.c: Likewise.
3474 * locale/programs/simple-hash.h: Likewise.
3475 * malloc/memusage.c: Likewise.
3476 * malloc/memusagestat.c: Likewise.
3477 * nis/nis_defaults.c: Likewise.
3478 * nis/nis_hash.c: Likewise.
3479 * nis/nis_print.c: Likewise.
3480 * nis/nis_xdr.c: Likewise.
3481 * nscd/connections.c: Likewise.
3482 * nscd/hstcache.c: Likewise.
3483 * nscd/nscd_gethst_r.c: Likewise.
3484 * nscd/nscd_getserv_r.c: Likewise.
3485 * nscd/nscd_helper.c: Likewise.
3486 * nscd/servicescache.c: Likewise.
3487 * nss/makedb.c: Likewise.
3488 * nss/nss_db/db-XXX.c: Likewise.
3489 * nss/nss_db/db-initgroups.c: Likewise.
3490 * nss/nss_db/db-netgrp.c: Likewise.
3491 * nss/nss_files/files-network.c: Likewise.
3492 * nss/nss_files/files-parse.c: Likewise.
3493 * posix/bug-regex5.c: Likewise.
3494 * posix/fnmatch_loop.c: Likewise.
3495 * posix/regcomp.c: Likewise.
3496 * posix/regexec.c: Likewise.
3497 * posix/tst-rfc3484-2.c: Likewise.
3498 * posix/tst-rfc3484-3.c: Likewise.
3499 * posix/tst-rfc3484.c: Likewise.
3500 * resolv/nss_dns/dns-canon.c: Likewise.
3501 * resolv/nss_dns/dns-network.c: Likewise.
3502 * resolv/res_init.c: Likewise.
3503 * resolv/res_mkquery.c: Likewise.
3504 * resolv/tst-aton.c: Likewise.
3505 * stdlib/cxa_atexit.c: Likewise.
3506 * stdlib/cxa_finalize.c: Likewise.
3507 * stdlib/gen-fpioconst.c: Likewise.
3508 * stdlib/strtol_l.c: Likewise.
3509 * string/tst-endian.c: Likewise.
3510 * sunrpc/auth_des.c: Likewise.
3511 * sunrpc/clnt_udp.c: Likewise.
3512 * sunrpc/rtime.c: Likewise.
3513 * sunrpc/svcauth_des.c: Likewise.
3514 * sunrpc/xdr.c: Likewise.
3515 * sunrpc/xdr_intXX_t.c: Likewise.
3516 * sunrpc/xdr_rec.c: Likewise.
3517 * sysdeps/generic/ldconfig.h: Likewise.
3518 * sysdeps/generic/ldsodefs.h: Likewise.
3519 * sysdeps/generic/memusage.h: Likewise.
3520 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3522 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3527 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3528 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3530 * sysdeps/posix/getaddrinfo.c: Likewise.
3531 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3532 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3533 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3535 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3536 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3537 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3538 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3539 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3540 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3541 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3542 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3543 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3544 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3545 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3546 * sysdeps/x86_64/dl-tls.h: Likewise.
3547 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3548 * time/alt_digit.c: Likewise.
3549 * time/era.c: Likewise.
3550 * wcsmbs/tst-c16c32-1.c: Likewise.
3551
8c75f674
JM
35522013-05-16 Joseph Myers <joseph@codesourcery.com>
3553
3554 * math/libm-test.inc (struct test_sincos_data): New type.
3555 (RUN_TEST_LOOP_sincos): New macro.
3556 (sincos_test_data): New variable.
3557 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3558
e6e49e59
RH
35592013-05-16 Richard Henderson <rth@redhat.com>
3560
3561 * math/atest-exp2.c (LIMB64): New macro.
3562 (CONSTSZ): New macro.
3563 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3564 (hexdig): Move ...
3565 (print_mpn_fp): ... to function scope.
3566 (read_mpn_hex): Remove.
3567 (get_log2): Remove.
3568 (exp2_mpn): Use mp_log2.
3569 (main): Use mp_exp1.
3570
15c7c18d
JM
35712013-05-16 Joseph Myers <joseph@codesourcery.com>
3572
105a07df
JM
3573 * math/libm-test.inc: Remove comment about not testing "inexact"
3574 exceptions.
3575 (INEXACT_EXCEPTION): New macro.
3576 (NO_INEXACT_EXCEPTION): Likewise.
3577 (INVALID_EXCEPTION_OK): Update value.
3578 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3579 (OVERFLOW_EXCEPTION_OK): Likewise.
3580 (UNDERFLOW_EXCEPTION_OK): Likewise.
3581 (IGNORE_ZERO_INF_SIGN): Likewise.
3582 (ERRNO_UNCHANGED): Likewise.
3583 (ERRNO_EDOM): Likewise.
3584 (ERRNO_ERANGE): Likewise.
3585 (test_exceptions): Handle testing "inexact" exceptions.
3586 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3587 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3588 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3589 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3590 INEXACT_EXCEPTION.
3591 (rint_towardzero_test_data): Likewise.
3592 (rint_downward_test_data): Likewise.
3593 (rint_upward_test_data): Likewise.
3594
e9eee333
JM
3595 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3596 with OVERFLOW_EXCEPTION.
3597 (exp10_test_data): Likewise.
3598 (exp2_test_data): Likewise.
3599 (expm1_test_data): Likewise.
3600 (lgamma_test_data): Likewise.
3601 (pow_test_data): Likewise.
3602 (tgamma_test_data): Likewise.
3603 (yn_test_data): Remove duplicate test of overflow.
3604
1c38ff73
JM
3605 * math/libm-test.inc (struct test_cc_c_data): New type.
3606 (RUN_TEST_LOOP_cc_c): New macro.
3607 (cpow_test_data): New variable.
3608 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3609
15c7c18d
JM
3610 * math/libm-test.inc (struct test_f_L_data): New type.
3611 (RUN_TEST_LOOP_f_L): New macro.
3612 (llrint_test_data): New variable.
3613 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3614 (llrint_tonearest_test_data): New variable.
3615 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3616 (llrint_towardzero_test_data): New variable.
3617 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3618 (llrint_downward_test_data): New variable.
3619 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3620 (llrint_upward_test_data): New variable.
3621 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3622 (llround_test_data): New variable.
3623 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3624
f137ff13
PC
36252013-05-13 Peter Collingbourne <pcc@google.com>
3626
3627 * math/atest-exp2.c (get_log2): Remove const attribute.
3628
3608cb24
JM
36292013-05-15 Joseph Myers <joseph@codesourcery.com>
3630
3631 * math/libm-test.inc (struct test_f_l_data): New type.
3632 (RUN_TEST_LOOP_f_l): New macro.
3633 (lrint_test_data): New variable.
3634 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3635 (lrint_tonearest_test_data): New variable.
3636 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3637 (lrint_towardzero_test_data): New variable.
3638 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3639 (lrint_downward_test_data): New variable.
3640 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3641 (lrint_upward_test_data): New variable.
3642 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3643 (lround_test_data): New variable.
3644 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3645
39b1f617
PC
36462013-05-15 Peter Collingbourne <pcc@google.com>
3647
1deff3dc
PC
3648 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3649 (EXTRACT_WORDS64) Use where appropriate.
3650 (INSERT_WORDS64) Likewise.
3651
791f3ba0
PC
3652 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3653 constraints with x constraints.
3654 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3655
39b1f617
PC
3656 * malloc/obstack.c (_obstack_compat): Add initializer.
3657
12fba011
EM
36582013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3659
3660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3661 si_trapno and add si_addr_lsb to _sifields.sigfault.
3662 (si_trapno): Remove macro.
3663 (si_addr_lsb): Define new macro.
3664 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3665
d369f531
JM
36662013-05-15 Joseph Myers <joseph@codesourcery.com>
3667
b861c6c4
JM
3668 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3669 instead of TEST_f_l.
3670 (llrint_test_tonearest): Likewise.
3671 (llrint_test_towardzero): Likewise.
3672 (llrint_test_downward): Likewise.
3673 (llrint_test_upward): Likewise.
3674 (llround_test): Likewise.
3675
7abeee12
JM
3676 * math/libm-test.inc (struct test_f_i_data): Add comment.
3677 (RUN_TEST_LOOP_f_b): New macro.
3678 (RUN_TEST_LOOP_f_b_tg): Likewise.
3679 (finite_test_data): New variable.
3680 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3681 (isfinite_test_data): New variable.
3682 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3683 (isinf_test_data): New variable.
3684 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3685 (isnan_test_data): New variable.
3686 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3687 (isnormal_test_data): New variable.
3688 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3689 (issignaling_test_data): New variable.
3690 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3691 (signbit_test_data): New variable.
3692 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3693
cbe8c4d3
JM
3694 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3695 with INVALID_EXCEPTION.
3696 (acosh_test_data): Likewise.
3697 (asin_test_data): Likewise.
3698 (atanh_test_data): Likewise.
3699 (fmod_test_data): Likewise.
3700 (log_test_data): Likewise.
3701 (log10_test_data): Likewise.
3702 (log2_test_data): Likewise.
3703 (pow_test_data): Likewise.
3704 (sqrt_test_data): Likewise.
3705 (y0_test_data): Likewise.
3706 (y1_test_data): Likewise.
3707 (yn_test_data): Likewise.
3708
5575c0e5
JM
3709 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3710 function contents.
3711
d369f531
JM
3712 * math/libm-test.inc (struct test_ff_i_data): New type.
3713 (RUN_TEST_LOOP_ff_i_tg): New macro.
3714 (isgreater_test_data): New variable.
3715 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3716 (isgreaterequal_test_data): New variable.
3717 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3718 (isless_test_data): New variable.
3719 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3720 (islessequal_test_data): New variable.
3721 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3722 (islessgreater_test_data): New variable.
3723 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3724 (isunordered_test_data): New variable.
3725 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3726
781fd748
DM
37272013-05-14 David S. Miller <davem@davemloft.net>
3728
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3730
87aa21df
JM
37312013-05-14 Joseph Myers <joseph@codesourcery.com>
3732
5e908270
JM
3733 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3734
f71172e5
JM
3735 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3736 extra_test to int.
3737 (struct test_f_i_data): Change type of max_ulp to int.
3738
8cfa635a
JM
3739 * math/libm-test.inc (test_ffI_f1_data): New type.
3740 (RUN_TEST_LOOP_ffI_f1): New macro.
3741 (remquo_test_data): New variable.
3742 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3743
2bcb36b2
JM
3744 * setjmp/tst-setjmp-fp.c: New file.
3745 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3746 (link-libm): New variable.
3747 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3748
acbd839a
JM
3749 * math/libm-test.inc (struct test_f_i_data): New type.
3750 (RUN_TEST_LOOP_f_i): New macro.
3751 (RUN_TEST_LOOP_f_i_tg): Likewise.
3752 (fpclassify_test_data): New variable.
3753 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3754 (ilogb_test_data): New variable.
3755 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3756
e414d745
JM
3757 * math/libm-test.inc (scalbln_test): Correct function name in END
3758 call.
3759
d9c2a0fd
JM
3760 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3761 (RUN_TEST_LOOP_fI_f1): New macro.
3762 (frexp_test_data): New variable.
3763 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3764
9dc9095d
JM
3765 * math/libm-test.inc (struct test_fF_f1_data): New type.
3766 (RUN_TEST_LOOP_fF_f1): New macro.
3767 (modf_test_data): New variable.
3768 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3769
87aa21df
JM
3770 * math/libm-test.inc (struct test_f_f1_data): New type.
3771 (RUN_TEST_LOOP_f_f1): New macro.
3772 (gamma_test_data): New variable.
3773 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3774 (lgamma_test_data): New variable.
3775 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3776
141af660
CD
37772013-05-13 Carlos O'Donell <carlos@redhat.com>
3778
3779 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3780 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3781 (main): Comment "tls" pseudo-hwcap.
3782
6d33265c
JM
37832013-05-13 Joseph Myers <joseph@codesourcery.com>
3784
68fc074c
JM
3785 * math/libm-test.inc (struct test_fl_f_data): New type.
3786 (RUN_TEST_LOOP_fl_f): New variable.
3787 (scalbln_test_data): New variable.
3788 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3789
243216e1
JM
3790 * math/libm-test.inc (struct test_fi_f_data): New type.
3791 (RUN_TEST_LOOP_fi_f): New macro.
3792 (ldexp_test_data): New variable.
3793 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3794 (scalbn_test_data): New variable.
3795 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3796
6a1992e2
JM
3797 * math/libm-test.inc (struct test_c_f_data): New type.
3798 (RUN_TEST_LOOP_c_f): New macro.
3799 (cabs_test_data): New variable.
3800 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3801 (carg_test_data): New variable.
3802 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3803 (cimag_test_data): New variable.
3804 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3805 (creal_test_data): New variable.
3806 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3807
0e400df5
JM
3808 * math/libm-test.inc (struct test_if_f_data): New type.
3809 (RUN_TEST_LOOP_if_f): New macro.
3810 (jn_test_data): New variable.
3811 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3812 (yn_test_data): New variable.
3813 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3814
6d33265c
JM
3815 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3816
f98ece5f
AZ
38172013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818
3819 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3820 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3821
0f7d347b
SP
38222013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3823
43fe811b
SP
3824 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3825 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3826 (bench-deps): Add bench-timing.h.
3827 * benchtests-bench-skeleton.c: Include bench-timing.h.
3828 (main): Use TIMING_* macros instead of clock_gettime.
3829 * benchtests/bench-timing.h: New file.
3830
0f7d347b
SP
3831 [BZ #14582]
3832 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3833 Renamed from _LIB_VERSION.
3834 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3835
601a3a5f
JM
38362013-05-12 Joseph Myers <joseph@codesourcery.com>
3837
4f184d30
JM
3838 * math/libm-test.inc (struct test_fff_f_data): New type.
3839 (RUN_TEST_LOOP_fff_f): New macro.
3840 (fma_test_data): New variable.
3841 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3842 (fma_towardzero_test_data): New variable.
3843 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3844 (fma_downward_test_data): New variable.
3845 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3846 (fma_upward_test_data): New variable.
3847 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3848
08198877
JM
3849 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3850 (struct test_c_c_data): New type.
3851 (RUN_TEST_LOOP_c_c): New macro.
3852 (cacos_test_data): New variable.
3853 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3854 (cacosh_test_data): New variable.
3855 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3856 (casin_test_data): New variable.
3857 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3858 (casinh_test_data): New variable.
3859 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3860 (catan_test_data): New variable.
3861 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3862 (catanh_test_data): New variable.
3863 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3864 (ccos_test_data): New variable.
3865 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3866 (ccosh_test_data): New variable.
3867 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3868 (cexp_test_data): New variable.
3869 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3870 (clog_test_data): New variable.
3871 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3872 (clog10_test_data): New variable.
3873 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3874 (conj_test_data): New variable.
3875 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3876 (cproj_test_data): New variable.
3877 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3878 (csin_test_data): New variable.
3879 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3880 (csinh_test_data): New variable.
3881 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3882 (csqrt_test_data): New variable.
3883 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3884 (ctan_test_data): New variable.
3885 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3886 (ctan_tonearest_test_data): New variable.
3887 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3888 (ctan_towardzero_test_data): New variable.
3889 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3890 (ctan_downward_test_data): New variable.
3891 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3892 (ctan_upward_test_data): New variable.
3893 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3894 (ctanh_test_data): New variable.
3895 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3896 (ctanh_tonearest_test_data): New variable.
3897 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3898 (ctanh_towardzero_test_data): New variable.
3899 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3900 (ctanh_downward_test_data): New variable.
3901 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3902 (ctanh_upward_test_data): New variable.
3903 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3904 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3905 of BUILD_COMPLEX.
3906
601a3a5f
JM
3907 * math/libm-test.inc (struct test_ff_f_data): New type.
3908 (struct test_ff_f_data_nexttoward): Likewise.
3909 (RUN_TEST_LOOP_2_f): New macro.
3910 (RUN_TEST_LOOP_ff_f): Likewise.
3911 (atan2_test_data): New variable.
3912 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3913 (copysign_test_data): New variable.
3914 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3915 (fdim_test_data): New variable.
3916 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3917 (fmax_test_data): New variable.
3918 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3919 (fmin_test_data): New variable.
3920 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3921 (fmod_test_data): New variable.
3922 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3923 (hypot_test_data): New variable.
3924 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3925 (nextafter_test_data): New variable.
3926 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3927 (nexttoward_test_data): New variable.
3928 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3929 (pow_test_data): New variable.
3930 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3931 (pow_tonearest_test_data): New variable.
3932 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3933 (pow_towardzero_test_data): New variable.
3934 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3935 (pow_downward_test_data): New variable.
3936 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3937 (pow_upward_test_data): New variable.
3938 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3939 (remainder_test_data): New variable.
3940 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3941 (scalb_test_data): New variable.
3942 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3943 * sysdeps/i386/fpu/libm-test-ulps: Update.
3944
74c57478
JM
39452013-05-11 Joseph Myers <joseph@codesourcery.com>
3946
8329e4da
JM
3947 * math/libm-test.inc (fma_test): Use max_value instead of local
3948 variable fltmax.
3949 (nextafter_test): Likewise.
3950
74c57478
JM
3951 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3952 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3953 (acos_downward_test_data): New variable.
3954 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3955 (acos_upward_test_data): New variable.
3956 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3957 (acosh_test_data): New variable.
3958 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3959 (asin_test_data): New variable.
3960 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3961 (asin_tonearest_test_data): New variable.
3962 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3963 (asin_towardzero_test_data): New variable.
3964 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3965 (asin_downward_test_data): New variable.
3966 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3967 (asin_upward_test_data): New variable.
3968 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3969 (asinh_test_data): New variable.
3970 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3971 (atan_test_data): New variable.
3972 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3973 (atanh_test_data): New variable.
3974 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3975 (cbrt_test_data): New variable.
3976 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3977 (ceil_test_data): New variable.
3978 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3979 (cos_test_data): New variable.
3980 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3981 (cos_tonearest_test_data): New variable.
3982 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3983 (cos_towardzero_test_data): New variable.
3984 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3985 (cos_downward_test_data): New variable.
3986 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3987 (cos_upward_test_data): New variable.
3988 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3989 (cosh_test_data): New variable.
3990 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3991 (cosh_tonearest_test_data): New variable.
3992 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3993 (cosh_towardzero_test_data): New variable.
3994 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3995 (cosh_downward_test_data): New variable.
3996 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3997 (cosh_upward_test_data): New variable.
3998 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3999 (erf_test_data): New variable.
4000 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4001 (erfc_test_data): New variable.
4002 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4003 (exp_test_data): New variable.
4004 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4005 (exp_tonearest_test_data): New variable.
4006 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4007 (exp_towardzero_test_data): New variable.
4008 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4009 (exp_downward_test_data): New variable.
4010 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4011 (exp_upward_test_data): New variable.
4012 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4013 (exp10_test_data): New variable.
4014 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4015 (exp2_test_data): New variable.
4016 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4017 (expm1_test_data): New variable.
4018 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4019 (fabs_test_data): New variable.
4020 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4021 (floor_test_data): New variable.
4022 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4023 (j0_test_data): New variable.
4024 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4025 (j1_test_data): New variable.
4026 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4027 (log_test_data): New variable.
4028 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4029 (log10_test_data): New variable.
4030 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4031 (log1p_test_data): New variable.
4032 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4033 (log2_test_data): New variable.
4034 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4035 (logb_test_data): New variable.
4036 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4037 (logb_downward_test_data): New variable.
4038 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4039 (nearbyint_test_data): New variable.
4040 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4041 (rint_test_data): New variable.
4042 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4043 (rint_tonearest_test_data): New variable.
4044 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4045 (rint_towardzero_test_data): New variable.
4046 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4047 (rint_downward_test_data): New variable.
4048 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4049 (rint_upward_test_data): New variable.
4050 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4051 (round_test_data): New variable.
4052 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4053 (sin_test_data): New variable.
4054 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4055 (sin_tonearest_test_data): New variable.
4056 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4057 (sin_towardzero_test_data): New variable.
4058 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4059 (sin_downward_test_data): New variable.
4060 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4061 (sin_upward_test_data): New variable.
4062 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4063 (sinh_test_data): New variable.
4064 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4065 (sinh_tonearest_test_data): New variable.
4066 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4067 (sinh_towardzero_test_data): New variable.
4068 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4069 (sinh_downward_test_data): New variable.
4070 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4071 (sinh_upward_test_data): New variable.
4072 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4073 (sqrt_test_data): New variable.
4074 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (tan_test_data): New variable.
4076 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (tan_tonearest_test_data): New variable.
4078 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4079 (tan_towardzero_test_data): New variable.
4080 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4081 (tan_downward_test_data): New variable.
4082 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4083 (tan_upward_test_data): New variable.
4084 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4085 (tanh_test_data): New variable.
4086 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4087 (tgamma_test_data): New variable.
4088 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4089 (trunc_test_data): New variable.
4090 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4091 (y0_test_data): New variable.
4092 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4093 (y1_test_data): New variable.
4094 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4095 (significand_test_data): New variable.
4096 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4097
7187d844
CG
40982013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4099
4100 [BZ #12387]
4101 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4102
f63fae73
PT
41032013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4104
4105 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4106
8a67a4b3
AJ
41072013-05-10 Andreas Jaeger <aj@suse.de>
4108
4109 [BZ #15448]
4110 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4111 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4112
51df539d
JM
41132013-05-10 Joseph Myers <joseph@codesourcery.com>
4114
4115 * math/gen-libm-test.pl (adjust_arg): New function.
4116 (special_functions): Handle generating output in both functions
4117 and arrays.
4118 (parse_args): Likewise.
4119 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4120 $in_func argument to parse_args.
4121 * math/libm-test.inc (struct test_f_f_data): New type.
4122 (IF_ROUND_INIT_): New macro.
4123 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4124 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4125 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4126 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4127 (ROUND_RESTORE_): Likewise.
4128 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4129 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4130 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4131 (ROUND_RESTORE_FE_UPWARD): Likewise.
4132 (RUN_TEST_LOOP_f_f): New macro.
4133 (acos_test_data): New variable.
4134 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4135 (acos_tonearest_test_data): New variable.
4136 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4137
5c637fe5
SP
41382013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4139
4140 * benchtests/bench-skeleton.c (startup): Fix coding style.
4141
ab2b9461
JM
41422013-05-10 Joseph Myers <joseph@codesourcery.com>
4143
4144 [BZ #6809]
4145 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4146 negative infinity argument.
4147 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4148 negative infinity argument.
4149 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4150 negative infinity argument.
4151 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4152 domain errors.
4153
4c0fe6fe
FW
41542013-05-10 Florian Weimer <fweimer@redhat.com>
4155
4156 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4157 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4158 * iconv/iconv_prog.c (main): Likewise.
4159 * locale/programs/charmap-dir.c (charmap_readdir)
4160 (fopen_uncompressed): Likewise.
4161 * locale/programs/locfile.c (siblings_uncached)
4162 (write_locale_data): Use lstat64 instead of lstat.
4163 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4164 stat.
4165
a3375d29
AJ
41662013-05-10 Andreas Jaeger <aj@suse.de>
4167
4168 [BZ #15395]
4169 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4170 localization.
4171 Include <locale.h>.
4172
36129722
CD
41732013-05-09 Carlos O'Donell <carlos@redhat.com>
4174
4175 * elf/dl-close.c (_dl_close_worker): Add comments.
4176
faa7f811
JM
41772013-05-09 Joseph Myers <joseph@codesourcery.com>
4178
ed41ffef
JM
4179 [BZ #15359]
4180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4181 high part of pi/2.
4182 (__ieee754_rem_pio2l): Update comments.
4183
d0213cd0
JM
4184 [BZ #15429]
4185 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4186 high part of pi/2.
4187 (__ieee754_rem_pio2l): Update comments.
4188
0d3e777a
JM
4189 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4190 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4191
24f56066
JM
4192 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4193 M_PI_4l.
4194
faa7f811
JM
4195 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4196 (M_PI_34_LOG10El): Likewise.
4197 (M_PI2_LOG10El): Likewise.
4198 (M_PI4_LOG10El): Likewise.
4199 (M_PI_LOG10El): Likewise.
4200
e9a5e0fd
AZ
42012013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204
d8cd06db
JM
42052013-05-08 Joseph Myers <joseph@codesourcery.com>
4206
a0d9f9d7
JM
4207 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4208 (MINUS_ZERO_INIT): Likewise.
4209 (PLUS_INFTY_INIT): Likewise.
4210 (MINUS_INFTY_INIT): Likewise.
4211 (QNAN_VALUE_INIT): Likewise.
4212 (MAX_VALUE_INIT): Likewise.
4213 (MIN_VALUE_INIT): Likewise.
4214 (MIN_SUBNORM_VALUE_INIT): Likewise.
4215 (plus_zero): Initialize with PLUS_ZERO_INIT.
4216 (minus_zero): Initialize with MINUS_ZERO_INIT.
4217 (plus_infty): Initialize with PLUS_INFTY_INIT.
4218 (minus_infty): Initialize with MINUS_INFTY_INIT.
4219 (qnan_value): Initialize with QNAN_VALUE_INIT.
4220 (max_value): Initialize with MAX_VALUE_INIT.
4221 (min_value): Initialize with MIN_VALUE_INIT.
4222 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4223
ae08db3b
JM
4224 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4225 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4226 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4227 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4228
f44bf14a
JM
4229 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4230 (RUN_TEST_2_f): Likewise.
4231 (RUN_TEST_ff_f): Likewise.
4232 (RUN_TEST_fi_f): Likewise.
4233 (RUN_TEST_fl_f): Likewise.
4234 (RUN_TEST_fff_f): Likewise.
4235 (RUN_TEST_c_f): Likewise.
4236 (RUN_TEST_f_f1): Likewise.
4237 (RUN_TEST_fF_f1): Likewise.
4238 (RUN_TEST_fI_f1): Likewise.
4239 (RUN_TEST_ffI_f1): Likewise.
4240 (RUN_TEST_c_c): Likewise.
4241 (RUN_TEST_cc_c): Likewise.
4242 (RUN_TEST_f_i): Likewise.
4243 (RUN_TEST_f_i_tg): Likewise.
4244 (RUN_TEST_ff_i_tg): Likewise.
4245 (RUN_TEST_f_b): Likewise.
4246 (RUN_TEST_f_b_tg): Likewise.
4247 (RUN_TEST_f_l): Likewise.
4248 (RUN_TEST_f_L): Likewise.
4249 (RUN_TEST_sincos): Likewise.
4250 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4251 whether to show exceptions. Do not include ");\n" in return
4252 value.
4253 (special_functions): Output call to RUN_TEST_sincos instead of
4254 check_float calls. Update calls to new_test.
4255 (parse_args): Output call to single RUN_TEST_* macro instead of
4256 check_* calls and other assignments. Update calls to new_test.
4257
d8cd06db
JM
4258 [BZ #2546]
4259 [BZ #2560]
4260 [BZ #5159]
4261 [BZ #15426]
4262 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4263 input to result for tgamma overflow.
4264 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4265 (gamma_coeff): New variable.
4266 (NCOEFF): New macro.
4267 (gamma_positive): New function.
4268 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4269 underflow here. Use gamma_positive instead of exp (lgamma) for
4270 other arguments.
4271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4272 (gamma_coeff): New variable.
4273 (NCOEFF): New macro.
4274 (gammaf_positive): New function.
4275 (__ieee754_gammaf_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-128/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, NaN, overflow and
4283 underflow here. Use gamma_positive instead of exp (lgamma) for
4284 other arguments.
4285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4286 (gamma_coeff): New variable.
4287 (NCOEFF): New macro.
4288 (gammal_positive): New function.
4289 (__ieee754_gammal_r): Handle positive infinity, overflow and
4290 underflow here. Handle NaN the same as positive infinity. Remove
4291 check x < 0xffffffff for negative integers. Use gamma_positive
4292 instead of exp (lgamma) for other arguments.
4293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4294 (gamma_coeff): New variable.
4295 (NCOEFF): New macro.
4296 (gammal_positive): New function.
4297 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4298 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4303 * sysdeps/generic/math_private.h (__gamma_productf): New
4304 prototype.
4305 (__gamma_product): Likewise.
4306 (__gamma_productl): Likewise.
4307 * math/Makefile (libm-calls): Add gamma_product.
4308 * math/libm-test.inc (tgamma_test): Add more tests.
4309 * sysdeps/i386/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311
bb7cf681
OB
43122013-05-08 Ondřej Bílka <neleai@seznam.cz>
4313
4314 * benchtests/bench-skeleton.c (main): Preheat CPU.
4315
ba853947
AJ
43162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4317
4318 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4319
8347c74c
RM
43202013-05-07 Roland McGrath <roland@hack.frob.com>
4321
4322 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4323 and _dl_skip_args_internal.
4324
e8dd4791
CD
43252013-05-07 Carlos O'Donell <carlos@redhat.com>
4326
4327 * manual/message.texi (Message Translation): Talk about users.
4328 Message to key mapping impacts design.
4329
c7405830
RM
43302013-05-06 Roland McGrath <roland@hack.frob.com>
4331
a9173057
RM
4332 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4333
976e2f03
RM
4334 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4335
9723ffc5
RM
4336 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4337 * sysdeps/wordsize-64/glob64.c: ... here.
4338
962e6658
RM
4339 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4340 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4341 New macros.
4342
ee586a6d
RM
4343 * debug/getlogin_r_chk.c: Moved to ...
4344 * login/getlogin_r_chk.c: ... here.
4345 * debug/Makefile (routines): Move getlogin_r_chk to ...
4346 * login/Makefile (routines): ... here.
4347 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4348 * login/Versions (libc: GLIBC_2.4): ... here.
4349
355f9165
RM
4350 * io/poll.c (__poll): Renamed from poll.
4351 Add libc_hidden_def.
4352 (poll): Define as weak alias.
4353
bd9ffde6
RM
4354 * debug/ptsname_r_chk.c: Moved to ...
4355 * login/ptsname_r_chk.c: ... here.
4356 * debug/Makefile (routines): Move ptsname_r_chk to ...
4357 * login/Makefile (routines): ... here.
4358 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4359 * login/Versions (libc: GLIBC_2.4): ... here.
4360
8fb16a04
RM
4361 * posix/getlogin.c: Moved to ...
4362 * login/getlogin.c: ... here.
4363 * posix/getlogin_r.c: Moved to ...
4364 * login/getlogin_r.c: ... here.
4365 * posix/getlogin_r.c: Moved to ...
4366 * login/getlogin_r.c: ... here.
4367 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4368 * login/Makefile (routines): ... here.
4369 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4370 * login/Versions (libc: GLIBC_2.0): ... here.
4371
b99b892f
RM
4372 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4373 (setrlimit): Define as weak alias.
4374
c7405830
RM
4375 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4376 Call __ names for open, ftruncate, and close.
4377 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4378 (truncate): Define as weak alias.
4379
5bf96de5
JM
43802013-05-06 Joseph Myers <joseph@codesourcery.com>
4381
9ea3513c
JM
4382 * math/gen-libm-test.pl (parse_args): Initialize x before each
4383 test of frexp, modf and remquo.
4384
5bf96de5
JM
4385 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4386 test signgam value.
4387
16e616a7
AZ
43882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4389
4390 [BZ #15418]
4391 [BZ #15419]
4392 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4393 internal tests.
4394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4395
d5e82754
RM
43962013-05-06 Roland McGrath <roland@hack.frob.com>
4397
4398 * elf/dl-writev.h: New file.
4399 * elf/dl-misc.c: Include it.
4400 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4401 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4402
a7548d41
JM
44032013-05-04 Joseph Myers <joseph@codesourcery.com>
4404
b7dab1e4
JM
4405 * math/libm-test.inc (noXFails): Remove variable.
4406 (noXPasses): Likewise.
4407 (BUILD_COMPLEX_INT): Remove macro.
4408 (print_screen): Remove xfail argument.
4409 (print_screen_max_error): Likewise.
4410 (update_stats): Likewise.
4411 (print_max_error): Likewise. Update calls to other affected
4412 functions.
4413 (print_complex_max_error): Likewise.
4414 (test_single_exception): Update calls to print_screen.
4415 (test_single_errno): Likewise.
4416 (check_float_internal): Remove xfail argument. Update calls to
4417 other affected functions.
4418 (check_float): Likewise.
4419 (check_complex): Likewise.
4420 (check_int): Likewise.
4421 (check_long): Likewise.
4422 (check_bool): Likewise.
4423 (check_longlong): Likewise.
4424 (main): Don't print noXFails and noXPasses.
4425 * math/gen-libm-test.pl (top level): Don't mention expected
4426 failure handling in comment.
4427 (new_test): Don't handle expected failures.
4428 (parse_args): Don't mention expected failure handling in comment.
4429 (generate_testfile): Don't handle expected failures.
4430 (parse_ulps): Likewise.
4431 (print_ulps_file): Likewise.
4432 (get_failure): Remove function.
4433 (output_test): Don't handle expected failures.
4434 * make/README.libm-test: Don't mention expected failure handling.
4435
a7548d41
JM
4436 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4437 (minus_zero): Likewise.
4438 (plus_infty): Likewise.
4439 (minus_infty): Likewise.
4440 (qnan_value): Likewise.
4441 (max_value): Likewise.
4442 (min_value): Likewise.
4443 (min_subnorm_value): Likewise.
4444 (initialize): Do not initialize those variables dynamically.
4445
60bfd54c
RM
44462013-05-03 Roland McGrath <roland@hack.frob.com>
4447
cc0e6ed8
RM
4448 * io/open.c (__open_2): Moved to ...
4449 * io/open_2.c: ... this new file.
4450 * io/open64.c (__open64_2): Moved to ...
4451 * io/open64_2.c: ... this new file.
4452 * io/openat.c (__openat_2): Moved to ...
4453 * io/openat_2.c: ... this new file.
4454 * io/openat64.c (__openat64_2): Moved to ...
4455 * io/openat64_2.c: ... this new file.
4456 * io/Makefile (routines): Add them.
4457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4458 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4459 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4460 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4461 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4462 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4463 (__openat64): Add hidden_ver.
4464 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4465 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4466
60bfd54c
RM
4467 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4468 Separately conditionalize setting of GLRO(dl_sysinfo) so
4469 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4470 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4471
83e7640f
AZ
44722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473
4474 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4475 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4476 definition.
4477 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4478 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4479 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4480 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4481 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4482
d5dc2af3
JM
44832013-05-03 Joseph Myers <joseph@codesourcery.com>
4484
c31a5b1e
JM
4485 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4486 test signgam value.
4487
d5dc2af3
JM
4488 * math/libm-test.inc (hypot_test): Do not use
4489 IGNORE_ZERO_INF_SIGN.
4490
164fd39d
AJ
44912013-05-03 Andreas Jaeger <aj@suse.de>
4492
4493 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4494 Linux 3.9.
4495 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4496 (PF_MAX): Adjust for VSOCK change.
4497
8237f48c
AZ
44982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4499
4500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4501
9df02941
CD
45022013-05-02 Carlos O'Donell <carlos@redhat.com>
4503
4504 [BZ #15264]
4505 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4506 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4507 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4508
d422395e
DM
45092013-05-02 David S. Miller <davem@davemloft.net>
4510
4511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4512
a07c5731
OB
45132013-05-01 Ondřej Bílka <neleai@seznam.cz>
4514
4515 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4516
1324e37f
RM
45172013-05-01 Roland McGrath <roland@hack.frob.com>
4518
4519 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4520
0695940b
RS
45212013-05-01 Richard Smith <richard@metafoo.co.uk>
4522
bb5f27ad 4523 [BZ #14952]
0695940b
RS
4524 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4525 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4526 Use __attribute__ ((__gnu_inline__)).
4527 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4528 Don't use __attribute__ ((__gnu_inline__)).
4529
10de07f5
JM
45302013-05-01 Joseph Myers <joseph@codesourcery.com>
4531
4532 [BZ #15423]
4533 * math/s_catan.c (__catan): Handle small real or imaginary part of
4534 input specially to avoid spurious underflow.
4535 * math/s_catanf.c (__catanf): Likewise.
4536 * math/s_catanh.c (__catanh): Likewise.
4537 * math/s_catanhf.c (__catanhf): Likewise.
4538 * math/s_catanhl.c (__catanhl): Likewise.
4539 * math/s_catanl.c (__catanl): Likewise.
4540 * math/libm-test.inc (catan_test): Add more tests.
4541 (catanh_test): Likewise.
4542 * sysdeps/i386/fpu/libm-test-ulps: Update.
4543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544
cb4d5414
AZ
45452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4546
4547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4548
caf84319
JM
45492013-04-30 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #15416]
4552 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4553 accurately for denominator in atan2.
4554 * math/s_catanf.c (__catanf): Likewise.
4555 * math/s_catanh.c (__catanh): Likewise.
4556 * math/s_catanhf.c (__catanhf): Likewise.
4557 * math/s_catanhl.c (__catanhl): Likewise.
4558 * math/s_catanl.c (__catanl): Likewise.
4559 * math/libm-test.inc (catan_test): Add more tests.
4560 (catanh_test): Likewise.
4561 * sysdeps/i386/fpu/libm-test-ulps: Update.
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4563
d569c6ee
SP
45642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
6dbe713d
SP
4566 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4567
f0ee064b
SP
4568 * benchtests/Makefile (bench): Remove slow benchmarks.
4569 * benchtests/atan-inputs: Add slow benchmark inputs.
4570 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4571 (BENCH_FUNC): Accept variant offset.
4572 (VARIANT): Define.
4573 * benchtests/bench-skeleton.c (main): Run benchmark for each
4574 variant.
4575 * benchtests/cos-inputs: Add slow benchmark inputs.
4576 * benchtests/exp-inputs: Likewise.
4577 * benchtests/pow-inputs: Likewise.
4578 * benchtests/sin-inputs: Likewise.
4579 * benchtests/slowatan-inputs: Remove.
4580 * benchtests/slowatan.c: Remove.
4581 * benchtests/slowcos-inputs: Remove.
4582 * benchtests/slowcos.c: Remove.
4583 * benchtests/slowexp-inputs: Remove.
4584 * benchtests/slowexp.c: Remove.
4585 * benchtests/slowpow-inputs: Remove.
4586 * benchtests/slowpow.c: Remove.
4587 * benchtests/slowsin-inputs: Remove.
4588 * benchtests/slowsin.c: Remove.
4589 * benchtests/slowtan-inputs: Remove.
4590 * benchtests/slowtan.c: Remove.
4591 * benchtests/tan-inputs: Add slow benchmark inputs.
4592 * scripts/bench.pl: Parse comments and directives.
4593
d569c6ee
SP
4594 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4595 in CPPFLAGS.
4596 ($(objpfx)bench-%.c): Remove *-ITER.
4597 * benchtests/bench-modf.c: Remove definition of ITER.
4598 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4599 (main): Loop for DURATION seconds instead of fixed number of
4600 iterations.
4601 * scripts/bench.pl: Don't expect iterations in parameters.
4602
a6a242fe
RM
46032013-04-29 Roland McGrath <roland@hack.frob.com>
4604
4605 * io/fchdir.c (__fchdir): Renamed from fchdir.
4606 (fchdir): Define as weak alias.
4607
f2da7793
JM
46082013-04-29 Joseph Myers <joseph@codesourcery.com>
4609
4610 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4611 (ERRNO_EDOM): Likewise.
4612 (ERRNO_ERANGE): Likewise.
4613 (noErrnoTests): New variable.
4614 (init_max_error): Set errno to 0.
4615 (test_single_errno): New function.
4616 (test_errno): Likewise.
4617 (check_float_internal): Call test_errno. Set errno to 0.
4618 (check_complex): Refer to errno tests in comment.
4619 (check_int): Call test_errno. Set errno to 0.
4620 (check_long): Likewise.
4621 (check_bool): Likewise.
4622 (check_longlong): Likewise.
4623 (cos_test): Use ERRNO_* flags for errno tests instead of
4624 check_int.
4625 (expm1_test): Likewise.
4626 (fmod_test): Likewise.
4627 (ilogb_test): Likewise.
4628 (lgamma_test): Likewise.
4629 (pow_test): Likewise.
4630 (remainder_test): Likewise.
4631 (sin_test): Likewise.
4632 (tan_test): Likewise.
4633 (yn_test): Likewise.
4634 (initialize): Set errno to 0.
4635 (main): Print number of errno tests.
4636 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4637
b1a36ceb
AJ
46382013-04-29 Andreas Jaeger <aj@suse.de>
4639
c3ed8088
AJ
4640 [BZ #15084]
4641 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4642 and RES_USEVC.
4643
f1a24198
AJ
4644 [BZ #15085]
4645 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4646 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4647 unimplemented.
4648
9ce3b2cb
AJ
4649 [BZ #15380]
4650 * stdlib/random.c (__initstate): Return NULL if
4651 __initstate fails.
4652
f1a24198 4653 [BZ #15086]
b1a36ceb
AJ
4654 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4655 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4656 RES_SNGLKUPREOP.
4657
7e7b6f36
AZ
46582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659
4660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4661
4d14f449
JM
46622013-04-29 Joseph Myers <joseph@codesourcery.com>
4663
4664 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4665 of individual tests.
4666 (casin_test): Likewise.
4667 (casinh_test): Likewise.
4668
5b4217d7
JM
46692013-04-27 Joseph Myers <joseph@codesourcery.com>
4670
4671 [BZ #15409]
4672 * math/s_catan.c (__catan): Handle arguments with large real or
4673 imaginary part separately without squaring.
4674 * math/s_catanf.c (__catanf): Likewise.
4675 * math/s_catanh.c (__catanh): Likewise.
4676 * math/s_catanhf.c (__catanhf): Likewise.
4677 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4678 and redefine.
4679 (__catanhl): Handle arguments with large real or imaginary part
4680 separately without squaring.
4681 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4682 and redefine.
4683 (__catanl): Handle arguments with large real or imaginary part
4684 separately without squaring.
4685 * math/libm-test.inc (catan_test): Add more tests.
4686 (catanh_test): Likewise.
4687 * sysdeps/i386/fpu/libm-test-ulps: Update.
4688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4689
4220c3ef
AJ
46902013-04-27 Andreas Jaeger <aj@suse.de>
4691
4692 [BZ #15007]
4693 * stdlib/stdlib.h: Update guards for qecvt.
4694 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4695 <stdlib.h>.
4696
4721b2d1
AM
46972013-04-27 Allan McRae <allan@archlinux.org>
4698
4699 * sysdeps/i386/fpu/libm-test-ulps: Update.
4700
f0302940
JM
47012013-04-26 Joseph Myers <joseph@codesourcery.com>
4702
9457fd95
JM
4703 [BZ #15406]
4704 * math/s_catan.c: Include <float.h>.
4705 (__catan): Ensure underflow exception occurs for underflowed
4706 result.
4707 * math/s_catanf.c: Include <float.h>.
4708 (__catanf): Ensure underflow exception occurs for underflowed
4709 result.
4710 * math/s_catanh.c: Include <float.h>.
4711 (__catanh): Ensure underflow exception occurs for underflowed
4712 result.
4713 * math/s_catanhf.c: Include <float.h>.
4714 (__catanhf): Ensure underflow exception occurs for underflowed
4715 result.
4716 * math/s_catanhl.c: Include <float.h>.
4717 (__catanhl): Ensure underflow exception occurs for underflowed
4718 result.
4719 * math/s_catanl.c: Include <float.h>.
4720 (__catanl): Ensure underflow exception occurs for underflowed
4721 result.
4722 * math/libm-test.inc (catan_test): Add more tests.
4723 (catanh_test): Likewise.
4724
f0302940
JM
4725 [BZ #15405]
4726 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4727 underflowed result.
4728 * math/s_ccoshf.c (__ccoshf): Likewise.
4729 * math/s_ccoshl.c (__ccoshl): Likewise.
4730 * math/s_csin.c (__csin): Likewise.
4731 * math/s_csinf.c (__csinf): Likewise.
4732 * math/s_csinh.c (__csinh): Likewise.
4733 * math/s_csinhf.c (__csinhf): Likewise.
4734 * math/s_csinhl.c (__csinhl): Likewise.
4735 * math/s_csinl.c (__csinl): Likewise.
4736 * math/libm-test.inc (ccos_test): Add more tests.
4737 (ccosh_test): Likewise.
4738 (csin_test): Likewise.
4739 (csinh_test): Likewise.
4740
aa630f59
AZ
47412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
4743 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4744 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4745 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4746 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4747 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4748 powerpc/power5+/fpu folders.
4749 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4750
4751
1b835983
MT
47522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4753
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4755
73709b26
JM
47562013-04-25 Joseph Myers <joseph@codesourcery.com>
4757
4758 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4759 additions to variable.
4760 [$(config-machine) = x86_64] (modules-names): Likewise.
4761 ($(objpfx)tst-audit3): Remove dependency.
4762 ($(objpfx)tst-audit3.out): Likewise.
4763 ($(objpfx)tst-audit4): Likewise.
4764 ($(objpfx)tst-audit4.out): Likewise.
4765 ($(objpfx)tst-audit5): Likewise.
4766 ($(objpfx)tst-audit5.out): Likewise.
4767 ($(objpfx)tst-audit6): Likewise.
4768 ($(objpfx)tst-audit6.out): Likewise.
4769 ($(objpfx)tst-audit7): Likewise.
4770 ($(objpfx)tst-audit7.out): Likewise.
4771 (tst-audit3-ENV): Remove variable.
4772 (tst-audit4-ENV): Likewise.
4773 (tst-audit5-ENV): Likewise.
4774 (tst-audit6-ENV): Likewise.
4775 (tst-audit7-ENV): Likewise.
4776 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4777 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4778 addition to variable.
4779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4783 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4784 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4785 tst-audit3, tst-audit4 and tst-audit5.
4786 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4787 tst-audit6 and tst-audit7.
4788 [$(subdir) = elf] (modules-names): Add audit modules for those
4789 tests.
4790 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4791 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4792 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4793 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4794 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4795 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4796 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4797 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4798 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4799 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4800 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4801 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4802 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4803 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4804 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4805 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4806 Likewise.
4807 [$(subdir) = elf && $(config-cflags-avx) = yes]
4808 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4809 [$(subdir) = elf && $(config-cflags-avx) = yes]
4810 (CFLAGS-tst-auditmod4a.c): Likewise.
4811 [$(subdir) = elf && $(config-cflags-avx) = yes]
4812 (CFLAGS-tst-auditmod4b.c): Likewise.
4813 [$(subdir) = elf && $(config-cflags-avx) = yes]
4814 (CFLAGS-tst-auditmod6b.c): Likewise.
4815 [$(subdir) = elf && $(config-cflags-avx) = yes]
4816 (CFLAGS-tst-auditmod6c.c): Likewise.
4817 [$(subdir) = elf && $(config-cflags-avx) = yes]
4818 (CFLAGS-tst-auditmod7b.c): Likewise.
4819 * elf/tst-audit3.c: Move to ...
4820 * sysdeps/x86_64/tst-audit3.c: ... here.
4821 * elf/tst-audit4.c: Move to ...
4822 * sysdeps/x86_64/tst-audit4.c: ... here.
4823 * elf/tst-audit5.c: Move to ...
4824 * sysdeps/x86_64/tst-audit5.c: ... here.
4825 * elf/tst-audit6.c: Move to ...
4826 * sysdeps/x86_64/tst-audit6.c: ... here.
4827 * elf/tst-audit7.c: Move to ...
4828 * sysdeps/x86_64/tst-audit7.c: ... here.
4829 * elf/tst-auditmod3a.c: Move to ...
4830 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4831 * elf/tst-auditmod3b.c: Move to ...
4832 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4833 * elf/tst-auditmod4a.c: Move to ...
4834 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4835 * elf/tst-auditmod4b.c: Move to ...
4836 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4837 * elf/tst-auditmod5a.c: Move to ...
4838 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4839 * elf/tst-auditmod5b.c: Move to ...
4840 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4841 * elf/tst-auditmod6a.c: Move to ...
4842 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4843 * elf/tst-auditmod6b.c: Move to ...
4844 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4845 * elf/tst-auditmod6c.c: Move to ...
4846 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4847 * elf/tst-auditmod7a.c: Move to ...
4848 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4849 * elf/tst-auditmod7b.c: Move to ...
4850 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4851
1ef74943
PP
48522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4853
4854 [BZ #15366]
4855 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4856 define unconditionally.
4857 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4858 define unconditionally.
4859 (INT8_C, INT16_C, etc.): Likewise.
4860
93fd48c5
MR
48612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4862
ae9552cf
MR
4863 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4864 __ehdr_start with hidden visibility.
4865
93fd48c5
MR
4866 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4867
418601aa
CD
48682013-04-24 Carlos O'Donell <carlos@redhat.com>
4869
4870 * math/libm-test.inc (cos_test): Use accurate hex constants.
4871 (sincost_test): Likewise.
4872
2f38fbfe
JM
48732013-04-24 Joseph Myers <joseph@codesourcery.com>
4874
5e221800
JM
4875 * math/libm-test.inc (catan_test): Add more tests.
4876 (catanh_test): Likewise.
4877
77f143fd
JM
4878 * math/s_catanf.c (__catanf): Use suffixed floating-point
4879 constants.
4880 * math/s_catanhf.c (__catanhf): Likewise.
4881 * math/s_catanhl.c (__catanhl): Likewise.
4882 * math/s_catanl.c (__catanl): Likewise.
4883
2f38fbfe
JM
4884 [BZ #15394]
4885 * math/s_catan.c (__catan): Calculate imaginary part of result
4886 with log1p not log unless computing log of number close to 0.
4887 * math/s_catanf.c (__catanf): Likewise.
4888 * math/s_catanl.c (__catanl): Likewise.
4889 * math/s_catanh.c (__catanh): Calculate real part of result with
4890 log1p not log unless computing log of number close to 0.
4891 * math/s_catanhf.c (__catanhf): Likewise.
4892 * math/s_catanhl.c (__catanhl): Likewise.
4893 * math/libm-test.inc (catan_test): Add more tests.
4894 (catanh_test): Likewise.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4897
45d69176
SP
48982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4899
4900 * benchtests/Makefile: Mention files in which fast and slow
4901 paths of math functions are implemented.
4902
87f51853
RM
49032013-04-23 Roland McGrath <roland@hack.frob.com>
4904
4905 * sysdeps/posix/timespec_get.c: New file.
4906
3c026539
AZ
49072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4908
4909 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4910 POWER.
4911 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4912 for POWER.
4913 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4914 powerpc/power5/fpu folders.
4915 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4916 * benchtests/Makefile: Add modf testcase.
4917 * benchtests/bench-modf.c: New file: Benchmark test for mo
4918
ff491d14
SP
49192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4920
4921 [BZ #14888]
4922 * time/Makefile (tests): Add tst-strptime-whitespace.
4923 * time/strptime_l.c (get_number): Use ISSPACE.
4924 (__strptime_internal): Likewise.
4925 * time/tst-strptime-whitespace.c: New test case.
4926
7ed3f4e8
AS
49272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4928
4929 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4930 member.
4931 (_nss_files_init): Set it here.
4932
5c95f7b6
HC
49332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4934
4935 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4936 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4937 unsigned.
4938
d34c9158
JBG
49392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4940
4941 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4942
2169712d
SP
49432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4944
4945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4946 size just once.
4947
29c5de99
DM
49482013-04-21 David S. Miller <davem@davemloft.net>
4949
4950 * po/ru.po: Update Russion translation from translation project.
4951
ccdad15d
AC
49522013-04-17 Adam Conrad <adconrad@0c3.net>
4953
4954 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4955 and setfsgid.
4956
0f122b8d
CD
49572013-04-17 Carlos O'Donell <carlos@redhat.com>
4958
5c5b07da 4959 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4960 * configure: Regenerate.
5c5b07da 4961 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4962 Add example to error message.
4963 * sysdeps/i386/configure: Regenerate.
4964
037714dd
SP
49652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4966
4967 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4968 slowtan.
4969 * benchtests/cos-inputs: New file.
4970 * benchtests/slowcos-inputs: New file.
4971 * benchtests/slowcos.c: New file.
4972 * benchtests/slowtan-inputs: New file.
4973 * benchtests/slowtan.c: New file.
4974 * benchtests/tan-inputs: New file.
4975
e913141d
RM
49762013-04-16 Roland McGrath <roland@hack.frob.com>
4977
4978 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4979 considered kosher.
4980
a2964074
SP
49812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4982
4856bcd2
SP
4983 * benchtests/Makefile: Include cppflags-iterator.mk to add
4984 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4985
a2964074
SP
4986 * Makefile.in (bench-clean): New target.
4987 * benchtests/Makefile (bench-clean): Likewise.
4988
9fbf9aca
DH
49892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4990
4991 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4992
207d1e2a
TS
49932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4994
4995 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4996
306dfba9
AS
49972013-04-15 Andreas Schwab <schwab@suse.de>
4998
4999 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5001 * nscd/pwdcache.c (cache_addpw): Likewise.
5002 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5003 more than recsize.
5004
206a6699
SP
50052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5006
5007 * benchtests/Makefile (bench): Write all output to
5008 bench-out.tmp together.
5009
0582f6b3
AS
50102013-04-15 Andreas Schwab <schwab@suse.de>
5011
5012 * nscd/nscd.c (main): Don't fork again after closing files.
5013
acb4325f
SP
50142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5015
5cb26d0a
SP
5016 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5017
acb4325f
SP
5018 * benchtests/Rules (bench-deps): Collect dependencies into a
5019 single variable. Add Makefile to dependencies.
5020 ($(objpfx)bench-%.c): Depend on bench-deps.
5021
47792506
RM
50222013-04-12 Roland McGrath <roland@hack.frob.com>
5023 Xavier Roche <roche+kml2@exalead.com>
5024
5025 [BZ #15361]
5026 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5027 just that it's a file descriptor.
5028 * manual/llio.texi (Synchronizing AIO Operations): Update description
5029 for EBADF error from aio_fsync.
5030
8fc1bee5
SP
50312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5032
5033 * Rules (bench): Move target definition...
5034 * benchtests/Makefile: ... here.
5035
aba5e333
CD
50362013-04-11 Carlos O'Donell <carlos@redhat.com>
5037
5038 * math/libm-test.inc (cos_test): Fix PI/2 test.
5039 (sincos_test): Likewise.
5040 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5041 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5042
273cdee8
AS
50432013-04-11 Andreas Schwab <schwab@suse.de>
5044
6ecec3b6
AS
5045 [BZ #13988]
5046 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5047 accept exponent character only when digits were seen.
5048 * stdio-common/Makefile (tests): Add bug26.
5049 * stdio-common/bug26.c: New file.
5050
273cdee8
AS
5051 [BZ #14293]
5052 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5053 non-freeable.
5054
8da491f5
SP
50552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5056
01dc6df9
SP
5057 * Makeconfig (rtld-prefix): Define built linker prefix.
5058 * Rules (run-bench): Use it.
5059 * math/Makefile (run-regen-ulps): Likewise.
5060
8da491f5
SP
5061 * Rules (bench): Remove eval.
5062
abe7f530
SP
50632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5064 Roland McGrath <roland@hack.frob.com>
5065 Ondrej Bilka <neleai@seznam.cz>
5066
5067 [BZ #15346]
5068 * time/getdate.c: Include ctype.h and alloca.h.
5069 (__getdate_r): Trim leading and trailing spaces of input.
5070 * time/tst-getdate.c (tests): Add tests with leading and
5071 trailing spaces.
5072
61c23e62
RM
50732013-04-08 Roland McGrath <roland@hack.frob.com>
5074
5075 [BZ #14280]
5076 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5077 when computing value.
5078
7208a313
CD
50792013-04-06 Carlos O'Donell <carlos@redhat.com>
5080
085b2d41
CD
5081 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5082 Use testrun.sh to run libm tests.
5083
7208a313
CD
5084 [BZ #15309]
5085 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5086
872c0acd
MM
50872013-04-06 Marko Myllynen <myllynen@redhat.com>
5088
5089 [BZ #15264]
5090 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5091
26510bdd
CD
50922013-04-06 Carlos O'Donell <carlos@redhat.com>
5093
5094 * Makefile.in (regen-ulps): New target.
5095 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5096 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5097 [ifneq (no,$(PERL)] (regen-ulps): New target.
5098 [ifeq (no,$(PERL)] (regen-ulps): New target.
5099 * math/libm-test.inc (ulps_file_name): Define.
5100 (output_dir): New variable.
5101 (options): Add "output-dir" option.
5102 (parse_opt): Handle 'o' case.
5103 (main): If output_dir is non-NULL use it as a prefix
5104 otherwise use "".
5105 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5106
a01f19c8
CD
51072013-04-06 Carlos O'Donell <carlos@redhat.com>
5108
5109 [BZ #10060, #10062]
5110 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5111 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5112 fail configure if __sync_val_compare_and_swap is not inlined.
5113 * sysdeps/i386/configure: Regenerate.
5114 * configure.in: Build for i686 when configured for i386.
5115 * configure: Regenerate.
5116 * README: Remove i386 reference.
5117
b7a329a5
CD
51182013-04-06 Carlos O'Donell <carlos@redhat.com>
5119
5120 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5122
bf0f50df
TS
51232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5124
ee091edf
TS
5125 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5126 (lmsnanval): New variables.
5127 (F): Add conversion tests.
5128 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5129 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5130
a8b792d6
TS
5131 * stdio-common/tstdiomisc.c (F): Properly collect individual
5132 tests' results.
5133
a1cbf437
TS
5134 [BZ #14686, #15336]
5135 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5136 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5137 Instead, use input NaN values or generate a qNaN by arithmetic
5138 operation. Also fix bugs to comply with the standard.
5139 * math/libm-test.inc (remainder_test): Add more tests.
5140
8b43a0c9
TS
5141 [BZ #15335, #15342]
5142 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5144 input NaN values or generate a qNaN by arithmetic operation.
5145
d91da4ce
TS
5146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5147 unreachable code.
5148
bf0f50df
TS
5149 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5150 definitions.
5151
05e166c8
JM
51522013-04-03 Joseph Myers <joseph@codesourcery.com>
5153
5154 [BZ #14478]
5155 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5156 underflowed result.
5157 * math/s_cexpf.c (__cexpf): Likewise.
5158 * math/s_cexpl.c (__cexpl): Likewise.
5159 * math/libm-test.inc (cexp_test): Add more tests.
5160
1cef1b19
AS
51612013-04-03 Andreas Schwab <schwab@suse.de>
5162
5163 [BZ #15330]
5164 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5165 order arrays from heap if bigger than alloca cutoff.
5166
74d87055
TS
51672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5168
5169 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5170 (SNAN_TESTS_double): Refer to GCC PR56831.
5171 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5172 GCC PR56828.
5173
d755bba4
SP
51742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5175
90d5d5bb
SP
5176 * Rules (bench): Move bench.out after the run is complete.
5177
73e0cd5d
SP
5178 * Rules (bench): Echo currently running benchmark.
5179
64aabd4b
SP
5180 * benchtests/Makefile (bench): Add atan and slowatan.
5181 * benchtests/atan-inputs: New file.
5182 * benchtests/slowatan-inputs: New file.
5183 * benchtests/slowatan.c: New file.
5184
c871eccd
SP
5185 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5186 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5187 its value.
5188
d755bba4
SP
5189 [BZ #15305]
5190 * sysdeps/unix/sysv/linux/kernel-features.h
5191 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5192 __ASSUME_XFS_RESTRICTED_CHOWN.
5193 * sysdeps/unix/sysv/linux/pathconf.c
5194 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5195 Save and restore errno.
5196
52ce4860
JM
51972013-04-02 Joseph Myers <joseph@codesourcery.com>
5198
5199 [BZ #15327]
5200 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5201 arguments using __kernel_casinh.
5202 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5203 arguments using __kernel_casinhf.
5204 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5205 arguments using __kernel_casinhl.
5206 * math/libm-test.inc (cacosh_test): Add more tests.
5207 * sysdeps/i386/fpu/libm-test-ulps: Update.
5208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5209
81f311c2
SP
52102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5211
e7906a47
SP
5212 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5214
92e3664b
SP
5215 * bench/Makefile (bench): Add sin and slowsin.
5216 * benchtests/sin-inputs: New file.
5217 * benchtests/slowsin-inputs: New file.
5218 * benchtests/slowsin.c: New file.
5219
81f311c2
SP
5220 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5221 (bench): Add slowexp and slowpow.
5222 (exp-ITER): Increase iterations.
5223 (pow-ITER): Likewise.
5224 * benchtests/exp-inputs: Change input.
5225 * benchtests/pow-inputs: Likewise.
5226 * benchtests/slowexp-inputs: New file.
5227 * benchtests/slowexp.c: New file.
5228 * benchtests/slowpow-inputs: New file.
5229 * benchtests/slowpow.c: New file.
5230
ab0f1aa9
AZ
52312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232
5233 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5234 instructions.
5235 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5236 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5237 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5238 * benchtests/Makefile: Add rint benchtest.
5239 * benchtests/rint-inputs: Input for rint benchtest.
5240
57267616
TS
52412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5242
5243 * Versions.def (libm): Add GLIBC_2.18.
5244 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5245 hidden libm prototypes.
5246 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5247 * math/Makefile (libm-calls): Add s_issignaling.
5248 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5249 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5250 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5251 declaration.
5252 * math/math.h [__USE_GNU] (issignaling): New macro.
5253 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5254 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5256 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5259 * manual/arith.texi (issignaling): New section.
5260 * manual/libm-err-tab.pl (@all_functions): Update comment.
5261 * math/gen-libm-test.pl (parse_args): Apply special handling for
5262 issignaling.
5263 * math/libm-test.inc (print_float, issignaling_test): New
5264 functions.
5265 (check_float_internal): Add issignaling checks.
5266 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5267 default definition.
5268 * sysdeps/powerpc/math-tests.h: New file.
5269 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5270 tests.
5271 * math/test-snan.c (TEST_FUNC): Likewise.
5272
6142896d
DM
52732013-03-30 David S. Miller <davem@davemloft.net>
5274
5275 * po/de.po: Update from translation team.
5276
ccc8cadf
JM
52772013-03-30 Joseph Myers <joseph@codesourcery.com>
5278
5279 [BZ #10357]
5280 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5281 imaginary part less than 1.0 and real part less than 0.5
5282 specially.
5283 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5284 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5285 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5286 (cacos_test): Add more tests.
5287 (casin_test): Likewise.
5288 (casinh_test): Likewise.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291
0f6a8d4b
SP
52922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
0d1029de
SP
5294 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5295 ONE with its value.
5296
c2d94018
SP
5297 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5298 (__pow_mp): Replace ONE and MONE with their values.
5299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5301 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5302 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5303 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5304 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5305
27ec37f1
SP
5306 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5307
a64d7e0e
SP
5308 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5309 (__pow_mp): Replace ZERO and MZERO with their values.
5310 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5312 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5314 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5315 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5316 (__sqr): Likewise.
5317
d26dd3eb
SP
5318 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5319
0f6a8d4b
SP
5320 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5321
e57b0c61
RM
53222013-03-28 Roland McGrath <roland@hack.frob.com>
5323
5324 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5325 Declare with __attribute__ ((weak)).
5326 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5327 Call __call_tls_dtors only if it's not NULL.
5328
356b3480
RM
53292013-03-28 Roland McGrath <roland@hack.frob.com>
5330
288f7d79
RM
5331 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5332 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5333 magic __ehdr_start linker symbol if it's defined.
5334 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5335 them up here if it was already done.
5336
dc0a0263
RM
5337 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5338 (_dl_aux_init): Use const in cast when setting it.
5339 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5340 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5341 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5342
3d3436ae
RM
5343 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5344 Declare them here.
5345 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5346 * csu/libc-tls.c: Nor here.
5347 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5348
356b3480
RM
5349 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5350 (__libc_message): Never call vsyslog.
5351
b0f1246a
AM
53522013-03-28 Alan Modra <amodra@gmail.com>
5353
5354 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5355 Define as empty.
5356 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5357 Likewise.
5358
fbbe2b9a
AZ
53592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360
5361 [BZ #15214]
5362 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5363 underflow.
5364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5365
1728ab37
SP
53662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
7a86be6e
SP
5368 [BZ #15304]
5369 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5370 Don't add gid passed as argument.
5371
1728ab37
SP
5372 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5373
3a7182a1
JM
53742013-03-27 Joseph Myers <joseph@codesourcery.com>
5375
5376 [BZ #15307]
5377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5378 imaginary part between 1.0 and 1.5 and real part less than 0.5
5379 specially.
5380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5382 * math/libm-test.inc (cacos_test): Add more tests.
5383 (casin_test): Likewise.
5384 (casinh_test): Likewise.
5385 * sysdeps/i386/fpu/libm-test-ulps: Update.
5386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5387
6f2e90e7
SP
53882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
5739f705
SP
5390 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5391 constants.
5392 (norm): Likewise.
5393 (denorm): Likewise.
5394 (__dbl_mp): Likewise.
5395 (add_magnitudes): Likewise.
5396 (sub_magnitudes): Likewise.
5397 (__add): Likewise.
5398 (__sub): Likewise.
5399 (__mul): Likewise.
5400 (__sqr): Likewise.
5401 (__inv): Likewise.
5402 (__dvd): Likewise.
5403
e375e83d
SP
5404 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5405 commented code.
5406 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5407 (__dubcos): Likewise.
5408 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5409 (__ieee754_acos): Likewise.
5410 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5411 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5412 (__exp1): Likewise.
5413 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5415 (log1): Likewise.
5416 (my_log2): Likewise.
5417 (checkint): Likewise.
5418 * sysdeps/ieee754/dbl-64/e_remainder.c
5419 (__ieee754_remainder): Likewise.
5420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5422 (bsloww): Likewise.
5423 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5424
6f2e90e7
SP
5425 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5427 MANTISSA_STORE_T to store computations on mantissa. Use
5428 macros for rounding and division.
5429 (denorm): Likewise.
5430 (__dbl_mp): Likewise.
5431 (add_magnitudes): Likewise.
5432 (sub_magnitudes): Likewise.
5433 (__mul): Likewise.
5434 (__sqr): Likewise.
5435 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5436 powers of two in terms of TWOPOW macro.
5437 (mp_no): Make type of mantissa as MANTISSA_T.
5438 [!RADIXI]: Define RADIXI.
5439 [!TWO52]: Define TWO52.
5440 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5441
fce14d4e
AZ
54422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5445 llroundl symbol when building for PPC32.
5446
9ad027fb
MW
54472013-03-24 Mark H Weaver <mhw@netris.org>
5448
5449 * manual/arith.texi (Normalization Functions): Fix prototypes for
5450 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5451
e42a38dd
AZ
54522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5453
5454 [BZ #13889]
5455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5456 high value to check if expl overflow.
5457 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5458 to check for underflow and overflow.
5459 * math/libm-test.inc: Add exp test.
5460
2e0fb521
DL
54612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5462
5463 [BZ #11120]
5464 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5465 with NOT_IN_libc.
5466
b5784d95
AZ
54672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468
5469 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5470 symbol.
5471
5aa4a1a1
TS
54722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5473
bdef0be7
TS
5474 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5475 wrap blocks consisting of several statements.
5476
5aa4a1a1
TS
5477 * sysdeps/generic/math-tests.h: New file.
5478 * sysdeps/i386/fpu/math-tests.h: Likewise.
5479 * math/test-snan.c: Include it.
5480 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5481
98c48fe5
JM
54822013-03-21 Joseph Myers <joseph@codesourcery.com>
5483
5484 [BZ #15285]
5485 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5486 (__ieee754_j0l): Do not improve calculations using cos of twice
5487 input for inputs above LDBL_MAX / 2.0L.
5488 (__ieee754_y0l): Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5490 (__ieee754_j1l): Do not improve calculations using cos of twice
5491 input for inputs above LDBL_MAX / 2.0L.
5492 (__ieee754_y1l): Likewise.
5493 * math/libm-test.inc (j0_test): Add another test.
5494 (j1_test): Likewise.
5495 (y0_test): Likewise.
5496 (y1_test): Likewise.
5497 * sysdeps/i386/fpu/libm-test-ulps: Update.
5498
3775a8bc
SP
54992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
5501 * Rules ($(objpfx)bench-%.c): Include code from a C source
5502 file.
5503
0a1b2ae6
JM
55042013-03-21 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #15287]
5507 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5508 imaginary part 1.0 and real part less than 0.5 specially.
5509 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5510 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5511 * math/libm-test.inc (cacos_test): Add more tests.
5512 (casin_test): Likewise.
5513 (casinh_test): Likewise.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5516
b33d4ce4
SP
55172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5518
5519 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5520 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5521
bef0b507
JM
55222013-03-20 Joseph Myers <joseph@codesourcery.com>
5523
5524 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5525 * config.make.in (config-cflags-sse4): Remove variable.
5526 (config-cflags-avx): Likewise.
5527 (config-cflags-sse2avx): Likewise.
5528 (config-cflags-novzeroupper): Likewise.
5529 (config-asflags-i686): Likewise.
5530 (have-mfma4): Likewise.
5531 (have-as-vis3): Likewise.
5532 (MIG): Likewise.
5533 * configure.in (MIG): Do not AC_SUBST.
5534 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5535 (libc_cv_cc_sse4): Do not AC_SUBST.
5536 (libc_cv_cc_avx): Likewise.
5537 (libc_cv_cc_sse2avx): Likewise.
5538 (libc_cv_cc_novzeroupper): Likewise.
5539 (libc_cv_cc_fma4): Likewise.
5540 (libc_cv_as_i686): Likewise.
5541 (libc_cv_sparc_as_vis3): Likewise.
5542 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5543 LIBC_CONFIG_VAR.
5544 (config-asflags-i686): Likewise.
5545 (config-cflags-avx): Likewise.
5546 (config-cflags-sse2avx): Likewise.
5547 (have-mfma4): Likewise.
5548 (config-cflags-novzeroupper): Likewise.
5549 * sysdeps/mach/configure.in (MIG): Likewise.
5550 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5551 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5552 LIBC_CONFIG_VAR.
5553 (config-cflags-avx): Likewise.
5554 (config-cflags-sse2avx): Likewise.
5555 (have-mfma4): Likewise.
5556 (config-cflags-novzeroupper): Likewise.
5557 * configure: Regenerated.
5558 * sysdeps/i386/configure: Likewise.
5559 * sysdeps/mach/configure: Likewise.
5560 * sysdeps/sparc/configure: Likewise.
5561 * sysdeps/x86_64/configure: Likewise.
5562
912cc4b3
RM
55632013-03-20 Roland McGrath <roland@hack.frob.com>
5564
5565 [BZ #14812]
5566 * locale/programs/localedef.c (options): Put N_ translation marker
5567 on argument names, not just descriptions.
5568
04eed2b0
MS
55692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5570
5571 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5572
a065ceff
OB
55732013-03-20 Ondřej Bílka <neleai@seznam.cz>
5574
9bb2a810 5575 [BZ #14176]
a065ceff
OB
5576 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5577
a600e5ce
RM
55782013-03-19 Roland McGrath <roland@hack.frob.com>
5579
5580 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5581 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5582 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5583 [!BEFORE_ABORT] (before_abort): New function.
5584 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5585 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5586 (writev_for_fatal): New function.
5587 (WRITEV_FOR_FATAL): New macro; call that.
5588 (backtrace_and_maps): New function.
5589 (BEFORE_ABORT): New macro; call that.
5590 (struct str_list): Type removed.
5591 (__libc_message, __libc_fatal): Functions removed.
5592 Include <sysdeps/posix/libc_fatal.c> instead.
5593
6b18bea6
JM
55942013-03-19 Joseph Myers <joseph@codesourcery.com>
5595
5596 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5597 constants.
5598 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5599 double constants.
5600
aaa8cb4b
AS
56012013-03-19 Andreas Schwab <schwab@suse.de>
5602
44673770
AS
5603 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5604 * sysdeps/gnu/configure: Regenerate.
5605
aaa8cb4b
AS
5606 * configure.in: Substitute libc_cv_rtlddir.
5607 * configure: Regenerate.
5608 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5609 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5610 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5611 * elf/Makefile (install-others, CFLAGS-interp.c)
5612 (ldso_install, common-ldd-rewrite): Likewise.
5613 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5614 $(inst_slibdir)/$(rtld-installed-name).
5615 * scripts/rellns-sh: Add -p option.
5616 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5617 for source.
5618
d3cfc668
SP
56192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5620
5621 * manual/nptl.texi: Renamed to ...
5622 * manual/threads.texi: ... this.
5623 * manual/Makefile (chapters): Update.
5624
0e2b9cdd
RM
56252013-03-18 Roland McGrath <roland@hack.frob.com>
5626
5627 [BZ #14812]
5628 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5629 on argument names, not just descriptions.
0e2b9cdd
RM
5630 * malloc/memusagestat.c (options): Likewise.
5631 * nss/getent.c (options): Likewise.
63270c24
RM
5632
56332013-03-18 Benno Schulenberg <bensberg@justemail.net>
5634
5635 [BZ #14812]
5636 * iconv/iconv_prog.c (options): Put N_ translation marker
5637 on argument names, not just descriptions.
5638 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5639
b2e1393c
OB
56402013-03-18 Ondrej Bilka <neleai@seznam.cz>
5641
5642 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5643 implementation which is faster on all x86_64 architectures.
5644 Tested on AMD, Intel Nehalem, SNB, IVB.
5645 * sysdeps/x86_64/strnlen.S: Likewise.
5646
5647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5648 Remove all multiarch strlen and strnlen versions.
5649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5650 Remove strlen and strnlen related parts.
5651
5652 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5653 Inline strlen part.
5654 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5655
5656 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5657 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5658 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5659 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5660 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5661 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5662
ec4ff04d
CD
56632013-03-17 Carlos O'Donell <carlos@redhat.com>
5664
5665 * manual/memory.texi (Malloc Tunable Parameters):
5666 Sort parameters alphabetically. Add comments for missing entries.
5667
cd18e90a
DM
56682013-03-17 David S. Miller <davem@davemloft.net>
5669
5670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5671
2a185d32
JM
56722013-03-16 Joseph Myers <joseph@codesourcery.com>
5673
d2f9799e
JM
5674 [BZ #15283]
5675 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5676 for arguments at most half maximum finite value.
5677 * math/libm-test.inc (j0_test): Add more tests.
5678 (j1_test): Likewise.
5679 (y0_test): Likewise.
5680 (y1_test): Likewise.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
2a185d32
JM
5684 [BZ #14155]
5685 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5686 1 / x and functions P and Q for arguments above 0x1p256L.
5687 (__ieee754_y0l): Likewise.
5688 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5689 (__ieee754_y1l): Likewise.
5690 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5691 (j1_test): Likewise.
5692 (y0_test): Likewise.
5693 (y1_test): Likewise.
5694
6cbec759
TS
56952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5696
5697 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5698 variable.
5699
bc16e260
RM
57002013-03-15 Roland McGrath <roland@hack.frob.com>
5701
aefc9b8c
RM
5702 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5703 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5704 zero since it's initialized to EXEC_PAGESIZE.
5705
bc16e260
RM
5706 * sysdeps/unix/sysv/linux/ldsodefs.h
5707 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5708 * sysdeps/generic/ldsodefs.h: ... here.
5709
a57da955
TS
57102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5711
af00a34d
TS
5712 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5713
495ded2c
TS
5714 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5715 math/test-snan.c.
5716 * math/test-snan.c: Renamed from
5717 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5718 * math/Makefile (tests): Add test-snan.
5719 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5720 test-powerpc-snan.
5721
777b0332
TS
5722 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5723 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5724 functions.
5725 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5726 __builtin_nan family of functions.
5727 * math/libm-test.inc (initialize): Initialize qnan_value with
5728 __builtin_nan family of functions.
5729 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5730 Remove variables.
5731 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5732 Remove functions.
5733 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5734 storage class. Initialize qNaN_var and sNaN_var with
5735 __builtin_nan and __builtin_nans families of functions,
5736 respectively.
5737
64d063b8
TS
5738 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5739 (sqrt_test): Remove duplicate test with qNaN input.
5740 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5741 (round_test, signbit_test, significand_test): Note missing +/-Inf
5742 as well as qNaN tests.
5743
67e971f1
TS
5744 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5745 qNaN_var. Fix a few strings, too.
5746 * math/libm-test.inc (nan_value): Rename to qnan_value.
5747 * math/gen-libm-test.pl (%beautify): Adjust to that.
5748 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5749 * math/test-misc.c (main): Likewise.
5750 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5751 to __qnan_bytes, and __qnan_union, respectively.
5752 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5753 Likewise.
5754 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5755 and lqnanval, respectively.
5756 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5757 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5758 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5759 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5760
64487e12
TS
5761 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5762 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5763 doubles.
5764
e015e27b
TS
5765 * math/test-misc.c (main): Fix copy'n'pastos.
5766 * misc/tst-efgcvt.c (special): Likewise.
5767
a57da955
TS
5768 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5769 Remove declarations.
5770
1e380345
SP
57712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5774 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5775 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5776 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5777
ef26eece
AZ
57782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779
5780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5781 macro to return vdso values correctly in IFUNC implementations.
5782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5783 Optimization by using IFUNC.
5784
8cfdb7e0
SP
57852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5786 Richard Henderson <rth@redhat.com>
5787 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5788
5789 * Makefile.in (bench): New target.
5790 * NEWS: Mention the benchmark framework.
5791 * Rules (bench): Likewise.
5792 (binaries-bench): Generate binaries for functions to
5793 benchmark.
5794 * benchtests/Makefile: New makefile for benchmark tests.
5795 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5796 programs.
5797 * benchtests/exp-inputs: New input file for EXP function.
5798 * benchtests/pow-inputs: New input file for POW function.
5799 * scripts/bench.pl: New script to generate source files for
5800 benchmark programs.
5801
bcda9880
SP
58022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
d22ca8cd
SP
5804 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5805 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5806 computations on mantissa. Use macros for rounding and
5807 division.
5808 (denorm): Likewise.
5809 (__dbl_mp): Likewise.
5810 (add_magnitudes): Likewise.
5811 (sub_magnitudes): Likewise.
5812 (__mul): Likewise.
5813 (__sqr): Likewise.
5814 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5815 powers of two in terms of TWOPOW macro.
5816 (mp_no): Make type of mantissa as MANTISSA_T.
5817 [!RADIXI]: Define RADIXI.
5818 [!TWO52]: Define TWO52.
5819 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5820
bcda9880
SP
5821 * manual/nptl.texi (cindex): Modify threads to pthreads.
5822
06d5adfb
JM
58232013-03-15 Joseph Myers <joseph@codesourcery.com>
5824
5825 * sysdeps/x86_64/preconfigure: Regenerated.
5826
41c7328e
JM
58272013-03-14 Joseph Myers <joseph@codesourcery.com>
5828
5829 [BZ #14155]
5830 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5831 0x1p28 and above.
5832 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5833 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5834 0x1p28 and above.
5835 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5836 * math/libm-test.inc (j0_test): Do not allow one spurious
5837 underflow exception.
5838 (y1_test): Likewise.
5839
e25cfa60
SP
58402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
0409959c
SP
5842 * manual/Makefile (chapters): Add nptl.
5843 * manual/debug.texi (Debugging Support): Add link to Threads
5844 chapter.
5845 * manual/nptl.texi: New file.
5846
e25cfa60
SP
5847 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5848
58a1335e
PB
58492013-03-14 Petr Baudis <pasky@ucw.cz>
5850
5851 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5852 for non-NULL pointer before the memory validity test. Pointed
5853 out by Holger Brunck <holger.brunck@keymile.com>.
5854
9dc7c64f
AS
58552013-03-13 Andreas Schwab <schwab@suse.de>
5856
5857 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5858 instead of .os.
5859
54206aa6
JM
58602013-03-13 Joseph Myers <joseph@codesourcery.com>
5861
5862 * timezone/zic.c: Update from tzcode 2013b.
5863
e98cdb38
CD
58642013-03-12 Carlos O'Donell <carlos@redhat.com>
5865
5866 * manual/install.texi (Configuring and compiling):
5867 Mention i686 and i586.
5868 * INSTALL: Regenerate.
5869
9967e003
RM
58702013-03-12 Roland McGrath <roland@hack.frob.com>
5871
5872 * sysdeps/init_array/elf-init.c: New file.
5873 * csu/elf-init.c
5874 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5875 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5876
5877 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5878 __gmon_start__ as global, but as static with a .preinit_array pointer.
5879 * sysdeps/init_array/gmon-start.c: New file. Use that.
5880 * sysdeps/init_array/crti.S: New file, empty except for comments.
5881 * sysdeps/init_array/crtn.S: Likewise.
5882
e6b5a293 58832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5884
5885 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5886 definining bcopy.
80f844c9
OB
5887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5888 Remove Prefer_SSE_for_memop.
5889 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5890 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5891 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5893 memset-x86-64.
80f844c9 5894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5895 Remove bzero, memset ifunc support.
80f844c9
OB
5896 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5897 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5898 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5899 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5900
fb6b0fcb
AS
59012013-03-11 Andreas Schwab <schwab@suse.de>
5902
5903 [BZ #15234]
5904 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5905 by SHLIB_COMPAT.
5906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5907 (GLIBC_2.16): Remove pthread_atfork.
5908
3e6bd4b1
PP
59092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5910
5911 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5912 (ptestcases.h): Likewise.
5913
222d7f00
RM
59142013-03-08 Roland McGrath <roland@hack.frob.com>
5915
5916 * Makeconfig ($(common-objpfx)config.status): Depend on
5917 sysdeps/*/preconfigure{,.in} too.
5918
1ba4f030
JM
59192013-03-08 Joseph Myers <joseph@codesourcery.com>
5920
a222d91a
JM
5921 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5922 (__free_hook): Use void * instead of __malloc_ptr_t.
5923 (__malloc_hook): Likewise.
5924 (__realloc_hook): Likewise.
5925 (__memalign_hook): Likewise.
5926 (__after_morecore_hook): Likewise.
5927 * malloc/arena.c (save_malloc_hook): Likewise.
5928 (save_free_hook): Likewise.
5929 * malloc/hooks.c (malloc_hook_ini): Likewise.
5930 (realloc_hook_ini): Likewise.
5931 (memalign_hook_ini): Likewise.
5932 * malloc/malloc.c (malloc_hook_ini): Likewise.
5933 (realloc_hook_ini): Likewise.
5934 (memalign_hook_ini): Likewise.
5935 (__free_hook): Likewise.
5936 (__malloc_hook): Likewise.
5937 (__realloc_hook): Likewise.
5938 (__memalign_hook): Likewise.
5939 (__libc_malloc): Likewise.
5940 (__libc_free): Likewise.
5941 (__libc_realloc): Likewise.
5942 (__libc_memalign): Likewise.
5943 (__libc_valloc): Likewise.
5944 (__libc_pvalloc): Likewise.
5945 (__libc_calloc): Likewise.
5946 (__posix_memalign): Likewise.
5947 * malloc/morecore.c (__sbrk): Likewise.
5948 (__default_morecore): Likewise.
5949
5cc45e10
JM
5950 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5951
dd54b864
JM
5952 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5953 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5954 __malloc_ptrdiff_t.
5955
1ba4f030
JM
5956 * malloc/malloc.h (__malloc_size_t): Remove macro.
5957 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5958 __malloc_size_t.
5959 (old_memalign_hook): Likewise.
5960 (old_realloc_hook): Likewise.
5961 (struct hdr): Likewise.
5962 (flood): Likewise.
5963 (mallochook): Likewise.
5964 (memalignhook): Likewise.
5965 (reallochook): Likewise.
5966 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5967 (tr_old_realloc_hook): Likewise.
5968 (tr_old_memalign_hook): Likewise.
5969 (tr_mallochook): Likewise.
5970 (tr_reallochook): Likewise.
5971 (tr_memalignhook): Likewise.
5972
edf66e57
AZ
59732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5976 default_ldbl_pack and using as default implementation.
5977 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5978 implementation.
5979 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5980 redundant definition.
5981 (ldbl_insert_mantissa): Likewise.
5982 (ldbl_canonicalize): Likewise.
5983 (ldbl_nearbyint): Likewise.
5984 (ldbl_pack): Rename to ldbl_pack_ppc.
5985 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5986 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5987 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5988
6d9145d8
SP
59892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5990
5991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5992 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5994 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5997 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5998 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5999
4dd4e157
AJ
60002013-03-07 Andreas Jaeger <aj@suse.de>
6001
6002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6003 bits/mman-linux.h.
6004
adbb8027
SP
60052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6006
ce544b5b
SP
6007 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6008 Include mpa.h and declare __MPEXP.
6009 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6011 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6014 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6016
4cc149fd
SP
6017 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6018 (__slowpow): Use long double EXPL and LOGL functions to
6019 compute POW.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6021 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6023 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6024 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6025 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6026
e6ebd4a7
SP
6027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6028 intermediate variable to calculate exponent.
6029 (__sqr): Likewise.
6030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6031 Likewise.
6032 (__sqr): Likewise.
6033
82a9811d
SP
6034 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6035 [!NO__SQR]: Define __sqr.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6037 and NO__SQR. Remove all code except __mul and __sqr. Include
6038 sysdeps/ieee754/dbl-64/mpa.c.
6039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6040
adbb8027
SP
6041 [BZ #12723]
6042 * posix/Makefile (tests): Add tst-pathconf.
6043 * posix/tst-pathconf.c: New test case.
6044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6045 _PC_PIPE_BUF.
6046 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6047
39120df9
PF
60482013-03-06 Patsy Franklin <pfrankli@redhat.com>
6049
6050 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6051
67525cb8
AJ
60522013-03-06 Andreas Jaeger <aj@suse.de>
6053
664a9ce4
AJ
6054 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6055 definition via __MAP_ANONYMOUS.
6056
8e39047d
AJ
6057 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6058 it's not part of Linux headers.
6059
67525cb8
AJ
6060 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6061 (MAP_HUGE_MASK): Define.
6062
6063 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6064 Define.
6065 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6067 Define.
6068 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6069 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6070 Define.
6071 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6073 Define.
6074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6075
6076 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6077 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6078 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6079 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6080 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6082
6083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6084 Handle f2fs.
6085
6086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6087 Handle f2fs and efivarfs.
6088
6089 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6090 f2fs.
6091
6092 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6093 (EFIVARFS_MAGIC): Add.
6094 (F2FS_LINK_MAX): Add.
6095
e1b42695
PP
60962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6097
6098 * stdio-common/vfprintf.c: Replace __builtin_expect with
6099 __glibc_unlikely.
6100
2d67d91a
JM
61012013-03-06 Joseph Myers <joseph@codesourcery.com>
6102
6103 [BZ #13550]
6104 * sysdeps/generic/bp-sym.h: Remove file.
6105 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6106 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6107 <bp-sym.h> and <bp-asm.h>.
6108 (__longjmp): Don't use BP_SYM.
6109 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6110 and <bp-asm.h>.
6111 (memcpy): Don't use BP_SYM.
6112 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6113 <bp-sym.h> and <bp-asm.h>.
6114 (memcpy): Don't use BP_SYM.
6115 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6116 <bp-asm.h>.
6117 (memcpy): Don't use BP_SYM.
6118 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6119 <bp-asm.h>.
6120 (memset): Don't use BP_SYM.
6121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6123 (__bzero): Don't use BP_SYM.
6124 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6125 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6127 <bp-sym.h> and <bp-asm.h>.
6128 (memcmp): Don't use BP_SYM. Remove comment about bounded
6129 pointers.
6130 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6131 <bp-sym.h> and <bp-asm.h>.
6132 (memcpy): Don't use BP_SYM.
6133 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6134 <bp-sym.h> and <bp-asm.h>.
6135 (memset): Don't use BP_SYM.
6136 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6137 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6138 (__bzero): Don't use BP_SYM.
6139 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6140 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6141 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6142 <bp-sym.h> and <bp-asm.h>.
6143 (strncmp): Don't use BP_SYM. Remove comment about bounded
6144 pointers.
6145 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6146 <bp-sym.h> and <bp-asm.h>.
6147 (memcpy): Don't use BP_SYM.
6148 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6149 <bp-sym.h> and <bp-asm.h>.
6150 (memset): Don't use BP_SYM.
6151 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6152 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6153 (__bzero): Don't use BP_SYM.
6154 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6155 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6156 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6157 <bp-sym.h> and <bp-asm.h>.
6158 (__memchr): Don't use BP_SYM.
6159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6160 <bp-sym.h> and <bp-asm.h>.
6161 (memcmp): Don't use BP_SYM. Remove comment about bounded
6162 pointers.
6163 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6164 <bp-sym.h> and <bp-asm.h>.
6165 (memcpy): Don't use BP_SYM.
6166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6167 <bp-sym.h> and <bp-asm.h>.
6168 (__mempcpy): Don't use BP_SYM.
6169 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6170 <bp-sym.h> and <bp-asm.h>.
6171 (__memrchr): Don't use BP_SYM.
6172 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6173 <bp-sym.h> and <bp-asm.h>.
6174 (memset): Don't use BP_SYM.
6175 (__bzero): Likewise.
6176 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6177 <bp-sym.h> and <bp-asm.h>.
6178 (__rawmemchr): Don't use BP_SYM.
6179 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6180 <bp-sym.h> and <bp-asm.h>.
6181 (__STRCMP): Don't use BP_SYM.
6182 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6183 <bp-sym.h> and <bp-asm.h>.
6184 (strchr): Don't use BP_SYM.
6185 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6186 <bp-sym.h> and <bp-asm.h>.
6187 (__strchrnul): Don't use BP_SYM.
6188 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6189 <bp-sym.h> and <bp-asm.h>.
6190 (strlen): Don't use BP_SYM.
6191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6192 <bp-sym.h> and <bp-asm.h>.
6193 (strncmp): Don't use BP_SYM. Remove comment about bounded
6194 pointers.
6195 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6196 <bp-sym.h> and <bp-asm.h>.
6197 (__strnlen): Don't use BP_SYM.
6198 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6199 <bp-sym.h> and <bp-asm.h>.
6200 (__GI__setjmp): Don't use BP_SYM.
6201 (_setjmp): Likewise.
6202 (__sigsetjmp): Likewise.
6203 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6204 (L(start_addresses)): Don't use BP_SYM.
6205 (_start): Likewise.
6206 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6207 <bp-asm.h>.
6208 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6209 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6210 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6211 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6212 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6213 <bp-asm.h>.
6214 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6215 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6216 about bounded pointers.
6217 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6218 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6219 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6220 <bp-asm.h>.
6221 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6222 about bounded pointers. Remove GKM FIXME comments.
6223 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6224 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6225 <bp-asm.h>.
6226 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6227 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6228 Remove GKM FIXME comments.
6229 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6230 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6231 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6232 <bp-asm.h>.
6233 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6234 about bounded pointers. Remove GKM FIXME comment.
6235 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6236 and <bp-asm.h>.
6237 (strncmp): Don't use BP_SYM. Remove comment about bounded
6238 pointers.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6240 <bp-sym.h> and <bp-asm.h>.
6241 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6243 <bp-sym.h> and <bp-asm.h>.
6244 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6245 comment.
6246
cdcf361f
PP
62472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6248
6249 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6250 call free(NULL).
6251
3c4a2b15
DM
62522013-03-05 David S. Miller <davem@davemloft.net>
6253
6254 * po/es.po: Update from translation team.
6255
cdcf361f 62562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6257
6258 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6259 <bits/mman-linux.h>.
6260 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6261 is fine.
6262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6263 <bits/mman-linux.h> to end of file.
6264 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6265 is fine.
6266 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6267 <bits/mman-linux.h> to end of file.
6268 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6269 is fine.
6270 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6271 <bits/mman-linux.h> to end of file.
6272
6273 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6274 (MCL_CURRENT, MCL_FUTURE): Define here.
6275
5f67c04f
AK
62762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6277
8a4473cc 6278 [BZ #15232]
5f67c04f
AK
6279 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6280 attribute_hidden.
6281 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6282
c3e94a95
AK
62832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6284
6285 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6286 fourth parameter needed for rt_sigprocmask syscall.
6287 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6288 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6290 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6293
cfb6382a
JM
62942013-03-04 Joseph Myers <joseph@codesourcery.com>
6295
6296 [BZ #13550]
6297 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6298 comment about bounded pointers.
6299 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6300 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6301
539d8e01
AJ
63022013-03-04 Andreas Jaeger <aj@suse.de>
6303
6304 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6305 common definitions.
6306
6307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6308 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6309 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6313
2e167a70 63142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6315
6316 [BZ #15055]
6317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6318 __ieee754_sqrl instead of __sqrl.
6319
68508633
JM
63202013-03-01 Joseph Myers <joseph@codesourcery.com>
6321
6322 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6323 * sysdeps/powerpc/fpu_control.h: ... here.
6324 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6325 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6326 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6327 * sysdeps/powerpc/bits/mathinline.h: ... here.
6328
7775448e
RM
63292013-03-01 Roland McGrath <roland@hack.frob.com>
6330
6331 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6332 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6333 to just [NEED_DL_SYSINFO_DSO].
6334 * elf/dl-support.c: Likewise.
6335 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6336 * elf/rtld.c (dl_main): Likewise.
6337 * elf/setup-vdso.h (setup_vdso): Likewise.
6338 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6339 * sysdeps/unix/sysv/linux/dl-sysdep.c
6340 (_dl_discover_osversion): Likewise.
6341
4e9b5995
CD
63422013-03-01 Carlos O'Donell <carlos@redhat.com>
6343
6344 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6345 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6346
e23872c8
SP
63472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6348
e5c74c63
SP
6349 * NEWS: Mention libm performance improvements and non-x86 PI
6350 futex support.
6351
e23872c8
SP
6352 * csu/libc-start.c (__pthread_initialize_minimal): Change
6353 function arguments.
6354 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6355
b5510883
JM
63562013-02-28 Joseph Myers <joseph@codesourcery.com>
6357
6358 [BZ #13550]
6359 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6360 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6361 <bp-sym.h> and <bp-asm.h>.
6362 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6363 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6364 and <bp-asm.h>.
6365 (memcpy): Don't use BP_SYM.
6366 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6367 <bp-asm.h>.
6368 (__mpn_add_n): Don't use BP_SYM.
6369 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6370 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6371 and <bp-asm.h>.
6372 (__mpn_addmul_1): Don't use BP_SYM.
6373 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6374 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6375 <bp-sym.h>.
6376 (_setjmp): Don't use BP_SYM.
6377 (__novmx_setjmp): Likewise.
6378 (__GI__setjmp): Likewise.
6379 (__vmx_setjmp): Likewise.
6380 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6381 <bp-sym.h>.
6382 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6383 (__bzero): Don't use BP_SYM.
6384 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6385 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6386 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (memcpy): Don't use BP_SYM.
6389 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6390 <bp-sym.h> and <bp-asm.h>.
6391 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6392 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6393 <bp-sym.h> and <bp-asm.h>.
6394 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6395 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6396 <bp-asm.h>.
6397 (__mpn_lshift): Don't use BP_SYM.
6398 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6399 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6400 <bp-asm.h>.
6401 (memset): Don't use BP_SYM.
6402 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6403 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6404 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6405 <bp-asm.h>.
6406 (__mpn_mul_1): Don't use BP_SYM.
6407 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6409 <bp-sym.h> and <bp-asm.h>.
6410 (memcmp): Don't use BP_SYM.
6411 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6412 <bp-sym.h> and <bp-asm.h>.
6413 (memcpy): Don't use BP_SYM.
6414 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6415 <bp-sym.h> and <bp-asm.h>.
6416 (memset): Don't use BP_SYM.
6417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6418 <bp-sym.h> and <bp-asm.h>.
6419 (strncmp): Don't use BP_SYM.
6420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6421 <bp-sym.h> and <bp-asm.h>.
6422 (memcpy): Don't use BP_SYM.
6423 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6424 <bp-sym.h> and <bp-asm.h>.
6425 (memset): Don't use BP_SYM.
6426 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6427 <bp-sym.h> and <bp-asm.h>.
6428 (__memchr): Don't use BP_SYM.
6429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6430 <bp-sym.h> and <bp-asm.h>.
6431 (memcmp): Don't use BP_SYM.
6432 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6433 <bp-sym.h> and <bp-asm.h>.
6434 (memcpy): Don't use BP_SYM.
6435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6436 <bp-sym.h> and <bp-asm.h>.
6437 (__mempcpy): Don't use BP_SYM.
6438 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (__memrchr): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (memset): Don't use BP_SYM.
6444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (__rawmemchr): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6448 <bp-sym.h> and <bp-asm.h>.
6449 (__STRCMP): Don't use BP_SYM.
6450 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6451 <bp-sym.h> and <bp-asm.h>.
6452 (strchr): Don't use BP_SYM.
6453 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6454 <bp-sym.h> and <bp-asm.h>.
6455 (__strchrnul): Don't use BP_SYM.
6456 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6457 <bp-sym.h> and <bp-asm.h>.
6458 (strlen): Don't use BP_SYM.
6459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6460 <bp-sym.h> and <bp-asm.h>.
6461 (strncmp): Don't use BP_SYM.
6462 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6463 <bp-sym.h> and <bp-asm.h>.
6464 (__strnlen): Don't use BP_SYM.
6465 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6466 <bp-asm.h>.
6467 (__mpn_rshift): Don't use BP_SYM.
6468 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6469 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (__sigsetjmp): Don't use BP_SYM.
6472 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6473 (L(start_addresses)): Don't use BP_SYM.
6474 (_start): Likewise.
6475 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6476 <bp-asm.h>.
6477 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6478 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6479 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6480 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6481 <bp-asm.h>.
6482 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6483 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6484 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6485 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6486 <bp-asm.h>.
6487 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6488 comments.
6489 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6490 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6491 <bp-asm.h>.
6492 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6493 FIXME comments.
6494 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6495 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6496 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6497 <bp-asm.h>.
6498 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6499 comment.
6500 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6501 and <bp-asm.h>.
6502 (strncmp): Don't use BP_SYM,
6503 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6504 <bp-asm.h>.
6505 (__mpn_sub_n): Don't use BP_SYM.
6506 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6507 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6508 and <bp-asm.h>.
6509 (__mpn_submul_1): Don't use BP_SYM.
6510 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6517 comment.
6518
8d19fe64
SP
65192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6520
6521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6522 Use ZK to minimize writes to Z.
6523 (sub_magnitudes): Simplify code a bit.
6524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6525 Use ZK to minimize writes to Z.
6526 (sub_magnitudes): Simplify code a bit.
6527
85bd816a
RM
65282013-02-27 Roland McGrath <roland@hack.frob.com>
6529
6530 * csu/gmon-start.c: Add special exception to license text.
6531
b5977bf2
RH
65322013-02-27 Richard Henderson <rth@redhat.com>
6533
6534 * scripts/config.guess: Update from config.git.
6535 * scripts/config.sub: Likewise.
6536
11d6e2f2
SP
65372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
09c14ed2
SP
6539 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6540
a688864e
SP
6541 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6542
6295157a
SP
6543 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6544
b8de2202
SP
6545 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6546
11d6e2f2
SP
6547 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6548
7e80ddb8
RM
65492013-02-26 Roland McGrath <roland@hack.frob.com>
6550
6551 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6552 [$(build-shared = yes].
7e80ddb8 6553
7da6d9ed
SP
65542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
45f05884
SP
6556 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6557 (__mul): Reduce iterations for calculating mantissa.
6558
2236d359
SP
6559 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6560 MPTWO.
6561 (__mpranred): Likewise.
6562
7da6d9ed
SP
6563 [BZ #15160]
6564 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6565 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6566
b7688c42
PE
65672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6568
6569 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6570 Define __attribute__.
6571
53a5c423
SP
65722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6573
6574 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6575 unused.
6576 * posix/regex_internal.h (__attribute): Remove.
6577 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6578 (re_string_context_at): Likewise.
6579 (bitset_not): Use __attribute__ and mark function as possibly
6580 unused.
6581 (bitset_merge): Likewise.
6582 (bitset_mask): Likewise.
6583 (re_string_char_size_at): Likewise.
6584 (re_string_wchar_at): Likewise.
6585 (re_string_elem_size_at): Likewise.
6586
60f5a8b5
SP
65872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6588
2a983a2e
SP
6589 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6590 code.
6591 (cc32): Likewise.
6592
e69804d1
SP
6593 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6594 (__acr): Likewise.
6595 (__cpy): Likewise.
6596 (norm): Likewise.
6597 (denorm): Likewise.
6598 (__dbl_mp): Likewise.
6599 (add_magnitudes): Likewise.
6600 (sub_magnitudes): Likewise.
6601 (__mul): Likewise.
6602 (__inv): Likewise.
6603
2f22a1e8
SP
6604 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6605 style.
6606
8930ddc7
SP
6607 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6608 style.
6609
dc60cb11
SP
6610 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6611 code.
6612
60f5a8b5
SP
6613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6614 up changes with default code.
6615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6616 Likewise.
6617
b4d1fd33
AM
66182013-02-24 Allan McRae <allan@archlinux.org>
6619
faf6f8bc
AM
6620 * manual/socket.texi (The Internet Namespace): Order menu items
6621 to match that in the file.
6622
b4d1fd33
AM
6623 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6624 node listing of the info page menu.
6625
2366713d
JM
66262013-02-21 Joseph Myers <joseph@codesourcery.com>
6627
6628 [BZ #13550]
6629 * sysdeps/i386/bp-asm.h: Remove file.
6630 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6631 (PARMS): Do not use macros from bp-asm.h.
6632 (S1): Likewise.
6633 (S2): Likewise.
6634 (SIZE): Likewise.
6635 (__mpn_add_n): Do not use BP_SYM
6636 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6637 "bp-asm.h".
6638 (PARMS): Do not use macros from bp-asm.h.
6639 (S1): Likewise.
6640 (SIZE): Likewise.
6641 (__mpn_addmul_1): Do not use BP_SYM
6642 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6643 "bp-asm.h".
6644 (PARMS): Do not use macros from bp-asm.h.
6645 (SIGMSK): Likewise.
6646 (_setjmp): Likewise. Do not use BP_SYM.
6647 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6648 "bp-asm.h".
6649 (PARMS): Do not use macros from bp-asm.h.
6650 (SIGMSK): Likewise.
6651 (setjmp): Likewise. Do not use BP_SYM.
6652 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6653 "bp-asm.h".
6654 (PARMS): Do not use macros from bp-asm.h.
6655 (__frexp): Do not use BP_SYM.
6656 (frexp): Likewise.
6657 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6658 "bp-asm.h".
6659 (PARMS): Do not use macros from bp-asm.h.
6660 (__frexpf): Do not use BP_SYM.
6661 (frexpf): Likewise.
6662 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6663 "bp-asm.h".
6664 (PARMS): Do not use macros from bp-asm.h.
6665 (__frexpl): Do not use BP_SYM.
6666 (frexpl): Likewise.
6667 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6668 "bp-asm.h".
6669 (PARMS): Do not use macros from bp-asm.h.
6670 (__remquo): Do not use BP_SYM.
6671 (remquo): Likewise.
6672 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6673 "bp-asm.h".
6674 (PARMS): Do not use macros from bp-asm.h.
6675 (__remquof): Do not use BP_SYM.
6676 (remquof): Likewise.
6677 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6678 "bp-asm.h".
6679 (PARMS): Do not use macros from bp-asm.h.
6680 (__remquol): Do not use BP_SYM.
6681 (remquol): Likewise.
6682 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6683 "bp-asm.h".
6684 (PARMS): Do not use macros from bp-asm.h.
6685 (DEST): Likewise.
6686 (SRC): Likewise.
6687 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6688 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6689 "bp-asm.h".
6690 (PARMS): Do not use macros from bp-asm.h.
6691 (strlen): Do not use BP_SYM.
6692 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
6697 (SIZE): Likewise.
6698 (__mpn_add_n): Do not use BP_SYM.
6699 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6700 "bp-asm.h".
6701 (PARMS): Do not use macros from bp-asm.h.
6702 (S1): Likewise.
6703 (SIZE): Likewise.
6704 (__mpn_addmul_1): Do not use BP_SYM.
6705 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6706 weak_alias.
6707 (bzero): Likewise.
6708 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6709 "bp-asm.h".
6710 (PARMS): Do not use macros from bp-asm.h.
6711 (S): Likewise.
6712 (SIZE): Likewise.
6713 (__mpn_lshift): Do not use BP_SYM.
6714 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6715 "bp-asm.h".
6716 (PARMS): Do not use macros from bp-asm.h.
6717 (DEST): Likewise.
6718 (SRC): Likewise.
6719 (LEN): Likewise.
6720 (memcpy): Likewise. Do not use BP_SYM.
6721 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6722 libc_hidden_def and weak_alias.
6723 (mempcpy): Do not use BP_SYM in weak_alias.
6724 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6725 "bp-asm.h".
6726 (PARMS): Do not use macros from bp-asm.h.
6727 (DEST): Likewise.
6728 (LEN): Likewise.
6729 [!BZERO_P] (CHR): Likewise.
6730 (memset): Likewise. Do not use BP_SYM.
6731 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6732 "bp-asm.h".
6733 (PARMS): Do not use macros from bp-asm.h.
6734 (S1): Likewise.
6735 (SIZE): Likewise.
6736 (__mpn_mul_1): Do not use BP_SYM.
6737 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6738 "bp-asm.h".
6739 (PARMS): Do not use macros from bp-asm.h.
6740 (S): Likewise.
6741 (SIZE): Likewise.
6742 (__mpn_rshift): Do not use BP_SYM.
6743 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6744 "bp-asm.h".
6745 (PARMS): Do not use macros from bp-asm.h.
6746 (STR): Likewise.
6747 (CHR): Likewise.
6748 (strchr): Likewise. Do not use BP_SYM.
6749 (index): Do not use BP_SYM in weak_alias.
6750 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6751 "bp-asm.h".
6752 (PARMS): Do not use macros from bp-asm.h.
6753 (DEST): Likewise.
6754 (SRC): Likewise.
6755 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6756 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6757 "bp-asm.h".
6758 (PARMS): Do not use macros from bp-asm.h.
6759 (strlen): Do not use BP_SYM.
6760 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
6765 (SIZE): Likewise.
6766 (__mpn_sub_n): Do not use BP_SYM.
6767 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6768 "bp-asm.h".
6769 (PARMS): Do not use macros from bp-asm.h.
6770 (S1): Likewise.
6771 (SIZE): Likewise.
6772 (__mpn_submul_1): Do not use BP_SYM.
6773 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6774 "bp-asm.h".
6775 (PARMS): Do not use macros from bp-asm.h.
6776 (S1): Likewise.
6777 (S2): Likewise.
6778 (SIZE): Likewise.
6779 (__mpn_add_n): Do not use BP_SYM.
6780 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6781 weak_alias.
6782 (bzero): Likewise.
6783 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 (PARMS): Do not use macros from bp-asm.h.
6786 (BLK2): Likewise.
6787 (LEN): Likewise.
6788 (memcmp): Do not use BP_SYM.
6789 (bcmp): Do not use BP_SYM in weak_alias.
6790 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
6797 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
6804 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6805 "bp-asm.h".
6806 (PARMS): Do not use macros from bp-asm.h.
6807 (DEST): Likewise.
6808 (SRC): Likewise.
6809 (LEN): Likewise.
6810 (__mempcpy): Likewise. Do not use BP_SYM.
6811 (mempcpy): Do not use BP_SYM in weak_alias.
6812 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6813 "bp-asm.h".
6814 (PARMS): Do not use macros from bp-asm.h.
6815 (DEST): Likewise.
6816 (LEN): Likewise.
6817 [!BZERO_P] (CHR): Likewise.
6818 (memset): Likewise. Do not use BP_SYM.
6819 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6820 "bp-asm.h".
6821 (PARMS): Do not use macros from bp-asm.h.
6822 (STR2): Likewise.
6823 (strcmp): Do not use BP_SYM.
6824 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6825 "bp-asm.h".
6826 (PARMS): Do not use macros from bp-asm.h.
6827 (STR): Likewise.
6828 (DELIM): Likewise.
6829 [USE_AS_STRTOK_R] (SAVE): Likewise.
6830 (FUNCTION): Likewise. Do not use BP_SYM.
6831 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6832 aliases.
6833 (strtok_r): Likewise.
6834 (__GI___strtok_r): Likewise.
6835 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6836 (PARMS): Do not use macros from bp-asm.h.
6837 (S): Likewise.
6838 (SIZE): Likewise.
6839 (__mpn_lshift): Do not use BP_SYM.
6840 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6841 (PARMS): Do not use macros from bp-asm.h.
6842 (STR): Likewise.
6843 (CHR): Likewise.
6844 (__memchr): Do not use BP_SYM.
6845 (memchr): Do not use BP_SYM in weak_alias.
6846 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6847 (PARMS): Do not use macros from bp-asm.h.
6848 (BLK2): Likewise.
6849 (LEN): Likewise.
6850 (memcmp): Do not use BP_SYM.
6851 (bcmp): Do not use BP_SYM in weak_alias.
6852 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6853 (PARMS): Do not use macros from bp-asm.h.
6854 (S1): Likewise.
6855 (SIZE): Likewise.
6856 (__mpn_mul_1): Do not use BP_SYM.
6857 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6858 "bp-asm.h".
6859 (PARMS): Do not use macros from bp-asm.h.
6860 (STR): Likewise.
6861 (CHR): Likewise.
6862 (__rawmemchr): Do not use BP_SYM.
6863 (rawmemchr): Do not use BP_SYM in weak_alias.
6864 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6865 (PARMS): Do not use macros from bp-asm.h.
6866 (S): Likewise.
6867 (SIZE): Likewise.
6868 (__mpn_rshift): Do not use BP_SYM.
6869 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6870 (PARMS): Do not use macros from bp-asm.h.
6871 (SIGMSK): Likewise.
6872 (__sigsetjmp): Likewise. Do not use BP_SYM.
6873 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6874 (_start): Do not use BP_SYM.
6875 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6876 (PARMS): Do not use macros from bp-asm.h.
6877 (DEST): Likewise.
6878 (SRC): Likewise.
6879 (__stpcpy): Likewise. Do not use BP_SYM.
6880 (stpcpy): Do not use BP_SYM in weak_alias.
6881 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6882 "bp-asm.h".
6883 (PARMS): Do not use macros from bp-asm.h.
6884 (DEST): Likewise.
6885 (SRC): Likewise.
6886 (LEN): Likewise.
6887 (__stpncpy): Likewise. Do not use BP_SYM.
6888 (stpncpy): Do not use BP_SYM in weak_alias.
6889 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6890 (PARMS): Do not use macros from bp-asm.h.
6891 (STR): Likewise.
6892 (CHR): Likewise.
6893 (strchr): Likewise. Do not use BP_SYM.
6894 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6895 "bp-asm.h".
6896 (PARMS): Do not use macros from bp-asm.h.
6897 (STR): Likewise.
6898 (CHR): Likewise.
6899 (__strchrnul): Likewise. Do not use BP_SYM.
6900 (strchrnul): Do not use BP_SYM in weak_alias.
6901 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6902 "bp-asm.h".
6903 (PARMS): Do not use macros from bp-asm.h.
6904 (STOP): Likewise.
6905 (strcspn): Do not use BP_SYM.
6906 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6907 "bp-asm.h".
6908 (PARMS): Do not use macros from bp-asm.h.
6909 (STR): Likewise.
6910 (STOP): Likewise.
6911 (strpbrk): Likewise. Do not use BP_SYM.
6912 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6913 "bp-asm.h".
6914 (PARMS): Do not use macros from bp-asm.h.
6915 (STR): Likewise.
6916 (CHR): Likewise.
6917 (strrchr): Likewise. Do not use BP_SYM.
6918 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6919 (PARMS): Do not use macros from bp-asm.h.
6920 (SKIP): Likewise.
6921 (strspn): Do not use BP_SYM.
6922 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6923 (PARMS): Do not use macros from bp-asm.h.
6924 (STR): Likewise.
6925 (DELIM): Likewise.
6926 (SAVE): Likewise.
6927 (FUNCTION): Likewise. Do not use BP_SYM.
6928 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6929 aliases.
6930 (strtok_r): Likewise.
6931 (__GI___strtok_r): Likewise.
6932 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6933 (PARMS): Do not use macros from bp-asm.h.
6934 (S1): Likewise.
6935 (S2): Likewise.
6936 (SIZE): Likewise.
6937 (__mpn_sub_n): Do not use BP_SYM.
6938 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6939 "bp-asm.h".
6940 (PARMS): Do not use macros from bp-asm.h.
6941 (S1): Likewise.
6942 (SIZE): Likewise.
6943 (__mpn_submul_1): Do not use BP_SYM.
6944 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6945 <bp-sym.h>.
6946 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6947 and <bp-asm.h>.
6948 (PARMS): Do not use macros from bp-asm.h.
6949 (FLAGS): Likewise.
6950 (PTID): Likewise.
6951 (TLS): Likewise.
6952 (CTID): Likewise.
6953 (__clone): Do not use BP_SYM.
6954 (clone): Do not use BP_SYM in weak_alias.
6955 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6956 and <bp-asm.h>.
6957 (PARMS): Do not use macros from bp-asm.h.
6958 (LEN): Likewise.
6959 (__mmap64): Do not use BP_SYM.
6960 (mmap64): Do not use BP_SYM in weak_alias.
6961 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6962 <bp-sym.h> and <bp-asm.h>.
6963 (PARMS): Do not use macros from bp-asm.h.
6964 (__posix_fadvise64_l64): Do not use BP_SYM.
6965 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (NSOPS): Likewise.
6968 (semtimedop): Do not use BP_SYM.
6969 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6970 and <bp-asm.h>.
6971
582a3cff
AM
69722013-02-21 Allan McRae <allan@archlinux.org>
6973
6974 * manual/message.texi (Charset conversion in gettext):
6975 Move @end statement to beginning of line.
6976
bab8a695
SP
69772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6978
80945231
SP
6979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6980 static.
6981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6982 Likewise.
6983
bab8a695
SP
6984 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6985 (denorm): Likewise.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6988
e21d7aa7
AK
69892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6990
6991 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6992 tail-call to the resolved function if pltexit isn't needed.
6993
4c7a4263
SP
69942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6995
6996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6997 or Y being zero as being unlikely.
6998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6999 Likewise.
7000
41f49342
CD
70012013-02-20 Carlos O'Donell <carlos@redhat.com>
7002
7003 * manual/nss.texi (System Databases and Name Service Switch):
7004 Remove frobnicate @pxref.
7005
50022a93
TS
70062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7007
7008 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7009 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7010
08cbd996
PM
70112013-02-20 Petr Machata <pmachata@redhat.com>
7012
7013 * elf/elf.h (R_ARM_TARGET1): New macro.
7014 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7015 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7016 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7017 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7018 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7019 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7020 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7021 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7022 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7023 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7024 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7025 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7026 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7027 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7028 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7029 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7030 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7031 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7032 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7033 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7034 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7035 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7036 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7037 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7038 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7039 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7040 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7041 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7042 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7043 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7044 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7045 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7046 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7047 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7048 (R_ARM_THM_GOT_BREL12): Likewise.
7049 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7050 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7051 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7052 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7053 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7054 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7055 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7056 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7057 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7058
c7b275d6
TS
70592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7060
7061 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7062 __attribute_used__ to __attribute__ ((unused)).
7063
20cd7fb3
SP
70642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
7066 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7067 powerpc mpa.c.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7069 comment formatting.
7070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7071
92945b52
JM
70722013-02-19 Joseph Myers <joseph@codesourcery.com>
7073
7074 [BZ #13550]
7075 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7076 Remove macro.
7077 (ENTER): Remove both macro definitions.
7078 (LEAVE): Likewise.
7079 (CHECK_BOUNDS_LOW): Likewise.
7080 (CHECK_BOUNDS_HIGH): Likewise.
7081 (CHECK_BOUNDS_BOTH): Likewise.
7082 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7083 (RETURN_BOUNDED_POINTER): Likewise.
7084 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7085 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7086 (POP_ERRNO_LOCATION_RETURN): Likewise.
7087 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7088 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7089 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7090 macros.
7091 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7092 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7093 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7094 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7095 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7096 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7097 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7098 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7099 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7100 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7101 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7102 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7103 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7104 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7105 removed macros.
7106 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7107 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7108 macros.
7109 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7110 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7111 * sysdeps/i386/i586/memset.S (memset): Likewise.
7112 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7113 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7114 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7115 macros.
7116 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7117 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7118 Change uses of L(2) to L(out).
7119 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7120 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7121 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7122 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7123 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7124 removed macros.
7125 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7126 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7127 macros.
7128 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7129 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7130 (RETURN): Do not use macro LEAVE.
7131 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7132 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7133 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7134 * sysdeps/i386/i686/memset.S (memset): Likewise.
7135 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7136 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7137 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7138 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7139 Likewise.
7140 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7141 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7142 L(1_2) and L(1_3) into L(1).
7143 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7144 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7145 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7146 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7147 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7148 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7149 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7150 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7151 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7152 macros.
7153 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7154 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7155 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7156 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7157 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7158 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7159 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7160 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7161 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7162 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7163 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7164 * sysdeps/i386/strspn.S (strspn): Likewise.
7165 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7166 conditional code.
7167 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7168 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7169 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7170 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7171 L(1_3) into L(1_1).
7172 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7174 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7175 macros.
7176 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7177
2389741a
JJ
71782013-02-19 Jakub Jelinek <jakub@redhat.com>
7179
7180 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7181 macro.
7182
2016b3cd
SP
71832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7184
e4f22324
SP
7185 * math/atest-exp.c (exp_mpn): Remove ROUND.
7186 * math/atest-exp2.c (exp_mpn): Likewise.
7187 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7188
2016b3cd
SP
7189 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7190 * stdlib/tst-tls-atexit-lib.c: Likewise.
7191 * stdlib/tst-tls-atexit.c: Likewise.
7192
4be9b544
MF
71932013-02-18 Mike Frysinger <vapier@gentoo.org>
7194
7195 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7196 and __attribute_alloc_size__.
7197
2f62b9ee
MF
71982013-02-18 Mike Frysinger <vapier@gentoo.org>
7199
7200 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7201 __attribute_alloc_size__.
7202 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7203 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7204
6ff444c4
MF
72052013-02-18 Mike Frysinger <vapier@gentoo.org>
7206
7207 * include/programs/xmalloc.h: New file.
7208 * catgets/gencat.c: Include it.
7209 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7210 * elf/pldd.c: Likewise.
7211 * iconv/iconv_charmap.c: Likewise.
7212 * iconv/iconvconfig.c: Likewise.
7213 * iconv/strtab.c: Likewise.
7214 * locale/programs/locale.c: Likewise.
7215 * locale/programs/localedef.h: Likewise.
7216 * locale/programs/simple-hash.c: Likewise.
7217 * nscd/nscd.h: Likewise.
7218 * nss/makedb.c: Likewise.
7219 * sysdeps/generic/ldconfig.h: Likewise.
7220
be179c8a
SP
72212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
ba384f6e
SP
7223 * Versions.def: Add GLIBC_2.18.
7224 * include/link.h (struct link_map): New member l_tls_dtor_count.
7225 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7226 (__call_tls_dtors): Likewise.
7227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7228 __cxa_thread_atexit_impl.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7230 Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7232 Likewise.
7233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7234 Likewise.
7235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7236 Likewise.
7237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7239 Likewise.
7240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7241 Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7244 Likewise.
7245 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7246 (tests): Add test case tst-tls-atexit.
7247 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7248 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7249 (GLIBC_PRIVATE): Add __call_tls_dtors.
7250 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7251 for libstdc++.
7252 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7253 * stdlib/tst-tls-atexit.c: New test case.
7254 * stdlib/tst-tls-atexit-lib.c: New test case.
7255
ffaa74cf 7256 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7257
be179c8a
SP
7258 * elf/Versions (ld): Add _dl_find_dso_for_object.
7259 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7260 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7261 (dl_open_worker): Use _dl_find_dso_for_object.
7262 * elf/dl-sym.c (do_sym): Likewise.
7263 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7264
f78b5caa
AK
72652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7266
7267 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7268 Syntactic changes only.
7269 (_dl_runtime_profile): Do a tail-call to the resolved function.
7270
29691210
JM
72712013-02-17 Joseph Myers <joseph@codesourcery.com>
7272
7273 [BZ #13550]
7274 * sysdeps/x86_64/bp-asm.h: Remove file.
7275 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7276 <bp-sym.h> and <bp-asm.h>.
7277 (__clone): Do not use BP_SYM.
7278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7279 <bp-sym.h> and <bp-asm.h>.
7280 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7281 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7282 "bp-asm.h".
7283 (_setjmp): Do not use BP_SYM.
7284 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7285 "bp-asm.h".
7286 (setjmp): Do not use BP_SYM.
7287 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7288 libc_hidden_def.
7289 (mempcpy): Do not use BP_SYM in weak_alias.
7290 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7291 "bp-asm.h".
7292 (strchr): Do not use BP_SYM.
7293 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7294 "bp-asm.h".
7295 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7296 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7297 (_start): Do not use BP_SYM.
7298 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7299 "bp-asm.h".
7300 (strcat): Do not use BP_SYM.
7301 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7302 "bp-asm.h".
7303 (STRCMP): Do not use BP_SYM.
7304 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7305 "bp-asm.h".
7306 (STRCPY): Do not use BP_SYM.
7307 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7308 "bp-asm.h".
7309 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7310 "bp-asm.h".
7311 (FUNCTION): Do not use BP_SYM.
7312 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7313 weak_alias.
7314 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7315
f238fd19
AJ
73162013-02-17 Andreas Jaeger <aj@suse.de>
7317
7318 * time/Versions: Sort entries.
7319 * string/Versions: Likewise.
7320 * resolv/Versions: Likewise.
7321 * posix/Versions: Likewise.
7322 * iconv/Versions: Likewise.
7323 * elf/Versions: Likewise.
7324 * wcsmbs/Versions: Likewise.
7325
bd07f23c 73262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7327
22af19f9
SP
7328 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7329 loop termination condition.
7330
4709fe76
SP
7331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7332 variable to calculate EZ.
7333 (__sqr): Likewise.
2d0e0f29
SP
7334
7335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7336 the lower precision input.
7337
daaa7713
JM
73382013-02-15 Joseph Myers <joseph@codesourcery.com>
7339
7340 [BZ #13550]
7341 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7342 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7343 (run-via-rtld-prefix): Do not handle %-bp tests.
7344 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7345 (all-object-suffixes): Remove .ob.
7346 (bppfx): Remove variable.
7347 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7348 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7349 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7350 [$(build-bounded) = yes] (libtype.ob): Likewise.
7351 * Makerules (elide-routines.ob): Remove variable.
7352 (do-tests-clean): Do not handle *-bp.out.
7353 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7354 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7355 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7356 (tests): Do not include $(tests-bp.out).
7357 (xtests): Do not include $(xtests-bp.out).
7358 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7359 [$(build-bounded) = yes] ($(addprefix
7360 $(objpfx),$(binaries-bounded))): Remove rule.
7361 ($(objpfx)%-bp.out): Remove rule.
7362 * config.make.in (build-bounded): Remove variable.
7363 * crypt/Makefile [$(build-bounded) = yes]
7364 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7365 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7366 append to variable.
7367 [$(build-bounded) = yes] (install-lib): Likewise.
7368 [$(build-bounded) = yes] (generated): Likewise.
7369 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7370 Remove rule.
7371 * intl/Makefile [$(build-bounded) = yes]
7372 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7373 * math/Makefile [$(build-bounded) = yes]
7374 ($(tests:%=$(objpfx)%-bp): Likewise.
7375 * misc/Makefile [$(build-bounded) = yes]
7376 ($(objpfx)tst-tsearch-bp): Likewise.
7377 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7378 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7379 Remove dependency.
7380 * string/Makefile (o-objects.ob): Remove variable.
7381 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7382 (CFLAGS-.ob): Remove variable.
7383 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7384 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7385 both definitions of variable.
7386 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7387 (ASFLAGS-.ob): Remove variable.
7388
e97ed6dd
JM
73892013-02-14 Joseph Myers <joseph@codesourcery.com>
7390
2bdd4ca6
JM
7391 [BZ #13550]
7392 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7393 Remove __BOUNDED_POINTERS__ from condition.
7394 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7395 * string/bits/string2.h [!__NO_STRING_INLINES &&
7396 !__BOUNDED_POINTERS__]: Likewise.
7397 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7398 Likewise.
7399 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7400 Remove conditional code.
7401 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7402 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7403 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7404 condition.
7405
e97ed6dd
JM
7406 [BZ #13550]
7407 * csu/libc-start.c: Do not include <bp-sym.h>.
7408 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7409 * elf/dl-open.c: Do not include <bp-sym.h>.
7410 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7411 * math/fegetenv.c: Do not include <bp-sym.h>.
7412 (fegetenv): Do not use BP_SYM in versioned symbols.
7413 * nptl/sysdeps/pthread/bits/libc-lockP.h
7414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7415 <bp-sym.h>.
7416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7417 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7419 (__pthread_mutex_destroy): Likewise.
7420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7421 (__pthread_mutex_lock): Likewise.
7422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7423 (__pthread_mutex_trylock): Likewise.
7424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7425 (__pthread_mutex_unlock): Likewise.
7426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7427 (__pthread_mutexattr_init): Likewise.
7428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7429 (__pthread_mutexattr_destroy): Likewise.
7430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7431 (__pthread_mutexattr_settype): Likewise.
7432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7433 (__pthread_rwlock_init): Likewise.
7434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7435 (__pthread_rwlock_destroy): Likewise.
7436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7437 (__pthread_rwlock_rdlock): Likewise.
7438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7439 (__pthread_rwlock_tryrdlock): Likewise.
7440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7441 (__pthread_rwlock_wrlock): Likewise.
7442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7443 (__pthread_rwlock_trywrlock): Likewise.
7444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7445 (__pthread_rwlock_unlock): Likewise.
7446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7447 (__pthread_key_create): Likewise.
7448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7449 (__pthread_setspecific): Likewise.
7450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7451 (__pthread_getspecific): Likewise.
7452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7453 Likewise.
7454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7455 (_pthread_cleanup_push_defer): Likewise.
7456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7457 (_pthread_cleanup_pop_restore): Likewise.
7458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7459 (pthread_setcancelstate): Likewise.
7460 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7461 <bp-sym.h>.
7462 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7463 (memchr): Do not use BP_SYM in weak_alias.
7464 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7465 (fegetenv): Do not use BP_SYM in versioned symbols.
7466 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7467 (fesetenv): Do not use BP_SYM in versioned symbols.
7468 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7469 (feupdateenv): Do not use BP_SYM in versioned symbols.
7470 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7471 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7472 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7473 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7474 (open64): Do not use BP_SYM in weak_alias.
7475 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7476 (fegetenv): Do not use BP_SYM in versioned symbols.
7477 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7478 (fesetenv): Do not use BP_SYM in versioned symbols.
7479 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7480 (feupdateenv): Do not use BP_SYM in versioned symbols.
7481 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7482 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7483 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7484 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7485 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7486 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7488 <bp-sym.h>.
7489 (__libc_start_main): Do not use BP_SYM.
7490
d6752ccd
SP
74912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7492
cb57ce60
SP
7493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7494 redundant return line.
7495 (norm): Likewise.
7496 (denorm): Likewise.
7497 (dbl_mp): Likewise.
7498 (sub_magnitudes): Likewise.
7499 (__add): Likewise.
7500 (__sub): Likewise.
7501 (__mul): Likewise.
7502 (__inv): Likewise.
7503 (__dvd): Likewise.
7504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7505 (norm): Likewise.
7506 (denorm): Likewise.
7507 (dbl_mp): Likewise.
7508 (sub_magnitudes): Likewise.
7509 (__add): Likewise.
7510 (__sub): Likewise.
7511 (__mul): Likewise.
7512 (__inv): Likewise.
7513 (__dvd): Likewise.
7514
f414520d
SP
7515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7516 instead of __mul.
7517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7518 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7519 (cc32): Likewise.
7520
d6752ccd
SP
7521 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7522 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7524 of __mul for squares.
7525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7526 function
7527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7528 Likewise.
7529 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7531
70d9946a
JM
75322013-02-13 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #13550]
7535 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7536 code.
7537 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7538 prototype or function definition. Rename ubp_* variables and
7539 parameters. Remove argv definitions conditional on
7540 [__BOUNDED_POINTERS__].
7541 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7542 * elf/dl-runtime.c (_dl_fixup): Likewise.
7543 * include/set-hooks.h (RUN_HOOK): Likewise.
7544 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7545 definition.
7546 * string/strcpy.c (strcpy): Do not use __unbounded.
7547 * sysdeps/generic/frame.h (struct layout): Likewise.
7548 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7549 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7550 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7551 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7552 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7553 (__backtrace): Likewise.
7554 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7555 use __ptrvalue.
7556 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7557 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7558 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7559 Likewise.
7560 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7561 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7562 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7563 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7564 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7565 Do not use __unbounded.
7566 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7567 Rename __unboundedrlimits parameter to rlimits in prototype.
7568 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7569 Do not use __unbounded.
7570 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7571 not use __ptrvalue.
7572 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7573 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7574 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7575 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7576 __ptrvalue or __unbounded.
7577 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7578 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7579 use __unbounded.
7580 (__new_msgctl): Do not use __ptrvalue.
7581 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7582 __unbounded.
7583 (__libc_msgrcv): Do not use __ptrvalue.
7584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7585 startup_info): Do not use __unbounded.
7586 (__libc_start_main): Likewise. Rename ubp_* variables and
7587 parameters. Remove argv definitions conditional on
7588 [__BOUNDED_POINTERS__].
7589 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7590 __ptrvalue.
7591 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7592 use __unbounded.
7593 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7594 or __ptrvalue.
7595 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7596 use __unbounded.
7597 (__new_shmctl): Do not use __ptrvalue.
7598 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7599 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7600 Likewise.
7601 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7603 (__libc_sigaction): Likewise.
7604 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7606 Likewise.
7607 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7608
cc7834d6
OB
76092013-02-13 Ondřej Bílka <neleai@seznam.cz>
7610
ffb1ec7b 7611 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7612
7613 * string/mempcpy.c: Implement by calling memcpy.
7614
bdf02814
SP
76152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7616
c2af38aa
SP
7617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7618
4e92d59e
SP
7619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7620 evaluation.
7621
909279a5
SP
7622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7623 values in the mantissa.
7624
bdf02814
SP
7625 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7626 minimize writes to Z.
7627 (sub_magnitudes): Simplify code a bit.
7628
cd525923
RM
76292013-02-12 Roland McGrath <roland@hack.frob.com>
7630
7631 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7632 from the message. The linker prefixes all warnings with that already.
7633
7e2f0d2d
AS
76342013-02-12 Andreas Schwab <schwab@suse.de>
7635
a445af0b
AS
7636 [BZ #15078]
7637 * posix/regexec.c (extend_buffers): Add parameter min_len.
7638 (check_matching): Pass minimum needed length.
7639 (clean_state_log_if_needed): Likewise.
7640 (get_subexp): Likewise.
7641 * posix/Makefile (tests): Add bug-regex34.
7642 (bug-regex34-ENV): Define.
7643 * posix/bug-regex34.c: New file.
7644
7e2f0d2d
AS
7645 [BZ #11561]
7646 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7647 elements compare against the byte sequence of it, not its name.
7648 * posix/Makefile (tests): Add bug-regex35.
7649 (bug-regex35-ENV): Define.
7650 * posix/bug-regex35.c: New file.
7651
a175b684
TV
76522013-02-11 Tom de Vries <tom@codesourcery.com>
7653
7654 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7655 comment.
7656 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7657 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7658 (CHECK_EOL): Add undef.
7659
310998fe 76602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7661
7662 * bits/stdlib-bsearch.h: New file.
7663 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7664 * stdlib/stdlib.h: Likewise.
41eda41d 7665
8ded91fb
RM
76662013-02-11 Roland McGrath <roland@hack.frob.com>
7667
7668 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7669 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7670 declaration.
7671 * manual/search.texi (Array Search Function): Add missing const in
7672 lfind prototype.
7673 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7674 declaration to use rlim_t.
7675 (Basic Scheduling Functions): Remove erroneous const from
7676 sched_getparam prototype. Remove erroneous * from
7677 sched_get_priority_max and sched_get_priority_min prototypes.
7678 (Resource Usage): Fix summary @comment on vtimes to refer to
7679 sys/vtimes.h rather than vtimes.h.
7680 Add missing *s in vtimes prototype.
7681 (Limits on Resources): Fix ulimit prototype to return long int.
7682 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7683 prototypes to use long int rather than double.
7684 (BSD Random): Fix initstate and setstate to use char *, not void *.
7685 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7686 prototype to make second argument 'struct aiocb64 *const[]'.
7687 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7688 (Status of AIO Operations): Remove erroneous const in aio_return and
7689 aio_return64 prototypes.
7690 (Synchronizing I/O): Fix sync prototype to return void.
7691 * manual/startup.texi (Suboptions): Remove an erroneous const in
7692 getsubopt prototype.
7693 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7694 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7695 use size_t rather than int.
7696 (Scanning All Users): Likewise for getpwent_r.
7697 (Setting Groups): Add missing const to setgroups prototype.
7698 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7699 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7700 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7701 'const void *' rather than 'const char *'.
7702 (Host Address Functions): Likewise for inet_ntop.
7703 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7704 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7705 ssize_t for return value.
7706 (Sending Data): Likewise for send, sendto, sendmsg.
7707 (Socket Option Functions): Add a missing const in setsockopt prototype.
7708 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7709 use wchar_t for the argument.
7710 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7711 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7712 take no arguments.
7713 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7714 double/float/long double for second argument.
7715 Fix return types of significand, significandf, significandl.
7716 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7717 argument in fchmod prototype.
7718 (File Owner): Use uid_t and gid_t in fchown prototype.
7719 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7720 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7721 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7722 use 'const struct dirent **' as argument types to CMP function pointer
7723 argument.
7724 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7725 (File Times): Fix summary magic @comment for struct utimbuf and utime
7726 to refer to utime.h, not time.h.
7727 * manual/string.texi (Argz Functions): Add missing const in
7728 argz_extract and argz_next prototypes.
7729 (Finding Tokens in a String): Likewise for basename.
7730 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7731 (Copying and Concatenation): Fix typo in wmemmove prototype.
7732 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7733 (Signal Stack): Remove erroneous const in sigstack prototype.
7734 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7735 prototype.
7736 (Simple Calendar Time): Likewise for stime.
7737 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7738 prototype.
7739 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7740 say sys/sysctl.h instead.
7741 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7742 and vsyslog prototypes.
7743
fe77fe6d
TV
77442013-02-11 Tom de Vries <tom@codesourcery.com>
7745
7746 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7747 Remove.
7748
3a09b620
RM
77492013-02-11 Roland McGrath <roland@hack.frob.com>
7750
7751 * misc/sys/mman.h: Fix typo in mremap comment.
7752
550a0b89
RM
77532013-02-08 Roland McGrath <roland@hack.frob.com>
7754
7755 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7756 the '\0' terminator.
7757
a2da1673
JM
77582013-02-08 Joseph Myers <joseph@codesourcery.com>
7759
7760 [BZ #13550]
7761 * debug/segfault.c: Don't include <bp-checks.h>.
7762 * sysdeps/generic/bp-checks.h: Remove file.
7763 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7764 (__GETDENTS): Don't use CHECK_N.
7765 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7766 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7767 (__getgroups): Don't use CHECK_N.
7768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7769 (setgroups): Don't use CHECK_N.
7770 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7771 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7772 (__libc_msgrcv): Don't use CHECK_N.
7773 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7774 (__libc_msgsnd): Don't use CHECK_N.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7776 <bp-checks.h>.
7777 (__libc_pread): Don't use CHECK_N.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7779 include <bp-checks.h>.
7780 (__libc_pread64): Don't use CHECK_N.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7782 include <bp-checks.h>.
7783 (__libc_pwrite): Don't use CHECK_N.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7785 include <bp-checks.h>.
7786 (__libc_pwrite64): Don't use CHECK_N.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7788 <bp-checks.h>.
7789 (__libc_pread): Don't use CHECK_N.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7791 include <bp-checks.h>.
7792 (__libc_pread64): Don't use CHECK_N.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7794 include <bp-checks.h>.
7795 (__libc_pwrite): Don't use CHECK_N.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7797 include <bp-checks.h>.
7798 (__libc_pwrite64): Don't use CHECK_N.
7799 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7800 (do_pread): Don't use CHECK_N.
7801 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7802 (do_pread64): Don't use CHECK_N.
7803 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7804 (do_pwrite): Don't use CHECK_N.
7805 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7806 (do_pwrite64): Don't use CHECK_N.
7807 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7808 (__libc_readv): Don't use CHECK_N.
7809 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7810 (semop): Don't use CHECK_N.
7811 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7812 <bp-checks.h>.
7813 (semtimedop): Don't use CHECK_N.
7814 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7815 (__libc_pread): Don't use CHECK_N.
7816 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7817 <bp-checks.h>.
7818 (__libc_pread64): Don't use CHECK_N.
7819 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7820 <bp-checks.h>.
7821 (__libc_pwrite): Don't use CHECK_N.
7822 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7823 <bp-checks.h>.
7824 (__libc_pwrite64): Don't use CHECK_N.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7826 <bp-checks.h>.
7827 (__libc_msgrcv): Don't use CHECK_N.
7828 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7829 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7830 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7831 (__libc_writev): Don't use CHECK_N.
7832
b84660a8
RM
78332013-02-08 Roland McGrath <roland@hack.frob.com>
7834
7f3e75f8
RM
7835 * string/strcpy.c: Removed unused variable.
7836
b84660a8
RM
7837 * Makeconfig (+sysdep-includes): Define with := rather than =.
7838 Use an existing include/ subdir of each sysdeps dir before it.
7839
471514d3
CD
78402013-02-08 Carlos O'Donell <carlos@redhat.com>
7841
7842 * nscd/connection.c (register_traced_file): Comment function.
7843 [HAVE_INOTIFY] (union __inev): Define.
7844 [HAVE_INOTIFY] (inotify_check_files): New function.
7845 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7846 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7847 clear_db_cache.
7848 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7849
b2d3c3be
CD
78502013-02-08 Carlos O'Donell <carlos@redhat.com>
7851
7852 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7853 loaded if not already and that a failure is permanent.
7854
b39949d2
CD
78552013-02-08 Carlos O'Donell <carlos@redhat.com>
7856
ddacd1db 7857 [BZ #15006]
b39949d2
CD
7858 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7859 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7860
b2c9eff4
JM
78612013-02-08 Joseph Myers <joseph@codesourcery.com>
7862
f3aae3f3
JM
7863 [BZ #13550]
7864 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7865 (CHECK_1_NULL_OK): Likewise.
7866 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7867 (__fxstat): Do not use CHECK_1.
7868 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7869 <bp-checks.h>.
7870 (___fxstat64): Do not use CHECK_1.
7871 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7872 <bp-checks.h>.
7873 (__fxstatat): Do not use CHECK_1.
7874 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7875 <bp-checks.h>.
7876 (__fxstatat64): Do not use CHECK_1.
7877 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7878 <bp-checks.h>.
7879 (__fxstat): Do not use CHECK_1.
7880 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7881 <bp-checks.h>.
7882 (__fxstatat): Do not use CHECK_1.
7883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7884 <bp-checks.h>.
7885 (__getresgid): Do not use CHECK_1.
7886 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7887 <bp-checks.h>.
7888 (__getresuid): Do not use CHECK_1.
7889 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7890 <bp-checks.h>.
7891 (__lxstat): Do not use CHECK_1.
7892 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7893 <bp-checks.h>.
7894 (__old_msgctl): Do not use CHECK_1.
7895 (__new_msgctl): Likewise.
7896 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7897 <bp-checks.h>.
7898 (__new_setrlimit): Do not use CHECK_1.
7899 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7900 <bp-checks.h>.
7901 (__old_shmctl): Do not use CHECK_1.
7902 (__new_shmctl): Likewise.
7903 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7904 <bp-checks.h>.
7905 (__xstat): Do not use CHECK_1.
7906 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7907 (__lxstat): Do not use CHECK_1.
7908 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7909 <bp-checks.h>.
7910 (___lxstat64): Do not use CHECK_1.
7911 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7912 (__old_msgctl): Do not use CHECK_1.
7913 (__new_msgctl): Likewise.
7914 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7915 <bp-checks.h>.
7916 (__gettimeofday): Do not use CHECK_1.
7917 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7918 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7920 <bp-checks.h>.
7921 (__gettimeofday): Do not use CHECK_1.
7922 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7923 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7924 (__new_shmctl): Do not use CHECK_1.
7925 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7926 <bp-checks.h>.
7927 (do_sigtimedwait): Do not use CHECK_1.
7928 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7929 <bp-checks.h>.
7930 (do_sigwaitinfo): Do not use CHECK_1.
7931 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7932 <bp-checks.h>.
7933 (msgctl): Do not use CHECK_1.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7935 <bp-checks.h>.
7936 (shmctl): Do not use CHECK_1.
7937 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7938 (ustat): Do not use CHECK_1.
7939 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7940 <bp-checks.h>.
7941 (__fxstat): Do not use CHECK_1.
7942 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7943 <bp-checks.h>.
7944 (__fxstatat): Do not use CHECK_1.
7945 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7946 <bp-checks.h>.
7947 (__lxstat): Do not use CHECK_1.
7948 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7949 <bp-checks.h>.
7950 (__xstat): Do not use CHECK_1.
7951 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7952 (__xstat): Do not use CHECK_1.
7953 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7954 (___xstat64): Do not use CHECK_1.
7955
b2c9eff4
JM
7956 [BZ #13550]
7957 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7958 definitions.
7959 (CHECK_BOUNDS_HIGH): Likewise.
7960 * string/strcpy.c: Do not include <bp-checks.h>.
7961 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7962
f1d70dad
RM
79632013-02-07 Roland McGrath <roland@hack.frob.com>
7964
7965 * nscd/nscd-client.h (__nscd_drop_map_ref):
7966 Add __attribute__ ((unused)).
7967 * nis/nss-nisplus.h (niserr2nss): Likewise.
7968
7969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7970 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7971
7972 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7973 Remove inline keyword.
7974 * include/rounding-mode.h (round_away): Likewise.
7975 * libio/wfileops.c (adjust_wide_data): Likewise.
7976 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7977 (__m128i_strloadu_tolower): Likewise.
7978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7979 (__m128i_strloadu_tolower): Likewise.
7980 * time/mktime.c (ydhms_diff): Likewise.
7981 * locale/elem-hash.h (elem_hash): Likewise.
7982 * locale/setlocale.c (setdata): Likewise.
7983 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7984 (re_string_wchar_at): Likewise.
7985 (bitset_not, bitset_merge, bitset_mask): Likewise.
7986 [!(__GNUC__ > 3)] (inline): Remove macro.
7987 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7988 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7989 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7990 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7991 * string/memcmp.c (memcmp_bytes): Likewise.
7992 * locale/programs/locarchive.c (compute_hashval): Likewise.
7993 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7994 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7995 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7996 * nss/getent.c (print_rpc, print_protocols): Likewise.
7997 (print_passwd, print_group, print_aliases): Likewise.
7998 * nis/nss-nisplus.h (niserr2nss): Likewise.
7999 * nscd/connections.c (restart_p): Likewise.
8000 Change return type to bool.
8001
eab55bfb
RM
80022013-02-05 Roland McGrath <roland@hack.frob.com>
8003
7bd642f5
RM
8004 * Makeconfig (all-Depend-files): Add existing
8005 $(sorted-subdirs:=/Depend) files.
8006 (all-subdirs): Remove nss.
8007 * sysdeps/unix/inet/Subdirs: Add it here instead.
8008 * hesiod/Depend: New file.
8009
573c29b2
RM
8010 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8011 instead of calling alloca.
8012
b2e25af0
RM
8013 * io/lseek.c (__lseek): Rename to __libc_lseek.
8014 Define __lseek as an alias.
8015
eab55bfb
RM
8016 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8017
9a0d1941
CD
80182013-02-04 Carlos O'Donell <carlos@redhat.com>
8019
8020 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8021 else clause and remove check for non-standard endianness.
8022
b83bbec4
DM
80232013-02-04 David S. Miller <davem@davemloft.net>
8024
8025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8026
6277fdab
JM
80272013-02-04 Joseph Myers <joseph@codesourcery.com>
8028
8029 [BZ #13550]
8030 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8031 (__ubp_memchr): Remove prototype.
8032 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8033 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8034 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8035 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8036 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8037 Remove alias.
8038 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8039 (__ubp_memchr): Likewise.
8040 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8041 (__ubp_memchr): Likewise.
8042 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8043 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8044 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8045 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8046 CHECK_STRING.
8047 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8048 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8049 (__getcwd): Do not use CHECK_STRING.
8050 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8051 <bp-checks.h>.
8052 (__real_chown): Do not use CHECK_STRING.
8053 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8054 <bp-checks.h>.
8055 (fchownat): Do not use CHECK_STRING.
8056 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8057 CHECK_STRING.
8058 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8059 <bp-checks.h>.
8060 (__lchown): Do not use CHECK_STRING.
8061 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8062 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8063 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8064 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8066 include <bp-checks.h>.
8067 (truncate64): Do not use CHECK_STRING.
8068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8069 <bp-checks.h>.
8070 (__real_chown): Do not use CHECK_STRING.
8071 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8072 <bp-checks.h>.
8073 (__lchown): Do not use CHECK_STRING.
8074 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8075 <bp-checks.h>.
8076 (__chown): Do not use CHECK_STRING.
8077 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8078 <bp-checks.h>.
8079 (truncate64): Do not use CHECK_STRING.
8080 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8081 Likewise.
8082 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8083 (__xmknod): Do not use CHECK_STRING.
8084 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8085 <bp-checks.h>.
8086 (__xmknodat): Do not use CHECK_STRING.
8087 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8088 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8089
903ae060
AS
80902013-02-04 Andreas Schwab <schwab@suse.de>
8091
8092 [BZ #14142]
8093 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8094 * include/netdb.h: Likewise for h_errno.
8095 * elf/tst-stackguard1.c: Include <tls.h>.
8096
542f9466
JK
80972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8098
8099 * elf/link.h (struct link_map): Extend the l_addr comment.
8100 * include/link.h (struct link_map): Likewise.
8101
e782a927
JM
81022013-02-01 Joseph Myers <joseph@codesourcery.com>
8103
8104 [BZ #13550]
8105 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8106 (BOUNDED_1): Remove macro.
8107 * debug/backtrace.c: Don't include <bp-checks.h>.
8108 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8109 (__backtrace): Likewise.
8110 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8111 <bp-checks.h>.
8112 (__backtrace): Don't use BOUNDED_1.
8113 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8114 <bp-checks.h>.
8115 (__backtrace): Don't use BOUNDED_1.
8116 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8117 (__backtrace): Don't use BOUNDED_1.
8118 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8119 (shmat): Don't use BOUNDED_N.
8120
8cf28c5e
JM
81212013-01-31 Joseph Myers <joseph@codesourcery.com>
8122
3a7ac8a0
JM
8123 [BZ #13550]
8124 * sysdeps/generic/bp-start.h: Remove file.
8125 * csu/libc-start.c: Don't include <bp-start.h>.
8126 (LIBC_START_MAIN): Set up __environ directly instead of using
8127 INIT_ARGV_and_ENVIRON.
8128 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8129 <bp-start.h>.
8130
f3499f95
JM
8131 [BZ #13550]
8132 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8133 definitions.
8134 (CHECK_FCNTL): Likewise.
8135 (CHECK_N_PAGES): Likewise.
8136
32a45bea
JM
8137 [BZ #13550]
8138 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8139 definitions.
8140 (CHECK_SIGSET_NULL_OK): Likewise.
8141 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8142 <bp-checks.h>.
8143 (sigpending): Don't use CHECK_SIGSET.
8144 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8145 <bp-checks.h>.
8146 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8147 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8148 <bp-checks.h>.
8149 (do_sigsuspend): Don't use CHECK_SIGSET.
8150 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8151 use CHECK_SIGSET.
8152 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8153 (do_sigwait): Don't use CHECK_SIGSET.
8154 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8155 use CHECK_SIGSET.
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8157 include <bp-checks.h>.
8158 (sigpending): Don't use CHECK_SIGSET.
8159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8160 include <bp-checks.h>.
8161 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8162 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8163 <bp-checks.h>.
8164 (sigpending): Don't use CHECK_SIGSET.
8165 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8166 <bp-checks.h>.
8167 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8168
2e8a5c8c
JM
8169 [BZ #13550]
8170 * sysdeps/generic/bp-semctl.h: Remove file.
8171 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8172 <bp-checks.h> and <bp-semctl.h>.
8173 (__old_semctl): Don't use CHECK_SEMCTL.
8174 (__new_semctl): Likewise.
8175 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8176 and <bp-semctl.h>.
8177 (__old_semctl): Don't use CHECK_SEMCTL.
8178 (__new_semctl): Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8180 <bp-checks.h> and <bp-semctl.h>.
8181 (__old_semctl): Don't use CHECK_SEMCTL.
8182 (__new_semctl): Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8184 <bp-checks.h> and <bp-semctl.h>.
8185 (semctl): Don't use CHECK_SEMCTL.
8186
c2d54929
JM
8187 [BZ #13550]
8188 * Makerules (elide-bp-thunks): Remove variable.
8189 (elide-routines.oS): Don't use $(elide-bp-thunks).
8190 (elide-routines.os): Likewise.
8191 (elide-routines.o): Likewise.
8192 (elide-routines.op): Likewise.
8193 (elide-routines.og): Likewise.
8194 (objects): Don't use $(bp-thunks).
8195 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8196 include.
8197 (common-generated): Do not add s-proto-bp.d.
8198 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8199 (int): Likewise.
8200 (typ): Likewise.
8201 Do not generate makefile rules for bounded-pointer thunks.
8202 * sysdeps/generic/bp-thunks.h: Remove file.
8203 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8204 * sysdeps/unix/s-proto-bp.S: Likewise.
8205
8cf28c5e
JM
8206 [BZ #15062]
8207 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8208 parts of result separately when argument is not close to line from
8209 -i to i and one part of argument is small.
8210 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8211 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8212 * math/libm-test.inc (cacos_test): Add more tests.
8213 (casin_test): Likewise.
8214 (casinh_test): Likewise.
8215 * sysdeps/i386/fpu/libm-test-ulps: Update.
8216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8217
c4e33b8d
DM
82182013-01-31 David S. Miller <davem@davemloft.net>
8219
8220 * po/de.po: Update from translation team.
8221
3b60b421
MK
82222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8223
8224 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8225
bb931195
TS
82262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8227
b5a5da23
TS
8228 * configure.in (_AC_PROG_CC_C89): New definition.
8229 * configure: Regenerate.
8230
bb931195
TS
8231 * configure.in (AC_PROG_CPP): New definition.
8232 * configure: Regenerate.
8233
8c53a12c
JM
82342013-01-23 Joseph Myers <joseph@codesourcery.com>
8235
8236 * debug/tst-backtrace.h: New file.
8237 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8238 (ret): Remove variable.
8239 (x): Likewise.
8240 (FAIL): Remove macro.
8241 (NO_INLINE): Likewise.
8242 (fn1): Use match function instead of strstr.
8243 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8244 (ret): Remove variable.
8245 (x): Likewise.
8246 (FAIL): Remove macro.
8247 (NO_INLINE): Likewise.
8248 (fn): Use match function instead of strstr.
8249 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8250 (ret): Remove variable.
8251 (x): Likewise.
8252 (FAIL): Remove macro.
8253 (NO_INLINE): Likewise.
8254 (handle_signal): Use match function instead of strstr.
8255 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8256 (ret): Remove variable.
8257 (x): Likewise.
8258 (FAIL): Remove macro.
8259 (NO_INLINE): Likewise.
8260 (handle_signal): Use match function instead of strstr.
8261
4858fa2a
RM
82622013-01-23 Roland McGrath <roland@hack.frob.com>
8263
8264 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8265
bae8e7f5
DM
82662013-01-23 David S. Miller <davem@davemloft.net>
8267
8268 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8269 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8270 argument of CAS if possible.
8271 * sysdeps/sparc/sparc64/bits/atomic.h
8272 (__arch_compare_and_exchange_val_32_acq): Likewise.
8273 (__arch_compare_and_exchange_val_64_acq): Likewise.
8274
9cbbc4ae
PT
82752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8276
8277 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8278 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8279 Include <limits.h>.
67b3f58c 8280 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8281
5655a0b5
AC
82822013-01-23 Adam Conrad <adconrad@0c3.net>
8283
8284 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8285 (LDFLAGS-tst-array5): Likewise.
8286
052aff95
JM
82872013-01-23 Joseph Myers <joseph@codesourcery.com>
8288
8289 [BZ #15036]
8290 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8291 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8292 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8293 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8294
7c1e01aa
DM
82952013-01-21 David S. Miller <davem@davemloft.net>
8296
8297 * sysdeps/sparc/backtrace.c: New file.
8298 * sysdeps/sparc/sparc32/backtrace.h: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8300 * sysdeps/sparc/sparc64/backtrace.h: New file.
8301 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8302 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8303 -funwind-tables.
8304
ab087e0a
AS
83052013-01-21 Andreas Schwab <schwab@suse.de>
8306
8307 [BZ #15020]
8308 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8309 closed its stdout.
8310
ed689c2f
AS
83112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8312
8313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8314 "mpa2.h".
8315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8316
31d470ac
JM
83172013-01-18 Joseph Myers <joseph@codesourcery.com>
8318 Mark Mitchell <mark@codesourcery.com>
8319 Tom de Vries <tom@codesourcery.com>
8320 Paul Pluzhnikov <ppluzhnikov@google.com>
8321
8322 * debug/tst-backtrace2.c: New file.
8323 * debug/tst-backtrace3.c: Likewise.
8324 * debug/tst-backtrace4.c: Likewise.
8325 * debug/tst-backtrace5.c: Likewise.
8326 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8327 (CFLAGS-tst-backtrace3.c): Likewise.
8328 (CFLAGS-tst-backtrace4.c): Likewise.
8329 (CFLAGS-tst-backtrace5.c): Likewise.
8330 (LDFLAGS-tst-backtrace2): Likewise.
8331 (LDFLAGS-tst-backtrace3): Likewise.
8332 (LDFLAGS-tst-backtrace4): Likewise.
8333 (LDFLAGS-tst-backtrace5): Likewise.
8334 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8335 tst-backtrace4 and tst-backtrace5.
8336
90567f30 83372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8338 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8339
8340 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8341 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8342 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8343 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8345 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8346 "+r" and remove output regs list as redundant. Add explicit inline
8347 asm to specify register of return val to work around compiler codegen
8348 bug. Remove (int) cast on return value. Add return type parameter to
8349 use in macro so that this macro does not truncate return value for
8350 64-bit values.
8351 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8352 pass to INTERNAL_VSYSCALL_NCS.
8353 (INLINE_VSYSCALL): Add 'long int' as return type to
8354 INTERNAL_VSYSCALL_NCS macro invocation.
8355 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8356 INTERNAL_VSYSCALL_NCS macro invocation.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8358
d3b9ea61
SP
83592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8360
0b57daeb
SP
8361 [BZ #14496]
8362 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8363 Fix application of SIMD FP exception mask.
8364
caa99d06
SP
8365 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8366 mp_no from a power of two.
8367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8368 __mpexp_twomm1. Use __pow_mp.
8369
d3b9ea61
SP
8370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8371 multiplication.
8372
1dbaee3c
DM
83732013-01-17 David S. Miller <davem@davemloft.net>
8374
8375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8376
728d7b43
JM
83772013-01-17 Joseph Myers <joseph@codesourcery.com>
8378
8379 [BZ #15023]
8380 * include/complex.h: Condition contents on [!_COMPLEX_H].
8381 (__kernel_casinhf): New prototype.
8382 (__kernel_casinh): Likewise.
8383 (__kernel_casinhl): Likewise.
8384 * math/Makefile (libm_calls): Add k_casinh.
8385 * math/k_casinh.c: New file.
8386 * math/k_casinhf.c: Likewise.
8387 * math/k_casinhl.c: Likewise.
8388 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8389 finite nonzero arguments.
8390 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8391 finite nonzero arguments.
8392 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8393 finite nonzero arguments.
8394 * math/s_casinh.c: Do not include <float.h>.
8395 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8396 * math/s_casinhf.c: Do not include <float.h>.
8397 (__casinhf): Move code for finite nonzero arguments to
8398 k_casinhf.c.
8399 * math/s_casinhl.c: Do not include <float.h>.
8400 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8401 redefine.
8402 (__casinhl): Move code for finite nonzero arguments to
8403 k_casinhl.c.
8404 * math/libm-test.inc (cacos_test): Add more tests.
8405 * sysdeps/i386/fpu/libm-test-ulps: Update.
8406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8407
2a26ef3a
PT
84082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8409
8410 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8411 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8412 [!HAVE_MREMAP]: Remove [defined linux] case.
8413 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8414
a897655d
SP
84152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8416
8417 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8418
881ebe89 84192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8420
8421 * elf/elf.h (R_386_SIZE32): New relocation.
8422 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8423 R_386_SIZE32.
8424 (elf_machine_rela): Likewise.
8425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8426 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8427
59981e9b
JM
84282013-01-17 Joseph Myers <joseph@codesourcery.com>
8429
8430 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8431 (FP_FAST_FMA): Do not define.
8432 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8433 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8434 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8435 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8436 !_SOFT_FLOAT]: Likewise.
8437 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8439 value.
8440 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8441 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8444 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8445 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8446 file.
8447
cfa8054f
AS
84482013-01-16 Andreas Schwab <schwab@suse.de>
8449
8450 [BZ #14327]
8451 * include/stdlib.h (__mktemp): Add declaration.
8452 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8453 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8454
dd930cc5
SP
84552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8456
881ebe89
SP
8457 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8458 definitions.
8459 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8460 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8461 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8462 definitions here.
8463 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8464 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8465 definitions.
8466 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8467 and ONE.
8468 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8469 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8470 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8471 definitions.
8472 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8473 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8474 definitions.
8475 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8476
dd930cc5
SP
8477 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8478
c19a9f89
DM
84792013-01-15 David S. Miller <davem@davemloft.net>
8480
1aa61767
DM
8481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8482 trunc{,f} to libm-sysdep_routes.
8483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8485 file.
8486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8488 file.
8489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8490 file.
8491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8497 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8498 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8499
c42d5e98
DM
8500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8501 nearbyint{,f} to libm-sysdep_routes.
8502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8504 New file.
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8506 file.
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8508 New file.
8509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8510 file.
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8514 file.
8515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8517 file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8521
c19a9f89
DM
8522 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8523 libc_feholdexcept and libc_fesetenv.
8524
357679d2
MF
85252013-01-15 Mike Frysinger <vapier@gentoo.org>
8526
8527 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8528
65a82e3d
DM
85292013-01-14 David S. Miller <davem@davemloft.net>
8530
8b954ab9
DM
8531 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8532 (SPARC_ASM_VIS2_IFUNC): Likewise.
8533 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8535 use of 'siam' instruction.
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8537 Likewise.
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8539 Likewise.
8540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8541 Likewise.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8547 file.
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8549 file.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8551 file.
8552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8553 file.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8559 new VIS2 routines.
8560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8563 Likewise.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8569 routines to libm-sysdep_routines.
8570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8571
65a82e3d
DM
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8573 fdim/fdimf to libm-sysdep_routines.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8575 file.
8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8578 file.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8582 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8583 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8584 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8585 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8586
e34ab705
SP
85872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8588
2a91b573
SP
8589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8590 to optimize copies.
8591
1066a534
SP
8592 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8595
e34ab705
SP
8596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8597 local variable MPTWO.
8598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8599 Likewise.
8600
aba5e596
MF
86012013-01-13 Mike Frysinger <vapier@gentoo.org>
8602
8603 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8604 GLOB_NOESCAPE.
8605
e557e9e5
MF
86062013-01-13 Mike Frysinger <vapier@gentoo.org>
8607
8608 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8609
0428cec9
MF
86102013-01-13 Mike Frysinger <vapier@gentoo.org>
8611
8612 * manual/pattern.texi (glob_t): Document gl_flags.
8613 (glob64_t): Likewise.
8614
8794a964
DM
86152013-01-11 David S. Miller <davem@davemloft.net>
8616
66438c3f
RM
8617 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8618 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8619 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8620 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8621 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8622 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8623 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8624 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8625 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8626 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8627 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8628 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8629 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8630
4ae4244d
DM
8631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8632 sparc V9 rather than using V8 code.
8633 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8634 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8635
8794a964
DM
8636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8637 Move to...
8638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8639 Here.
8640
6270516e
RM
86412013-01-11 Roland McGrath <roland@hack.frob.com>
8642
8643 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8644 not in the main loop.
8645 * configure: Regenerated.
8646
6a57d931
JM
86472013-01-11 Joseph Myers <joseph@codesourcery.com>
8648
8649 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8650 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8651 to just #else.
8652 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8653 [!__GLIBC_HAVE_LONG_LONG] case.
8654 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8655 condition to just #else.
8656 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8657 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8658 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8659 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8660 unconditional.
8661 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8662 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8663 #elif condition to just #else.
8664 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8665 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8666 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8667 #elif condition to just #else.
8668
0e8529e9
SE
86692013-01-11 Steve Ellcey <sellcey@mips.com>
8670
8671 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8672 (EF_MIPS_ARCH_64): Fix value.
8673 (EF_MIPS_ARCH_32R2): New.
8674 (EF_MIPS_ARCH_64R2): New.
8675
740b3dbe
L
86762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 * Makeconfig (+link-pie-before-libc): New.
8679 (+link-pie-after-libc): Likewise.
8680 (+link-pie-tests): Likewise.
8681 (+link-pie): Rewritten.
8682 (link-before-libc): Remove $(config-LDFLAGS).
8683 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8684 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8685 (config-LDFLAGS): Renamed to ...
8686 (rtld-LDFLAGS): This.
8687 (rtld-tests-LDFLAGS): New macro.
8688 (link-libc-rpath-link): Likewise.
8689 (link-libc-tests-rpath-link): Likewise.
8690 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8691 (link-libc): Prepand $(link-libc-rpath-link).
8692 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8693 (test-program-prefix): New macro.
8694 (test-via-rtld-prefix): Likewise.
8695 (test-program-cmd): Likewise.
8696 (host-test-program-cmd): Likewise.
8697 * Makefile ($(common-objpfx)testrun.sh): Replace
8698 $(run-program-prefix) with $(test-program-prefix).
8699 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8700 $(rtld-LDFLAGS).
8701 ($(common-objpfx)shlib.lds): Likewise.
8702 (build-module-helper): Likewise.
8703 ($(common-objpfx)format.lds): Likewise.
8704 * Rules (binaries-pie-tests): New.
8705 (binaries-pie-notests): Likewise.
8706 (binaries-pie): Rewritten.
8707 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8708 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8709 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8710 (make-test-out): Replace $(host-built-program-cmd) with
8711 $(host-test-program-cmd).
8712 * config.make.in (build-hardcoded-path-in-tests): New variable.
8713 * configure.in (--enable-hardcoded-path-in-tests): New configure
8714 option.
8715 (hardcoded_path_in_tests): New AC_SUBST.
8716 * configure: Regenerated.
8717 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8718 $(built-program-cmd) with $(test-program-cmd).
8719 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8720 (test_program_cmd): This.
8721 * elf/Makefile ($(objpfx)order.out): Run test with
8722 $(test-program-prefix).
8723 ($(objpfx)order2.out): Likewise.
8724 ($(objpfx)tst-initorder.out): Likewise.
8725 ($(objpfx)tst-initorder2.out): Likewise.
8726 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8727 $(test-program-cmd).
8728 ($(objpfx)tst-array1-static.out): Likewise.
8729 ($(objpfx)tst-array2.out): Likewise.
8730 ($(objpfx)tst-array3.out): Likewise.
8731 ($(objpfx)tst-array4.out): Likewise.
8732 ($(objpfx)tst-array5.out): Likewise.
8733 ($(objpfx)tst-array5-static.out): Likewise.
8734 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8735 $(test-program-cmd).
8736 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8737 $(run-program-prefix) with $(test-program-prefix).
8738 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8739 (test_program_prefix): This.
8740 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8741 $(run-program-prefix) with $(test-program-prefix).
8742 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8743 (test_program_prefix): This.
8744 * iconvdata/tst-tables.sh: Likewise.
8745 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8746 $(run-program-prefix) with $(test-program-prefix).
8747 ($(objpfx)tst-translit.out): Likewise.
8748 ($(objpfx)tst-gettext2.out): Likewise.
8749 ($(objpfx)tst-gettext4.out): Likewise.
8750 ($(objpfx)tst-gettext6.out): Likewise.
8751 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8752 (test_program_prefix): This.
8753 * intl/tst-gettext2.sh: Likewise.
8754 * intl/tst-gettext4.sh Likewise.
8755 * intl/tst-gettext6.sh: Likewise.
8756 * intl/tst-translit.sh: Likewise.
8757 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8758 with $(test-program-cmd).
8759 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8760 $(run-program-prefix) with $(test-program-prefix).
8761 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8762 (test_program_prefix): This.
8763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8764 $(run-program-prefix) with $(test-program-prefix).
8765 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8766 (test_program_prefix): This.
8767 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8768 * posix/Makefile ($(objpfx)globtest.out): Replace
8769 $(run-via-rtld-prefix) and $(test-wrapper) with
8770 $(test-program-prefix) and $(test-via-rtld-prefix).
8771 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8772 $(test-program-prefix).
8773 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8774 $(host-test-program-cmd).
8775 (tst-spawn-ARGS): Likewise.
8776 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8777 $(test-program-prefix).
8778 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8779 (test_via_rtld_prefix): This.
8780 (test_wrapper): Renamed to ...
8781 (test_program_prefix): This.
8782 (run_program_prefix): Replaced by test_program_prefix.
8783 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8784 (test_program_prefix): This.
8785 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8786 with $(host-test-program-cmd).
8787 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8788 $(run-program-prefix) with $(test-program-prefix).
8789 ($(objpfx)tst-printf.out): Likewise.
8790 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8791 $(test-program-cmd).
8792 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8793 (test_program_prefix): This.
8794 * stdio-common/tst-unbputc.sh: Likewise.
8795 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8796 $(run-program-prefix) with $(test-program-prefix).
8797 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8798 (test_program_prefix): This.
8799 * string/Makefile ($(objpfx)tst-svc.out): Replace
8800 $(built-program-cmd) with $(test-program-cmd).
8801
c6fe55cf
AJ
88022013-01-11 Andreas Jaeger <aj@suse.de>
8803
8804 [BZ #15003]
8805 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8806 value. Sync with Linux 3.7.
8807
9e6919c8
DM
88082013-01-10 David S. Miller <davem@davemloft.net>
8809
8810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8811 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8812 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8813
1c9f1a02
RM
88142013-01-10 Roland McGrath <roland@hack.frob.com>
8815
8816 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8817 never set.
8818 * configure: Regenerated.
8819
b9de2dde
DM
88202013-01-10 David S. Miller <davem@davemloft.net>
8821
8822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8823 sparc V9 rather than using V8 code.
8824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8826
e7f68ef4
RM
88272013-01-10 Roland McGrath <roland@hack.frob.com>
8828
8829 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8830 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8831 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8832 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8833 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8834 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8835 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8836 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8837 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8838 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8839 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8840 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8841 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8842 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8843 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8844 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8845 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8846 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8847 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8848 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8849 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8850 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8851 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8852 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8853 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8854 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8855 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8856
5a47cc9c
DM
88572013-01-10 David S. Miller <davem@davemloft.net>
8858
8859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8860
4cf8f209
L
88612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * posix/Makefile (tests-static): New variable.
8864 (tests): Add $(tests-static).
8865 (tst-exec-static-ARGS): New variable.
8866 (tst-spawn-static-ARGS): Likewise.
8867 * posix/tst-exec-static.c: New file.
8868 * posix/tst-spawn-static.c: Likewise.
8869 * posix/tst-exec.c: Support run directly.
8870 * posix/tst-spawn.c: Likewise.
8871
fed0faa1
JM
88722013-01-10 Joseph Myers <joseph@codesourcery.com>
8873
828beb13
JM
8874 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8875 long.
8876 * math/bits/mathcalls.h (llrint): Likewise.
8877 (llround): Likewise.
8878 * stdlib/stdlib.h (struct drand48_data): Likewise.
8879 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8880 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8881 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8882 Likewise.
8883 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8884 Likewise.
8885 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8886 (elf_greg_t): Likewise.
8887 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8888 (__jmp_buf): Likewise.
8889 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8890 definitions.
8891 (llrint): Likewise, for all definitions.
8892 (llrintl): Likewise.
8893
fed0faa1
JM
8894 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8895 Remove [__GNUC__] condition.
8896 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8897 condition to just [__USE_ISOC99].
8898 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8899
1a20cb20
L
89002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8901
8902 [BZ #14200]
8903 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8904 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8905 defined.
8906 (_POSIX_V6_ILP32_OFF32): Likewise.
8907 (_XBS5_ILP32_OFF32): Likewise.
8908 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8909 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8910
751b85f7
SP
89112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
7490eb81
SP
8913 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8914
751b85f7
SP
8915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8916 doubles __mpexp_twomm1. Adjust usage.
8917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8918 Remove.
8919
988197f0
AS
89202013-01-10 Andreas Schwab <schwab@suse.de>
8921
8922 [BZ #14964]
8923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8924 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8925
e83d7298
DM
89262013-01-09 David S. Miller <davem@davemloft.net>
8927
034ed64b 8928 [BZ #15003]
e83d7298
DM
8929 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8930 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8931 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8932 TCP_FASTOPEN): Define.
8933 (tcp_repair_opt): New structure.
8934 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8935 enum values.
8936 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8937 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8938 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8939 (tcp_cookie_transactions): New structure.
8940
d5e0b9bd
AB
89412013-01-09 Anton Blanchard <anton@samba.org>
8942
8943 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8944 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8945 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8946 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8947
0c07e3ea
JM
89482013-01-09 Joseph Myers <joseph@codesourcery.com>
8949
8950 * include/features.h (__USE_ANSI): Remove.
8951
232f7002
RM
89522013-01-09 Roland McGrath <roland@hack.frob.com>
8953
ad98e30c
RM
8954 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8955
232f7002
RM
8956 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8957
950c99ca
SP
89582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
b5792741
SP
8960 * sysdeps/s390/fpu/libm-test-ulps: Update.
8961
47cf2278
SP
8962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8963
950c99ca
SP
8964 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8965 (__acr): Likewise.
8966 (__cpy): Likewise.
8967 (norm): Likewise.
8968 (denorm): Likewise.
8969 (__mp_dbl): Likewise.
8970 (__dbl_mp): Likewise.
8971 (add_magnitudes): Likewise.
8972 (sub_magnitudes): Likewise.
8973 (__add): Likewise.
8974 (__sub): Likewise.
8975 (__mul): Likewise.
8976 (__inv): Likewise.
8977 (__dvd): Likewise.
8978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8979 (__acr): Likewise.
8980 (__cpy): Likewise.
8981 (norm): Likewise.
8982 (denorm): Likewise.
8983 (__mp_dbl): Likewise.
8984 (__dbl_mp): Likewise.
8985 (add_magnitudes): Likewise.
8986 (sub_magnitudes): Likewise.
8987 (__add): Likewise.
8988 (__sub): Likewise.
8989 (__mul): Likewise.
8990 (__inv): Likewise.
8991 (__dvd): Likewise.
8992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8993 (__acr): Likewise.
8994 (__cpy): Likewise.
8995 (norm): Likewise.
8996 (denorm): Likewise.
8997 (__mp_dbl): Likewise.
8998 (__dbl_mp): Likewise.
8999 (add_magnitudes): Likewise.
9000 (sub_magnitudes): Likewise.
9001 (__add): Likewise.
9002 (__sub): Likewise.
9003 (__mul): Likewise.
9004 (__inv): Likewise.
9005 (__dvd): Likewise.
9006
eede9df9
JM
90072013-01-08 Joseph Myers <joseph@codesourcery.com>
9008
9009 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9010 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9011 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9012 2 && __USE_EXTERN_INLINES]: Likewise.
9013
c40ea3d9
AJ
90142013-01-08 Andreas Jaeger <aj@suse.de>
9015
9016 [BZ# 14985]
9017 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9018 Remove.
9019 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9020 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9021
2ccdea26
AB
90222013-01-07 Anton Blanchard <anton@samba.org>
9023
9024 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9025 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9026 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9027 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9031 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9037 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9042 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9043 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9045 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9047 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9048 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9049 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9050 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9051 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9054 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9056 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9058 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9060 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9066 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9067
a9708fed
JM
90682013-01-07 Joseph Myers <joseph@codesourcery.com>
9069
375607b9
JM
9070 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9071 (__MALLOC_PMT): Likewise.
9072 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9073 [__GNUC__], only on [_LIBC].
9074 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9075 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9076 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9077 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9078 forward declaration.
9079 (realloc_hook_ini): Likewise.
9080 (memalign_hook_ini): Likewise.
9081 (__libc_memalign): Do not use __MALLOC_PMT in variable
9082 declaration.
9083 (__libc_valloc): Likewise.
9084 (__libc_pvalloc): Likewise.
9085 (__libc_calloc): Likewise.
9086 (__posix_memalign): Likewise.
9087
a9708fed
JM
9088 [BZ #14996]
9089 * math/s_casinh.c: Include <float.h>.
9090 (__casinh): Do not do computation with squaring and square root
9091 for large arguments.
9092 * math/s_casinhf.c: Include <float.h>.
9093 (__casinhf): Do not do computation with squaring and square root
9094 for large arguments.
9095 * math/s_casinhl.c: Include <float.h>.
9096 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9097 (__casinhl): Do not do computation with squaring and square root
9098 for large arguments.
9099 * math/libm-test.inc (casin_test): Add more tests.
9100 (casinh_test): Likewise.
9101 * sysdeps/i386/fpu/libm-test-ulps: Update.
9102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9103
afec409a
L
91042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9107 (__x86_64_raw_data_cache_size): Likewise.
9108 (__x86_64_data_cache_size_half): Likewise.
9109 (__x86_64_raw_data_cache_size_half): Likewise.
9110 (__x86_64_shared_cache_size): Likewise.
9111 (__x86_64_raw_shared_cache_size): Likewise.
9112 (__x86_64_shared_cache_size_half): Likewise.
9113 (__x86_64_raw_shared_cache_size_half): Likewise.
9114 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9115 to ...
9116 (__x86_data_cache_size): This.
9117 (__x86_64_raw_data_cache_size): Renamed to ...
9118 (__x86_raw_data_cache_size): This.
9119 (__x86_64_data_cache_size_half): Renamed to ...
9120 (__x86_data_cache_size_half): This.
9121 (__x86_64_raw_data_cache_size_half): Renamed to ...
9122 (__x86_raw_data_cache_size_half): This.
9123 (__x86_64_shared_cache_size): Renamed to ...
9124 (__x86_shared_cache_size): This.
9125 (__x86_64_raw_shared_cache_size): Renamed to ...
9126 (__x86_raw_shared_cache_size): This.
9127 (__x86_64_shared_cache_size_half): Renamed to ...
9128 (__x86_shared_cache_size_half): This.
9129 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9130 (__x86_raw_shared_cache_size_half): This.
9131 * sysdeps/x86_64/memcpy.S: Updated.
9132 * sysdeps/x86_64/memset.S: Likewise.
9133 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9136
0b3986d0
DM
91372013-01-04 David S. Miller <davem@davemloft.net>
9138
9139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9140
e47686e9
AS
91412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9142
d643bac1
AS
9143 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9144 1 to avoid redefinition warning.
9145 (__USE_GNU): Don't define.
9146 (init_signaling_nan): Protoize.
9147
e47686e9
AS
9148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9149
b18decba
SP
91502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9151
fffb407f
SP
9152 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9154 (__cpymn): Likewise.
9155 (norm): Remove commented code.
9156 (denorm): Likewise.
9157 (__mp_dbl): Likewise.
9158 (__inv): Likewise.
9159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9160 (__cpymn): Likewise.
9161 (norm): Remove commented code.
9162 (denorm): Likewise.
9163 (__mp_dbl): Likewise.
9164 (__inv): Likewise.
9165
b18decba
SP
9166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9167 mp_no value for 1.0 and 2.0.
9168 (norm): Use RADIXI instead of radixi.d.
9169 (denorm): Likewise.
9170 (__mul): Use 0.0 instead of zero.d.
9171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9172 mp_no value for 1.0 and 2.0.
9173 (norm): Use RADIXI instead of radixi.d.
9174 (denorm): Likewise.
9175 (__mul): Use 0.0 instead of zero.d.
9176
cdc1c96f
JM
91772013-01-04 Joseph Myers <joseph@codesourcery.com>
9178
9179 [BZ #14994]
9180 * math/s_casinh.c (__casinh): Reduce finite argument to first
9181 quadrant then set signs of results at the end.
9182 * math/s_casinhf.c (__casinhf): Likewise.
9183 * math/s_casinhl.c (__casinhl): Likewise.
9184 * math/libm-test.inc (casin_test): Add more tests.
9185 (casinh_test): Likewise.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188
302913e1
SP
91892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
6420d207
SP
9191 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9192
a9e48ab4
SP
9193 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9194
b7837264
SP
9195 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9196 declarations.
9197 (denorm): Likewise.
9198 (__mp_dbl): Likewise.
9199 (__inv): Likewise.
9200
f8af25d2
SP
9201 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9202 and adjust the header comment.
9203
302913e1
SP
9204 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9205 variable name from declaration.
9206
5d7dd1ca
L
92072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9208
9209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9210 Initialize COMMON_CPUID_INDEX_7 element.
9211 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9212 (CPUID_RTM): Likewise.
9213 (HAS_RTM): Likewise.
9214 (COMMON_CPUID_INDEX_7): New enum.
9215
2f5f40f4
AS
92162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9217
9218 [BZ #14981]
9219 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9220 size is zero, record memory as freed.
9221
4056f4a0
AJ
92222013-01-03 Andreas Jaeger <aj@suse.de>
9223
9224 * po/ia.po: Add new Interlingua translation.
9225
ab15736f 92262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9227
9228 * locale/programs/localedef.c: Fix description of '--posix' flag.
9229
568035b7
JM
92302013-01-02 Joseph Myers <joseph@codesourcery.com>
9231
e6898b8d
JM
9232 * NEWS: Update dates in second copyright notice.
9233 * README: Update copyright dates in example.
9234 * manual/libc.texinfo: Update copyright dates.
9235 * scripts/test-installation.pl: Update copyright date in --version
9236 output.
9237
0e2f9562
JM
9238 * hurd/ctty-input.c: Fix copyright notice formatting.
9239 * hurd/ctty-output.c: Likewise.
9240 * hurd/dtable.c: Likewise.
9241 * hurd/hurd-raise.c: Likewise.
9242 * hurd/hurdprio.c: Likewise.
9243 * hurd/msgportdemux.c: Likewise.
9244 * misc/sys/file.h: Likewise.
9245 * misc/sys/ioctl.h: Likewise.
9246 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9247 * sysdeps/mach/hurd/chdir.c: Likewise.
9248 * sysdeps/mach/hurd/fchdir.c: Likewise.
9249 * sysdeps/mach/hurd/rename.c: Likewise.
9250 * sysdeps/mach/hurd/rmdir.c: Likewise.
9251 * sysdeps/mach/hurd/seekdir.c: Likewise.
9252 * sysdeps/mach/hurd/setsid.c: Likewise.
9253 * sysdeps/posix/wait3.c: Likewise.
9254
568035b7
JM
9255 * All files with FSF copyright notices: Update copyright dates
9256 using scripts/update-copyrights.
9257 * intl/plural.c: Regenerated.
9258 * locale/programs/charmap-kw.h: Likewise.
9259 * locale/programs/locfile-kw.h: Likewise.
9260
da08f647
SP
92612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9262
0f5477af
SP
9263 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9264 four values.
9265
44e0d4c2
SP
9266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9267 calculation loop and add branch prediction.
9268
4d55b4e5
SP
9269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9270 check access beyond bounds of m1np.
9271
da08f647
SP
9272 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9273 MPTWO.
9274 (__inv): Remove local variable MPTWO to use the global
9275 constant.
9276 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9277 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9278 variable MPTWO.
9279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9280 MP3HALFS static const.
9281
8e051029
DM
92822013-01-01 David S. Miller <davem@davemloft.net>
9283
9284 * po/ca.po: Update from translation team.
9285
f4cf5f2d
JM
92862013-01-01 Joseph Myers <joseph@codesourcery.com>
9287
9288 * scripts/update-copyrights: New file.
9289 * Makeconfig: Reformat copyright notice.
9290 * ctype/ctype.h: Likewise.
9291 * debug/swprintf_chk.c: Likewise.
9292 * elf/dl-cache.c: Likewise.
9293 * elf/dl-debug.c: Likewise.
9294 * elf/dl-object.c: Likewise.
9295 * grp/initgroups.c: Likewise.
9296 * hurd/Makefile: Likewise.
9297 * hurd/hurd/signal.h: Likewise.
9298 * hurd/hurdfault.c: Likewise.
9299 * hurd/hurdioctl.c: Likewise.
9300 * hurd/hurdlookup.c: Likewise.
9301 * hurd/intr-msg.c: Likewise.
9302 * iconv/gconv_open.c: Likewise.
9303 * libio/swprintf.c: Likewise.
9304 * locale/lc-ctype.c: Likewise.
9305 * locale/nl_langinfo.c: Likewise.
9306 * mach/Machrules: Likewise.
9307 * mach/Makefile: Likewise.
9308 * malloc/obstack.h: Likewise.
9309 * manual/Makefile: Likewise.
9310 * manual/tsort.awk: Likewise.
9311 * misc/bits/stab.def: Likewise.
9312 * nis/nis_print_group_entry.c: Likewise.
9313 * nis/nis_table.c: Likewise.
9314 * nis/nss_compat/compat-pwd.c: Likewise.
9315 * nis/nss_compat/compat-spwd.c: Likewise.
9316 * po/Makefile: Likewise.
9317 * posix/fnmatch.c: Likewise.
9318 * posix/regex.h: Likewise.
9319 * resolv/Makefile: Likewise.
9320 * resolv/nss_dns/dns-network.c: Likewise.
9321 * resolv/res_hconf.c: Likewise.
9322 * scripts/gen-sorted.awk: Likewise.
9323 * soft-fp/soft-fp.h: Likewise.
9324 * stdio-common/printf.h: Likewise.
9325 * stdlib/monetary.h: Likewise.
9326 * stdlib/random.c: Likewise.
9327 * stdlib/random_r.c: Likewise.
9328 * sysdeps/generic/Makefile: Likewise.
9329 * sysdeps/gnu/Makefile: Likewise.
9330 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9358 * sysdeps/mach/hurd/errnos.awk: Likewise.
9359 * sysdeps/mach/hurd/fork.c: Likewise.
9360 * sysdeps/mach/hurd/getcwd.c: Likewise.
9361 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9362 * sysdeps/mach/hurd/mmap.c: Likewise.
9363 * sysdeps/mach/hurd/utimes.c: Likewise.
9364 * sysdeps/mach/hurd/xmknod.c: Likewise.
9365 * sysdeps/posix/profil.c: Likewise.
9366 * sysdeps/posix/readdir_r.c: Likewise.
9367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9368 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9369 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9372 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9373 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9374 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9378 * sysdeps/pthread/lio_listio.c: Likewise.
9379 * sysdeps/sparc/dl-procinfo.h: Likewise.
9380 * sysdeps/unix/i386/sysdep.S: Likewise.
9381 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9382 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9383 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9384 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9386 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9387 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9388 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9389 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9390 * sysdeps/wordsize-32/divdi3.c: Likewise.
9391 * time/sys/time.h: Likewise.
9392 * wcsmbs/Makefile: Likewise.
9393
0549fbba
DM
93942013-01-01 David S. Miller <davem@davemloft.net>
9395
a141f1a7
DM
9396 * po/fr.po: Update from translation team.
9397
0549fbba
DM
9398 * catgets/gencat.c: Update copyright year.
9399 * csu/version.c: Likewise.
9400 * debug/catchsegv.sh: Likewise.
9401 * debug/pcprofiledump.c: Likewise.
9402 * debug/xtrace.sh: Likewise.
9403 * elf/ldconfig.c: Likewise.
9404 * elf/ldd.bash.in: Likewise.
9405 * elf/pldd.c: Likewise.
9406 * elf/sotruss.ksh: Likewise.
9407 * elf/sprof.c: Likewise.
9408 * iconv/iconv_prog.c: Likewise.
9409 * iconv/iconvconfig.c: Likewise.
9410 * locale/programs/locale.c: Likewise.
9411 * locale/programs/localedef.c: Likewise.
9412 * login/programs/pt_chown.c: Likewise.
9413 * malloc/memusage.sh: Likewise.
9414 * malloc/memusagestat.c: Likewise.
9415 * malloc/mtrace.pl: Likewise.
9416 * nscd/nscd.c: Likewise.
9417 * nss/getent.c: Likewise.
9418 * nss/makedb.c: Likewise.
9419 * posix/getconf.c: Likewise.
9420
18ea052c
SP
94212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9422
9423 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9424 numbers.
9425
9c89fca6
MF
94262012-12-30 Mike Frysinger <vapier@gentoo.org>
9427
9428 * math/bits/mathcalls.h (modf): Use __nonnull.
9429
085ec079
SP
94302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
9432 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9433 (split): Use macro CN instead of the bare value.
9434 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9435 could be used.
9436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9437 instead of the bare value.
9438 (power1): Likewise.
9439
6d9f97e1
SP
94402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9441
d63f73be
SP
9442 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9443 __ATAN_TWOM.
9444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9445
6d9f97e1
SP
9446 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9447 their values.
9448 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9450 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9451 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9452
4c4febf5
AJ
94532012-12-28 Andreas Jaeger <aj@suse.de>
9454
af5843ef
AJ
9455 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9456 values are from Linux 3.7.
9457
4c4febf5
AJ
9458 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9459 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9460
99136f82
SP
94612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
2f216c3c 9463 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9464 TRUE case.
9465
99136f82
SP
9466 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9467 (norm): Likewise.
9468 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9469 variables with preprocessor constants.
9470 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9471 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9472 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9473
7fffbdff
BH
94742012-12-27 Bruno Haible <bruno@clisp.org>
9475
9476 [BZ #14317]
9477 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9478 only if needed.
9479
b76eb5f0
SP
94802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9481
31a7fe5c
SP
9482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9483 and use variable directly.
9484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9485
b76eb5f0
SP
9486 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9487 MPONE.
9488 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9490 variable MPONE.
9491 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9493 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9494 include directive. Remove local variable MPONE.
9495 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9498
2c8bfe7d
DM
94992012-12-25 David S. Miller <davem@davemloft.net>
9500
9501 * version.h (RELEASE): Set to "development".
9502 (VERSION): Set to "2.17.90".
9503 * NEWS: Add 2.18 section.
9504
147d03b0
DM
95052012-12-21 David S. Miller <davem@davemloft.net>
9506
9507 * po/hr.po: Update from translation team.
9508
a8ebb2b9
AK
95092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9510
9511 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9512
95b4f1b6
SE
95132012-12-19 Steve Ellcey <sellcey@mips.com>
9514
b2d94007 9515 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9516
cedb2a90
MS
95172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9518
9519 * manual/contrib.texi (Contributors): Spelling correction.
9520
bbf527d6
DM
95212012-12-15 David S. Miller <davem@davemloft.net>
9522
9523 * po/ru.po: Update from translation team.
9524
bc38c906
DM
95252012-12-13 David S. Miller <davem@davemloft.net>
9526
85429b1a
DM
9527 * NEWS: Mention IFUNC testsuite enhancements.
9528
d283e353
DM
9529 * po/pl.po: Update from translation team.
9530 * po/bg.po: Likewise.
9531
bc38c906
DM
9532 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9533 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9534
a181b0d7
DM
95352012-12-11 David S. Miller <davem@davemloft.net>
9536
4641d57e
DM
9537 * po/sv.po: Update from translation team.
9538
f7bc6495
DM
9539 * po/vi.po: Update from translation team.
9540
6fc9048f
DM
9541 * po/cs.po: Update from translation team.
9542
a181b0d7
DM
9543 * po/de.po: Update from translation team.
9544 * po/eo.po: Likewise.
9545 * po/nl.po: Likewise.
9546
f70bfe80
SP
95472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9548
3c8b4190
SP
9549 [BZ #14246]
9550 * manual/argp.texi (Argp Helper Functions): Move node to follow
9551 Argp Parsing State.
9552
f70bfe80
SP
9553 [BZ #14872]
9554 * manual/conf.texi (Limits on File System Capacity): Mention if
9555 terminating null is included in the max size.
9556
188f0adf
AJ
95572012-12-10 Andreas Jaeger <aj@suse.de>
9558
9559 * po/cs.po: Update from translation team.
9560
56e7d3ad
SP
95612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9562
9563 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9564 void pointer and cast to uintptr_t.
9565 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9566 path.
9567 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9568 * sysdeps/s390/s390-64/memset.S: Likewise.
9569
76f2d2ea 95702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9571
9572 [BZ #14833]
9573 * menual/message.texi (Message Translation): Fix typos.
9574 (Helper programs for gettext): Likewise.
9575
67cbf9a2
AS
95762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9577
9578 [BZ #14898]
9579 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9580 Change to -1.
9581
682d0e9a
DM
95822012-12-07 David S. Miller <davem@davemloft.net>
9583
9584 * po/libc.pot: Update.
9585
573cd484
RH
95862012-12-07 Richard Henderson <rth@redhat.com>
9587
7e9da188 9588 [BZ #10114]
573cd484
RH
9589 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9590 normal/normal case to before the switch.
9591 (_FP_DIV): Likewise.
9592
e933a943
MF
95932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9594 Mike Frysinger <vapier@gentoo.org>
9595
9596 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9597 check for __NR_fadvise64_64.
9598
82123268
CM
95992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9600
9601 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9602 0, not just to plain "0" as a statement.
9603 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9604 with cw.
9605
d9814526
JM
96062012-12-06 Joseph Myers <joseph@codesourcery.com>
9607
9608 * NEWS: Use sourceware.org in Bugzilla URL.
9609
7728c574
SP
96102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9611
f16946dd
SP
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9613 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9614
5704bbcb
SP
9615 * stdio-common/tst-put-error.c (do_test): Add newline to the
9616 padded test to ensure flush.
9617
17aa0516
JL
96182012-12-05 Jeff Law <law@redhat.com>
9619
9620 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9621
363313b5
JM
96222012-12-05 Joseph Myers <joseph@codesourcery.com>
9623
effbd42a
JM
9624 * README: Don't refer to ports add-on as distributed separately.
9625 Mention AArch64 in list of systems supported in the ports add-on.
9626
87600365
JM
9627 * LICENSES: Add more non-FSF copyright and license notices.
9628
a0d7066a
JM
9629 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9630 ((unused)).
9631
66ca5a5b
JM
9632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9633
363313b5
JM
9634 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9635 10000 as width of padded output.
9636
b37984ad
JM
96372012-12-04 Joseph Myers <joseph@codesourcery.com>
9638
9003570a
JM
9639 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9640
b37984ad
JM
9641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9642 variable LX with __attribute__ ((unused)).
9643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9644 Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9648 with __attribute__ ((unused)).
9649
c8df52ec
DM
96502012-12-04 David S. Miller <davem@abraco.davemloft.net>
9651
9652 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9653
b3b099af
JM
96542012-12-04 Joseph Myers <joseph@codesourcery.com>
9655
c33aa6e3
JM
9656 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9657 (CFLAGS-nldbl-acos.c): New variable.
9658 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9659 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9660 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9661 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9662 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9663 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9664 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9665 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9666 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9667 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9668 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9669 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9670 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9671 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9672 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9673 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9674 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9675 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9676 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9677 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9678 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9679 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9680 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9681 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9682 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9683 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9684 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9685 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9686 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9687 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9688 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9689 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9690 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9691 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9692 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9693 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9694 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9695 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9696 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9697 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9698 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9699 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9700 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9701 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9702 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9703 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9704 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9705 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9706 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9707 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9708 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9709 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9710 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9755
20f0018d
JM
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9757 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9758
b3b099af
JM
9759 [BZ #14914]
9760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9761 whole low double instead of just low 47 bits when splitting values
9762 into two parts.
9763
029264d1
AM
97642012-12-03 Allan McRae <allan@archlinux.org>
9765
9766 * manual/stdio.texi (Predefined Printf Handlers): Remove
9767 @hsep and @vsep usage.
9768
c9d6789e
MF
97692012-12-03 Mike Frysinger <vapier@gentoo.org>
9770
9771 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9772 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9773
4b7634a5
JL
97742012-12-03 Jeff Law <law@redhat.com>
9775
9776 * time/sys/time.h (settimeofday): Do not mark TV argument
9777 as __nonnull.
9778
eb6cbd24
MF
97792012-12-01 Mike Frysinger <vapier@gentoo.org>
9780
9781 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9782 when currently writing and seek to current position when not.
9783 * libio/Makefile (tests): Remove bug-fclose1.
9784 * libio/bug-fclose1.c: Delete.
9785
f638872a
JM
97862012-12-01 Joseph Myers <joseph@codesourcery.com>
9787
9788 * manual/arith.texi (feenableexcept): Fix typo.
9789 (fedisableexcept): Likewise.
9790
48085d14
RM
97912012-11-30 Roland McGrath <roland@hack.frob.com>
9792
9793 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9794 second, differently-typed declaration, rather than a cast.
9795
1a538b9f
SP
97962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9797
9798 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9799 * include/rpc/svc.h: ... here.
9800
d07f2ff1 98012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9802
9803 [BZ #13013]
9804 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9805 depending n and resplen2 to catch cases where answer
9806 equals answerp2.
9807
c93ec1f0
CD
98082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9809
9810 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9811 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9812
37db69de
MF
98132012-11-29 Mike Frysinger <vapier@gentoo.org>
9814
9815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9816
e10c4e4f
RM
98172012-11-29 Roland McGrath <roland@hack.frob.com>
9818
9819 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9820
2af1b328
JL
98212012-11-28 Jeff Law <law@redhat.com>
9822
9823 [BZ #13761]
9824 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9825 dataset_temporary. Track alloca usage into alloca_used.
9826 If dataset is large allocate and release it via malloc/free.
9827
111db5b1
FW
98282012-06-04 Florian Weimer <fweimer@redhat.com>
9829
f06cc227 9830 [BZ #14197]
111db5b1
FW
9831 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9832
dd694abd
DM
98332012-11-28 David S. Miller <davem@davemloft.net>
9834
9835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9836
9984dd01
JM
98372012-11-28 Joseph Myers <joseph@codesourcery.com>
9838
9839 [BZ #14803]
9840 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9841 of pi/2 rounded to nearest to 64 bits.
9842 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9843 nearest to 64 bits.
9844 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9845 bits.
9846
14bc93a9
JL
98472012-11-28 Jeff Law <law@redhat.com>
9848 Martin Osvald <mosvald@redhat.com>
9849
9850 [BZ #14889]
9851 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9852 * sunrpc/svc.c: Include time.h.
9853 (__svc_accept_failed): New function.
9854 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9855 any reason other than EINTR, call __svc_accept_failed.
9856 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9857 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9858
e3c6aa3a
AS
98592012-11-28 Andreas Schwab <schwab@suse.de>
9860
9861 * scripts/abilist.awk: Also handle indirect functions in .opd
9862 section.
9863
1bead169
JM
98642012-11-28 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #13881]
9867 * sysdeps/x86/fpu/powl_helper.c: New file.
9868 * sysdeps/x86/fpu/Makefile: Likewise.
9869 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9870 (p3): New object.
9871 (__ieee754_powl): Use __powl_helper for finite arguments except
9872 integer exponents below 8.
9873 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9874 (p3): New object.
9875 (__ieee754_powl): Use __powl_helper for finite arguments except
9876 integer exponents below 8.
9877 * math/libm-test.inc (pow_test): Add more tests and enable some
9878 previously disabled tests.
9879 * sysdeps/i386/fpu/libm-test-ulps: Update.
9880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9881
0817d63d
SP
98822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9883 Carlos O'Donell <carlos_odonell@mentor.com>
9884
9885 * nss/makedb.c (is_prime): Assert that input is odd and greater
9886 than 4. Note that fact in a comment too.
9887 (next_prime): Add 4 to input.
9888
de2fd463
SP
98892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9890
9891 [BZ #11741]
9892 * libio/Makefile (tests): Add test case tst-fwrite-error.
9893 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9894 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9895 * libio/tst-fwrite-error.c: New test case.
9896
c515fb51
L
98972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9898
9899 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9900 before casting to void *.
9901 * include/libc-internal.h (__pointer_type): New macro.
9902 (__integer_if_pointer_type_sub): Likewise.
9903 (__integer_if_pointer_type): Likewise.
9904 (cast_to_integer): Likewise.
9905 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9906 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9907 before casting to atomic64_t.
9908 (atomic_exchange_acq): Likewise.
9909 (__arch_exchange_and_add_body): Likewise.
9910 (__arch_add_body): Likewise.
9911 (atomic_add_negative): Likewise.
9912 (atomic_add_zero): Likewise.
9913
4cf77aa9
JM
99142012-11-26 Joseph Myers <joseph@codesourcery.com>
9915
9916 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9917 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9918 (add_fdes): Likewise.
9919 (linear_search_fdes): Likewise.
9920 (binary_search_unencoded_fdes): Likewise.
9921
d260b3b4
AS
99222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9923
9924 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9925
67060746
AC
99262012-11-24 Adam Conrad <adconrad@0c3.net>
9927
9928 * configure.in: Autodetect C++ header directories.
9929 * configure: Regenerated.
9930
800938a1
MF
99312012-11-23 Mike Frysinger <vapier@gentoo.org>
9932
9933 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9934
4e6e34e6
AS
99352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9936
9937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9938
7c7feb47
JM
99392012-11-22 Joseph Myers <joseph@codesourcery.com>
9940
7184dcdf
JM
9941 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9942 LDBL_MANT_DIG == 106]: Disable some tests.
9943 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9944 Likewise.
9945 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9946 Likewise.
9947
0a42601f
JM
9948 [BZ #14871]
9949 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9950 input for small inputs. Return +/- pi/2 for large inputs.
9951 * math/libm-test.inc (atan_test): Add more tests.
9952
79c9b9fe
JM
9953 * sysdeps/generic/unwind-dw2-fde-glibc.c
9954 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9955 __attribute__ ((unused)).
9956
c60d3bf2
JM
9957 [BZ #14645]
9958 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9959 x * y if x and y are nonzero and z is zero.
9960
ef1e0867
JM
9961 [BZ #14811]
9962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9963 nonzero exponents with absolute value below 0x1p-117 to +/-
9964 0x1p-117.
9965
1468ded3
JM
9966 [BZ #14869]
9967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9968 up arguments below 2**-450, not just those below 2**-500.
9969 * math/libm-test.inc (hypot_test): Add another test.
9970
8e27e3cc
JM
9971 [BZ #14868]
9972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9973 Return a+b for ratio over 2**120, not 2**60.
9974 * math/libm-test.inc (hypot_test): Add another test.
9975
c9c0279b
JM
9976 * math/libm-test.inc (clog_test): Use
9977 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9978 (clog10_test): Likewise.
9979
7c7feb47
JM
9980 [BZ #6778]
9981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9982
fff1530e
AS
99832012-11-22 Andreas Schwab <schwab@suse.de>
9984
9985 * sysdeps/i386/fpu/libm-test-ulps: Update.
9986
94558d30
PT
99872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9988
9989 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9990 printf output with newline.
9991
7e1be741
L
99922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9993
6bfea974
L
9994 [BZ #14865]
9995 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9996 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9997 -z nodlopen, -z initfirst and -z execstack support.
9998 * configure: Regenerated.
9999
7e1be741
L
10000 * elf/elf.h (DF_1_NODIRECT): New macro.
10001 (DF_1_IGNMULDEF): Likewise.
10002 (DF_1_NOKSYMS): Likewise.
10003 (DF_1_NOHDR): Likewise.
10004 (DF_1_EDITED): Likewise.
10005 (DF_1_NORELOC): Likewise.
10006 (DF_1_SYMINTPOSE): Likewise.
10007 (DF_1_GLOBAUDIT): Likewise.
10008 (DF_1_SINGLETON): Likewise.
10009 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10010 DT_1_SUPPORTED_MASK bits.
10011 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10012
105ce2ce
CD
100132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10014
10015 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10016
123be9de
TS
100172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10018
d072f3f7
TS
10019 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10020 macro.
10021
123be9de
TS
10022 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10023 (sendmmsg): Move declarations...
10024 * socket/sys/socket.h: ... here.
10025 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10026 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10027 include it from...
10028 * socket/recvmmsg.c: ... this new file.
10029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10030 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10031 definition of __sendmmsg hidden.
10032 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10033 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10034 Move ENOSYS stub into and include it from...
10035 * socket/sendmmsg.c: ... this new file.
10036 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10037 (sysdep_routines): Move recvmmsg and sendmmsg...
10038 * socket/Makefile (routines): ... here.
10039 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10040 (GLIBC_PRIVATE): Add __sendmmsg.
10041 * include/sys/socket.h (__sendmmsg): Add declarations.
10042 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10043 sendmmsg.
10044
cf9a5d18
JM
100452012-11-20 Joseph Myers <joseph@codesourcery.com>
10046
10047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10048 variable I1 with __attribute__ ((unused)).
10049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10050
ecd4caf9
JM
100512012-11-19 Joseph Myers <joseph@codesourcery.com>
10052
be14d48f
JM
10053 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10054 DUMMY variables with __attribute__ ((unused)).
10055
ecd4caf9
JM
10056 * bits/byteswap.h: Include <bits/types.h>.
10057 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10058
986cab95
PT
100592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10060
10061 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10062 string_t. Do not manually set errno.
10063 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10064 length with __strnlen. Make sure to both set errno and return it on
10065 failure.
10066
6d33cc9d
DM
100672012-11-19 David S. Miller <davem@davemloft.net>
10068
10069 With help from Joseph Myers.
10070 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10071 very large arguments properly.
10072 * math/libm-test.inc (atan_test): New tests.
10073 (atan2_test): New tests.
10074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10076
ee663277
JM
100772012-11-19 Joseph Myers <joseph@codesourcery.com>
10078
877f2d8e
JM
10079 [BZ #14856]
10080 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10081 Define to 3.
10082
116fc08a
JM
10083 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10084 [POSIX] (EADDRNOTAVAIL): Likewise.
10085 [POSIX] (EAFNOSUPPORT): Likewise.
10086 [POSIX] (EALREADY): Likewise.
10087 [POSIX] (ECONNABORTED): Likewise.
10088 [POSIX] (ECONNREFUSED): Likewise.
10089 [POSIX] (ECONNRESET): Likewise.
10090 [POSIX] (EDESTADDRREQ): Likewise.
10091 [POSIX] (EDQUOT): Likewise.
10092 [POSIX] (EHOSTUNREACH): Likewise.
10093 [POSIX] (EIDRM): Likewise.
10094 [POSIX] (EISCONN): Likewise.
10095 [POSIX] (ELOOP): Likewise.
10096 [POSIX] (EMULTIHOP): Likewise.
10097 [POSIX] (ENETDOWN): Likewise.
10098 [POSIX] (ENETUNREACH): Likewise.
10099 [POSIX] (ENOBUFS): Likewise.
10100 [POSIX] (ENODATA): Likewise.
10101 [POSIX] (ENOLINK): Likewise.
10102 [POSIX] (ENOMSG): Likewise.
10103 [POSIX] (ENOPROTOOPT): Likewise.
10104 [POSIX] (ENOSR): Likewise.
10105 [POSIX] (ENOSTR): Likewise.
10106 [POSIX] (ENOTCONN): Likewise.
10107 [POSIX] (ENOTSOCK): Likewise.
10108 [POSIX] (EOPNOTSUPP): Likewise.
10109 [POSIX] (EOVERFLOW): Likewise.
10110 [POSIX] (EPROTO): Likewise.
10111 [POSIX] (EPROTONOSUPPORT): Likewise.
10112 [POSIX] (EPROTOTYPE): Likewise.
10113 [POSIX] (ESTALE): Likewise.
10114 [POSIX] (ETIME): Likewise.
10115 [POSIX] (ETXTBSY): Likewise.
10116 [POSIX] (EWOULDBLOCK): Likewise.
10117 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10118 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10119 [POSIX] (SEEK_CUR): Likewise.
10120 [POSIX] (SEEK_END): Likewise.
10121 [POSIX || UNIX98] (mode_t): Do not require.
10122 [POSIX] (off_t): Likewise.
10123 [POSIX] (pid_t): Likewise.
10124 [POSIX] (sys/stat.h): Do not allow header.
10125 [POSIX] (unistd.h): Likewise.
10126 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10127 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10128 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10129 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10130 require.
10131 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10132 sigevent): Specify elements.
10133 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10134 entry.
10135 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10136 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10137
a483863f
JM
10138 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10139 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10140 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10141 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10142 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10143 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10144 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10145 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10147 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10148 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10150 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10152 Likewise.
10153 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10154 Likewise.
10155 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10156 Likewise.
10157 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10158 Likewise.
10159 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10162 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10164 Specify lower bound on value.
10165 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10171 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10172 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10173 value.
10174 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10175 as optional.
10176 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10192 entry.
10193 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10194 optional.
10195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10201 Likewise.
10202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10207 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10209 as optional.
10210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10214 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10215 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10216 specify as optional.
10217 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10220 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10221 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10222 [XPG3] (NL_LANGMAX): Likewise.
10223 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10224 [POSIX || XPG3] (NL_NMAX): Likewise.
10225 [POSIX || XPG3] (NL_SETMAX): Likewise.
10226 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10227 [XPG3] (NZERO): Likewise.
10228 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10229 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10230 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10231 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10232 (REG_ERANGE): Expect.
10233 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10234 optional-constant.
10235 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10236 Use (void) in prototype.
10237 [POSIX] (*_t): Allow.
10238 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10239 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10240 (WRDE_BADVAL): Expect.
10241
5ba924e3
JM
10242 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10243 expect.
10244 [XPG3 || XPG4] (O_RSYNC): Likewise.
10245 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10246 Likewise.
10247 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10248 [XPG3 || XPG4] (sigqueue): Likewise.
10249 [XPG3 || XPG4] (sigtimedwait): Likewise.
10250 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10251 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10252 [XPG3 || XPG4] (vsnprintf): Likewise.
10253 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10254 Likewise.
10255 [XPG3 || XPG4] (blksize_t): Likewise.
10256 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10257 Likewise.
10258 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10259 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10260 [XPG3 || XPG4] (struct itimerspec): Likewise.
10261 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10262 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10263 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10264 [XPG3 || XPG4] (clockid_t): Likewise.
10265 [XPG3 || XPG4] (timer_t): Likewise.
10266 [XPG3 || XPG4] (clock_getres): Likewise.
10267 [XPG3 || XPG4] (clock_gettime): Likewise.
10268 [XPG3 || XPG4] (clock_settime): Likewise.
10269 [XPG3 || XPG4] (nanosleep): Likewise.
10270 [XPG3 || XPG4] (timer_create): Likewise.
10271 [XPG3 || XPG4] (timer_delete): Likewise.
10272 [XPG3 || XPG4] (timer_gettime): Likewise.
10273 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10274 [XPG3 || XPG4] (timer_settime): Likewise.
10275 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10276 [XPG3 || XPG4] (getlogin_r): Likewise.
10277 [XPG3 || XPG4] (pread): Likewise.
10278 [XPG3 || XPG4] (pthread_atfork): Likewise.
10279 [XPG3 || XPG4] (pwrite): Likewise.
10280
ee663277
JM
10281 [BZ #14835]
10282 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10283 <bits/siginfo.h>.
10284
942caa16
PT
102852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10286
e19af380
PT
10287 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10288 finalizing MALLSTREAM.
10289
942caa16
PT
10290 * sysdeps/mach/hurd/syncfs.c: New file.
10291
cfde9b46
SP
102922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 [BZ #14719]
10295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10296 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10297 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10298 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10299 (_nss_dns_gethostbyname4_r): Likewise.
10300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10301 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10302
f6da27e5
PH
103032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10304
10305 [BZ #13763]
10306 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10307
6665d4a2
SM
103082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10309
1f51ee92
SM
10310 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10311 * elf/cache.c (print_entry): Print ",AArch64" for
10312 FLAG_AARCH64_LIB64
10313
6665d4a2
SM
10314 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10315 * elf/cache.c (print_entry): Print ",hard-float" for
10316 FLAG_ARM_LIBHF.
10317
05b227bd
DM
103182012-11-18 David S. Miller <davem@davemloft.net>
10319
10320 With help from Joseph Myers.
10321 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10322 cutoff to 2**-13.
10323 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10324 cutoff to 2**-25.
10325 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10326 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10327 small.
10328 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10329 * math/libm-test.inc (y0_test): New tests.
10330 (y1_test): New tests.
10331 * sysdeps/i386/fpu/libm-test-ulps: Update.
10332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10334
786b0b67
AS
103352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10336
10337 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10338 64-bit targets.
10339 * configure: Regenerated.
10340
8e18b86d
DM
103412012-11-17 David S. Miller <davem@davemloft.net>
10342
10343 [BZ #14811]
10344 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10345 nonzero exponents with absolute value below 0x1p-128 to +/-
10346 0x1p-128.
10347
531f1ae0
JM
103482012-11-17 Joseph Myers <joseph@codesourcery.com>
10349
12df29e2
JM
10350 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10351
150dc1a0
JM
10352 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10353
531f1ae0
JM
10354 * posix/getconf-speclist.c: New file.
10355 * posix/posix-envs.def: Likewise.
10356 * posix/confstr.c (START_ENV_GROUP): New macro.
10357 (END_ENV_GROUP): Likewise.
10358 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10359 (KNOWN_PRESENT_ENV_STRING): Likewise.
10360 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10361 (UNKNOWN_ENVIRONMENT): Likewise.
10362 (confstr): Include posix-envs.def instead of handling
10363 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10364 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10365 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10366 (END_ENV_GROUP): Likewise.
10367 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10368 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10369 (UNKNOWN_ENVIRONMENT): Likewise.
10370 (__sysconf): Include posix-envs.def instead of handling associated
10371 cases directly here.
10372 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10373 preprocessing getconf-speclist.c rather than running getconf or
10374 generating empty file.
10375
a93f9cbc
PT
103762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10377
10378 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10379
d64d9f87
AL
103802012-11-16 Andrej Lajovic <natrij@gmail.com>
10381
10382 [BZ #14672]
10383 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10384
447885eb
DM
103852012-11-16 David S. Miller <davem@davemloft.net>
10386
10387 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10388 smaller than LDBL_EPSILON/2.0L, just return xm1.
10389
bcbf9830
L
103902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10391
10392 * elf/tst-array1.c (init): Set constructor priority to 1000.
10393 (fini): Set destructor priority to 1000.
10394 * elf/tst-array2dep.c: Likewise.
10395
2b766585
SP
103962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10397
10398 [BZ #11741]
10399 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10400 (_IO_new_file_xsputn): Also return EOF if none of the input
10401 data was written when overflow failed.
10402 * libio/iopadn.c (_IO_padn): Likewise.
10403 * libio/iowpadn.c (_IO_wpadn): Likewise.
10404 * stdio-common/tst-put-error.c: Add copyright notice.
10405 (do_test): Add case for printing padded string.
10406 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10407 _IO_padn returned error.
10408 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10409 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10410 return EOF.
10411
b1848fde
SP
104122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10413
10414 * libio/libioP.h: Add comment note that the references to C++
10415 bits are now obsolete.
10416
2fd89785
MS
104172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10418
10419 * math/libm-test.inc (check_complex): Use asprintf.
10420
e3ea5409
JM
104212012-11-14 Joseph Myers <joseph@codesourcery.com>
10422
10423 * debug/pcprofiledump.c (print_version): Update copyright year.
10424 * malloc/memusagestat.c (print_version): Likewise.
10425
2e64d265
L
104262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 [BZ #14831]
10429 * elf/Makefile (tests): Add tst-audit8.
10430 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10431 ($(objpfx)tst-audit8.out): New target.
10432 (tst-audit8-ENV): New variable.
10433 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10434 audit if l_reloc_result is NULL.
10435 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10436 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10437 * elf/tst-audit8.c: New file.
10438
c485e4d2
MS
104392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10440
10441 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10442 * misc/Makefile (CFLAGS-select.c): Define.
10443 * posix/Makefile (CFLAGS-pause.c): Define.
10444
3a0d900a
DM
104452012-11-13 David S. Miller <davem@davemloft.net>
10446
10447 * crypt/Makefile: Move test targets after toplevel Rules
10448 inclusion. Grab any necessary sysdep routines when linking.
10449 * crypt/md5.c (md5_process_block): Remove define, we will always
10450 name it __md5_process_block.
10451 (md5_finish_ctx): Update md5_process_block call.
10452 (md5_stream): Likewise.
10453 (md5_process_bytes): Likewise.
10454 (md5_process_block): Rename to __md5_process_block and move to ...
10455 * crypt/md5-block.c: ... here.
10456 * crypt/sha256.c (sha256_process_block): Move to ...
10457 * crypt/sha256-block.c: ... here.
10458 * crypt/sha512.c (sha512_process_block): Move to ...
10459 * crypt/sha512-block.c: ... here.
10460 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10461 path.
10462 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10463 * sysdeps/sparc/sparc64/multiarch/Makefile
10464 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10465 crypt subdir.
10466 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10468 multiarch changes.
10469 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10470 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10471 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10472 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10473 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10474 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10476 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10477 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10478 file.
10479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10481 file.
10482 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10483
8ca89318
JM
104842012-11-13 Joseph Myers <joseph@codesourcery.com>
10485
e27d476a
JM
10486 * timezone/tzselect.ksh: Update from tzcode git revision
10487 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10488 * timezone/zdump.c: Likewise.
10489 * timezone/zic.c: Likewise.
10490 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10491 in TZVERSION setting, not $(PKGVERSION).
10492 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10493 REPORT_BUGS_TO settings.
10494
8ca89318
JM
10495 [BZ #14838]
10496 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10497 macro.
10498
47594329
MS
104992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10500
10501 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10502 detection to immediately after _FP_ROUND().
10503 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10504 bits are 0.
10505
640ac3f1
DM
105062012-11-11 David S. Miller <davem@davemloft.net>
10507
10508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10509 inttypes.h
10510 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10511 __close rather than their public counterparts.
10512
3d2577bb
JM
105132012-11-10 Joseph Myers <joseph@codesourcery.com>
10514
10515 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10516 file.
10517 [UNIX98] (sem_timedwait): Do not expect.
10518 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10519 [XPG4 || UNIX98] (sockatmark): Do not expect.
10520 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10521 (clock_getcpuclockid): Do not expect.
10522 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10523 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10524 Do not expect.
10525 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10526 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10527 [UNIX98] (vwscanf): Likewise.
10528 [UNIX98] (vswscanf): Likewise.
10529
fb1ae1ee
JM
105302012-11-09 Joseph Myers <joseph@codesourcery.com>
10531
9ec6f8bd
JM
10532 * timezone/version.h: Remove file.
10533 * timezone/README: Do not refer to version.h.
10534 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10535 $(objpfx)version.h.
10536 ($(objpfx)zdump.o): Likewise.
c3f81911 10537 ($(objpfx)version.h): New target.
9ec6f8bd 10538
0aa8f8a1
JM
10539 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10540 2012i.
10541 * timezone/README: Don't mention modification to tzselect.ksh.
10542 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10543 work on unmodified tzselect.ksh. Substitute version numbers in
10544 tzselect.ksh.
10545
4e87147f
JM
10546 * Makefile (format-me): Remove.
10547 (INSTALL): Adjust indentation. Use commands directly instead of
10548 using $(format-me).
10549
8b748aed
JM
10550 * aclocal.m4 (ACX_PKGVERSION): New macro.
10551 (ACX_BUGURL): Likewise.
10552 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10553 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10554 (REPORT_BUGS_TO): Likewise.
10555 * configure: Regenerated.
10556 * config.h.in (PKGVERSION): New macro.
10557 (REPORT_BUGS_TO): Likewise.
10558 * config.make.in (PKGVERSION): New variable.
10559 (PKGVERSION_TEXI): Likewise.
10560 (REPORT_BUGS_TO): Likewise.
10561 (REPORT_BUGS_TEXI): Likewise.
10562 * Makefile (format-me): Use -I$(common-objpfx)manual.
10563 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10564 ($(common-objpfx)manual/%): New target.
10565 (manual/%): Remove target.
10566 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10567 (print_version): Use PKGVERSION.
10568 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10569 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10570 and REPORT_BUGS_TO.
10571 ($(objpfx)xtrace): Likewise.
10572 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10573 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10574 (print_version): Use PKGVERSION.
10575 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10576 (do_version): Use PKGVERSION.
10577 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10578 REPORT_BUGS_TO.
10579 (common-ldd-rewrite): Likewise.
10580 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10581 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10582 (print_version): Use PKGVERSION.
10583 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10584 * elf/pldd.c (argp_program_bug_address): Remove variable.
10585 (more_help): New function.
10586 (argp): Use more_help.
10587 (print_version): Use PKGVERSION.
10588 * elf/sln.c (main): Use PKGVERSION.
10589 (usage): Use REPORT_BUGS_TO.
10590 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10591 (top level): Use PKGVERSION.
10592 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10593 (print_version): Use PKGVERSION.
10594 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10595 (print_version): Use PKGVERSION.
10596 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10597 (print_version): Use PKGVERSION.
10598 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10599 (print_version): Use PKGVERSION.
10600 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10601 (print_version): Use PKGVERSION.
10602 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10603 (print_version): Use PKGVERSION.
10604 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10605 and BUGURL.
10606 ($(objpfx)memusage): Likewise.
10607 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10608 (do_version): Use PKGVERSION.
10609 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10610 (print_version): Use PKGVERSION.
10611 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10612 ($PKGVERSION): New variable.
10613 ($REPORT_BUGS_TO): Likewise.
10614 (usage): Use $REPORT_BUGS_TO.
10615 (top level): Use $PKGVERSION.
10616 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10617 ($(objpfx)pkgvers.texi): New rule.
10618 ($(objpfx)stamp-pkgvers): Likewise.
10619 * manual/install.texi: Include pkgvers.texi.
10620 (--with-pkgversion): Document new configure option.
10621 (--with-bugurl): Likewise.
10622 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10623 than necessarily for this particular distribution. Use
10624 REPORT_BUGS_TO for where to report bugs.
10625 * INSTALL: Regenerated.
10626 * manual/libc.texinfo: Include pkgvers.texi.
10627 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10628 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10629 (print_version): Use PKGVERSION.
10630 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10631 (print_version): Use PKGVERSION.
10632 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10633 (print_version): Use PKGVERSION.
10634 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10635 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10636 macro.
10637 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10638 (print_version): Use PKGVERSION.
10639 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10640 (print_version): Use PKGVERSION.
10641 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10642 and PKGVERSION.
10643
92e4b6a9
JM
10644 * timezone/checktab.awk: Update from tzcode 2012i.
10645 * timezone/ialloc.c: Likewise.
10646 * timezone/private.h: Likewise.
10647 * timezone/scheck.c: Likewise.
10648 * timezone/tzfile.h: Likewise.
10649 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10650 (TZVERSION): Hardcode tzcode version number.
10651 * timezone/zdump.c: Update from tzcode 2012i.
10652 * timezone/zic.c: Likewise.
10653 * timezone/version.h: New file.
10654 * timezone/README: Describe version.h. Update upstream location.
10655
9bde902c
JM
10656 [BZ #14824]
10657 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10658 (mktemp): Enable declaration.
10659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10663 Likewise.
10664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10665 Likewise.
10666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10667 Likewise.
10668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10669 Likewise.
10670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10671 Likewise.
10672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10673 Likewise.
10674
fb1ae1ee
JM
10675 [BZ #14821]
10676 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10677 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10678 for copies of such integer values.
10679 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10680 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10681
2c1adbcb
AJ
106822012-11-09 Andreas Jaeger <aj@suse.de>
10683
10684 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10685 definitions and declarations that are provided by
10686 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10687
d0f8457e
AK
106882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10689
3a235abb 10690 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10691 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10692 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10693 definition.
10694
57241e26
MS
106952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10696
10697 * elf/elf.h: Update comment before AArch64 relocations.
10698
60e8270d
DM
106992012-11-07 David S. Miller <davem@davemloft.net>
10700
10701 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10703 (__start_context): Declare.
10704 (__makecontext_ret): Delete.
10705 (__makecontext): Hook up __start_context instead of
10706 __makecontext_ret.
10707 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10708 (sysdep_routines): Add __start_context when in stdlib.
10709
0fbb0fbc
JM
107102012-11-07 Joseph Myers <joseph@codesourcery.com>
10711
10712 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10713 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10714 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10715 hardcoded "nm".
10716 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10717 (READELF): New variable. Use it instead of hardcoded "readelf".
10718
eb48db7e
L
107192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10720
10721 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10722 * sysdeps/x86/Makefile: Here.
10723 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10724 * sysdeps/x86/tst-xmmymm.sh: This.
10725
05bcf62a
JM
107262012-11-07 Joseph Myers <joseph@codesourcery.com>
10727
c4b6cf53
JM
10728 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10729 expectations.
10730 [UNIX98] (pthread_barrier_t): Do not expect.
10731 [UNIX98] (pthread_barrierattr_t): Likewise.
10732 [UNIX98] (pthread_spinlock_t): Likewise.
10733 [UNIX98] (pthread_barrier_destroy): Likewise.
10734 [UNIX98] (pthread_barrier_init): Likewise.
10735 [UNIX98] (pthread_barrier_wait): Likewise.
10736 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10737 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10738 [UNIX98] (pthread_barrierattr_init): Likewise.
10739 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10740 [UNIX98] (pthread_getcpuclockid): Likewise.
10741 [UNIX98] (pthread_mutex_timedlock): Likewise.
10742 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10743 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10744 [UNIX98] (pthread_sigmask): Likewise.
10745 [UNIX98] (pthread_spin_destroy): Likewise.
10746 [UNIX98] (pthread_spin_init): Likewise.
10747 [UNIX98] (pthread_spin_lock): Likewise.
10748 [UNIX98] (pthread_spin_trylock): Likewise.
10749 [UNIX98] (pthread_spin_unlock): Likewise.
10750 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10751 Do not expect.
10752 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10754 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10755 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10756 [XPG3 || XPG4] (pthread_key_t): Likewise.
10757 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10758 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10759 [XPG3 || XPG4] (pthread_once_t): Likewise.
10760 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10761 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10763 [XPG3 || XPG4] (pthread_t): Likewise.
10764
cbe6e120
JM
10765 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10766 not expect.
10767 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10768
1b126443
JM
10769 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10770 Change function return type to int.
10771
b961a573
JM
10772 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10773 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10774 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10775 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10776 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10777 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10778 [!POSIX] (posix_madvise): Likewise.
10779 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10780 && !UNIX98].
10781 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10782 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10783 (mode_t): Likewise.
10784 (posix_mem_offset): Likewise.
10785 (posix_typed_mem_get_info): Likewise.
10786 (posix_typed_mem_open): Likewise.
10787
9e188909
JM
10788 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10789 Change condition to [XOPEN2K8].
10790
05bcf62a
JM
10791 * conform/conformtest.pl: Preprocess allow-header data with -x c
10792 instead of from stdin.
10793 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10794 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10795 [C99-based standards] (cerfc): Likewise.
10796 [C99-based standards] (cexp2): Likewise.
10797 [C99-based standards] (cexpm1): Likewise.
10798 [C99-based standards] (clog10): Likewise.
10799 [C99-based standards] (clog1p): Likewise.
10800 [C99-based standards] (clog2): Likewise.
10801 [C99-based standards] (clgamma): Likewise.
10802 [C99-based standards] (ctgamma): Likewise.
10803 [C99-based standards] (cerff): Likewise.
10804 [C99-based standards] (cerfcf): Likewise.
10805 [C99-based standards] (cexp2f): Likewise.
10806 [C99-based standards] (cexpm1f): Likewise.
10807 [C99-based standards] (clog10f): Likewise.
10808 [C99-based standards] (clog1pf): Likewise.
10809 [C99-based standards] (clog2f): Likewise.
10810 [C99-based standards] (clgammaf): Likewise.
10811 [C99-based standards] (ctgammaf): Likewise.
10812 [C99-based standards] (cerfl): Likewise.
10813 [C99-based standards] (cerfcl): Likewise.
10814 [C99-based standards] (cexp2l): Likewise.
10815 [C99-based standards] (cexpm1l): Likewise.
10816 [C99-based standards] (clog10l): Likewise.
10817 [C99-based standards] (clog1pl): Likewise.
10818 [C99-based standards] (clog2l): Likewise.
10819 [C99-based standards] (clgammal): Likewise.
10820 [C99-based standards] (ctgammal): Likewise.
10821 * conform/data/inttypes.h-data [C99-based standards]: Include
10822 stdint.h-data. Remove all expectations for stdint.h contents.
10823 [C99-based standards] (PRI*): Do not allow.
10824 [C99-based standards] (SCN*): Likewise.
10825 [C99-based standards] (*_t): Likewise.
10826 [C99-based-standards] (PRId8): Expect macro.
10827 [C99-based-standards] (PRIi8): Likewise.
10828 [C99-based-standards] (PRIo8): Likewise.
10829 [C99-based-standards] (PRIu8): Likewise.
10830 [C99-based-standards] (PRIx8): Likewise.
10831 [C99-based-standards] (PRIX8): Likewise.
10832 [C99-based-standards] (SCNd8): Likewise.
10833 [C99-based-standards] (SCNi8): Likewise.
10834 [C99-based-standards] (SCNo8): Likewise.
10835 [C99-based-standards] (SCNu8): Likewise.
10836 [C99-based-standards] (SCNx8): Likewise.
10837 [C99-based-standards] (PRIdLEAST8): Likewise.
10838 [C99-based-standards] (PRIiLEAST8): Likewise.
10839 [C99-based-standards] (PRIoLEAST8): Likewise.
10840 [C99-based-standards] (PRIuLEAST8): Likewise.
10841 [C99-based-standards] (PRIxLEAST8): Likewise.
10842 [C99-based-standards] (PRIXLEAST8): Likewise.
10843 [C99-based-standards] (SCNdLEAST8): Likewise.
10844 [C99-based-standards] (SCNiLEAST8): Likewise.
10845 [C99-based-standards] (SCNoLEAST8): Likewise.
10846 [C99-based-standards] (SCNuLEAST8): Likewise.
10847 [C99-based-standards] (SCNxLEAST8): Likewise.
10848 [C99-based-standards] (PRIdFAST8): Likewise.
10849 [C99-based-standards] (PRIiFAST8): Likewise.
10850 [C99-based-standards] (PRIoFAST8): Likewise.
10851 [C99-based-standards] (PRIuFAST8): Likewise.
10852 [C99-based-standards] (PRIxFAST8): Likewise.
10853 [C99-based-standards] (PRIXFAST8): Likewise.
10854 [C99-based-standards] (SCNdFAST8): Likewise.
10855 [C99-based-standards] (SCNiFAST8): Likewise.
10856 [C99-based-standards] (SCNoFAST8): Likewise.
10857 [C99-based-standards] (SCNuFAST8): Likewise.
10858 [C99-based-standards] (SCNxFAST8): Likewise.
10859 [C99-based-standards] (PRId16): Likewise.
10860 [C99-based-standards] (PRIi16): Likewise.
10861 [C99-based-standards] (PRIo16): Likewise.
10862 [C99-based-standards] (PRIu16): Likewise.
10863 [C99-based-standards] (PRIx16): Likewise.
10864 [C99-based-standards] (PRIX16): Likewise.
10865 [C99-based-standards] (SCNd16): Likewise.
10866 [C99-based-standards] (SCNi16): Likewise.
10867 [C99-based-standards] (SCNo16): Likewise.
10868 [C99-based-standards] (SCNu16): Likewise.
10869 [C99-based-standards] (SCNx16): Likewise.
10870 [C99-based-standards] (PRIdLEAST16): Likewise.
10871 [C99-based-standards] (PRIiLEAST16): Likewise.
10872 [C99-based-standards] (PRIoLEAST16): Likewise.
10873 [C99-based-standards] (PRIuLEAST16): Likewise.
10874 [C99-based-standards] (PRIxLEAST16): Likewise.
10875 [C99-based-standards] (PRIXLEAST16): Likewise.
10876 [C99-based-standards] (SCNdLEAST16): Likewise.
10877 [C99-based-standards] (SCNiLEAST16): Likewise.
10878 [C99-based-standards] (SCNoLEAST16): Likewise.
10879 [C99-based-standards] (SCNuLEAST16): Likewise.
10880 [C99-based-standards] (SCNxLEAST16): Likewise.
10881 [C99-based-standards] (PRIdFAST16): Likewise.
10882 [C99-based-standards] (PRIiFAST16): Likewise.
10883 [C99-based-standards] (PRIoFAST16): Likewise.
10884 [C99-based-standards] (PRIuFAST16): Likewise.
10885 [C99-based-standards] (PRIxFAST16): Likewise.
10886 [C99-based-standards] (PRIXFAST16): Likewise.
10887 [C99-based-standards] (SCNdFAST16): Likewise.
10888 [C99-based-standards] (SCNiFAST16): Likewise.
10889 [C99-based-standards] (SCNoFAST16): Likewise.
10890 [C99-based-standards] (SCNuFAST16): Likewise.
10891 [C99-based-standards] (SCNxFAST16): Likewise.
10892 [C99-based-standards] (PRId32): Likewise.
10893 [C99-based-standards] (PRIi32): Likewise.
10894 [C99-based-standards] (PRIo32): Likewise.
10895 [C99-based-standards] (PRIu32): Likewise.
10896 [C99-based-standards] (PRIx32): Likewise.
10897 [C99-based-standards] (PRIX32): Likewise.
10898 [C99-based-standards] (SCNd32): Likewise.
10899 [C99-based-standards] (SCNi32): Likewise.
10900 [C99-based-standards] (SCNo32): Likewise.
10901 [C99-based-standards] (SCNu32): Likewise.
10902 [C99-based-standards] (SCNx32): Likewise.
10903 [C99-based-standards] (PRIdLEAST32): Likewise.
10904 [C99-based-standards] (PRIiLEAST32): Likewise.
10905 [C99-based-standards] (PRIoLEAST32): Likewise.
10906 [C99-based-standards] (PRIuLEAST32): Likewise.
10907 [C99-based-standards] (PRIxLEAST32): Likewise.
10908 [C99-based-standards] (PRIXLEAST32): Likewise.
10909 [C99-based-standards] (SCNdLEAST32): Likewise.
10910 [C99-based-standards] (SCNiLEAST32): Likewise.
10911 [C99-based-standards] (SCNoLEAST32): Likewise.
10912 [C99-based-standards] (SCNuLEAST32): Likewise.
10913 [C99-based-standards] (SCNxLEAST32): Likewise.
10914 [C99-based-standards] (PRIdFAST32): Likewise.
10915 [C99-based-standards] (PRIiFAST32): Likewise.
10916 [C99-based-standards] (PRIoFAST32): Likewise.
10917 [C99-based-standards] (PRIuFAST32): Likewise.
10918 [C99-based-standards] (PRIxFAST32): Likewise.
10919 [C99-based-standards] (PRIXFAST32): Likewise.
10920 [C99-based-standards] (SCNdFAST32): Likewise.
10921 [C99-based-standards] (SCNiFAST32): Likewise.
10922 [C99-based-standards] (SCNoFAST32): Likewise.
10923 [C99-based-standards] (SCNuFAST32): Likewise.
10924 [C99-based-standards] (SCNxFAST32): Likewise.
10925 [C99-based-standards] (PRId64): Likewise.
10926 [C99-based-standards] (PRIi64): Likewise.
10927 [C99-based-standards] (PRIo64): Likewise.
10928 [C99-based-standards] (PRIu64): Likewise.
10929 [C99-based-standards] (PRIx64): Likewise.
10930 [C99-based-standards] (PRIX64): Likewise.
10931 [C99-based-standards] (SCNd64): Likewise.
10932 [C99-based-standards] (SCNi64): Likewise.
10933 [C99-based-standards] (SCNo64): Likewise.
10934 [C99-based-standards] (SCNu64): Likewise.
10935 [C99-based-standards] (SCNx64): Likewise.
10936 [C99-based-standards] (PRIdLEAST64): Likewise.
10937 [C99-based-standards] (PRIiLEAST64): Likewise.
10938 [C99-based-standards] (PRIoLEAST64): Likewise.
10939 [C99-based-standards] (PRIuLEAST64): Likewise.
10940 [C99-based-standards] (PRIxLEAST64): Likewise.
10941 [C99-based-standards] (PRIXLEAST64): Likewise.
10942 [C99-based-standards] (SCNdLEAST64): Likewise.
10943 [C99-based-standards] (SCNiLEAST64): Likewise.
10944 [C99-based-standards] (SCNoLEAST64): Likewise.
10945 [C99-based-standards] (SCNuLEAST64): Likewise.
10946 [C99-based-standards] (SCNxLEAST64): Likewise.
10947 [C99-based-standards] (PRIdFAST64): Likewise.
10948 [C99-based-standards] (PRIiFAST64): Likewise.
10949 [C99-based-standards] (PRIoFAST64): Likewise.
10950 [C99-based-standards] (PRIuFAST64): Likewise.
10951 [C99-based-standards] (PRIxFAST64): Likewise.
10952 [C99-based-standards] (PRIXFAST64): Likewise.
10953 [C99-based-standards] (SCNdFAST64): Likewise.
10954 [C99-based-standards] (SCNiFAST64): Likewise.
10955 [C99-based-standards] (SCNoFAST64): Likewise.
10956 [C99-based-standards] (SCNuFAST64): Likewise.
10957 [C99-based-standards] (SCNxFAST64): Likewise.
10958 [C99-based-standards] (PRIdMAX): Likewise.
10959 [C99-based-standards] (PRIiMAX): Likewise.
10960 [C99-based-standards] (PRIoMAX): Likewise.
10961 [C99-based-standards] (PRIuMAX): Likewise.
10962 [C99-based-standards] (PRIxMAX): Likewise.
10963 [C99-based-standards] (PRIXMAX): Likewise.
10964 [C99-based-standards] (SCNdMAX): Likewise.
10965 [C99-based-standards] (SCNiMAX): Likewise.
10966 [C99-based-standards] (SCNoMAX): Likewise.
10967 [C99-based-standards] (SCNuMAX): Likewise.
10968 [C99-based-standards] (SCNxMAX): Likewise.
10969 [C99-based-standards] (PRIdPTR): Likewise.
10970 [C99-based-standards] (PRIiPTR): Likewise.
10971 [C99-based-standards] (PRIoPTR): Likewise.
10972 [C99-based-standards] (PRIuPTR): Likewise.
10973 [C99-based-standards] (PRIxPTR): Likewise.
10974 [C99-based-standards] (PRIXPTR): Likewise.
10975 [C99-based-standards] (SCNdPTR): Likewise.
10976 [C99-based-standards] (SCNiPTR): Likewise.
10977 [C99-based-standards] (SCNoPTR): Likewise.
10978 [C99-based-standards] (SCNuPTR): Likewise.
10979 [C99-based-standards] (SCNxPTR): Likewise.
10980 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10981 allow.
10982 * conform/data/stdint.h-data: Update comments to clarify
10983 requirements.
10984 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10985 type.
10986 [C99-based standards] (INT8_MAX): Likewise.
10987 [C99-based standards] (INT16_MIN): Likewise.
10988 [C99-based standards] (INT16_MAX): Likewise.
10989 [C99-based standards] (INT32_MIN): Likewise.
10990 [C99-based standards] (INT32_MAX): Likewise.
10991 [C99-based standards] (INT64_MIN): Likewise.
10992 [C99-based standards] (INT64_MAX): Likewise.
10993 [C99-based standards] (UINT8_MAX): Likewise.
10994 [C99-based standards] (UINT16_MAX): Likewise.
10995 [C99-based standards] (UINT32_MAX): Likewise.
10996 [C99-based standards] (UINT64_MAX): Likewise.
10997 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10998 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10999 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11000 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11001 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11002 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11003 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11004 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11005 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11006 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11007 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11008 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11009 [C99-based standards] (INT_FAST8_MIN): Likewise.
11010 [C99-based standards] (INT_FAST8_MAX): Likewise.
11011 [C99-based standards] (INT_FAST16_MIN): Likewise.
11012 [C99-based standards] (INT_FAST16_MAX): Likewise.
11013 [C99-based standards] (INT_FAST32_MIN): Likewise.
11014 [C99-based standards] (INT_FAST32_MAX): Likewise.
11015 [C99-based standards] (INT_FAST64_MIN): Likewise.
11016 [C99-based standards] (INT_FAST64_MAX): Likewise.
11017 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11018 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11019 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11020 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11021 [C99-based standards] (INTPTR_MIN): Likewise.
11022 [C99-based standards] (INTPTR_MAX): Likewise.
11023 [C99-based standards] (UINTPTR_MAX): Likewise.
11024 [C99-based standards] (INTMAX_MIN): Likewise.
11025 [C99-based standards] (INTMAX_MAX): Likewise.
11026 [C99-based standards] (UINTMAX_MAX): Likewise.
11027 [C99-based standards] (PTRDIFF_MIN): Likewise.
11028 [C99-based standards] (PTRDIFF_MAX): Likewise.
11029 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11030 [C99-based standards] (SIZE_MAX): Likewise.
11031 [C99-based standards] (WCHAR_MAX): Likewise.
11032 [C99-based standards] (WINT_MAX): Likewise.
11033 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11034 constraint on value.
11035 [C99-based standards] (WCHAR_MIN): Likewise.
11036 [C99-based standards] (WINT_MIN): Likewise.
11037 [C99-based standards] (*_t): Allow.
11038 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11039 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11040 Include math.h-data and complex.h-data. Remove all expectations
11041 of math.h and complex.h contents.
11042 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11043 at end of line.
11044 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11045 (struct tm): Expect tag.
11046 [C99-based-standards] (wcstof): Expect function.
11047 [C99-based-standards] (wcstold): Likewise.
11048 [C99-based-standards] (wcstoll): Likewise.
11049 [C99-based-standards] (wcstoull): Likewise.
11050 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11051 macro-int-constant. Specify type.
11052 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11053 constraint on value.
11054 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11055 Specify type.
11056 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11057 Specify value.
11058 [ISO C standards]: Do not allow headers.
11059 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11060 wcs[abcdefghijklmnopqrstuvwxyz]*.
11061 [ISO C standards] (*_t): Do not allow.
11062 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11063 Expect function.
11064 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11065 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11066 Specify type.
11067 [ISO C standards]: Do not allow headers.
11068 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11069 is[abcdefghijklmnopqrstuvwxyz]*.
11070 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11071 to[abcdefghijklmnopqrstuvwxyz]*.
11072 [ISO C standards] (*_t): Do not allow.
11073 * conform/data/stdalign.h-data: New file.
11074 * conform/data/stdbool.h-data: Likewise.
11075 * conform/data/stdnoreturn.h-data: Likewise.
11076
7514feb8
RM
110772012-11-07 Roland McGrath <roland@hack.frob.com>
11078
11079 [BZ #14815]
11080 * manual/filesys.texi (Directory Entries): Typo fix.
11081 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11082
19b2ecfc
MS
110832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11084
11085 * elf/elf.h (EM_AARCH64): New macro.
11086 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11087 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11088 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11089 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11090 (R_AARCH64_TLSDESC): Likewise.
11091 (NT_ARM_TLS): Likewise.
11092 (NT_ARM_HW_BREAK): Likewise.
11093 (NT_ARM_HW_WATCH): Likewise.
11094
60e235ee
JM
110952012-11-07 Joseph Myers <joseph@codesourcery.com>
11096
11097 [BZ #14811]
11098 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11099 (__ieee754_powl): Saturate nonzero exponents with absolute value
11100 below 0x1p-79 to +/- 0x1p-79.
11101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11102 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11103 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11104 nonzero exponents with absolute value below 0x1p-32 to +/-
11105 0x1p-32.
11106 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11107 (__ieee754_powl): Saturate nonzero exponents with absolute value
11108 below 0x1p-79 to +/- 0x1p-79.
11109 * math/libm-test.inc (pow_test): Add more tests.
11110
0ab234b7
AK
111112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11112
11113 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11114 _dl_s390_cap_flags with kernel. Increase string length.
11115 (_dl_s390_platforms): Add z196 and zEC12.
11116
45832f74
JM
111172012-11-07 Joseph Myers <joseph@codesourcery.com>
11118
11119 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11120 Change XOPEN21K to XOPEN2K.
11121
19218757
MK
111222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11123
11124 * string/memmove.c: Use memcpy when possible.
11125
c5f45721
AJ
111262012-11-06 Andreas Jaeger <aj@suse.de>
11127
11128 * po/eo.po: Update from translation team.
11129
82477c28
JM
111302012-11-06 Joseph Myers <joseph@codesourcery.com>
11131
11132 [BZ #14793]
11133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11134 exponent and small x and y exponents, scale x or y up. Increase
11135 by 2 the exponent used in scaling up.
11136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11138 * math/libm-test.inc (fma_test): Add more tests.
11139 (fma_test_towardzero): Likewise.
11140 (fma_test_downward): Likewise.
11141 (fma_test_upward): Likewise.
11142
99252c8c
JM
111432012-11-05 Joseph Myers <joseph@codesourcery.com>
11144
acfa885f
JM
11145 [BZ #14805]
11146 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11147 fenv_t *.
11148
99252c8c
JM
11149 [BZ #14801]
11150 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11151 namespace for names of struct fields.
11152 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11153 fenv_t fields.
11154 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11155 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11156
d6d98dea
ST
111572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11158
11159 [BZ #3665]
11160 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11161
e10bb107
TS
111622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11163
11164 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11165 PTR_DEMANGLE.
11166
11167 [BZ #5246]
11168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11169 PTR_DEMANGLE.
11170
a0c2940d
JM
111712012-11-04 Joseph Myers <joseph@codesourcery.com>
11172
11173 [BZ #14797]
11174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11175 definitely overflow as x * y not x * y + z.
11176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11178 * math/libm-test.inc (fma_test): Add more tests.
11179 (fma_test_towardzero): Likewise.
11180 (fma_test_downward): Likewise.
11181 (fma_test_upward): Likewise.
11182
b830319d
TS
111832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11184
11185 [BZ #157]
11186
11187 * include/stub-tag.h: Remove file.
11188 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11189 '#include' of it.
11190 * manual/maint.texi (Porting): Don't reference it.
11191 * Makerules ($(objpfx)stubs): Likewise.
11192 * dirent/closedir.c: Don't include <stub-tag.h>.
11193 * dirent/dirfd.c: Likewise.
11194 * dirent/fdopendir.c: Likewise.
11195 * dirent/getdents.c: Likewise.
11196 * dirent/getdents64.c: Likewise.
11197 * dirent/opendir.c: Likewise.
11198 * dirent/readdir.c: Likewise.
11199 * dirent/readdir64.c: Likewise.
11200 * dirent/readdir64_r.c: Likewise.
11201 * dirent/readdir_r.c: Likewise.
11202 * dirent/rewinddir.c: Likewise.
11203 * dirent/seekdir.c: Likewise.
11204 * dirent/telldir.c: Likewise.
11205 * gmon/profil.c: Likewise.
11206 * grp/setgroups.c: Likewise.
11207 * inet/if_index.c: Likewise.
11208 * io/access.c: Likewise.
11209 * io/chdir.c: Likewise.
11210 * io/chmod.c: Likewise.
11211 * io/chown.c: Likewise.
11212 * io/close.c: Likewise.
11213 * io/dup.c: Likewise.
11214 * io/dup2.c: Likewise.
11215 * io/dup3.c: Likewise.
11216 * io/euidaccess.c: Likewise.
11217 * io/faccessat.c: Likewise.
11218 * io/fchdir.c: Likewise.
11219 * io/fchmod.c: Likewise.
11220 * io/fchmodat.c: Likewise.
11221 * io/fchown.c: Likewise.
11222 * io/fchownat.c: Likewise.
11223 * io/fcntl.c: Likewise.
11224 * io/flock.c: Likewise.
11225 * io/fstatfs.c: Likewise.
11226 * io/fstatfs64.c: Likewise.
11227 * io/fstatvfs.c: Likewise.
11228 * io/fstatvfs64.c: Likewise.
11229 * io/futimens.c: Likewise.
11230 * io/fxstat.c: Likewise.
11231 * io/fxstat64.c: Likewise.
11232 * io/fxstatat.c: Likewise.
11233 * io/fxstatat64.c: Likewise.
11234 * io/getcwd.c: Likewise.
11235 * io/isatty.c: Likewise.
11236 * io/lchmod.c: Likewise.
11237 * io/lchown.c: Likewise.
11238 * io/link.c: Likewise.
11239 * io/linkat.c: Likewise.
11240 * io/lseek.c: Likewise.
11241 * io/lseek64.c: Likewise.
11242 * io/lxstat64.c: Likewise.
11243 * io/mkdir.c: Likewise.
11244 * io/mkdirat.c: Likewise.
11245 * io/mkfifo.c: Likewise.
11246 * io/mkfifoat.c: Likewise.
11247 * io/open.c: Likewise.
11248 * io/open64.c: Likewise.
11249 * io/openat.c: Likewise.
11250 * io/openat64.c: Likewise.
11251 * io/pipe.c: Likewise.
11252 * io/pipe2.c: Likewise.
11253 * io/poll.c: Likewise.
11254 * io/posix_fadvise.c: Likewise.
11255 * io/posix_fadvise64.c: Likewise.
11256 * io/posix_fallocate.c: Likewise.
11257 * io/posix_fallocate64.c: Likewise.
11258 * io/read.c: Likewise.
11259 * io/readlink.c: Likewise.
11260 * io/readlinkat.c: Likewise.
11261 * io/rmdir.c: Likewise.
11262 * io/sendfile.c: Likewise.
11263 * io/sendfile64.c: Likewise.
11264 * io/statfs.c: Likewise.
11265 * io/statfs64.c: Likewise.
11266 * io/statvfs.c: Likewise.
11267 * io/statvfs64.c: Likewise.
11268 * io/symlink.c: Likewise.
11269 * io/symlinkat.c: Likewise.
11270 * io/ttyname.c: Likewise.
11271 * io/ttyname_r.c: Likewise.
11272 * io/umask.c: Likewise.
11273 * io/unlink.c: Likewise.
11274 * io/unlinkat.c: Likewise.
11275 * io/utime.c: Likewise.
11276 * io/utimensat.c: Likewise.
11277 * io/write.c: Likewise.
11278 * io/xmknod.c: Likewise.
11279 * io/xmknodat.c: Likewise.
11280 * io/xstat.c: Likewise.
11281 * io/xstat64.c: Likewise.
11282 * login/getpt.c: Likewise.
11283 * login/grantpt.c: Likewise.
11284 * login/unlockpt.c: Likewise.
11285 * math/e_acoshl.c: Likewise.
11286 * math/e_acosl.c: Likewise.
11287 * math/e_asinl.c: Likewise.
11288 * math/e_atan2l.c: Likewise.
11289 * math/e_atanhl.c: Likewise.
11290 * math/e_coshl.c: Likewise.
11291 * math/e_expl.c: Likewise.
11292 * math/e_fmodl.c: Likewise.
11293 * math/e_gammal_r.c: Likewise.
11294 * math/e_hypotl.c: Likewise.
11295 * math/e_j0l.c: Likewise.
11296 * math/e_j1l.c: Likewise.
11297 * math/e_jnl.c: Likewise.
11298 * math/e_lgammal_r.c: Likewise.
11299 * math/e_log10l.c: Likewise.
11300 * math/e_log2l.c: Likewise.
11301 * math/e_logl.c: Likewise.
11302 * math/e_powl.c: Likewise.
11303 * math/e_rem_pio2l.c: Likewise.
11304 * math/e_sinhl.c: Likewise.
11305 * math/e_sqrtl.c: Likewise.
11306 * math/fclrexcpt.c: Likewise.
11307 * math/fedisblxcpt.c: Likewise.
11308 * math/feenablxcpt.c: Likewise.
11309 * math/fegetenv.c: Likewise.
11310 * math/fegetexcept.c: Likewise.
11311 * math/fegetround.c: Likewise.
11312 * math/feholdexcpt.c: Likewise.
11313 * math/fesetenv.c: Likewise.
11314 * math/fesetround.c: Likewise.
11315 * math/feupdateenv.c: Likewise.
11316 * math/fgetexcptflg.c: Likewise.
11317 * math/fraiseexcpt.c: Likewise.
11318 * math/fsetexcptflg.c: Likewise.
11319 * math/ftestexcept.c: Likewise.
11320 * math/k_cosl.c: Likewise.
11321 * math/k_rem_pio2l.c: Likewise.
11322 * math/k_sinl.c: Likewise.
11323 * math/k_tanl.c: Likewise.
11324 * math/s_asinhl.c: Likewise.
11325 * math/s_atanl.c: Likewise.
11326 * math/s_cbrtl.c: Likewise.
11327 * math/s_erfl.c: Likewise.
11328 * math/s_expm1l.c: Likewise.
11329 * math/s_log1pl.c: Likewise.
11330 * math/s_tanhl.c: Likewise.
11331 * misc/acct.c: Likewise.
11332 * misc/brk.c: Likewise.
11333 * misc/chflags.c: Likewise.
11334 * misc/chroot.c: Likewise.
11335 * misc/fchflags.c: Likewise.
11336 * misc/fgetxattr.c: Likewise.
11337 * misc/flistxattr.c: Likewise.
11338 * misc/fremovexattr.c: Likewise.
11339 * misc/fsetxattr.c: Likewise.
11340 * misc/fsync.c: Likewise.
11341 * misc/ftruncate.c: Likewise.
11342 * misc/futimes.c: Likewise.
11343 * misc/futimesat.c: Likewise.
11344 * misc/getdomain.c: Likewise.
11345 * misc/getdtsz.c: Likewise.
11346 * misc/gethostid.c: Likewise.
11347 * misc/gethostname.c: Likewise.
11348 * misc/getloadavg.c: Likewise.
11349 * misc/getpagesize.c: Likewise.
11350 * misc/getsysstats.c: Likewise.
11351 * misc/getxattr.c: Likewise.
11352 * misc/gtty.c: Likewise.
11353 * misc/ioctl.c: Likewise.
11354 * misc/lgetxattr.c: Likewise.
11355 * misc/listxattr.c: Likewise.
11356 * misc/llistxattr.c: Likewise.
11357 * misc/lremovexattr.c: Likewise.
11358 * misc/lsetxattr.c: Likewise.
11359 * misc/lutimes.c: Likewise.
11360 * misc/madvise.c: Likewise.
11361 * misc/mincore.c: Likewise.
11362 * misc/mlock.c: Likewise.
11363 * misc/mlockall.c: Likewise.
11364 * misc/mmap.c: Likewise.
11365 * misc/mprotect.c: Likewise.
11366 * misc/msync.c: Likewise.
11367 * misc/munlock.c: Likewise.
11368 * misc/munlockall.c: Likewise.
11369 * misc/munmap.c: Likewise.
11370 * misc/preadv.c: Likewise.
11371 * misc/preadv64.c: Likewise.
11372 * misc/ptrace.c: Likewise.
11373 * misc/pwritev.c: Likewise.
11374 * misc/pwritev64.c: Likewise.
11375 * misc/readv.c: Likewise.
11376 * misc/reboot.c: Likewise.
11377 * misc/remap_file_pages.c: Likewise.
11378 * misc/removexattr.c: Likewise.
11379 * misc/revoke.c: Likewise.
11380 * misc/select.c: Likewise.
11381 * misc/setdomain.c: Likewise.
11382 * misc/setegid.c: Likewise.
11383 * misc/seteuid.c: Likewise.
11384 * misc/sethostid.c: Likewise.
11385 * misc/sethostname.c: Likewise.
11386 * misc/setregid.c: Likewise.
11387 * misc/setreuid.c: Likewise.
11388 * misc/setxattr.c: Likewise.
11389 * misc/sstk.c: Likewise.
11390 * misc/stty.c: Likewise.
11391 * misc/swapoff.c: Likewise.
11392 * misc/swapon.c: Likewise.
11393 * misc/sync.c: Likewise.
11394 * misc/syncfs.c: Likewise.
11395 * misc/syscall.c: Likewise.
11396 * misc/truncate.c: Likewise.
11397 * misc/ualarm.c: Likewise.
11398 * misc/usleep.c: Likewise.
11399 * misc/ustat.c: Likewise.
11400 * misc/utimes.c: Likewise.
11401 * misc/vhangup.c: Likewise.
11402 * misc/writev.c: Likewise.
11403 * posix/_exit.c: Likewise.
11404 * posix/alarm.c: Likewise.
11405 * posix/execve.c: Likewise.
11406 * posix/fexecve.c: Likewise.
11407 * posix/fork.c: Likewise.
11408 * posix/fpathconf.c: Likewise.
11409 * posix/getaddrinfo.c: Likewise.
11410 * posix/getegid.c: Likewise.
11411 * posix/geteuid.c: Likewise.
11412 * posix/getgid.c: Likewise.
11413 * posix/getgroups.c: Likewise.
11414 * posix/getlogin.c: Likewise.
11415 * posix/getlogin_r.c: Likewise.
11416 * posix/getpgid.c: Likewise.
11417 * posix/getpid.c: Likewise.
11418 * posix/getppid.c: Likewise.
11419 * posix/getresgid.c: Likewise.
11420 * posix/getresuid.c: Likewise.
11421 * posix/getsid.c: Likewise.
11422 * posix/getuid.c: Likewise.
11423 * posix/glob64.c: Likewise.
11424 * posix/nanosleep.c: Likewise.
11425 * posix/pathconf.c: Likewise.
11426 * posix/pause.c: Likewise.
11427 * posix/posix_madvise.c: Likewise.
11428 * posix/pread.c: Likewise.
11429 * posix/pread64.c: Likewise.
11430 * posix/pwrite.c: Likewise.
11431 * posix/pwrite64.c: Likewise.
11432 * posix/sched_getaffinity.c: Likewise.
11433 * posix/sched_getp.c: Likewise.
11434 * posix/sched_gets.c: Likewise.
11435 * posix/sched_primax.c: Likewise.
11436 * posix/sched_primin.c: Likewise.
11437 * posix/sched_rr_gi.c: Likewise.
11438 * posix/sched_setaffinity.c: Likewise.
11439 * posix/sched_setp.c: Likewise.
11440 * posix/sched_sets.c: Likewise.
11441 * posix/sched_yield.c: Likewise.
11442 * posix/setgid.c: Likewise.
11443 * posix/setlogin.c: Likewise.
11444 * posix/setpgid.c: Likewise.
11445 * posix/setresgid.c: Likewise.
11446 * posix/setresuid.c: Likewise.
11447 * posix/setsid.c: Likewise.
11448 * posix/setuid.c: Likewise.
11449 * posix/sleep.c: Likewise.
11450 * posix/spawni.c: Likewise.
11451 * posix/sysconf.c: Likewise.
11452 * posix/times.c: Likewise.
11453 * posix/wait.c: Likewise.
11454 * posix/wait3.c: Likewise.
11455 * posix/wait4.c: Likewise.
11456 * posix/waitpid.c: Likewise.
11457 * resolv/gai_sigqueue.c: Likewise.
11458 * resource/getpriority.c: Likewise.
11459 * resource/getrlimit.c: Likewise.
11460 * resource/getrusage.c: Likewise.
11461 * resource/nice.c: Likewise.
11462 * resource/setpriority.c: Likewise.
11463 * resource/setrlimit.c: Likewise.
11464 * resource/ulimit.c: Likewise.
11465 * rt/aio_cancel.c: Likewise.
11466 * rt/aio_fsync.c: Likewise.
11467 * rt/aio_read.c: Likewise.
11468 * rt/aio_sigqueue.c: Likewise.
11469 * rt/aio_suspend.c: Likewise.
11470 * rt/aio_write.c: Likewise.
11471 * rt/clock_getres.c: Likewise.
11472 * rt/clock_gettime.c: Likewise.
11473 * rt/clock_nanosleep.c: Likewise.
11474 * rt/clock_settime.c: Likewise.
11475 * rt/lio_listio.c: Likewise.
11476 * rt/mq_close.c: Likewise.
11477 * rt/mq_getattr.c: Likewise.
11478 * rt/mq_notify.c: Likewise.
11479 * rt/mq_open.c: Likewise.
11480 * rt/mq_receive.c: Likewise.
11481 * rt/mq_send.c: Likewise.
11482 * rt/mq_setattr.c: Likewise.
11483 * rt/mq_timedreceive.c: Likewise.
11484 * rt/mq_timedsend.c: Likewise.
11485 * rt/mq_unlink.c: Likewise.
11486 * rt/shm_open.c: Likewise.
11487 * rt/shm_unlink.c: Likewise.
11488 * rt/timer_create.c: Likewise.
11489 * rt/timer_delete.c: Likewise.
11490 * rt/timer_getoverr.c: Likewise.
11491 * rt/timer_gettime.c: Likewise.
11492 * rt/timer_settime.c: Likewise.
11493 * setjmp/__longjmp.c: Likewise.
11494 * setjmp/setjmp.c: Likewise.
11495 * signal/kill.c: Likewise.
11496 * signal/killpg.c: Likewise.
11497 * signal/raise.c: Likewise.
11498 * signal/sigaction.c: Likewise.
11499 * signal/sigaltstack.c: Likewise.
11500 * signal/sigblock.c: Likewise.
11501 * signal/sigignore.c: Likewise.
11502 * signal/sigintr.c: Likewise.
11503 * signal/signal.c: Likewise.
11504 * signal/sigpause.c: Likewise.
11505 * signal/sigpending.c: Likewise.
11506 * signal/sigqueue.c: Likewise.
11507 * signal/sigreturn.c: Likewise.
11508 * signal/sigset.c: Likewise.
11509 * signal/sigsetmask.c: Likewise.
11510 * signal/sigstack.c: Likewise.
11511 * signal/sigsuspend.c: Likewise.
11512 * signal/sigtimedwait.c: Likewise.
11513 * signal/sigvec.c: Likewise.
11514 * signal/sigwait.c: Likewise.
11515 * signal/sigwaitinfo.c: Likewise.
11516 * signal/sysv_signal.c: Likewise.
11517 * socket/accept.c: Likewise.
11518 * socket/accept4.c: Likewise.
11519 * socket/bind.c: Likewise.
11520 * socket/connect.c: Likewise.
11521 * socket/getpeername.c: Likewise.
11522 * socket/getsockname.c: Likewise.
11523 * socket/getsockopt.c: Likewise.
11524 * socket/isfdtype.c: Likewise.
11525 * socket/listen.c: Likewise.
11526 * socket/recv.c: Likewise.
11527 * socket/recvfrom.c: Likewise.
11528 * socket/recvmsg.c: Likewise.
11529 * socket/send.c: Likewise.
11530 * socket/sendmsg.c: Likewise.
11531 * socket/sendto.c: Likewise.
11532 * socket/setsockopt.c: Likewise.
11533 * socket/shutdown.c: Likewise.
11534 * socket/sockatmark.c: Likewise.
11535 * socket/socket.c: Likewise.
11536 * socket/socketpair.c: Likewise.
11537 * stdio-common/ctermid.c: Likewise.
11538 * stdio-common/cuserid.c: Likewise.
11539 * stdio-common/remove.c: Likewise.
11540 * stdio-common/rename.c: Likewise.
11541 * stdio-common/renameat.c: Likewise.
11542 * stdio-common/tempname.c: Likewise.
11543 * stdlib/getcontext.c: Likewise.
11544 * stdlib/makecontext.c: Likewise.
11545 * stdlib/setcontext.c: Likewise.
11546 * stdlib/swapcontext.c: Likewise.
11547 * stdlib/system.c: Likewise.
11548 * streams/fattach.c: Likewise.
11549 * streams/fdetach.c: Likewise.
11550 * streams/getmsg.c: Likewise.
11551 * streams/getpmsg.c: Likewise.
11552 * streams/putmsg.c: Likewise.
11553 * streams/putpmsg.c: Likewise.
11554 * sysdeps/unix/bsd/getpt.c: Likewise.
11555 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11556 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11557 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11559 Likewise.
11560 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11562 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11563 * sysvipc/msgctl.c: Likewise.
11564 * sysvipc/msgget.c: Likewise.
11565 * sysvipc/msgrcv.c: Likewise.
11566 * sysvipc/msgsnd.c: Likewise.
11567 * sysvipc/semctl.c: Likewise.
11568 * sysvipc/semget.c: Likewise.
11569 * sysvipc/semop.c: Likewise.
11570 * sysvipc/semtimedop.c: Likewise.
11571 * sysvipc/shmat.c: Likewise.
11572 * sysvipc/shmctl.c: Likewise.
11573 * sysvipc/shmdt.c: Likewise.
11574 * sysvipc/shmget.c: Likewise.
11575 * termios/tcdrain.c: Likewise.
11576 * termios/tcflow.c: Likewise.
11577 * termios/tcflush.c: Likewise.
11578 * termios/tcgetattr.c: Likewise.
11579 * termios/tcgetpgrp.c: Likewise.
11580 * termios/tcsendbrk.c: Likewise.
11581 * termios/tcsetattr.c: Likewise.
11582 * termios/tcsetpgrp.c: Likewise.
11583 * time/adjtime.c: Likewise.
11584 * time/clock.c: Likewise.
11585 * time/getitimer.c: Likewise.
11586 * time/gettimeofday.c: Likewise.
11587 * time/setitimer.c: Likewise.
11588 * time/settimeofday.c: Likewise.
11589 * time/stime.c: Likewise.
11590 * time/time.c: Likewise.
11591
115922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11593
a20492cf
PT
11594 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11595 /usr/old/bin.
11596
72e182e3
PT
11597 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11598 instead of spaces.
11599 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11600
fbeafede
JM
116012012-11-03 Joseph Myers <joseph@codesourcery.com>
11602
5b5b04d6
JM
11603 [BZ #14796]
11604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11605 FE_TONEAREST before applying Dekker multiplication and Knuth
11606 addition. Clear inexact exceptions and check for exact zero
11607 results afterwards.
11608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11609 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11611 * math/libm-test.inc (fma_test): Add more tests.
11612 (fma_test_towardzero): Likewise.
11613 (fma_test_downward): Likewise.
11614 (fma_test_upward): Likewise.
11615 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11616 function.
11617 (libc_fesetround): New macro.
11618 (libc_fesetroundf): Likewise.
11619 (libc_fesetroundl): Likewise.
11620 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11621 function.
11622 (libc_fesetround_387): Likewise.
11623 (libc_fesetroundf): New macro.
11624 (libc_fesetround): Likewise.
11625 (libc_fesetroundl): Likewise.
11626 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11627 function.
11628 (libc_fesetroundf): New macro.
11629 (libc_fesetround): Likewise.
11630 (libc_fesetroundl): Likewise.
11631 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11632 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11633 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11634 libm_hidden_ver.
11635 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11636 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11637 libm_hidden_def.
11638 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11639 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11640 libm_hidden_ver.
11641 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11642 libm_hidden_def.
11643
fbeafede
JM
11644 [BZ #3439]
11645 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11646 integer constant usable in #if and use that to give value to enum
11647 constant.
11648 (FE_DIVBYZERO): Likewise.
11649 (FE_UNDERFLOW): Likewise.
11650 (FE_OVERFLOW): Likewise.
11651 (FE_INVALID): Likewise.
11652 (FE_INVALID_SNAN): Likewise.
11653 (FE_INVALID_ISI): Likewise.
11654 (FE_INVALID_IDI): Likewise.
11655 (FE_INVALID_ZDZ): Likewise.
11656 (FE_INVALID_IMZ): Likewise.
11657 (FE_INVALID_COMPARE): Likewise.
11658 (FE_INVALID_SOFTWARE): Likewise.
11659 (FE_INVALID_SQRT): Likewise.
11660 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11661 (FE_TONEAREST): Likewise.
11662 (FE_TOWARDZERO): Likewise.
11663 (FE_UPWARD): Likewise.
11664 (FE_DOWNWARD): Likewise.
11665 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11666 (FE_DIVBYZERO): Likewise.
11667 (FE_OVERFLOW): Likewise.
11668 (FE_UNDERFLOW): Likewise.
11669 (FE_INEXACT): Likewise.
11670 (FE_TONEAREST): Likewise.
11671 (FE_DOWNWARD): Likewise.
11672 (FE_UPWARD): Likewise.
11673 (FE_TOWARDZERO): Likewise.
11674 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11675 (FE_UNDERFLOW): Likewise.
11676 (FE_OVERFLOW): Likewise.
11677 (FE_DIVBYZERO): Likewise.
11678 (FE_INVALID): Likewise.
11679 (FE_TONEAREST): Likewise.
11680 (FE_TOWARDZERO): Likewise.
11681 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11682 (FE_OVERFLOW): Likewise.
11683 (FE_UNDERFLOW): Likewise.
11684 (FE_DIVBYZERO): Likewise.
11685 (FE_INEXACT): Likewise.
11686 (FE_TONEAREST): Likewise.
11687 (FE_TOWARDZERO): Likewise.
11688 (FE_UPWARD): Likewise.
11689 (FE_DOWNWARD): Likewise.
11690 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11691 (FE_DIVBYZERO): Likewise.
11692 (FE_OVERFLOW): Likewise.
11693 (FE_UNDERFLOW): Likewise.
11694 (FE_INEXACT): Likewise.
11695 (FE_TONEAREST): Likewise.
11696 (FE_DOWNWARD): Likewise.
11697 (FE_UPWARD): Likewise.
11698 (FE_TOWARDZERO): Likewise.
11699
105ca950
CM
117002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11701
11702 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11703
a542b389
AS
117042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11705
11706 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11707 commands. Quote $PWD.
11708 (blacklist_exports): Don't use remove_newlines. Replace "declare
11709 -x" by "export".
11710 (remove_newlines): Remove.
11711
f62c8abc
L
117122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11715 * stdlib/stdlib.h (atof): Moved to ...
11716 * include/bits/stdlib-float.h: Here. New file.
11717 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11718 * stdlib/bits/stdlib-float.h: New file.
11719 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11720 -mno-sse -mno-mmx.
11721 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11722 <xmmintrin.h>.
11723
0155d5b2
JM
117242012-11-02 Joseph Myers <joseph@codesourcery.com>
11725
a68d0680
JM
11726 * conform/conformtest.pl (@headers): Add fenv.h.
11727 * conform/data/fenv.h-data: New file.
11728 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11729 include of <math/fenv.h>.
11730
caf7f573
JM
11731 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11732 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11733 && !UNIX98]. Enables tests for XOPEN2K8.
11734 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11735 POSIX2008]: Likewise.
11736
6c073ad6
JM
11737 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11738 (struct rusage): Do not expect type or its members.
11739
0155d5b2
JM
11740 [BZ #3439]
11741 * math/math.h (FP_NAN): Define macro to integer constant usable in
11742 #if and use that to give value to enum constant.
11743 (FP_INFINITE): Likewise.
11744 (FP_ZERO): Likewise.
11745 (FP_SUBNORMAL): Likewise.
11746 (FP_NORMAL): Likewise.
11747
b5dcacb4
AS
117482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11751 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11752 arguments.
11753
f7934be8
RM
117542012-11-02 Roland McGrath <roland@hack.frob.com>
11755
11756 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11757 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11758 autoconf-time if not.
11759 * configure.in: Remove AC_PREREQ.
11760
d7d08bde
TMQMF
117612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11762
11763 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11764 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11765 of the internal implementation.
11766
dcdae19a
JM
117672012-11-02 Joseph Myers <joseph@codesourcery.com>
11768
11769 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11770 except include of <misc/sys/syslog.h>.
11771
d6cffd3e
AS
117722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11773
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11775 function returns with a NULL context exit with zero.
11776
b3563932
TMQMF
117772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11778
11779 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11780
b288a93d
L
117812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11784 (run_program_cmd): This.
11785 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11786 (tst_langinfo): New variable. Use it.
11787
a2421a68
SAS
117882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11789
11790 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11791 floating point opcodes.
11792
6f796e1b
TS
117932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11794
7402596b
TS
11795 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11796 variable.
11797
d0d4f868
TS
11798 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11799
6f796e1b
TS
11800 * sysdeps/mach/hurd/powerpc: Remove directory.
11801 * sysdeps/mach/powerpc: Likewise.
11802
4da224a2
AS
118032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11804
11805 * scripts/check-local-headers.sh: Ignore c++ headers.
11806
341dd673
TS
118072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11808
11809 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11810 __libc_cleanup_region_start argument.
11811
473611b2
JM
118122012-11-01 Joseph Myers <joseph@codesourcery.com>
11813
11814 [BZ #14784]
11815 [BZ #14785]
11816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11817 x * y using scaling, not as x * y + z.
11818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11820 * math/libm-test.inc (fma_test): Add more tests.
11821 (fma_test_towardzero): Likewise.
11822 (fma_test_downward): Likewise.
11823 (fma_test_upward): Likewise.
11824
4078da3d
TS
118252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11826
11827 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11828
903252aa
JM
118292012-10-31 Joseph Myers <joseph@codesourcery.com>
11830
11831 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11832 New variable.
11833
cbc818d0
TS
118342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11835
11836 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11837
5a03cb1e
AS
118382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11839
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11841 Fix sort order.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11843 Likewise.
11844
90aff2ff
TMQMF
118452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11846
11847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11848 Fix the order of the list for glibc 2.17.
11849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11850 Likewise.
11851
1818fcb7
AS
118522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11853
11854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11855
ef82f4da
JM
118562012-10-31 Joseph Myers <joseph@codesourcery.com>
11857
16a0e2ec
JM
11858 [BZ #14610]
11859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11860 for low part of x being zero before using __atanl (y).
11861 * math/libm-test.inc (atan2_test): Add another test.
11862
0eb69512
JM
11863 * manual/install.texi (Configuring and compiling): Document
11864 general use of test-wrapper and test-wrapper-env.
11865 * INSTALL: Regenerated.
11866
ef82f4da
JM
11867 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11868 (__fma): Do not extract and scale down low bits on after-rounding
11869 systems when result rounded to normal precision would have normal
11870 exponent.
11871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11872 (__fmal): Do not extract and scale down low bits on after-rounding
11873 systems when result rounded to normal precision would have normal
11874 exponent.
11875 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11876 (__fmal): Do not extract and scale down low bits on after-rounding
11877 systems when result rounded to normal precision would have normal
11878 exponent.
11879 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11880 macro.
11881 (fma_test): Add more tests.
11882 (fma_test_towardzero): Likewise.
11883 (fma_test_downward): Likewise.
11884 (fma_test_upward): Likewise.
11885
954ef0d9
L
118862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11887
11888 * sysdeps/i386/tininess.h: Renamed to ...
11889 * sysdeps/x86/tininess.h: This.
11890 * sysdeps/x86_64/tininess.h: Removed.
11891
df61ffb2
JM
118922012-10-30 Joseph Myers <joseph@codesourcery.com>
11893
11894 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11895 input. Use $(build-program-cmd).
11896 ($(objpfx)tst-array1-static.out): Likewise.
11897 ($(objpfx)tst-array2.out): Likewise.
11898 ($(objpfx)tst-array3.out): Likewise.
11899 ($(objpfx)tst-array4.out): Likewise.
11900 ($(objpfx)tst-array5.out): Likewise.
11901 ($(objpfx)tst-array5-static.out): Likewise.
11902
01767843
CM
119032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11904
47cc1490
CM
11905 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11906 if defined.
11907
01767843
CM
11908 * nss/nsswitch.h (nss_interface_function): Provide new
11909 macro for use with NSS functions.
11910 * grp/initgroups.c: Use new macro.
11911 * nss/getXXbyYY.c: Likewise.
11912 * nss/getXXbyYY_r.c: Likewise.
11913 * nss/getXXent.c: Likewise.
11914 * nss/getXXent_r.c: Likewise.
11915 * sysdeps/posix/getaddrinfo.c: Likewise.
11916
8321aa97
AJ
119172012-10-30 Andreas Jaeger <aj@suse.de>
11918
11919 * po/ru.po: Update Russion translation from translation project.
11920
2a27fd6d
JM
119212012-10-30 Joseph Myers <joseph@codesourcery.com>
11922
8627a232
JM
11923 [BZ #14152]
11924 [BZ #14783]
11925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11926 result and shift together with sticky bit instead of replicating
11927 round-to-nearest rounding.
11928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11930 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11931 missing underflow exceptions.
11932 (fma_test_towardzero): Add more tests.
11933 (fma_test_downward): Likewise.
11934 (fma_test_upward): Likewise.
11935
2a27fd6d
JM
11936 [BZ #14047]
11937 * sysdeps/generic/tininess.h: New file.
11938 * sysdeps/i386/tininess.h: Likewise.
11939 * sysdeps/sh/tininess.h: Likewise.
11940 * sysdeps/x86_64/tininess.h: Likewise.
11941 * stdlib/tst-strtod-underflow.c: Likewise.
11942 * stdlib/tst-tininess.c: Likewise.
11943 * stdlib/strtod_l.c: Include <tininess.h>.
11944 (round_and_return): Do not set errno for exact underflow cases.
11945 Force an underflow exception when setting errno for underflow.
11946 Determine underflow based on rounding to normal precision if
11947 TININESS_AFTER_ROUNDING.
11948 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11949 ERANGE for exact underflow cases.
11950 * stdlib/Makefile (tests): Add tst-tininess and
11951 tst-strtod-underflow.
11952 ($(objpfx)tst-tininess): Use $(link-libm).
11953 ($(objpfx)tst-strtod-underflow): Likewise.
11954
e7170363
AJ
119552012-10-30 Andreas Jaeger <aj@suse.de>
11956
e5088dc6
AJ
11957 [BZ#14767]
11958 * elf/Makefile (tests): Remove conditional for have-initfini-array
11959 since this is now always required and the variable does not exist
11960 anymore.
11961 (tests-static): Likewise.
11962 (modules-names): Likewise.
11963
e7170363 11964 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11965
11966 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11967 merged with constructor/destructor.
11968 (init_array): Likewise.
11969 * elf/tst-array2dep.c (fini_array): Likewise.
11970 (init_array): Likewise.
11971
60457d8a
MF
119722012-10-29 Mike Frysinger <vapier@gentoo.org>
11973
11974 * manual/message.texi: Delete @cartouche tags.
11975
8bece752
PT
119762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11977
94ce799f
PT
11978 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11979 EOPNOTSUPP.
11980 * sysdeps/mach/hurd/fsync.c: Likewise.
11981
8bece752
PT
11982 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11983 [_POSIX_REALTIME_SIGNALS]: Change condition to
11984 [_POSIX_REALTIME_SIGNALS > 0].
11985
86ebe6b1
AJ
119862012-10-27 Andreas Jaeger <aj@suse.de>
11987
11988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11989 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11991 [__WORDSIZE != 64]: Likewise.
11992
54399c08
L
119932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * iconvdata/tst-table.sh: Remove ${SHELL}.
11996 * iconvdata/tst-tables.sh: Likewise.
11997
e2211bed
DM
119982012-10-25 David S. Miller <davem@davemloft.net>
11999
12000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12001 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12002 of strtoull.
12003
f303f97c
DM
12004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12005 ifunc-impl-list.c
12006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12007 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12008 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12009 file.
12010
1e9d84cd
RM
120112012-10-25 Roland McGrath <roland@hack.frob.com>
12012
12013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12014 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12015 __getdirentries.
12016
df381762
JM
120172012-10-25 Joseph Myers <joseph@codesourcery.com>
12018 Jim Blandy <jimb@codesourcery.com>
12019
12020 * scripts/cross-test-ssh.sh: New file.
12021 * manual/install.texi (Configuring and compiling): Document use of
12022 cross-test-ssh.sh.
12023 * INSTALL: Regenerated.
12024
bff64913
PT
120252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12026
12027 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12028 EOPNOTSUPP.
12029
25fe8932
JM
120302012-10-25 Joseph Myers <joseph@codesourcery.com>
12031
12032 * Makeconfig (run-program-prefix): Fix comment.
12033
cc1290d0
JM
120342012-10-24 Joseph Myers <joseph@codesourcery.com>
12035 Jim Blandy <jimb@codesourcery.com>
12036
12037 * Makeconfig (test-wrapper): New variable,
12038 (test-wrapper-env): Likewise.
12039 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12040 (run-built-tests): Define to yes.
12041 (run-program-prefix): Use $(test-wrapper).
12042 (built-program-cmd): Likewise.
12043 * Rules (make-test-out): Use $(test-wrapper-env) and
12044 $(host-built-program-cmd).
12045 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12046 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12047 tst-pathopt.sh.
12048 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12049 $(test-wrapper-env) to tst-rtld-load-self.sh.
12050 ($(objpfx)order2.out): Use $(test-wrapper).
12051 ($(objpfx)tst-initorder.out): Likewise.
12052 ($(objpfx)tst-initorder2.out): Likewise.
12053 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12054 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12055 (test_wrapper_env): New variable. Use it to run ld.so.
12056 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12057 Use it to run ld.so.
12058 (test_wrapper_env): Likewise.
12059 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12060 $(test-wrapper) to run-iconv-test.sh.
12061 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12062 (ICONV): Use $test_wrapper.
12063 * posix/Makefile ($(objpfx)globtest.out): Pass
12064 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12065 globtest.sh, not $(run-program-prefix).
12066 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12067 (test_wrapper): Likewise.
12068 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12069 set together with run_via_rtld_prefix.
12070 (run_program_prefix): Define in terms of test_wrapper and
12071 run_via_rtld_prefix.
12072
6e6249d0
RM
120732012-10-24 Roland McGrath <roland@hack.frob.com>
12074
12075 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12076 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12077 Targets removed.
12078
12079 [BZ #14743]
12080 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12081 Declare __clock_getres, __clock_gettime, __clock_settime,
12082 __clock_nanosleep, and __clock_getcpuclockid.
12083 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12084 Remove librt_hidden_def (clock_gettime).
12085 * sysdeps/unix/clock_gettime.c: Likewise.
12086 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12088 * rt/clock_getres.c: Define __clock_getres as an alias.
12089 * sysdeps/posix/clock_getres.c: Likewise.
12090 * rt/clock_settime.c: Define __clock_settime as an alias.
12091 * sysdeps/unix/clock_settime.c: Likewise.
12092 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12093 * sysdeps/unix/clock_nanosleep.c: Likewise.
12094 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12095 * rt/clock-compat.c: New file.
12096 * rt/Makefile (librt-routines): Add clock-compat and move
12097 $(clock-routines) to ...
12098 (routines): ... here, new variable.
12099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12100 Don't add get_clockfreq here.
12101 * rt/Versions (libc: GLIBC_2.17): New version set.
12102 Add clock_* symbols here.
12103 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12105 (GLIBC_2.17): Add clock_* symbols.
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12110 Likewise.
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12112 Likewise.
12113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12117 * NEWS: Mention the move.
12118
12119 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12120 Use __open, __read, __close rather than their public counterparts.
12121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12122 (__get_clockfreq_via_cpuinfo): Likewise.
12123 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12124 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12125
12126 * config.h.in (HAVE_IFUNC): New #undef.
12127 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12128 was successful.
12129 * configure: Regenerated.
12130
0cae3f4b
MF
121312012-10-24 Mike Frysinger <vapier@gentoo.org>
12132
12133 * configure.in: Move READELF check to start of file.
12134 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12135 libc_cv_asm_gnu_indirect_function in the process.
12136 * configure: Regenerated.
12137
8175a253
MF
121382012-10-24 Mike Frysinger <vapier@gentoo.org>
12139
12140 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12141 send the output to /dev/null.
12142 (libc_cv_cc_with_libunwind): Likewise.
12143 (libc_cv_as_noexecstack): Likewise.
12144 * configure: Regenerate.
12145
0708a7d1
JM
121462012-10-24 Joseph Myers <joseph@codesourcery.com>
12147
10b40d85
JM
12148 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12149
0708a7d1
JM
12150 * posix/globtest.sh (TMPDIR): Do not set.
12151 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12152 (testout): Likewise.
12153
9fddec1a
AJ
121542012-10-24 Andreas Jaeger <aj@suse.de>
12155
3a8db22f
AJ
12156 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12157 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12158 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12159 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12160 posix_fadvise64, posix_fallocate64.
12161
9fddec1a
AJ
12162 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12163 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12164 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12165 Likewise.
12166 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12167 Likewise.
12168 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12169
12170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12171 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12172 <bits/fcntl-linux.h>.
12173 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12174
12175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12176 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12177 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12178 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12179 [__WORDSIZE != 64]: Likewise.
12180
ebfd1bbd
JM
121812012-10-23 Joseph Myers <joseph@codesourcery.com>
12182
03ac099f
JM
12183 * Makeconfig (run-built-tests): New variable.
12184 * Rules [$(cross-compiling) = yes]: Change condition to
12185 [$(run-built-tests) = no].
12186 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12187 to [$(run-built-tests) = yes].
12188 * elf/Makefile [$(cross-compiling) = no]: Likewise
12189 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12190 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12191 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12192 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12193 * io/Makefile [$(cross-compiling) = no]: Likewise.
12194 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12195 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12196 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12197 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12198 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12199 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12200 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12201 * string/Makefile [$(cross-compiling) = no]: Likewise.
12202
ebfd1bbd
JM
12203 * posix/Makefile ($(objpfx)globtest.out): Pass
12204 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12205 $(rtld-installed-name).
12206 * posix/globtest.sh (elf_objpfx): Remove variable.
12207 (rtld_installed_name): Likewise.
12208 (library_path): Likewise.
12209 (run_program_prefix): New variable. Use for running globtest
12210 binary.
12211
166bca24
JB
122122012-10-23 Jim Blandy <jimb@codesourcery.com>
12213 Joseph Myers <joseph@codesourcery.com>
12214
12215 * Makeconfig (host-built-program-cmd): New variable.
12216 * elf/Makefile (tst-stackguard1-ARGS): Use
12217 $(host-built-program-cmd).
12218 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12219 (tst-spawn-ARGS): Likewise.
12220 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12221
88866099
JM
122222012-10-23 Joseph Myers <joseph@codesourcery.com>
12223 Jim Blandy <jimb@codesourcery.com>
12224
12225 * Makeconfig (run-via-rtld-prefix): New variable.
12226 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12227 (built-program-cmd): Likewise.
12228
b4b4c296
AJ
122292012-10-22 Andreas Jaeger <aj@suse.de>
12230
12231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12232 __O_RSYNC if it exists, otherwise to O_SYNC.
12233
6fb54a22
JB
122342012-10-22 Jim Blandy <jimb@codesourcery.com>
12235 Joseph Myers <joseph@codesourcery.com>
12236
12237 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12238 /dev/null.
12239 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12240 from /dev/null
12241 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12242 /dev/null.
12243
481b90b9
AJ
122442012-10-22 Andreas Jaeger <aj@suse.de>
12245
2a0e2669
AJ
12246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12247 Define always.
12248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12249
76e38f9a
AJ
12250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12251 bits/fcntl-linux.h.
12252
7cd37b43
AJ
12253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12254 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12255
481b90b9
AJ
12256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12257 to __O_LARGEFILE.
12258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12259 to __O_LARGEFILE.
12260
aba75984
JB
122612012-10-21 Jim Blandy <jimb@codesourcery.com>
12262 Joseph Myers <joseph@codesourcery.com>
12263
12264 * config.make.in (NM): New variable.
12265
88d4247f
AJ
122662012-10-21 Andreas Jaeger <aj@suse.de>
12267
12268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12269 definitions and declarations that are provided by
12270 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12271
f2eed205
L
122722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 [BZ #14683]
12275 * elf/Makefile (tests-static): Add tst-leaks1-static.
12276 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12277 ($(objpfx)tst-leaks1-static): New rule.
12278 ($(objpfx)tst-leaks1-static-mem): Likewise.
12279 (tst-leaks1-static-ENV): New macro.
12280 * elf/dl-open.c (dl_open_worker): Check the main application
12281 only if SHARED is defined.
12282 * elf/tst-leaks1-static.c: New file.
12283
335e6931
AJ
122842012-10-20 Andreas Jaeger <aj@suse.de>
12285
12286 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12287 generic values for Linux.
12288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12289 and declarations that are provided by <bits/fcntl-linux.h> and
12290 include <bits/fcntl-linux.h>.
12291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12293
ac5c94d3
RM
122942012-10-20 Roland McGrath <roland@hack.frob.com>
12295
12296 * io/fcntl.h: Move include of <bits/types.h> to the top and
12297 include it unconditionally.
12298
de54b33a
L
122992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12300
228cfb01
L
12301 * wcsmbs/Makefile (tests-ifunc): New variable.
12302 (tests): Add $(tests-ifunc).
12303 * wcsmbs/test-wcschr-ifunc.c: New file.
12304 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12305 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12306 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12307 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12308 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12309
69f07e5f
L
12310 * string/Makefile (tests-ifunc): New variable.
12311 (tests): Add $(tests-ifunc).
12312 * string/test-memccpy.c (TEST_NAME): New macro.
12313 * string/test-memchr.c (TEST_NAME): Likewise.
12314 * string/test-memcmp.c (TEST_NAME): Likewise.
12315 * string/test-memcpy.c (TEST_NAME): Likewise.
12316 * string/test-memmem.c (TEST_NAME): Likewise.
12317 * string/test-memmove.c (TEST_NAME): Likewise.
12318 * string/test-memset.c (TEST_NAME): Likewise.
12319 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12320 * string/test-stpcpy.c (TEST_NAME): Likewise.
12321 * string/test-stpncpy.c (TEST_NAME): Likewise.
12322 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12323 * string/test-strcasestr.c (TEST_NAME): Likewise.
12324 * string/test-strcat.c (TEST_NAME): Likewise.
12325 * string/test-strchr.c (TEST_NAME): Likewise.
12326 * string/test-strcmp.c(TEST_NAME): Likewise.
12327 * string/test-strcpy.c (TEST_NAME): Likewise.
12328 * string/test-strcspn.c (TEST_NAME): Likewise.
12329 * string/test-strlen.c (TEST_NAME): Likewise.
12330 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12331 * string/test-strncmp.c (TEST_NAME): Likewise.
12332 * string/test-strncpy.c (TEST_NAME): Likewise.
12333 * string/test-strnlen.c (TEST_NAME): Likewise.
12334 * string/test-strpbrk.c (TEST_NAME): Likewise.
12335 * string/test-strrchr.c (TEST_NAME): Likewise.
12336 * string/test-strspn.c (TEST_NAME): Likewise.
12337 * string/test-strstr.c (TEST_NAME): Likewise.
12338 * string/test-bcopy-ifunc.c: New file.
12339 * string/test-bzero-ifunc.c: Likewise.
12340 * string/test-memccpy-ifunc.c: Likewise.
12341 * string/test-memchr-ifunc.c: Likewise.
12342 * string/test-memcmp-ifunc.c: Likewise.
12343 * string/test-memcpy-ifunc.c: Likewise.
12344 * string/test-memmem-ifunc.c: Likewise.
12345 * string/test-memmove-ifunc.c: Likewise.
12346 * string/test-mempcpy-ifunc.c: Likewise.
12347 * string/test-memset-ifunc.c: Likewise.
12348 * string/test-rawmemchr-ifunc.c: Likewise.
12349 * string/test-stpcpy-ifunc.c: Likewise.
12350 * string/test-stpncpy-ifunc.c: Likewise.
12351 * string/test-strcasecmp-ifunc.c: Likewise.
12352 * string/test-strcasestr-ifunc.c: Likewise.
12353 * string/test-strcat-ifunc.c: Likewise.
12354 * string/test-strchr-ifunc.c: Likewise.
12355 * string/test-strchrnul-ifunc.c: Likewise.
12356 * string/test-strcmp-ifunc.c: Likewise.
12357 * string/test-strcpy-ifunc.c: Likewise.
12358 * string/test-strcspn-ifunc.c: Likewise.
12359 * string/test-strlen-ifunc.c: Likewise.
12360 * string/test-strncasecmp-ifunc.c: Likewise.
12361 * string/test-strncat-ifunc.c: Likewise.
12362 * string/test-strncmp-ifunc.c: Likewise.
12363 * string/test-strncpy-ifunc.c: Likewise.
12364 * string/test-strnlen-ifunc.c: Likewise.
12365 * string/test-strpbrk-ifunc.c: Likewise.
12366 * string/test-strrchr-ifunc.c: Likewise.
12367 * string/test-strspn-ifunc.c: Likewise.
12368 * string/test-strstr-ifunc.c: Likewise.
12369
de54b33a
L
12370 * debug/Makefile (tests-ifunc): New variable.
12371 (tests): Add $(tests-ifunc).
12372 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12373 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12374 * debug/test-stpcpy_chk-ifunc.c: New file.
12375 * debug/test-strcpy_chk-ifunc.c: Likewise.
12376
88481c16
SP
123772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12378
12379 [BZ #13601]
12380 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12381 header is not read in.
12382
135948bd
JM
123832012-10-19 Joseph Myers <joseph@codesourcery.com>
12384
89f1c388
JM
12385 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12386 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12387 directly. Pass built executable to script as
12388 $(built-program-cmd).
12389 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12390 $testprogram without using LD_LIBRARY_PATH and $ldso.
12391
e40a0d21
JM
12392 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12393 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12394 $(rtld-installed-name).
12395 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12396 (rtld_installed_name): Likewise.
12397 (library_path): Likewise.
12398 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12399 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12400 $(run-program-prefix) to tst-tables.sh.
12401 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12402 it to run tst-table-from and tst-table-to.
12403 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12404 Pass it to tst-table.sh.
12405 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12406 $(run-program-prefix) to tst-gettext.sh.
12407 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12408 tst-translit.sh.
12409 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12410 tst-gettext2.sh.
12411 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12412 to run tst-gettext.
12413 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12414 to run tst-gettext2.
12415 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12416 to run tst-translit.
12417 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12418 $(run-program-prefix) to tst-mtrace.sh.
12419 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12420 to run tst-mtrace.
12421 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12422 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12423 $(rtld-installed-name).
12424 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12425 (rtld_installed_name): Likewise.
12426 (run_program_prefix): New variable. Use it to run wordexp-test.
12427
728e272a
JM
12428 * Makeconfig (ARCH): Remove all definitions.
12429 (machine): Likewise.
12430 [ARCH]: Remove conditional code.
12431 [!objdir]: Give error.
12432 [!objdir] (objpfx): Remove.
12433 [!objdir] (common-objpfx): Likewise.
12434 [!objdir] (common-objdir): Likewise.
12435 * configure.in (config_makefile): Remove. Hardcode Makefile in
12436 AC_CONFIG_FILES call.
12437 * configure: Regenerated.
12438
d528cdcf
JM
12439 [BZ #13888]
12440 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12441 or TMPDIR.
12442 (testout): Likewise.
12443
135948bd
JM
12444 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12445 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12446 $(rtld-installed-name).
12447 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12448 (rtld_installed_name): Likwise.
12449 (runit): Remove function.
12450 (run_getconf): New variable, Use it for running getconf binary.
12451
38c78296
L
124522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12453
12454 [BZ #14716]
12455 * string/test-memmem.c (check_result): New function.
12456 (do_one_test): Use it.
12457 (check1): New function.
12458 (test_main): Use it.
12459
d077f65f
MT
124602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12461
12462 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12463
ced52c71
JM
124642012-10-18 Joseph Myers <joseph@codesourcery.com>
12465
12466 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12467 (_G_LSEEK64): Likewise.
12468 (_G_MMAP64): Likewise.
12469 (_G_FSTAT64): Likewise.
12470 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12471 (_G_LSEEK64): Likewise.
12472 (_G_MMAP64): Likewise.
12473 (_G_FSTAT64): Likewise.
12474 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12475 unconditional. Call __mmap64 directly.
12476 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12477 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12478 __lseek64 directly.
12479 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12480 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12481 __mmap64 directly.
12482 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12483 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12484 __lseek64 directly.
12485 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12486 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12487 __lseek64 directly.
12488 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12489 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12490 __lseek64 directly.
12491 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12492 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12493 __fxstat64 directly.
12494 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12495 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12496 unconditional.
12497 (freopen64) [!_G_OPEN64]: Remove conditional code.
12498 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12499 unconditional.
12500 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12501 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12502 unconditional.
12503 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12504 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12505 unconditional.
12506 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12507 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12508 unconditional.
12509 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12510 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12511 unconditional.
12512 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12513 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12514 unconditional.
12515 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12516 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12517 unconditional.
12518 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12519
b741de23
SP
125202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12521
12522 [BZ #12140]
12523 * manual/memory.texi (Malloc Tunable Parameters): Add note
12524 about free list pointers overwriting some perturb bytes.
12525 Wording suggested by Roland McGrath.
12526
f9b9d9c9
JM
125272012-10-17 Joseph Myers <joseph@codesourcery.com>
12528
12529 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12530 (lgamma_test): Likewise.
12531 (tgamma_test): Likewise.
12532
172a631a
FW
125332012-10-16 Florian Weimer <fweimer@redhat.com>
12534
12535 [BZ #14700]
12536 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12537 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12538
e9f37252
MK
125392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12540
12541 * NEWS: Mention BZ #14716.
12542 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12543 when removing AVAILABLE1_USES_J macro.
12544
d394eb74
L
125452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12548 (__bswap_64): __uint64_t for unsigned 64-bit int.
12549
ca38dc17
AS
125502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12551
12552 * include/string.h (memmem): Declare libc hidden alias.
12553 * string/memmem.c (memmem): Define libc hidden alias.
12554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12555 __read, __close instead of open, read, close.
12556
9a387d1f
L
125572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12558
ac49ecaf
L
12559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12560 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12561 global and hidden.
12562 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12563 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12564 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12565 Likewise.
12566 (__rawmemchr_sse2): Likewise.
12567 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12568 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12569 (__strchr_sse2): Likewise.
12570 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12571 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12572 (__strcasecmp_sse2): Likewise.
12573 (__strncasecmp_sse2): Likewise.
12574 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12575 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12576 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12577 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12578 (__strrchr_sse2): Likewise.
12579 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12580 ifunc-impl-list.c.
12581 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12582 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12583 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12584 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12585 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12586 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12587 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12588 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12589 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12590 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12591 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12592 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12593 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12594 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12595 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12596 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12597 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12598 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12599 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12600 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12601 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12602 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12603 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12604 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12605 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12606 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12607 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12609 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12610 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12611
b090e8ea
L
12612 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12613 global and hidden.
12614 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12615 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12616 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12617 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12618 Likewise.
12619 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12620 Likewise.
12621 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12622 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12623 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12624 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12625 ifunc-impl-list.c.
12626 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12627 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12628 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12636 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12637 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12638 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12639 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12640 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12642 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12643 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12644 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12645 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12646 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12647 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12648 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12649 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12650 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12651 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12652 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12653 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12654 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12655 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12656 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12658 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12659 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12660 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12661 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12662 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12663 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12664 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12665 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12666 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12667
11dd4af6
L
12668 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12669 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12670 * include/ifunc-impl-list.h: New file.
12671 * misc/ifunc-impl-list.c: Likewise.
12672 * misc/Makefile (routines): Add ifunc-impl-list.
12673 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12674 * string/test-string.h: Include <ifunc-impl-list.h>.
12675 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12676 impl_array): New variables.
12677 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12678 are defined.
12679 (test_init): Call __libc_ifunc_impl_list to initialize
12680 func_list if TEST_IFUNC and TEST_NAME are defined.
12681
9a387d1f
L
12682 * string/Makefile (strop-tests): Add bcopy and bzero.
12683 * string/test-bcopy.c: New file.
12684 * string/test-bzero.c: Likewise.
12685 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12686 defined.
12687 * string/test-memset.c: Support bzero test if TEST_BZERO is
12688 defined.
12689 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12690 __libc_memmove.
12691 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12692 __libc_memset.
12693 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12694 of memset.
12695
472371b9
JM
126962012-10-10 Joseph Myers <joseph@codesourcery.com>
12697
1e4a9536
JM
12698 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12699 * configure: Regenerated.
12700
d173d12e
JM
12701 * Makeconfig (+link-static-before-libc): Don't include
12702 $(link-static-libc).
12703
472371b9
JM
12704 * libio/libio.h (_IO_pos_t): Remove.
12705
89a3ad0b
AO
127062012-10-10 Alexandre Oliva <aoliva@redhat.com>
12707
12708 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12709 McGrath.
12710
e7451425
AO
127112012-10-10 Alexandre Oliva <aoliva@redhat.com>
12712
12713 * crypt/crypt-entry.c: Include fips-private.h.
12714 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12715 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12716 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12717 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12718
4ba74a35
AO
127192012-10-10 Alexandre Oliva <aoliva@redhat.com>
12720
12721 * crypt/crypt-private.h: Include stdbool.h.
12722 (_ufc_setup_salt_r): Return bool.
12723 * crypt/crypt-entry.c: Include errno.h.
12724 (__crypt_r): Return NULL with EINVAL for bad salt.
12725 * crypt/crypt_util.c (bad_for_salt): New.
12726 (_ufc_setup_salt_r): Check that salt is long enough and within
12727 the specified alphabet.
12728 * crypt/badsalttest.c: New file.
12729 * crypt/Makefile (tests): Add it.
12730 ($(objpfx)badsalttest): New.
12731
f96f1242
MK
127322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12733
12734 * NEWS: Add entry for BZ #14602.
12735
0e8e0c1c
JM
127362012-10-09 Joseph Myers <joseph@codesourcery.com>
12737
12738 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12739 type-generic.
12740 * math/libm-test.inc: Update comment listing what functions and
12741 macros are tested.
12742 (isgreater_test): New function.
12743 (isgreaterequal_test): Likewise.
12744 (isless_test): Likewise.
12745 (islessequal_test): Likewise.
12746 (islessgreater_test): Likewise.
12747 (isunordered_test): Likewise.
12748 (main): Call the new functions.
12749
273edc5e
RM
127502012-10-09 Roland McGrath <roland@hack.frob.com>
12751
b8493de0
RM
12752 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12753 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12754 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12755 * sysdeps/i386/configure: Regenerated.
12756 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12757 * sysdeps/mach/configure: Regenerated.
12758 * sysdeps/mach/hurd/configure: Regenerated.
12759 * sysdeps/powerpc/configure: Regenerated.
12760 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12761 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12762 * sysdeps/s390/s390-32/configure: Regenerated.
12763 * sysdeps/s390/s390-64/configure: Regenerated.
12764 * sysdeps/sh/configure: Regenerated.
12765 * sysdeps/sparc/configure: Regenerated.
12766 * sysdeps/unix/sysv/linux/configure: Regenerated.
12767 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12768 * sysdeps/x86_64/configure: Regenerated.
12769
273edc5e
RM
12770 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12771 defined. Don't check if MAP is NULL.
12772
c8450f70
JM
127732012-10-09 Joseph Myers <joseph@codesourcery.com>
12774
12775 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12776 (_G_stat64): Likewise.
12777 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12778 (_G_stat64): Likewise.
12779 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12780 instead of struct _G_stat64.
12781 * libio/fileops.c (mmap_remap_check): Likewise.
12782 (decide_maybe_mmap): Likewise.
12783 (_IO_new_file_seekoff): Likewise.
12784 (_IO_file_stat): Likewise.
12785 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12786 _G_off64_t.
12787 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12788 instead of struct _G_stat64.
12789 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12790
57e605ba
MK
127912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12792
12793 [BZ #14602]
12794 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12795 Replace with ...
12796 (CHECK_EOL): New macro.
12797 (two_way_short_needle): Check beginning of haystack for EOL. Use
12798 CHECK_EOL.
12799 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12800 Replace with CHECK_EOL.
12801 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12802 Replace with CHECK_EOL.
12803
ef1bb361
JM
128042012-10-08 Joseph Myers <joseph@codesourcery.com>
12805
12806 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12807 type-generic.
12808 * math/libm-test.inc: Update comment listing what functions and
12809 macros are tested.
12810 (finite_test): New function.
12811 (isinf_test): Likewise.
12812 (isnan_test): Likewise.
12813 (fpclassify_test): Test subnormal input.
12814 (isfinite_test): Likewise.
12815 (isnormal_test): Likewise.
12816 (main): Call the new functions.
12817
55f11534
JN
128182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12819
12820 [BZ #14660]
12821 * Makerules (%.dynsym): Force C locale when running
12822 $(OBJDUMP) --dynamic-syms.
12823
1ab29350
AS
128242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12825
12826 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12827 <stdint.h>.
12828
f1ecb7ef
DM
128292012-10-06 David S. Miller <davem@davemloft.net>
12830
12831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12832 upper 32-bits of the length value in %o2 since we use branch-on-register
12833 tests which consider the entire 64-bit register.
12834
5d41d91a
L
128352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12836
12837 * string/test-strstr.c (check2): Add a test for page boundary.
12838
3baddb72
DM
128392012-10-05 David S. Miller <davem@davemloft.net>
12840
12841 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12843 file.
12844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12845 sysdep_routines.
12846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12847 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12848 and bzero when HWCAP_SPARC_CRYPTO is present.
12849
9cee5585
L
128502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12851
d7e0dab9
L
12852 [BZ #14602]
12853 * string/test-strstr.c (check2): New function.
12854 (test_main): Call check2.
12855
03759f47
L
12856 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12857 and bug-strchr1.
12858 * string/bug-strcasestr1.c (do_test): Moved to ...
12859 * string/test-strcasestr.c (check1): Here. New function.
12860 (do_one_test): Break out result checking code into ...
12861 (check_result): This. New function.
12862 (do_one_test): Call check_result.
12863 (test_main): Call check1.
12864 * string/bug-strchr1.c (do_test): Moved to ...
12865 * string/test-strchr.c (check1): Here. New function.
12866 (do_one_test): Break out result checking code into ...
12867 (check_result): This. New function.
12868 (do_one_test): Call check_result.
12869 (test_main): Call check1.
12870 * string/bug-strstr1.c (main): Moved to ...
046f153e 12871 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12872 (do_one_test): Break out result checking code into ...
12873 (check_result): This. New function.
12874 (do_one_test): Call check_result.
12875 (test_main): Call check1.
12876 * string/bug-strcasestr1.c: Removed.
12877 * string/bug-strchr1.c: Likewise.
12878 * string/bug-strstr1.c: Likewise.
12879
53cea63e
L
12880 * elf/Makefile (dl-routines): Add hwcaps.
12881 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12882 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12883 (_dl_important_hwcaps): Moved to ...
12884 * elf/dl-hwcaps.c: Here. New file.
12885 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12886
9cee5585 12887 [BZ #14557]
bb859b06
L
12888 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12889 if IS_IN_rtld isn't defined.
12890
9cee5585
L
12891 * elf/dl-support.c (_dl_sysinfo_map): New.
12892 Include "get-dynamic-info.h" and "setup-vdso.h".
12893 (_dl_non_dynamic_init): Call setup_vdso.
12894 * elf/dynamic-link.h: Don't include <assert.h>.
12895 (elf_get_dynamic_info): Moved to ...
12896 * elf/get-dynamic-info.h: Here. New file.
12897 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12898 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12899 * elf/setup-vdso.h: Here. New file.
12900 * elf/rtld.c: Include "setup-vdso.h".
12901 (dl_main): Call setup_vdso.
12902
23c31b76
JM
129032012-10-05 Joseph Myers <joseph@codesourcery.com>
12904
28234b07
JM
12905 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12906 creal in comment listing functions tested. List finite, isinf,
12907 isnan, isless, islessequal, isgreater, isgreaterequal,
12908 islessgreater, isunordered, lgamma_r and pow10 as functions and
12909 macros not tested. Mention which functions not tested are aliases
12910 for other functions. Fix typo. Note that signs of NaNs are not
12911 tested.
12912
23c31b76
JM
12913 * scripts/config.guess: Update from config.git.
12914 * scripts/config.sub: Likewise.
12915
9043e228
RM
129162012-10-04 Roland McGrath <roland@hack.frob.com>
12917
12918 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12919 * misc/madvise.c (madvise): Renamed to __madvise.
12920 Make madvise a weak alias.
12921 * include/sys/mman.h: Declare __madvise.
12922 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12923 * sysdeps/unix/syscalls.list
12924 (madvise): Make __madvise the strong name, and madvise a weak alias.
12925 * sysdeps/unix/sysv/linux/syscalls.list
12926 (madvise, mmap): Remove redundant entries.
12927 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12928 * malloc/malloc.c (mtrim): Likewise.
12929 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12930
f57f8055
RM
129312012-10-03 Roland McGrath <roland@hack.frob.com>
12932
12933 * sysdeps/mach/hurd/dl-cache.c: File removed.
12934 * config.h.in (USE_LDCONFIG): New #undef.
12935 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12936 * configure: Regenerated.
12937 * elf/Makefile (dl-routines): Add dl-cache only under
12938 [$(use-ldconfig) = yes].
12939 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12940 cache on [USE_LDCONFIG].
12941 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12942 [USE_LDCONFIG].
12943 * elf/rtld.c (dl_main): Likewise.
12944
5bb0c10a
PT
129452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12946
12947 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12948 _SC_LEVEL4_CACHE_LINESIZE.
12949
010188c6
RM
129502012-10-03 Roland McGrath <roland@hack.frob.com>
12951
12952 * sysdeps/unix/bsd/confstr.h: File removed.
12953
b6c5ec07
AO
129542012-10-02 Alexandre Oliva <aoliva@redhat.com>
12955
12956 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12957 sys/sdt-config.h.
12958
408223d4
RM
129592012-10-02 Roland McGrath <roland@hack.frob.com>
12960
12961 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12962 Make 'mapoff' field ElfW(Off) rather than off_t.
12963
bb9510dc
DL
129642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12965
fc997c6e
DL
12966 * nscd/Makefile: Remove nscd-cflags and all its users.
12967 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12968 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12969
bb9510dc
DL
12970 [BZ #10631]
12971 * malloc.c (malloc_printerr): Clarify error message.
12972
05699367
L
129732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12974
12975 [BZ #14648]
12976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12977 Set bit_FMA_Usable if FMA is supported.
12978 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12979 macro.
12980 (bit_FMA4_Usable): Updated.
12981 (index_FMA_Usable): New macro.
12982 (CPUID_FMA): Likewise
12983 (HAS_FMA): Defined with bit_FMA_Usable.
12984
51367701
RM
129852012-10-01 Roland McGrath <roland@hack.frob.com>
12986
12987 * bits/types.h (__swblk_t): Type removed.
12988 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12989 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12991 (__SWBLK_T_TYPE): Likewise.
12992 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12993 (__SWBLK_T_TYPE): Likewise.
12994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12995 (__SWBLK_T_TYPE): Likewise.
12996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12997 (__SWBLK_T_TYPE): Likewise.
12998
4d57bf63 129992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13000 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13001
13002 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13003 (xdr_mapname): Use YPMAXMAP as maxsize.
13004 (xdr_peername): Use YPMAXPEER as maxsize.
13005 (xdr_keydat): Use YPAXRECORD as maxsize.
13006 (xdr_valdat): Use YPMAXRECORD as maxsize.
13007
93c65d43
RM
130082012-10-01 Roland McGrath <roland@hack.frob.com>
13009
497a03d6
RM
13010 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13011
93c65d43
RM
13012 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13013 * csu/init-first.c: ... here.
13014 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13015 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13017 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13018 * sysdeps/i386/init-first.c: File removed.
13019 * sysdeps/sh/init-first.c: File removed.
13020
bec749fd
JM
130212012-10-01 Joseph Myers <joseph@codesourcery.com>
13022
13023 [BZ #14645]
13024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13025 if x * y might underflow to zero and z is zero.
13026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13028 * math/libm-test.inc (min_subnorm_value): New variable.
13029 (fma_test): Add more tests.
13030 (fma_test_towardzero): Likewise.
13031 (fma_test_downward): Likewise
13032 (fma_test_upward): Likewise.
13033 (initialize): Set min_subnorm_value.
13034
8ec5b013
JM
130352012-09-29 Joseph Myers <joseph@codesourcery.com>
13036
13037 [BZ #14638]
13038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13039 0 + 0.
13040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13041 mode for addition resulting in exact zero.
13042 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13044 exact 0 + 0.
13045 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13047 * math/libm-test.inc (fma_test): Add more tests.
13048 (fma_test_towardzero): New function.
13049 (fma_test_downward): Likewise.
13050 (fma_test_upward): Likewise.
13051 (main): Call the new functions.
13052
b1fa802e
DM
130532012-09-28 David S. Miller <davem@davemloft.net>
13054
13055 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13056
d3b9fd9e
RM
130572012-09-28 Roland McGrath <roland@hack.frob.com>
13058
ea4d37b3
RM
13059 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13060 instead of SIGALRM.
13061
ac51c949
RM
13062 * sysdeps/gnu/_G_config.h: Moved to ...
13063 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13064 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13065 * sysdeps/generic/_G_config.h: ... here.
13066
28c195f7
RM
13067 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13068
848917f9
RM
13069 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13070
6bacf05b
RM
13071 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13072 Conditionalize target on [libnss_test1.so-version].
13073
91363dbb
RM
13074 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13075
cc87f7d8
RM
13076 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13077 (elfobjdir): Move out of conditionals.
13078
b1c608fe
RM
13079 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13080 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13081 (__nss_lookup_function): Conditionalize label remove_from_tree on
13082 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13083
1d9a6d96
DM
130842012-09-28 David S. Miller <davem@davemloft.net>
13085
13086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13087 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13088 file.
13089 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13090 sysdep_routines.
13091 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13093 when HWCAP_SPARC_CRYPTO is present.
13094
72581615
PT
130952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13096
13097 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13098
715a900c
JL
130992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13100
13101 [BZ #6530]
13102 * stdio-common/vfprintf.c (process_string_arg): Revert
13103 2000-07-22 change.
13104
131052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13106
13107 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13108 for testcase.
13109 * stdio-common/tst-sprintf.c: Include <locale.h>
13110 (main): Test sprintf's handling of incomplete multibyte
13111 characters.
13112
9bac1d86
L
131132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13114
13115 * elf/dl-runtime.c (VERSYMIDX): Removed.
13116 * elf/dl-version.c (VERSYMIDX): Likewise.
13117 * elf/do-rel.h (VERSYMIDX): Likewise.
13118 (VALIDX): Likewise.
13119 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13120 * elf/rtld.c (VALIDX): Likewise.
13121 (ADDRIDX): Likewise.
9bac1d86
L
13122 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13123 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13124 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13125 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13126 (VALIDX): Likewise.
13127 (ADDRIDX): Likewise.
9bac1d86 13128
b31606c0
PT
131292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13130
13131 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13132
11541177
JL
131332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13134
13135 [BZ #11438]
13136 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13137 to global scope.
13138 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13139 addresses are in the same scope as 192.0.2/24.
13140 * posix/gai.conf: Document new scope table defaults.
13141
adb26fae
SP
131422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 [BZ #5298]
13145 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13146 for ftell. Compute offsets from write pointers instead.
13147 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13148
4573c6b0
SP
131492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13150
13151 [BZ #14543]
13152 * libio/Makefile (tests): New test case tst-fseek.
13153 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13154 combination works in wide mode.
13155 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13156 state when the external buffer state changes.
13157
aa9bbfe6
DM
131582012-09-27 David S. Miller <davem@davemloft.net>
13159
13160 [BZ #14376]
13161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13162 pass reloc->r_addend in as the 'high' argument to
13163 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13164
784421e7
DM
13165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13166
c39bc8b8
PT
131672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13168
13169 * rt/tst-aio2.c: Include <pthread.h>.
13170 * rt/tst-aio3.c: Likewise.
13171
1ccc2399
SE
131722012-09-27 Steve Ellcey <sellcey@mips.com>
13173
13174 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13175
31ed4153
L
131762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13177
25f5f885
L
13178 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13179 contents on [SHARED].
31ed4153 13180
b7bfe116
MP
131812012-09-26 Marek Polacek <polacek@redhat.com>
13182
13183 [BZ #14530]
13184 [BZ #13741]
13185 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13186 for C++ and GCC <4.3 as well as for non GCC compilers.
13187
43c4edba
MT
131882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13189
13190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13191
6a1bf82f
RM
131922012-09-25 Roland McGrath <roland@hack.frob.com>
13193
13194 * Makefile.in (all, install): Declare with .PHONY.
13195 Reported by Michael Hope <michael.hope@linaro.org>.
13196
8ad11b9a
TMQMF
131972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13198
13199 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13200 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13201 system header.
13202 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13203 Likewise.
13204 (sydep_routines): Add the new and the internal functions.
13205 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13206 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13208 (GLIBC_2.17): Add the new function.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13210 (GLIBC_2.17): Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13212 (GLIBC_2.17): Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13214 (GLIBC_2.17): Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13216
7e2fca8d
AM
132172012-09-25 Alan Modra <amodra@gmail.com>
13218
13219 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13220 Add release barrier before setting once_control to say
13221 initialisation is done. Add hints on lwarx. Use macro in
13222 place of isync.
13223 (clear_once_control): Add release barrier.
13224
b87c4b24
JM
132252012-09-25 Joseph Myers <joseph@codesourcery.com>
13226
d032e0d2
JM
13227 [BZ #13629]
13228 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13229 specially.
13230 * math/s_clog10.c (__clog10): Likewise.
13231 * math/s_clog10f.c (__clog10f): Likewise.
13232 * math/s_clog10l.c (__clog10l): Likewise.
13233 * math/s_clogf.c (__clogf): Likewise.
13234 * math/s_clogl.c (__clogl): Likewise.
13235 * math/Makefile (libm-calls): Add x2y2m1.
13236 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13237 (__x2y2m1): Likewise.
13238 (__x2y2m1l): Likewise.
13239 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13240 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13244 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13245 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13246 * sysdeps/i386/fpu/libm-test-ulps: Update.
13247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13248
b87c4b24
JM
13249 [BZ #14621]
13250 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13251 int as type of variable DEPTH.
13252 (glob): Use size_t instead of int as type of variables NEWCOUNT
13253 and OLD_PATHC.
13254
6d3bf199
LD
132552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13256
22bf5c17
LD
13257 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13258 Add s_sincosf-sse2.
13259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13261 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13262 macros for using routine as __sincosf_ia32.
13263 Use macro for function declaration and weak_alias.
13264 * sysdeps/i386/fpu/libm-test-ulps: Update.
13265
13266 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13268
13269 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13270 subnormal argument.
13271 * math/s_cexpf.c (__cexpf): Likewise.
13272 * math/s_csinf.c (__csinf): Likewise.
13273 * math/s_csinhf.c (__csinhf): Likewise.
13274 * math/s_ctanf.c (__ctanf): Likewise.
13275 * math/s_ctanhf.c (__ctanhf): Likewise.
13276 * math/s_ccosh.c (__ccoshf): Likewise.
13277 * math/s_cexp.c (__cexpl): Likewise.
13278 * math/s_csin.c (__csin): Likewise.
13279 * math/s_csinh.c (__csinh): Likewise.
13280 * math/s_ctan.c (__ctan): Likewise.
13281 * math/s_ctanh.c (ctanh): Likewise.
13282 * math/s_ccoshl.c (__ccoshl): Likewise.
13283 * math/s_cexpl.c (__cexpl): Likewise.
13284 * math/s_csinl.c (__csinl): Likewise.
13285 * math/s_csinhl.c (__csinhl): Likewise.
13286 * math/s_ctanl.c (__ctanl): Likewise.
13287 * math/s_ctanhl.c (__ctanhl): Likewise.
13288
203e5603
JM
132892012-09-25 Joseph Myers <joseph@codesourcery.com>
13290
13291 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13292 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13293 (_IO_off_t): Define to __off_t, not _G_off_t.
13294 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13295 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13296 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13297 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13298 type of __dummy and __dummy2 fields.
13299 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13314 (_G_ssize_t): Likewise.
13315 (_G_off_t): Likewise.
13316 (_G_pid_t): Likewise.
13317 (_G_uid_t): Likewise.
13318 (_G_wchar_t): Likewise.
13319 (_G_wint_t): Likewise.
13320
9fab36eb
SP
133212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13322
13323 * malloc/arena.c: Include malloc-sysdep.h.
13324 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13325 is sufficient to shrink the heap or an unmap is needed.
13326 * sysdeps/generic/malloc-sysdep.h: New file. Define
13327 new function check_may_shrink_heap.
13328 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13329 new function check_may_shrink_heap.
13330
2b4f00d1
SP
133312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13332
13333 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13334 comments.
13335
9a9028b1
DL
133362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13337
57c69bef
DL
13338 * catgets/test-gencat.sh: Add "set -e".
13339 * elf/tst-pathopt.sh: Likewise.
13340 * grp/tst_fgetgrent.sh: Likewise.
13341 * iconvdata/run-iconv-test.sh: Likewise.
13342 * intl/tst-gettext.sh: Likewise.
13343 * intl/tst-gettext2.sh: Likewise.
13344 * intl/tst-gettext4.sh: Likewise.
13345 * intl/tst-gettext6.sh: Likewise.
13346 * intl/tst-translit.sh: Likewise.
13347 * io/ftwtest-sh: Likewise.
13348 * libio/test-freopen.sh: Likewise.
13349 * malloc/tst-mtrace.sh: Likewise.
13350 * posix/globtest.sh: Likewise.
13351 * posix/tst-getconf.sh: Likewise.
13352 * posix/wordexp-tst.sh: Likewise.
13353 * stdio-common/tst-printf.sh: Likewise.
13354 * stdio-common/tst-unbputc.sh: Likewise.
13355 * stdlib/tst-fmtmsg.sh: Likewise.
13356 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13357 * catgets/Makefile: Do not specify -e option when running
13358 testsuite shell scripts.
13359 * elf/Makefile: Likewise.
13360 * grp/Makefile: Likewise.
13361 * iconvdata/Makefile: Likewise.
13362 * intl/Makefile: Likewise.
13363 * io/Makefile: Likewise.
13364 * libio/Makefile: Likewise.
13365 * malloc/Makefile: Likewise.
13366 * posix/Makefile: Likewise.
13367 * stdio-common/Makefile: Likewise.
13368 * stdlib/Makefile: Likewise.
13369 * sysdeps/x86_64/Makefile: Likewise.
13370
9a9028b1
DL
13371 * io/ftwtest-sh: Add copyright header.
13372 * posix/globtest.sh: Likewise.
13373 * posix/tst-getconf.sh: Likewise.
13374 * posix/wordexp-tst.sh: Likewise.
13375 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13376
ced6f16e
L
133772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13378
94b32c39
L
13379 [BZ #13679]
13380 * Makeconfig (+link): Defined as $(+link-static) if
13381 $(build-shared) isn't yes.
13382 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13383 isn't yes.
13384 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13385
189e935b
L
13386 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13387
ced6f16e
L
13388 [BZ #14562]
13389 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13390 new chunk size with MALLOC_ALIGN_MASK.
13391
a9f8e53a
JM
133922012-09-24 Joseph Myers <joseph@codesourcery.com>
13393
13394 [BZ #5044]
13395 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13396 <rounding-mode.h>.
13397 (__printf_fphex): Determine rounding using get_rounding_mode and
13398 round_away.
13399 * stdio-common/tst-printf-round.c (struct hex_test): New
13400 structure.
13401 (hex_tests): New variable.
13402 (test_hex_in_one_mode): New function.
13403 (do_test): Also run tests for hex float output.
13404
43153109
JM
134052012-09-21 Joseph Myers <joseph@codesourcery.com>
13406
13407 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13408 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13409 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13410 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13411 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13412 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13413 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13415
8a26625d
JM
134162012-09-20 Joseph Myers <joseph@codesourcery.com>
13417
13418 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13419 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13420 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13421 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13422
f3fd569c
DL
134232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13424
13425 [BZ #14579]
13426 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13427 mode only.
13428 * elf/tst-rtld-load-self.sh: New test.
13429 * elf/Makefile: Run it.
13430
63bbedd4
JM
134312012-09-18 Joseph Myers <joseph@codesourcery.com>
13432
13433 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13434 (tst-writev-ENV): Remove.
13435 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13436
626f8b6a
CM
134372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13438
13439 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13440
b7aaa4d6
JM
134412012-09-17 Joseph Myers <joseph@codesourcery.com>
13442
13443 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13444 unconditional.
13445 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13446 Likewise.
13447 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13448 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13449 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13450 Likewise.
13451
65513990
L
134522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13453
13454 [BZ #14587]
13455 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13456 * config.make.in (have-cpp-asm-debuginfo): Removed.
13457 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13458 * configure: Regenerated.
13459
784761be
JM
134602012-09-14 Joseph Myers <joseph@codesourcery.com>
13461
13462 [BZ #5044]
13463 * stdio-common/printf_fp.c: Include <stdbool.h> and
13464 <rounding-mode.h>.
13465 (___printf_fp): Determine rounding using get_rounding_mode and
13466 round_away.
13467 * stdio-common/tst-printf-round.c: New file.
13468 * stdio-common/Makefile (tests): Add tst-printf-round.
13469 (link-libm): New variable.
13470 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13471
9503345f
L
134722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 [BZ #14576]
13475 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13476 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13477 Likewise.
13478 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13479 Likewise.
13480
ad35fc00
JM
134812012-09-13 Joseph Myers <joseph@codesourcery.com>
13482
13483 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13484 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13485 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13486 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13487
6c9b0f68
JM
134882012-09-12 Joseph Myers <joseph@codesourcery.com>
13489
13490 [BZ #14518]
13491 * include/rounding-mode.h: New file.
13492 * sysdeps/generic/get-rounding-mode.h: Likewise.
13493 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13494 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13495 (MAX_VALUE): New macro.
13496 (MIN_VALUE): Likewise.
13497 (overflow_value): New function.
13498 (underflow_value): Likewise.
13499 (round_and_return): Use overflow_value and underflow_value to
13500 determine return values in overflow and underflow cases. Use
13501 round_away to determine rounding depending on rounding mode.
13502 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13503 determine return values in overflow and underflow cases.
13504 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13505 (struct test_results): New structure.
13506 (struct test): Use struct test_results to store expected results
13507 for all rounding modes.
13508 (TEST): Include expected results for all rounding modes.
13509 (test_in_one_mode): New function.
13510 (do_test): Use test_in_one_mode to compute and check results.
13511 Check results for all rounding modes.
13512 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13513 $(link-libm).
13514
19fcedd5
AM
135152012-12-09 Allan McRae <allan@archlinux.org>
13516
1e9d84cd 13517 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13518
8bbfd2f1
JM
135192012-09-11 Joseph Myers <joseph@codesourcery.com>
13520
13521 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13522 (_G_int32_t): Likewise.
13523 (_G_uint16_t): Likewise.
13524 (_G_uint32_t): Likewise.
13525 (_G_HAVE_BOOL): Likewise.
13526 (_G_HAVE_ATEXIT): Likewise.
13527 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13528 (_G_HAVE_IO_FILE_OPEN): Likewise.
13529 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13530 (_G_int32_t): Likewise.
13531 (_G_uint16_t): Likewise.
13532 (_G_uint32_t): Likewise.
13533 (_G_HAVE_BOOL): Likewise.
13534 (_G_HAVE_ATEXIT): Likewise.
13535 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13536 (_G_HAVE_IO_FILE_OPEN): Likewise.
13537 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13538 (_G_int32_t): Likewise.
13539 (_G_uint16_t): Likewise.
13540 (_G_uint32_t): Likewise.
13541 (_G_HAVE_BOOL): Likewise.
13542 (_G_HAVE_ATEXIT): Likewise.
13543 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13544 (_G_HAVE_IO_FILE_OPEN): Likewise.
13545
b1dc5912
L
135462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13547
13548 * csu/libc-tls.c: Update copyright years.
13549
0e886ef9
JM
135502012-09-10 Joseph Myers <joseph@codesourcery.com>
13551
28361c5e
JM
13552 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13553 [!_G_USING_THUNKS]: Remove conditional code.
13554 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13555 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13556
0e886ef9
JM
13557 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13558 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13559 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13560 (_G_VTABLE_LABEL_PREFIX): Likewise.
13561 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13562 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13564 (_G_VTABLE_LABEL_PREFIX): Likewise.
13565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13566 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13567 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13568 (_G_VTABLE_LABEL_PREFIX): Likewise.
13569 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13570
bcba7aa2
L
135712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13572
13573 * libio/Makefile: Include ../Makeconfig before tests.
13574 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13575 only if $(build-shared) is yes.
13576
06585ee8
L
13577 * iconv/gconv_db.c: Update copyright years.
13578
80ccd52c
LD
135792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13580
13581 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13582 unwind info if defined PIC. Fix special cases description.
13583 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13584
13585 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13586 DP_HI_MASK entry.
13587 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13588
691bc9c1
L
135892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13590
3d9b46b3
L
13591 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13592
de2139a9
L
13593 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13594 is NULL.
13595
5ca78dd0
L
13596 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13597 (LDLIBS-tst-chk4): This.
13598 (LDFLAGS-tst-chk5): Renamed to ...
13599 (LDLIBS-tst-chk5): This.
13600 (LDFLAGS-tst-chk6): Renamed to ...
13601 (LDLIBS-tst-chk6): This.
13602 (LDFLAGS-tst-lfschk4): Renamed to ...
13603 (LDLIBS-tst-lfschk4): This.
13604 (LDFLAGS-tst-lfschk5): Renamed to ...
13605 (LDLIBS-tst-lfschk5): This.
13606 (LDFLAGS-tst-lfschk6): Renamed to ...
13607 (LDLIBS-tst-lfschk6): This.
13608
691bc9c1
L
13609 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13610 on $(common-objpfx)soversions.mk.
13611
65cafb1c
JM
136122012-09-07 Joseph Myers <joseph@codesourcery.com>
13613
13614 [BZ #10014]
13615 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13616 example host name.
13617
c78ab094
SP
136182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13619
13620 * malloc/arena.c (arena_get_retry): New function that gets
13621 another arena for the caller to try its request on.
13622 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13623 current arena cannot fulfill the request.
13624 (__libc_memalign): Likewise.
13625 (__libc_memalign): Likewise.
13626 (__libc_pvalloc): Likewise.
13627 (__libc_calloc): Likewise.
13628
01f49f59
JT
136292012-09-05 John Tobey <john.tobey@gmail.com>
13630
13631 [BZ #13542]
13632 * manual/arith.texi (Operations on Complex): Fix description
13633 of carg branch cut.
13634
4c23fed5
JM
136352012-09-06 Joseph Myers <joseph@codesourcery.com>
13636
1d3c8572
JM
13637 [BZ #10014]
13638 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13639 host name.
13640
4c23fed5
JM
13641 [BZ #10038]
13642 * manual/memory.texi (Memory): Make order of menu items match
13643 order of sections.
13644
04570aaa
L
136452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13646
13647 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13648 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13649 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13650
b80af2f4
L
136512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * csu/libc-tls.c (static_dtv): Renamed to ...
13654 (_dl_static_dtv): This. Make it global.
13655 (_dl_initial_dtv): Removed.
13656 (__libc_setup_tls): Updated.
13657 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13658 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13659 DL_INITIAL_DTV.
13660
2abe9f15
PM
136612012-09-06 Petr Machata <pmachata@redhat.com>
13662
13663 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13664 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13665 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13666 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13667
0948c3af
L
136682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 [BZ #14545]
13671 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13672 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13673 freeing dtv[-1].
13674
a5055ad1
L
136752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 [BZ #14544]
13678 * Makeconfig (link-static-before-libc): Replace $(+prector)
13679 with $(+prectorT).
13680 (link-static-after-libc): Replace $(+postctor) with
13681 $(+postctorT).
13682 (link-bounded): Replace $(+prector)/$(+postctor) with
13683 $(+prectorT)/$(+postctorT).
13684 (+prectorT): New macro.
13685 (+postctorT): Likewise.
13686
ed8c2ecd
JM
136872012-09-06 Joseph Myers <joseph@codesourcery.com>
13688
13689 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13690 (round_str): Handle values above the maximum for IBM long double
13691 as inexact.
13692 * stdlib/tst-strtod-round.c (tests): Regenerated.
13693
14c996c8
AK
136942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13695
13696 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13697 assembler flag.
13698 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13699 zarch_nohighgprs around the zarch optimized routines.
13700 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13701 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13703 for zarch.
13704
430d6ce6
DM
137052012-09-05 David S. Miller <davem@davemloft.net>
13706
13707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13708
ff04dda4
DM
13709 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13710 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13711 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13712 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13713 entries.
13714
24d4e01b
AO
137152012-09-05 Alexandre Oliva <aoliva@redhat.com>
13716
13717 * malloc/arena.c: Fold copyright years.
13718 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13719
61d58174
AO
137202012-09-05 Alexandre Oliva <aoliva@redhat.com>
13721
13722 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13723
20196a5e
AO
137242012-09-05 Alexandre Oliva <aoliva@redhat.com>
13725
13726 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13727
5c447383
AO
137282012-09-05 Alexandre Oliva <aoliva@redhat.com>
13729
13730 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13731 change internal state upon failure.
13732
fad64255
AO
137332012-09-05 Alexandre Oliva <aoliva@redhat.com>
13734
13735 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13736 * malloc/memusage.c (mmap): Likewise.
13737 (mmap64, mremap): Likewise. Adjust name in comment.
13738
1ffb8c90
SP
137392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13740
13741 * libio/fileops.c: Fix typos in comments.
13742 * libio/oldfileops.c: Likewise.
13743 * libio/wfileops.c: Likewise.
13744
6ef9cc37
SP
137452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
13747 [BZ #1349]
13748 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13749 (tst-malloc-usable-ENV): Set environment for test case.
13750 * malloc/hooks.c (malloc_check_get_size): New function to get
13751 requested size.
13752 * malloc/malloc.c (musable): Use malloc_check_get_size.
13753 * malloc/tst-malloc-usable.c: New test case.
13754
4d038ae3
AS
137552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13756
13757 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13758
c4e85184
AM
137592012-09-05 Allan McRae <allan@archlinux.org>
13760
b9dafc56 13761 [BZ #13966]
c4e85184
AM
13762 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13763 determine header location.
13764 * configure: Regenerated.
13765
e1343020
AS
137662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13767
13768 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13769 float format.
13770 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13771 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13772 format.
e1343020
AS
13773 (test): Regenerate.
13774
0a9f1987
DM
137752012-09-04 David S. Miller <davem@davemloft.net>
13776
13777 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13778 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13779 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13780
29237804
FW
137812012-09-04 Florian Weimer <fweimer@redhat.com>
13782
13783 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13784 failures.
13785
edb3cb88
FW
13786 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13787
60160d83
JM
137882012-09-04 Joseph Myers <joseph@codesourcery.com>
13789
13790 [BZ #9914]
13791 * libio/iogetdelim.c: Include <limits.h>.
13792 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13793 + len + 1 would overflow.
13794
bcd6c8dc
AJ
137952012-09-03 Andreas Jaeger <aj@suse.de>
13796
13797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13798 * sysdeps/i386/fpu/libm-test-ulps: Update.
13799
4ffffbd2
LD
138002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13801
13802 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13803 Add s_sinf-sse2, s_conf-sse2.
13804
13805 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13806 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13807 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13808 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13809
13810 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13811 for using routine as __sinf_ia32.
13812 Use macro for function declaration and weak_alias.
13813 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13814 for using routine as __cosf_ia32.
13815 Use macro for function declaration and weak_alias.
13816
13817 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13818 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13819
13820 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13821 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13823
13824 * math/libm-test.inc (cos_test): Add more test cases.
13825 (sin_test): Likewise.
13826 (sincos_test): Likewise.
13827
511fa286
AK
138282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13829
13830 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13831 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13832 hidden.
13833 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13834
5f30cfec
L
138352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 [BZ #14538]
13838 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13839 first element of the GOT.
13840 (elf_machine_load_address): Return the difference between
13841 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13842
0786794f
AM
138432012-09-01 Allan McRae <allan@archlinux.org>
13844
5f30cfec
L
13845 [BZ #13412]
13846 * configure.in (AWK): Require gawk version 3.0 or later.
13847 * configure: Regenerated.
0786794f 13848
26889eac
JM
138492012-09-01 Joseph Myers <joseph@codesourcery.com>
13850
13851 * sysdeps/unix/sysv/linux/kernel-features.h
13852 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13854 [__NR_clock_getres]: Make code unconditional.
13855 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13856 (clock_getcpuclockid): Remove code left unreachable by removal of
13857 conditionals.
13858 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13859 code unconditional.
13860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13862 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13863 Make code unconditional.
13864 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13865 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13866 * sysdeps/unix/sysv/linux/clock_settime.c
13867 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13868 conditional code.
13869 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13870 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13871
d22e28b0
L
138722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13873
13874 [BZ #14476]
13875 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13876 scripts/test-installation.pl.
13877
13878 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13879 and $ld_so_version if it is set.
13880
050af9c4
SP
138812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13882
13883 [BZ #14516]
13884 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13885 failure if reading from procfs failed.
13886 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13887
ad845c0b
JM
138882012-08-27 Joseph Myers <joseph@codesourcery.com>
13889
13890 * sysdeps/unix/sysv/linux/kernel-features.h
13891 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13892 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13893 Remove conditional code.
13894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13895 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13896 Remove conditional code.
13897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13898 * sysdeps/unix/sysv/linux/i386/fxstat.c
13899 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13901 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13902 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13904 * sysdeps/unix/sysv/linux/i386/lxstat.c
13905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13907 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13908 Remove conditional code.
13909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13910 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13911 Remove conditional code.
13912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13913 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13914 <kernel-features.h>.
13915 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13916 Remove.
13917 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13918 Remove conditional code.
13919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13920 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13921 Remove conditional.
13922
5dbf56af
MF
139232012-08-27 Mike Frysinger <vapier@gentoo.org>
13924
13925 [BZ #5400]
13926 * NEWS: Add fixed bug number.
13927
d6e70f43
JM
139282012-08-27 Joseph Myers <joseph@codesourcery.com>
13929
7efb4737
JM
13930 [BZ #14519]
13931 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13932 underflowing exponent in case of negative sign.
13933 * stdlib/tst-strtod-round-data: Add more tests.
13934 * stdlib/tst-strtod-round.c (tests): Regenerated.
13935
af92131a
JM
13936 [BZ #3479]
13937 * stdlib/strtod_l.c (NDIG): Remove.
13938 (HEXNDIG): Likewise.
13939 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13940 smallest representable value.
13941 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13942 lie within an exact representation of 1/2 ulp of the result.
13943 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13944 unconditionally.
13945 (TENS_P9_IDX): Define unconditionally.
13946 (TENS_P9_SIZE): Likewise.
13947 (TENS_P10_IDX): Likewise.
13948 (TENS_P10_SIZE): Likewise.
13949 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13950 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13951 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13952 entries for 10^2^13 and 10^2^14.
13953 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13954 (TENS_P13_IDX): Define.
13955 (TENS_P13_SIZE): Likewise.
13956 (TENS_P14_IDX): Likewise.
13957 (TENS_P14_SIZE): Likewise.
13958 (_fpioconst_pow10): Change array size to
13959 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13960 unconditional.
13961 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13962 1024]: Add entries for 10^2^13 and 10^2^14.
13963 [LAST_POW10 > _LAST_POW10]: Remove #error.
13964 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13965 (_fpioconst_pow10): Change array size to
13966 FPIOCONST_POW10_ARRAY_SIZE.
13967 * stdlib/gen-fpioconst.c: New file.
13968 * stdlib/gen-tst-strtod-round.c: Likewise.
13969 * stdlib/tst-strtod-round-data: Likewise.
13970 * stdlib/tst-strtod-round.c: Likewise.
13971 * stdlib/Makefile (tests): Add tst-strtod-round.
13972
d6e70f43
JM
13973 [BZ #14459]
13974 * stdlib/strtod_l.c: Include <stdint.h>.
13975 (NDEBUG): Do not define.
13976 (round_and_return): Change EXPONENT parameter to type intmax_t.
13977 Rearrange calculations to avoid internal overflow possibilities.
13978 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13979 Rearrange calculations to avoid internal overflow possibilities.
13980 Assert that number fits inside MPNSIZE limbs.
13981 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13982 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13983 calculations and add assertions to avoid internal overflow
13984 possibilities. Add casts to avoid signed/unsigned operations.
13985 * stdlib/tst-strtod-overflow.c: New file.
13986 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13987
1f529f7d
MP
139882012-08-25 Marek Polacek <polacek@redhat.com>
13989
13990 * time/time.h: Fix some typos in comments.
13991
59a629f1
RM
139922012-08-23 Roland McGrath <roland@hack.frob.com>
13993
13994 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13995 * posix/tst-rfc3484-2.c: Likewise.
13996 * posix/tst-rfc3484-3.c: Likewise.
13997
d3bafbc9
SM
139982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13999
14000 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14001 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14002
4efcc022
JM
140032012-08-23 Joseph Myers <joseph@codesourcery.com>
14004
14005 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14006 #include of fxstatat64.c.
14007
3cc3ef96
RM
140082012-08-22 Roland McGrath <roland@hack.frob.com>
14009
f04e2132
RM
14010 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14011 * shadow/getspent_r.c: Likewise.
14012 * shadow/getspnam.c: Likewise.
14013 * shadow/getspnam_r.c: Likewise.
14014 * gshadow/getsgent.c: Likewise.
14015 * gshadow/getsgent_r.c: Likewise.
14016 * gshadow/getsgnam.c: Likewise.
14017 * gshadow/getsgnam_r.c: Likewise.
14018 * inet/getnetbyad.c: Likewise.
14019 * inet/getnetbyad_r.c: Likewise.
14020 * inet/getnetbynm.c: Likewise.
14021 * inet/getnetbynm_r.c: Likewise.
14022 * inet/getnetent.c: Likewise.
14023 * inet/getnetent_r.c: Likewise.
14024 * inet/getproto.c: Likewise.
14025 * inet/getproto_r.c: Likewise.
14026 * inet/getprtent.c: Likewise.
14027 * inet/getprtent_r.c: Likewise.
14028 * inet/getprtname.c: Likewise.
14029 * inet/getprtname_r.c: Likewise.
14030 * inet/getrpcbyname.c: Likewise.
14031 * inet/getrpcbyname_r.c: Likewise.
14032 * inet/getrpcbynumber.c: Likewise.
14033 * inet/getrpcbynumber_r.c: Likewise.
14034 * inet/getrpcent.c: Likewise.
14035 * inet/getrpcent_r.c: Likewise.
14036 * inet/getaliasent.c: Likewise.
14037 * inet/getaliasent_r.c: Likewise.
14038 * inet/getaliasname.c: Likewise.
14039 * inet/getaliasname_r.c: Likewise.
14040 * nscd/getgrgid_r.c: Likewise.
14041 * nscd/getgrnam_r.c: Likewise.
14042 * nscd/gethstbyad_r.c: Likewise.
14043 * nscd/gethstbynm3_r.c: Likewise.
14044 * nscd/getpwnam_r.c: Likewise.
14045 * nscd/getpwuid_r.c: Likewise.
14046 * nscd/getsrvbynm_r.c: Likewise.
14047 * nscd/getsrvbypt_r.c: Likewise.
14048 * nscd/gai.c: Likewise.
14049
c53d909c
RM
14050 * configure.in (build_nscd): New substituted variable, set
14051 by --disable-build-nscd and defaults to $use_nscd.
14052 * configure: Regenerated.
14053 * config.make.in (build-nscd): New substituted variable.
14054 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14055 Change conditional to require [$(build-nscd) = yes] as well.
14056 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14057
3cc3ef96
RM
14058 [BZ# 13696]
14059 * configure.in (use_nscd): New substituted variable, set by
14060 --disable-nscd. If enabled, define USE_NSCD.
14061 * configure: Regenerated.
14062 * config.h.in: Add USE_NSCD.
14063 * config.make.in (use-nscd): New substituted variable.
14064 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14065 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14066 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14067 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14068 (CFLAGS-getgrnam_r.c): Likewise.
14069 (CFLAGS-initgroups.c): Likewise.
14070 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14071 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14072 Variables removed.
14073 * inet/getnetgrent_r.c
14074 (nscd_setnetgrent): New function, broken out of ...
14075 (setnetgrent): ... here. Call it.
14076 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14077 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14078 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14079 * nscd/Makefile (routines, aux): Move definitions after include of
14080 Makeconfig. Conditionalize on [$(use-nscd) != no].
14081 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14082 Conditionalize on [USE_NSCD].
14083 (is_nscd, nscd_init_cb): Likewise.
14084 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14085 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14086 * nss/nss_db/db-init.c: Likewise.
14087 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14088 [USE_NSCD].
14089 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14090 (make_request): Use it.
14091 (cache_valid_p): New function.
14092 (__check_pf): Use it.
14093 * NEWS: Add item for --disable-nscd.
14094
07e51550
DL
140952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14096
14097 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14098 to support sed >= 4.2.1-20-ga9bf076.
14099 * configure: Regenerated.
14100
35a5b08b
RM
141012012-08-22 Roland McGrath <roland@hack.frob.com>
14102
14103 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14104 Conditionalize whole body on [IREL].
14105
8479f23a
JL
141062012-08-22 Jeff Law <law@redhat.com>
14107
14108 [BZ #14505]
14109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14110 if the family is PF_UNSPEC.
14111
48da0b21
MF
141122012-08-22 Mike Frysinger <vapier@gentoo.org>
14113
14114 * Makerules (lib-version): Rename from V.
14115 (install-lib-nosubdir): Change V to lib-version.
14116
15d0da8c
WS
141172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14118
14119 [BZ #14252]
14120 * powerpc32/power6/wcschr.c: New file.
14121 * powerpc32/power6/wcscpy.c: New file.
14122 * powerpc32/power6/wcsrchr.c: New file.
14123 * powerpc64/power6/wcschr.c: New file.
14124 * powerpc64/power6/wcscpy.c: New file.
14125 * powerpc64/power6/wcsrchr.c: New file.
14126
bcca0895
MK
141272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14128
14129 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14130 (two_way_short_needle): Use it.
5a4aaa33
RM
14131 * string/strstr.c (AVAILABLE1_USES_J): Define.
14132 * string/strcasestr.c: Likewise.
99677e57
MK
14133
14134 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14135 array references.
14136 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14137
400726de
MK
14138 [BZ #11607]
14139 * NEWS: Add an entry.
14140 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14141 define their defaults.
14142 (two_way_short_needle): Detect end-of-string on-the-fly.
14143 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14144 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14145 * string/bug-strcasestr1.c: New test.
14146 * string/Makefile: Run it.
14147
20a71f2c
MK
141482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14149
14150 [BZ #11607]
14151 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14152 the first character.
14153
21ad0558
RM
141542012-08-21 Roland McGrath <roland@hack.frob.com>
14155
14156 * csu/elf-init.c (__libc_csu_irel): Function removed.
14157 * csu/libc-start.c (apply_irel): New function.
14158 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14159
0e1d9911
JM
141602012-08-21 Joseph Myers <joseph@codesourcery.com>
14161
14162 * sysdeps/unix/sysv/linux/kernel-features.h
14163 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14164 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14165 <kernel-features.h>.
14166 [__NR_fadvise64_64]: Make code unconditional.
14167 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14168 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14169 !__NR_fadvise64_64)]: Likewise.
14170 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14171 !__NR_fadvise64_64))]: Likewise.
14172 [__NR_fadvise64]: Make code unconditional.
14173 [!__NR_fadvise64]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14175 <kernel-features.h>.
14176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14177 unconditional.
14178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14179 conditional code.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14181 not include <kernel-features.h>.
14182 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14183 unconditional.
14184 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14185 conditional code.
14186 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14187 include <kernel-features.h>.
14188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14189 unconditional.
14190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14191 conditional code.
14192
14a50c9d
WS
141932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14194
14195 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14196 slight instruction rearrangements per scrollpipe analysis.
14197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14198
c0f4faf0
RM
141992012-08-20 Roland McGrath <roland@hack.frob.com>
14200
696da859
RM
14201 * manual/syslog.texi (syslog; vsyslog, closelog):
14202 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14203 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14204
c0f4faf0
RM
14205 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14206 DSOCAPS to match condition on defining it.
14207
348363b2
JM
142082012-08-20 Joseph Myers <joseph@codesourcery.com>
14209
a35cbf28
JM
14210 * sysdeps/unix/sysv/linux/kernel-features.h
14211 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14213 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14214 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14221
445f7ecd
JM
14222 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14223 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14224
348363b2
JM
14225 * sysdeps/unix/sysv/linux/kernel-features.h
14226 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14227 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14228 unconditional.
14229 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14230 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14233 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14234 Make code unconditional.
14235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14236 (__mmap64) [!__NR_mmap2]: Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14238 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14239 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14241 [__NR_mmap2]: Make code unconditional.
14242 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14243 (__mmap64) [!__NR_mmap2]: Likewise.
14244
bc5bc0e5
AK
142452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14246
14247 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14248
88d506de
AJ
142492012-08-18 Andreas Jaeger <aj@suse.de>
14250
14251 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14252
493387d2
MF
142532012-08-18 Mike Frysinger <vapier@gentoo.org>
14254
14255 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14256 * include/unistd.h (__have_sock_cloexec): Likewise.
14257 (__have_pipe2): Likewise.
14258 (__have_dup3): Likewise.
14259
a277af22
MF
142602012-08-18 Mike Frysinger <vapier@gentoo.org>
14261
14262 [BZ #9685]
14263 * include/unistd.h (__have_pipe2): Change define into an extern int.
14264 (__have_dup3): Likewise.
14265 * socket/have_sock_cloexec.c: Include fcntl.h.
14266 (__have_pipe2): New variable.
14267 (__have_dup3): Likewise.
14268
fdab8fd3
MF
142692012-08-17 Mike Frysinger <vapier@gentoo.org>
14270
14271 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14272
31035e80
MP
142732012-08-17 Marek Polacek <polacek@redhat.com>
14274
14275 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14276 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14277
3bd9e993
RM
142782012-08-17 Roland McGrath <roland@hack.frob.com>
14279
c91c505f
RM
14280 * configure.in: Add AC_SUBST for sysheaders.
14281 * configure: Regenerated.
14282 * config.make.in (sysheaders): New substituted variable.
14283
7c6f9d53
RM
14284 * sysdeps/unix/mkfifo.c: Moved ...
14285 * sysdeps/posix/mkfifo.c: ... here.
14286 * sysdeps/unix/mkfifoat.c: Moved ...
14287 * sysdeps/posix/mkfifoat.c: ... here.
14288
14289 * sysdeps/unix/utime.c: Moved ...
14290 * sysdeps/posix/utime.c: ... here.
14291
14292 * sysdeps/unix/time.c: Moved ...
14293 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14294 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14295 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14296
14297 * sysdeps/unix/nice.c: Moved ...
14298 * sysdeps/posix/nice.c: ... here.
14299
14300 * sysdeps/unix/alarm.c: Moved ...
14301 * sysdeps/posix/alarm.c: ... here.
14302
3bd9e993
RM
14303 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14304
d1f09384
JL
143052012-08-17 Jeff Law <law@redhat.com>
14306
14307 * intl/Makefile (codeset_mo): New variable.
14308 ($(codeset_mo)): New target.
14309 (tst-codeset.out): Depend on that. Remove explicit rule.
14310 (tst-gettext3.out, tst-gettext5.out): Likewise.
14311 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14312 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14313 * intl/tst-codeset.sh: Remove.
14314 * intl/tst-gettext3.sh: Likewise.
14315 * intl/tst-gettext5.sh: Likewise.
14316
2ae1ae5c
RM
143172012-08-17 Roland McGrath <roland@hack.frob.com>
14318
c31fdb83
RM
14319 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14320 * sysdeps/unix/syscalls.list: ... here.
14321
a0844057
RM
14322 * sysdeps/posix/getaddrinfo.c
14323 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14324 (gaiconf_init, gaiconf_reload): Use them.
14325 [!_STATBUF_ST_NSEC]
14326 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14327 Define using time_t rather than struct timespec.
14328
750c1f2a
RM
14329 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14330 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14331 Macros removed.
14332 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14333 [!NO_THREADS].
14334 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14335 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14336 Likewise.
14337
2ae1ae5c
RM
14338 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14339 __libc_cleanup_push argument.
14340
e66a42f5
RM
14341 * bits/param.h: New file.
14342 * misc/sys/param.h: New file.
14343 * include/sys/param.h: New file.
14344 * misc/Makefile (headers): Add bits/param.h.
14345 * sysdeps/generic/sys/param.h: File removed.
14346 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14347 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14348 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14349 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14350
b7c08a66
RM
14351 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14352 last change.
14353
b2e1c562
RM
14354 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14355 [_IO_MTSAFE_IO].
14356 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14357 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14358 New macros.
14359
c75ccd4c
RM
14360 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14361 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14362 rather than -D_IO_MTSAFE_IO conditionally.
14363 * stdio-common/Makefile (CPPFLAGS): Likewise.
14364 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14365 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14366 Use $(libio-mtsafe).
14367 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14368 of -D_IO_MTSAFE_IO.
14369 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14370 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14371 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14372 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14373 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14374 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14375 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14376 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14377 (CFLAGS-fread_u_chk.c): Likewise.
14378 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14379 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14380 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14381 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14382 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14383 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14384 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14385 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14386 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14387
14388 * libio/Makefile: Test [$(libc-reentrant) = yes]
14389 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14390
14391 * Makeconfig
14392 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14393 * sysdeps/pthread/configure: File removed.
14394 * sysdeps/pthread/Makeconfig: New file.
14395 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14396 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14397
d9195db8
GB
143982012-08-16 Gary Benson <gbenson@redhat.com>
14399
14400 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14401 unmapping the first object in a namespace.
14402
86466cd9
RM
144032012-08-16 Roland McGrath <roland@hack.frob.com>
14404
14405 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14406 (__internal_setnetgrent): ... this. Add internal_function to
14407 definition. Add libc_hidden_def.
14408 (setnetgrent): Update caller.
14409 (internal_endnetgrent): Renamed to ...
14410 (__internal_endnetgrent): ... this. Add internal_function to
14411 definition. Add libc_hidden_def.
14412 (endnetgrent): Update caller.
14413 (internal_getnetgrent_r): Renamed to ...
14414 (__internal_getnetgrent_r): ... this. Add internal_function to
14415 definition. Add libc_hidden_def.
14416 (__getnetgrent_r): Update caller.
14417 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14418
c3c8283c
JM
144192012-08-16 Joseph Myers <joseph@codesourcery.com>
14420
14421 * stdlib/longlong.h: Update from GCC.
14422
db1ee0a8
RM
144232012-08-16 Roland McGrath <roland@hack.frob.com>
14424
14425 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14426 on _QL, which is set by umul_ppmm but never used.
14427 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14428 variables, which are set by GMP macros but never used.
14429 * stdio-common/_itowa.c (_itowa): Likewise.
14430 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14431 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14432
30f69637
CD
144332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14434
14435 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14436 struct La_sh_regs is not constant.
14437 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14438 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14439 and struct La_sparc64_regs are not constant.
14440
93a78ac4
JM
144412012-08-16 Joseph Myers <joseph@codesourcery.com>
14442
14443 * sysdeps/unix/sysv/linux/kernel-features.h
14444 (__ASSUME_POSIX_TIMERS): Remove.
14445 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14447 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14448 Make code unconditional.
14449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14450 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14451 Make code unconditional.
14452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14453 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14454 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14456 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14457 Make code unconditional.
14458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14459 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14460 (__libc_missing_posix_timers): Remove.
14461
dd924cd7
RM
144622012-08-15 Roland McGrath <roland@hack.frob.com>
14463
4b4f2771
RM
14464 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14465 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14466
601c888b
RM
14467 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14468
176790a7
RM
14469 * elf/dl-sym.c: Include <stdlib.h>.
14470
329bc018
RM
14471 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14472 constants, which avoids warnings in 32-bit builds.
14473
e04e272d
RM
14474 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14475 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14476
952bf94a
RM
14477 * misc/lseek.c: File moved to ...
14478 * io/lseek.c: ... here.
14479
7c99b50a
RM
14480 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14481
dd924cd7
RM
14482 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14483 shifting LEN more than 31 bits at once.
14484
b3f479a8
LD
144852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14486
14487 [BZ #14195]
8c4ae0d4
RM
14488 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14489 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14490 * string/test-strncasecmp.c (check1): Renamed to...
14491 (bz12205): ...this.
14492 (bz14195): Add new testcase for two empty input strings and N > 0.
14493 (test_main): Call new testcase, adapt for renamed function.
14494
9c55864e
AJ
144952012-08-15 Andreas Jaeger <aj@suse.de>
14496
14497 [BZ #14090]
14498 * crypt/md5test2.c: New test, based on test supplied by Serge
14499 Belyshev <belyshev@depni.sinp.msu.ru>.
14500 * crypt/Makefile (xtests): Add md5test-giant..
14501 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14502
02dcb6c5
PE
145032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14504
14505 [BZ #14090]
14506 * crypt/md5.c (md5_process_block): Don't assume the buffer
14507 length is less than 2**32.
14508 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14509 length is less than 2**64.
14510
a3f95dcc
RM
145112012-08-15 Roland McGrath <roland@hack.frob.com>
14512
be75d758
RM
14513 * string/str-two-way.h: Include <sys/param.h>.
14514 (MAX): Macro removed.
14515
7312ca90
RM
14516 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14517 Move #define and #undef of memmove to just before and after
14518 including <string.h>.
14519
9a0a5486
RM
14520 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14521 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14522 and after including <string.h>. Move declarations of
14523 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14524 to before #include "string/memmove.c".
14525
67cc348d
RM
14526 * include/dirent.h: Declare __getdirentries.
14527
a3f95dcc
RM
14528 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14529 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14530
ca98e171
MF
145312012-08-14 Mike Frysinger <vapier@gentoo.org>
14532
14533 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14534 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14535 * sysdeps/i386/configure: Regenerated.
14536 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14537 STABS_CURRENT_FILE, and STABS_FUN.
14538 (END): Remove call to STABS_FUN_END.
14539 (STABS_CURRENT_FILE1): Delete.
14540 (STABS_CURRENT_FILE): Likewise.
14541 (STABS_FUN): Likewise.
14542 (STABS_FUN_END): Likewise.
14543 (STABS_FUN2): Likewise.
14544 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14545 * sysdeps/x86_64/configure: Regenerated.
14546
5908bf46
RM
145472012-08-14 Roland McGrath <roland@hack.frob.com>
14548
14549 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14550 * elf/dl-lookup.c: Likewise.
5908bf46 14551
f2c05b9e
JM
145522012-08-14 Joseph Myers <joseph@codesourcery.com>
14553
14554 * sysdeps/unix/sysv/linux/kernel-features.h
14555 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14556 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14557 unconditionally.
14558 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14559 unconditionally.
14560 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14561 condition on __ASSUME_CLONE_THREAD_FLAGS.
14562
e11f5155
AJ
145632012-08-14 Andreas Jaeger <aj@suse.de>
14564
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566
51a9ba86
MK
145672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14568
2fdd4f78
AJ
14569 * include/atomic.h (atomic_exchange_and_add): Split into ...
14570 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14571 New atomic macros.
51a9ba86 14572
ba6cba9e
MT
145732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14574
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14576
42443a47
JL
145772012-08-13 Jeff Law <law@redhat.com>
14578
14579 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14580 null byte in the output string.
14581
121dce05
JM
145822012-08-10 Joseph Myers <joseph@codesourcery.com>
14583
14584 * sysdeps/unix/sysv/linux/kernel-features.h
14585 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14586 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14587 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14588 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14589 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14590 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14591 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14592
bf51f568
JL
145932012-08-09 Jeff Law <law@redhat.com>
14594
14595 [BZ #13939]
14596 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14597 When avoid_arena is set, don't retry in the that arena. Pick the
14598 next one, whatever it might be.
14599 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14600 (arena_lock): Pass in new parameter to arena_get2.
14601 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14602 arena_get2.
14603 (__libc_malloc): Unify retrying after main arena failure with
14604 __libc_memalign version.
14605 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14606
f85fa270
L
146072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 [BZ #14166]
14610 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14611 to __redirect_strstr.
14612 (__strstr_sse42): Use typeof __redirect_strstr.
14613 (__strstr_ia32): Likewise.
14614 (__libc_strstr): New prototype.
14615 (strstr): Renamed to ...
14616 (__libc_strstr): This.
14617 (strstr): New strong alias of __libc_strstr.
14618 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14620 __redirect_time.
14621 Include <time.h>.
14622 (__libc_time): New prototype.
14623 (time_ifunc): Replace time with __libc_time.
14624 (time): New strong alias and hidden definition of __libc_time.
14625 (__GI_time): Remove strong alias.
14626 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14627 Include <stddef.h>.
14628 (memmove): Redefined to __redirect_memmove.
14629 (__memmove_sse2): Use typeof __redirect_memmove.
14630 (__memmove_ssse3): Likewise.
14631 (__memmove_ssse3_back): Likewise.
14632 (__libc_memmove): New prototype.
14633 (memmove): Renamed to ...
14634 (__libc_memmove): This.
14635 (memmove): New strong alias of __libc_memmove.
14636
33b4a91e
MS
146372012-08-08 Mark Salter <msalter@redhat.com>
14638
14639 * elf/elf.h
14640 (R_MN10300_TLS_GD): Define.
14641 (R_MN10300_TLS_LD): Likewise.
14642 (R_MN10300_TLS_LDO): Likewise.
14643 (R_MN10300_TLS_GOTIE): Likewise.
14644 (R_MN10300_TLS_IE): Likewise.
14645 (R_MN10300_TLS_LE): Likewise.
14646 (R_MN10300_TLS_DTPMOD): Likewise.
14647 (R_MN10300_TLS_DTPOFF): Likewise.
14648 (R_MN10300_TLS_TPOFF): Likewise.
14649 (R_MN10300_SYM_DIFF): Likewise.
14650 (R_MN10300_ALIGN): Likewise.
14651 (R_MN10300_NUM): Update.
14652
b36137f1
JM
146532012-08-08 Joseph Myers <joseph@codesourcery.com>
14654
14655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14656 Remove.
14657
cdd915fd
RM
146582012-08-08 Roland McGrath <roland@hack.frob.com>
14659
a2433aac
RM
14660 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14661
cdd915fd
RM
14662 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14663 sysdeps/unix -> sysdeps/posix move.
14664 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14665
bf9b740a
AM
146662012-08-07 Allan McRae <allan@archlinux.org>
14667
14668 [BZ #14303]
14669 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14670 (SUNOS_CPP): Likewise.
14671 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14672 not found.
14673 (open_input): Call CPP using execvp.
14674
93df14ee
JM
146752012-08-07 Joseph Myers <joseph@codesourcery.com>
14676
14677 * sysdeps/unix/sysv/linux/kernel-features.h
14678 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14679 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14680 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14681 (__ASSUME_WAITID_SYSCALL): Likewise.
14682 * sysdeps/unix/sysv/linux/dl-execstack.c
14683 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14684 code unconditional.
14685 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14686 conditional code.
14687 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14688 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14689 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14690 code.
14691 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14692 unconditional.
14693 [__ASSUME_WAITID_SYSCALL]: Likewise.
14694 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14695
d34689de
RM
146962012-08-07 Roland McGrath <roland@hack.frob.com>
14697
a281decc
RM
14698 * sysdeps/unix/closedir.c: Renamed to ...
14699 * sysdeps/posix/closedir.c: ... here.
14700 * sysdeps/unix/dirfd.c: Renamed to ...
14701 * sysdeps/posix/dirfd.c: ... here.
14702 * sysdeps/unix/dirstream.h: Renamed to ...
14703 * sysdeps/posix/dirstream.h: ... here.
14704 * sysdeps/unix/fdopendir.c: Renamed to ...
14705 * sysdeps/posix/fdopendir.c: ... here.
14706 * sysdeps/unix/opendir.c: Renamed to ...
14707 * sysdeps/posix/opendir.c: ... here.
14708 * sysdeps/unix/readdir.c: Renamed to ...
14709 * sysdeps/posix/readdir.c: ... here.
14710 * sysdeps/unix/readdir_r.c: Renamed to ...
14711 * sysdeps/posix/readdir_r.c: ... here.
14712 * sysdeps/unix/rewinddir.c: Renamed to ...
14713 * sysdeps/posix/rewinddir.c: ... here.
14714 * sysdeps/unix/seekdir.c: Renamed to ...
14715 * sysdeps/posix/seekdir.c: ... here.
14716 * sysdeps/unix/telldir.c: Renamed to ...
14717 * sysdeps/posix/telldir.c: ... here.
14718 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14719 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14720 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14721 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14722
22895b47
RM
14723 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14724 * bits/fcntl.h: ... here.
14725
707a53b6
RM
14726 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14727 not 0.
14728 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14729 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14730 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14731 (struct flock): Move l_start, l_len to the beginning.
14732 Use __pid_t for l_pid.
14733 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14734 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14735 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14736 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14737 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14738 [__USE_LARGEFILE64] (struct flock64): New type.
14739 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14740
f0bd3e25
RM
14741 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14742 * bits/dirent.h: ... here.
14743
d34689de
RM
14744 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14745 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14746
6dad2c06
JM
147472012-08-07 Joseph Myers <joseph@codesourcery.com>
14748
14749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14750 Change from 2.6.0 to 2.6.16.
14751 * sysdeps/unix/sysv/linux/configure: Regenerated.
14752 * sysdeps/unix/sysv/linux/kernel-features.h
14753 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14754 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14755 version.
14756 (__ASSUME_UTIMES): Likewise.
14757 (__ASSUME_CLONE_STOPPED): Remove.
14758 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14759 architectures, not kernel version.
14760 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14761 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14762 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14763 (__ASSUME_WAITID_SYSCALL): Likewise.
14764 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14765 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14766 * README: State 2.6.16 as minimum Linux kernel version. Do not
14767 refer to older versions.
14768
03af9520
RM
147692012-08-06 Roland McGrath <roland@hack.frob.com>
14770
8e49df1d
RM
14771 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14772 Define alphasort64 as an alias.
14773 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14774 Define versionsort64 as an alias.
14775 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14776 Define scandir64 as an alias.
14777 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14778 Define scandirat64 as an alias.
14779 * dirent/alphasort64.c (alphasort64):
14780 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14781 * dirent/versionsort64.c: Likewise.
14782 * dirent/scandir64.c: Likewise.
14783 * dirent/scandirat64.c: Likewise.
14784 * sysdeps/wordsize-64/alphasort.c: File removed.
14785 * sysdeps/wordsize-64/alphasort64.c: File removed.
14786 * sysdeps/wordsize-64/scandir.c: File removed.
14787 * sysdeps/wordsize-64/scandir64.c: File removed.
14788 * sysdeps/wordsize-64/scandirat.c: File removed.
14789 * sysdeps/wordsize-64/scandirat64.c: File removed.
14790 * sysdeps/wordsize-64/versionsort.c: File removed.
14791 * sysdeps/wordsize-64/versionsort64.c: File removed.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14800
14801 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14803 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14805 [defined __arch64__ || defined __sparcv9]
14806 (__INO_T_MATCHES_INO64_T): New macro.
14807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14808 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14809 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14810 * sysdeps/unix/sysv/linux/bits/dirent.h
14811 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14812 (_DIRENT_MATCHES_DIRENT64): New macro.
14813
03af9520
RM
14814 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14815 Define lockf64 as an alias.
14816 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14817 Define fseeko64 as an alias.
14818 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14819 Define ftello64 as an alias.
14820 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14821 Define _IO_fgetpos64 and fgetpos64 as aliases.
14822 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14823 Define _IO_fsetpos64 and fsetpos64 as aliases.
14824 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14825 Conditionalize body on this.
14826 * libio/fseeko64.c: Likewise.
14827 * libio/ftello64.c: Likewise.
14828 * libio/iofgetpos64.c: Likewise.
14829 * libio/iofsetpos64.c: Likewise.
14830 * sysdeps/wordsize-64/lockf.c: File removed.
14831 * sysdeps/wordsize-64/lockf64.c: File removed.
14832 * sysdeps/wordsize-64/fseeko.c: File removed.
14833 * sysdeps/wordsize-64/fseeko64.c: File removed.
14834 * sysdeps/wordsize-64/ftello.c: File removed.
14835 * sysdeps/wordsize-64/ftello64.c: File removed.
14836 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14837 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14838 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14839 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14850
14851 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14853 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14855 [defined __arch64__ || defined __sparcv9]
14856 (__OFF_T_MATCHES_OFF64_T): New macro.
14857 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14858 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14860 (__OFF_T_MATCHES_OFF64_T): New macro.
14861
c5757acd
L
148622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14863
14864 * stdlib/secure-getenv.c (__secure_getenv): Replace
14865 GLIBC_2_16 with GLIBC_2_17.
14866
3a31811e
L
148672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14868
14869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14870 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14871
faa2bccb
DM
148722012-08-03 David S. Miller <davem@davemloft.net>
14873
14874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14875
85fe1997
JM
148762012-08-03 Joseph Myers <joseph@codesourcery.com>
14877
14878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14879 Remove.
14880 (__ASSUME_CORRECT_SI_PID): Likewise.
14881 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14882 (__ASSUME_TMPFS_NAME): Likewise.
14883 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14884 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14885 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14886 (HAVE_AUX_SECURE): Make definition unconditional.
14887 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14888 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14889
4f75b7a0
RM
148902012-08-03 Roland McGrath <roland@hack.frob.com>
14891
14892 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14893 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14894 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14895 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14896 __eloop_threshold instead of SYMLOOP_MAX.
14897
14898 * sysdeps/generic/eloop-threshold.h: New file.
14899 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14900 of MAXSYMLINKS.
14901 * elf/chroot_canon.c (chroot_canon): Likewise.
14902
7aab07e4
JM
149032012-08-03 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #13717]
14906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14907 Change to 2.6.0 everywhere.
14908 * sysdeps/unix/sysv/linux/configure: Regenerated.
14909 * sysdeps/unix/sysv/linux/kernel-features.h
14910 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14911 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14912 kernel versions.
14913 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14914 (__ASSUME_FUTEX_REQUEUE): Remove.
14915 (__ASSUME_STATFS64): Define unconditionally.
14916 (__ASSUME_AT_SECURE): Likewise.
14917 (__ASSUME_CORRECT_SI_PID): Likewise.
14918 (__ASSUME_TGKILL): Define without depending on kernel version for
14919 i386.
14920 (__ASSUME_UTIMES): Likewise.
14921 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14922 kernel version.
14923 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14924 (__ASSUME_TMPFS_NAME): Likewise.
14925 * README: Update reference to Linux kernel versions.
14926
b67e9372
MP
149272012-08-02 Marek Polacek <polacek@redhat.com>
14928
1f529f7d 14929 [BZ# 14150]
b67e9372
MP
14930 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14931 libc_cv_asm_type_prefix with %.
14932 * configure: Regenerated.
d2441631
RM
14933 * include/libc-symbols.h: Remove comment about
14934 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14935 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14936 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14937 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14938 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14939 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14941 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14942 * elf/tst-unique2mod1.c: Likewise.
14943 * elf/tst-unique1mod2.c: Likewise.
14944 * elf/tst-unique1mod1.c: Likewise.
14945 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14946 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14947 Replace ASM_TYPE_DIRECTIVE with .type.
14948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14949 * sysdeps/i386/sysdep.h: Likewise.
14950 * sysdeps/x86_64/sysdep.h: Likewise.
14951 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14953 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14954 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14955 * sysdeps/powerpc/powerpc32/sysdep.h:
14956 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14957 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14958 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14959 * sysdeps/i386/fpu/e_powf.S: Likewise.
14960 * sysdeps/i386/fpu/e_expl.S: Likewise.
14961 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14962 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14963 * sysdeps/i386/fpu/e_pow.S: Likewise.
14964 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14965 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14966 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14967 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14968 * sysdeps/i386/fpu/e_log2.S: Likewise.
14969 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14970 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14971 * sysdeps/i386/fpu/e_powl.S: Likewise.
14972 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14973 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14974 * sysdeps/i386/fpu/e_logl.S: Likewise.
14975 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14976 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14977 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14979 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14980 * sysdeps/i386/fpu/e_log.S: Likewise.
14981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14982 * sysdeps/i386/fpu/e_logf.S: Likewise.
14983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14985 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14986 * sysdeps/i386/fpu/e_log10.S: Likewise.
14987 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14988 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14989 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14990 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14991 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14992 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14993 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14994 * sysdeps/i386/i686/strtok.S: Likewise.
14995 * sysdeps/i386/i386-mcount.S: Likewise.
14996 * sysdeps/i386/strtok.S: Likewise.
14997 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14998 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15001 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15003 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15004 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15006 * sysdeps/x86_64/_mcount.S: Likewise.
15007 * sysdeps/x86_64/strtok.S: Likewise.
15008 * sysdeps/sh/_mcount.S: Likewise.
15009
2747bf9a
RM
150102012-08-01 Roland McGrath <roland@hack.frob.com>
15011
15012 * libio/iofopen.c: Include <fcntl.h>.
15013 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15014 (_IO_fopen64, fopen64): Define as aliases.
15015 * libio/iofopen64.c: Include <fcntl.h>.
15016 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15017 Conditionalize body on this.
15018 * sysdeps/wordsize-64/iofopen.c: File removed.
15019 * sysdeps/wordsize-64/iofopen64.c: File removed.
15020
3fb791b8
MP
150212012-08-01 Marek Polacek <polacek@redhat.com>
15022
15023 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15024 Use dlfcn directly instead of a variable.
15025 (binfmt-subdir): Do not define.
15026 (dlfcn): Likewise.
15027
a9f1039f
JM
150282012-08-01 Joseph Myers <joseph@codesourcery.com>
15029
23bddc06
JM
15030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15031 Remove all definitions.
15032 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15033 <kernel-features.h>.
15034 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15035 (miss_F_GETOWN_EX): Remove all definitions.
15036 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15037 macro definition.
15038 [!__ASSUME_FCNTL64]: Remove conditional code.
15039 [__ASSUME_FCNTL64]: Make code unconditional.
15040 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15041 <kernel-features.h>.
15042 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15043 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15044 (lockf64) [__NR_fcntl64]: Make code unconditional.
15045 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15046
a9f1039f
JM
15047 * sysdeps/unix/sysv/linux/kernel-features.h
15048 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15049 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15050 Make code unconditional.
15051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15054 [__NR_vfork]: Make code unconditional.
15055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15058 [__NR_vfork]: Make code unconditional.
15059 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15060 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15061
09c0ee5f
RM
150622012-08-01 Roland McGrath <roland@hack.frob.com>
15063
48aec5b9
RM
15064 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15065 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15066
cd97c966
RM
15067 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15068 Define mkstemp64 as an alias.
3f55550c
RM
15069 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15070 Define mkstemps64 as an alias.
cd97c966
RM
15071 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15072 Define mkostemp64 as an alias.
b8625cfc
RM
15073 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15074 Define mkostemps64 as an alias.
cd97c966
RM
15075 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15076 Conditionalize body on this.
15077 * misc/mkostemp64.c: Likewise.
b8625cfc 15078 * misc/mkostemps64.c: Likewise.
3f55550c 15079 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15080 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15081 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15082 * sysdeps/wordsize-64/mkostemp.c: File removed.
15083 * sysdeps/wordsize-64/mkstemp.c: File removed.
15084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15088
09c0ee5f
RM
15089 [BZ #14138]
15090 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15091 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15092 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15093 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15094
15095 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15096 compat_symbol macros from <shlib-compat.h> rather than the underlying
15097 default_symbol_version and symbol_version macros, so that DEFAULT
15098 lines in shlib-versions are respected.
15099 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15100
7e66ee51
FW
151012012-08-01 Florian Weimer <fweimer@redhat.com>
15102
15103 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15104 Declare with warn_unused_result.
15105 (setgid, setregid, setegid, setresgid): Likewise.
15106 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15107 Likewise.
15108 * WUR-REPORT: Remove set*id functions.
15109
d2a54255
PT
151102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15111
15112 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15113
7ecdb005
RM
151142012-07-31 Roland McGrath <roland@hack.frob.com>
15115
b4180a5e 15116 [BZ #10191]
789bd351
RM
15117 * include/sys/socket.h (__libc_accept, __libc_accept4):
15118 Add attribute_hidden.
15119 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15120
40ce302d
RM
15121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15122 use of PTR_MANGLE.
15123 * inet/getnetgrent_r.c (setup): Likewise.
15124
7ecdb005
RM
15125 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15126
e2eabb2c
DM
151272012-07-31 David S. Miller <davem@davemloft.net>
15128
15129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15130
d0419dbf
JM
151312012-07-31 Joseph Myers <joseph@codesourcery.com>
15132
15133 [BZ #13629]
15134 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15135 value between 1.0 and 2.0 and smaller part has absolute value less
15136 than 1.0.
15137 * math/s_clog10.c (__clog10): Likewise.
15138 * math/s_clog10f.c (__clog10f): Likewise.
15139 * math/s_clog10l.c (__clog10l): Likewise.
15140 * math/s_clogf.c (__clogf): Likewise.
15141 * math/s_clogl.c (__clogl): Likewise.
15142 * math/libm-test.inc (clog_test): Add more tests.
15143 (clog10_test): Likewise.
15144 * sysdeps/i386/fpu/libm-test-ulps: Update.
15145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146
2bc13872
FW
151472012-07-31 Florian Weimer <fweimer@redhat.com>
15148
15149 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15150 Exit with zero in case no suitable GID is found, and write a
15151 message to standard error.
15152
bea9b193
RM
151532012-07-30 Roland McGrath <roland@hack.frob.com>
15154
15155 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15156 rather than to 1.
15157 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15158 (MAXPATHLEN): Removed.
15159 (NOGROUP, NODEV): New macros.
15160 (setbit, clrbit, isset, isclr): New macros.
15161 (howmany, roundup, powerof2): New macros.
15162 (DEV_BSIZE): New macro.
15163
15164 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15165 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15166
15167 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15168 definition on [!__NO_LONG_DOUBLE_MATH].
15169
15170 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15171 PTR_MANGLE and PTR_DEMANGLE.
15172
15173 * socket/accept4.c (accept4): Rename to __libc_accept4.
15174 Define accept4 as a weak alias.
15175
15176 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15177 on [_DIRENT_HAVE_D_TYPE].
15178 * io/ftw.c (ftw_dir): Likewise.
15179
15180 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15181
15182 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15183
15184 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15185 Use the BSD numbers rather than the arbitrary ones we had.
15186 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15187 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15188 (SIGXCPU, SIGXFSZ): New macros.
15189 (_NSIG): Now 32.
15190
15191 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15192 initializer on [_LIBC_REENTRANT].
15193
15194 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15195 definitions inside [_POSIX_MAPPED_FILES].
15196
15197 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15198
15199 * dirent/opendir.c: Include <fcntl.h>.
15200
15201 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15202 (__libc_getspecific): Likewise.
15203 (__libc_key_create): Likewise.
15204
15205 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15206 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15207 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15208 (tmpfile64): Define as alias.
15209 * sysdeps/wordsize-64/tmpfile.c: File removed.
15210 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15213
15214 * stdio-common/vfscanf.c: Include <stdbool.h>.
15215 * nss/makedb.c: Likewise.
15216 * stdio-common/_i18n_number.h: Likewise.
15217 * argp/argp-help.c: Likewise.
15218 * posix/wordexp.c: Likewise.
15219 * sysdeps/posix/spawni.c: Likewise.
15220 * nss/nss_files/files-initgroups.c: Likewise.
15221 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15222 * nss/nss_files/files-initgroups.c: Likewise.
15223 * nss/nss_db/db-netgrp.c: Likewise.
15224 * nss/nss_db/db-initgroups.c: Likewise.
15225 * io/fchmodat.c: Include <sys/stat.h>.
15226
15227 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15228 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15229
15230 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15231 [HAVE_MMAP].
15232
15233 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15234 Add multiple inclusion protection.
15235
e5abc686
DM
152362012-07-27 David S. Miller <davem@davemloft.net>
15237
15238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15239
815e6fa3
GB
152402012-07-27 Gary Benson <gbenson@redhat.com>
15241
15242 [BZ #14298]
15243 * elf/rtld.c: Include <stap-probe.h>.
15244 (dl_main): Added static probes "init_start" and "init_complete".
15245 * elf/dl-load.c: Include <stap-probe.h>.
15246 (lose): Take new parameter "nsid".
15247 Added static probe "map_failed".
15248 (_dl_map_object_from_fd): Pass namespace id to lose.
15249 Added static probe "map_start".
15250 (open_verify): Pass namespace id to lose.
15251 * elf/dl-open.c: Include <stap-probe.h>.
15252 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15253 and "reloc_complete".
15254 * elf/dl-close.c: Include <stap-probe.h>.
15255 (_dl_close_worker): Added static probes "unmap_start" and
15256 "unmap_complete".
15257 * elf/rtld-debugger-interface.txt: New file documenting the above.
15258
9f98c16c
RM
152592012-07-26 Roland McGrath <roland@hack.frob.com>
15260
15261 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15262 rather than a string variable.
15263 * sunrpc/rpc_main.c (h_output): Likewise.
15264 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15265
f3c22df3
PT
152662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15267
15268 * inet/check_native.c: New file.
15269
3129cfc6
JM
152702012-07-26 Joseph Myers <joseph@codesourcery.com>
15271
da865e95
JM
15272 [BZ #13629]
15273 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15274 if larger part has absolute value 1.0.
15275 * math/s_clog10.c (__clog10): Likewise.
15276 * math/s_clog10f.c (__clog10f): Likewise.
15277 * math/s_clog10l.c (__clog10l): Likewise.
15278 * math/s_clogf.c (__clogf): Likewise.
15279 * math/s_clogl.c (__clogl): Likewise.
15280 * math/libm-test.inc (clog_test): Add more tests.
15281 (clog10_test): Likewise.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
3129cfc6
JM
15285 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15286 (pltexit): Likewise.
15287 (La_regs): Likewise.
15288 (La_retval): Likewise.
15289 (int_retval): Likewise.
15290 Update #error for removed macros to refer only to definitions in
15291 tst-audit.h.
15292 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15293 macro.
15294 (pltexit): Likewise.
15295 (La_regs): Likewise.
15296 (La_retval): Likewise.
15297 (int_retval): Likewise.
15298 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15299 macro.
15300 (pltexit): Likewise.
15301 (La_regs): Likewise.
15302 (La_retval): Likewise.
15303 (int_retval): Likewise.
15304 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15305 macro.
15306 (pltexit): Likewise.
15307 (La_regs): Likewise.
15308 (La_retval): Likewise.
15309 (int_retval): Likewise.
15310 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15311 macro.
15312 (pltexit): Likewise.
15313 (La_regs): Likewise.
15314 (La_retval): Likewise.
15315 (int_retval): Likewise.
15316 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15317 macro.
15318 (pltexit): Likewise.
15319 (La_regs): Likewise.
15320 (La_retval): Likewise.
15321 (int_retval): Likewise.
15322 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15323 macro.
15324 (pltexit): Likewise.
15325 (La_regs): Likewise.
15326 (La_retval): Likewise.
15327 (int_retval): Likewise.
15328 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15329 macro definitions in tst-audit.h.
15330 * sysdeps/i386/tst-audit.h: New file.
15331 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15332 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15333 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15334 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15335 * sysdeps/sh/tst-audit.h: Likewise.
15336 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15337 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15338 * sysdeps/x86_64/tst-audit.h: Likewise.
15339
bfc07087
AJ
153402012-07-26 Andreas Jaeger <aj@suse.de>
15341
b1b2aaf8
AJ
15342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15343 ptrace.
15344
15345 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15346 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15347 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15348 PTRACE_O_MASK.
15349 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15350 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15352
bfc07087
AJ
15353 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15354 value.
15355
15356 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15357 _sigsys.
15358 (si_call_addr, si_syscall, si_arch): Define new macro.
15359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15360 _sigsys.
15361 (si_call_addr, si_syscall, si_arch): Define new marcro.
15362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15363 _sigsys.
15364 (si_call_addr, si_syscall, si_arch): Define new macro.
15365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15366 _sigsys.
15367 (si_call_addr, si_syscall, si_arch): Define new macro.
15368
89b4b02f
JM
153692012-07-25 Joseph Myers <joseph@codesourcery.com>
15370
15371 [BZ #13717]
15372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15373 Change to 2.4.21 where previously 2.4.1.
15374 * sysdeps/unix/sysv/linux/configure: Regenerated.
15375 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15376 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15377 Linux kernel version.
15378 (__ASSUME_STD_AUXV): Remove.
15379 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15380 kernel version.
15381 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15382 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15383 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15384 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15385 (__ASSUME_NETLINK_SUPPORT): Likewise.
15386 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15387 (__no_netlink_support): Remove conditional definition.
15388 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15389 Remove.
15390 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15391 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15392 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15393 (if_nameindex_ioctl): Remove.
15394 (if_nameindex_netlink): Do not handle __no_netlink_support.
15395 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15396 code.
15397 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15398 Remove conditional code.
15399 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15400 code.
15401 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15402 unconditional.
15403 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15404 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15405 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15406 Remove.
15407 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15408 [!__ASSUME_STD_AUXV]: Remove conditional code.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15410 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15411 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15414 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15415 code.
15416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15418 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15420 conditional code.
15421 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15423 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15424 code.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15426 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15427 conditional code.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15429 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15430 code unconditional.
15431 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15432 conditional code.
15433 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15434 unconditional.
15435 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15436 conditional code.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15438 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15439 unconditional.
15440 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15441 conditional code.
15442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15443 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15444 code unconditional.
15445 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15446 conditional code.
15447 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15448 unconditional.
15449 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15450 conditional code.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15452 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15453 code unconditional.
15454 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15455 conditional code.
15456 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15457 unconditional.
15458 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15459 conditional code.
15460
842a39cd
AS
154612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15465 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15466 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15467 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15469 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15470 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15471 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15472 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15473 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15474 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15475 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15476 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15479 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15481 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15483 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15484 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15486
84b3fd84
FW
154872012-07-25 Florian Weimer <fweimer@redhat.com>
15488
15489 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15490 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15491 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15492 Introduce __libc_secure_getenv.
0c7936d5
FW
15493 * stdlib/Versions (2.17): Add secure_getenv
15494 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15495 * stdlib/secure-getenv.c: Rename __secure_getenv to
15496 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15497 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15498 * stdlib/tst-secure-getenv.c: New.
15499 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15500 * manual/startup.texi (Environment Access): Document
15501 secure_getenv.
84b3fd84
FW
15502 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15503 __libc_secure_getenv.
15504 * inet/ruserpass.c (ruserpass): Likewise.
15505 * malloc/mtrace.c (mtrace): Likewise.
15506 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15507 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15508 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15509 * sysdeps/posix/tempname.c: Likewise. Evaluate
15510 HAVE_SECURE_GETENV.
15511 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15512 __secure_getenv to __libc_secure_getenv.
84b3fd84 15513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15515 Likewise.
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15517 Likewise.
15518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15525
56e49b71
JM
155262012-07-25 Joseph Myers <joseph@codesourcery.com>
15527
15528 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15529 (struct La_i86_retval): Likewise.
15530 (struct La_x86_64_regs): Likewise.
15531 (struct La_x86_64_retval): Likewise.
15532 (struct La_x32_regs): Likewise.
15533 (struct La_x32_retval): Likewise.
15534 (struct La_ppc32_regs): Likewise.
15535 (struct La_ppc32_retval): Likewise.
15536 (struct La_ppc64_regs): Likewise.
15537 (struct La_ppc64_retval): Likewise.
15538 (struct La_sh_regs): Likewise.
15539 (struct La_sh_retval): Likewise.
15540 (struct La_s390_32_regs): Likewise.
15541 (struct La_s390_32_retval): Likewise.
15542 (struct La_s390_64_regs): Likewise.
15543 (struct La_s390_64_retval): Likewise.
15544 (struct La_sparc32_regs): Likewise.
15545 (struct La_sparc32_retval): Likewise.
15546 (struct La_sparc64_regs): Likewise.
15547 (struct La_sparc64_retval): Likewise.
15548 (struct audit_ifaces): Remove architecture-specific pltenter and
15549 pltexit members.
15550 * sysdeps/i386/ldsodefs.h: New file.
15551 * sysdeps/powerpc/ldsodefs.h: Likewise.
15552 * sysdeps/s390/ldsodefs.h: Likewise.
15553 * sysdeps/sh/ldsodefs.h: Likewise.
15554 * sysdeps/sparc/ldsodefs.h: Likewise.
15555 * sysdeps/x86_64/ldsodefs.h: Likewise.
15556
354691b7
MP
155572012-07-25 Marek Polacek <polacek@redhat.com>
15558
15559 [BZ #6808]
15560 * math/libm-test.inc (yn_test): Add another test.
15561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15562 to ERANGE when the result is +-Inf.
15563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15565 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15566 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15567
bf9e2071
JM
155682012-07-24 Joseph Myers <joseph@codesourcery.com>
15569
15570 * conform/data/time.h-data (NULL): Use macro-constant. Require
15571 equal to 0.
15572 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15573 clock_t.
15574 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15575
57633811
TS
155762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15577
15578 * configure.in <sysdeps resolving>: Correct printing
15579 Implies_before.
15580 * configure: Regenerate.
15581
c23c33b0
TS
155822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15583
15584 * math/w_ilogb.c: Include <limits.h>.
15585 * math/w_ilogbl.c: Likewise.
15586
b5982523
JM
155872012-07-20 Joseph Myers <joseph@codesourcery.com>
15588
15589 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15590 va_copy. Document allowing for unavailable va_copy only as
15591 pre-C99 compatibility.
15592 * manual/string.texi (Copying and Concatenation): Use va_copy
15593 instead of __va_copy in concat example.
15594
ac4ea442
PT
155952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15596
15597 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15598 (__sendto): Use create_address_port. Initialize APORT and deallocate
15599 it if not null.
15600
f98eafbd
PT
15601 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15602 with O_NOLINK passed to __file_name_lookup.
15603
898c7aab
PT
15604 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15605 with O_NOLINK passed to __file_name_lookup.
15606
0ced335a
PT
15607 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15608 negative N or less than NGIDS.
15609
b3404dbd
PT
15610 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15611 type to string_t. Set ERANGE as errno and return it if NAME is not big
15612 enough. Use memcpy instead of strncpy.
15613
0f48659e
JM
156142012-07-20 Joseph Myers <joseph@codesourcery.com>
15615
15616 * elf/Makefile (check-data): Remove.
15617 (localplt.data): New vpath directive.
15618 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15619 instead of $(check-data).
15620 * scripts/data/localplt-generic.data: Move to ...
15621 * sysdeps/generic/localplt.data: ... here.
15622 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15623 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15624 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15626 ... here.
15627 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15629 ... here.
15630 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15632 ... here.
15633 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15635 ... here.
15636 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15638 ... here.
15639 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15641 ... here.
15642
d37cbdaa
AZ
156432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15644
15645 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15646 PPC32 and PPC64 files.
15647 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15648 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15649
46f85fc2
AK
156502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15651
15652 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15653 __makecontext_ret to ...
15654 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15655 ... here and call exit if uc_link is NULL. New file.
15656 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15657 __makecontext_ret.S.
15658 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15659 __makecontext_ret to ...
15660 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15661 ... here and call exit if uc_link is NULL. New file.
15662 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15663 __makecontext_ret.S.
15664
08f43f9b
AK
156652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15666
15667 * elf/elf.h (R_390_IRELATIVE): New definition.
15668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15669 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15670 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15672 (elf_machine_lazy_rel): Likewise.
15673 * sysdeps/s390/dl-irel.h: New file.
15674 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15675 * sysdeps/s390/s390-64/memset.S: New asm code.
15676 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15677 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15679 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15680 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15681 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15683 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15684 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15685 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15686 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15687 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15688 * sysdeps/s390/s390-32/memset.S: New asm code.
15689 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15690
3b05db33
MP
156912012-07-17 Marek Polacek <polacek@redhat.com>
15692
15693 [BZ #14349]
15694 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15695 * sysdeps/s390/s390-64/configure.in: Likewise.
15696 * sysdeps/sparc/configure.in: Likewise.
15697 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15698 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15699 * sysdeps/i386/configure.in: Likewise.
15700 * sysdeps/x86_64/configure.in: Likewise.
15701 * sysdeps/sh/configure.in: Likewise.
15702 * sysdeps/s390/s390-32/configure: Regenerated.
15703 * sysdeps/s390/s390-64/configure: Likewise.
15704 * sysdeps/x86_64/configure: Likewise.
15705 * sysdeps/sh/configure: Likewise.
15706 * sysdeps/powerpc/powerpc64/configure: Likewise.
15707 * sysdeps/powerpc/powerpc32/configure: Likewise.
15708 * sysdeps/sparc/configure: Likwise.
15709 * sysdeps/i386/configure: Likewise.
15710
a66877c6
MP
15711 * elf/dl-open.c: Comment fixes.
15712
cfc82fd8
JM
157132012-07-17 Joseph Myers <joseph@codesourcery.com>
15714
bd29910a
JM
15715 * Makefile [CXX] (check-data): Remove.
15716 [CXX] (c++-types.data): New vpath directive.
15717 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15718 vpath. Do not allow for C++ type data being missing.
15719 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15720 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15721 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15722 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15723 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15724 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15725 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15727 ... here.
15728 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15730 ... here.
15731 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15733 ... here.
15734 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15736 ... here.
15737 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15739 ... here.
15740 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15742 ... here.
15743 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15745 ... here.
15746 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15748
cfc82fd8
JM
15749 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15750 definitions to architecture-specific files.
15751 (TLS_IE): Likewise.
15752 (TLS_LD): Likewise.
15753 (TLS_GD): Likewise.
15754 * sysdeps/i386/tls-macros.h: New file.
15755 * sysdeps/powerpc/tls-macros.h: Likewise.
15756 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15757 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15758 * sysdeps/sh/tls-macros.h: Likewise.
15759 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15760 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15761 * sysdeps/x86_64/tls-macros.h: Likewise.
15762
f7db3170
TS
157632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15764
07cbfc23
TS
15765 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15766 zero value for regular exit case.
15767
f7db3170
TS
15768 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15769 (__start_context): Preserve zero value for regular exit case.
15770
dc97c227
TS
157712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15772 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15773
15774 * manual/setjmp.texi (setcontext): Clarify normal process
15775 termination when uc_link is the null pointer.
15776 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15777 exit call.
15778
d0cd7d02
AS
157792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15780
15781 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15782 preprocessor. Test for each exception mask separately.
15783
dd318934
AJ
157842012-07-16 Andreas Jaeger <aj@suse.de>
15785
15786 * po/ru.po: Update from translation team.
15787
8048311a
JM
157882012-07-15 Joseph Myers <joseph@codesourcery.com>
15789
15790 * conform/data/string.h-data (NULL): Use macro-constant. Require
15791 equal to 0.
15792 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15793 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15794 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15795 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15797
b637d46e
AJ
157982012-07-13 Andreas Jaeger <aj@suse.de>
15799
15800 * po/fr.po: Update from translation team.
15801
541428fe
MP
158022012-07-12 Marek Polacek <polacek@redhat.com>
15803
15804 [BZ #14173]
15805 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15806 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15807 loop condition.
15808
ec332e94
JM
158092012-07-12 Joseph Myers <joseph@codesourcery.com>
15810
15811 [BZ #13717]
15812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15813 Change to 2.4.1 where previously 2.4.0.
15814 * sysdeps/unix/sysv/linux/configure: Regenerated.
15815 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15816 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15817 version.
15818 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15819 (__ASSUME_AT_CLKTCK): Remove.
15820 (__ASSUME_AT_PAGESIZE): Likewise.
15821 (__ASSUME_AT_XID): Likewise.
15822 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15823 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15824 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15825 unconditionally.
15826 (HAVE_AUX_PAGESIZE): Likewise.
15827 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15828 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15829 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15830
7b6e99be
JB
158312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15832
15833 [BZ #14307]
15834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15835 the temporary buffer used to invoke __gethostbyname2_r,
15836 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15837 host_data / struct gaih_addrtuple.
15838 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15839 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15840 header file nss/nsswitch.h.
15841 * nss/nsswitch.h (global scope): Add definition of implementation
15842 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15843 resolv/nss_dns/dns-host.c).
15844
608404eb
AJ
158452012-07-11 Andreas Jaeger <aj@suse.de>
15846
15847 * po/fr.po: Update from translation team.
15848
71220aca
AJ
15849 * po/sv.po: Update from translation team
15850 * po/fr.po: Another update from translation team.
15851
28cfe843
AZ
158522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15853
15854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15855 for subnormals or multiply small sinh result by itself.
15856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15858
6b90f981
DM
158592012-07-11 David S. Miller <davem@davemloft.net>
15860
15861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15862
c6825772
AS
158632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15864
15865 [BZ #14347]
15866 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15867 (INTERNAL_MARK): Shift it here.
15868
7b8e0d49
MP
158692012-07-10 Marek Polacek <polacek@redhat.com>
15870
15871 [BZ #14151]
15872 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15873 libc_cv_asm_global_directive with .globl.
15874 * configure: Regenerated.
15875 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15876 with .globl.
15877 * sysdeps/i386/configure: Regenerated.
15878 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15879 with .globl.
15880 * sysdeps/x86_64/configure: Regenerated.
15881 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15882 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15883 * elf/tst-unique2mod2.c: Likewise.
15884 * elf/tst-unique2mod1.c: Likewise.
15885 * elf/tst-unique1mod2.c: Likewise.
15886 * elf/tst-unique1mod1.c: Likewise.
15887 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15890 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15891 * sysdeps/mach/sysdep.h: Likewise.
15892 * sysdeps/i386/sysdep.h: Likewise.
15893 * sysdeps/i386/i386-mcount.S: Likewise.
15894 * sysdeps/x86_64/_mcount.S: Likewise.
15895 * sysdeps/x86_64/sysdep.h: Likewise.
15896 * sysdeps/sh/_mcount.S: Likewise.
15897 * sysdeps/sh/sysdep.h: Likewise.
15898 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15899 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15900 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15901 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15902 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15903 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15904 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15905 * locale/localeinfo.h: Likewise.
15906 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15907 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15908
6c55cda3
RM
159092012-07-09 Roland McGrath <roland@hack.frob.com>
15910
15911 [BZ #14336]
15912 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15913 system".
15914 * manual/message.texi (The Uniforum approach): Likewise.
15915 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15916 (glibc iconv Implementation): Likewise.
15917
638a572e
JM
159182012-07-09 Joseph Myers <joseph@codesourcery.com>
15919
15920 [BZ #14337]
15921 * math/s_clog.c (__clog): Avoid scaling a value down where that
15922 could result in underflow.
15923 * math/s_clog10.c (__clog10): Likewise.
15924 * math/s_clog10f.c (__clog10f): Likewise.
15925 * math/s_clog10l.c (__clog10l): Likewise.
15926 * math/s_clogf.c (__clogf): Likewise.
15927 * math/s_clogl.c (__clogl): Likewise.
15928 * math/libm-test.inc (clog_test): Add more tests.
15929 (clog10_test): Likewise.
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15932
261f4859
AS
159332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15934
0abaf3e4
AS
15935 [BZ #14283]
15936 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15937 by 7 not 8 to examine high bit of fractional part.
15938
261f4859
AS
15939 [BZ #14042]
15940 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15941 for call to __mcount_internal.
15942 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15943 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15944 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15945
f17ac40d
JM
159462012-07-06 Joseph Myers <joseph@codesourcery.com>
15947
9ad63c23
JM
15948 [BZ #14154]
15949 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15950 approximation for values within 0x1p-13f of an odd multiple of
15951 pi/4.
15952 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15953 exception. Add more tests.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955
f17ac40d
JM
15956 [BZ #6778]
15957 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15958 inputs and return -1 for them. Do not check for +Inf in case not
15959 reachable for +Inf.
15960 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15961 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15963 and return -1 for them. Do not check for +Inf in case not
15964 reachable for +Inf.
15965 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15966 define.
15967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15968 and return -1 for them. Do not check for +Inf in case not
15969 reachable for +Inf.
15970 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15971 spurious underflow.
15972 * sysdeps/i386/fpu/libm-test-ulps: Update.
15973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15974
fb21f89b
MF
159752012-07-06 Mike Frysinger <vapier@gentoo.org>
15976
15977 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15978
cdfe2c5e
JM
159792012-07-05 Joseph Myers <joseph@codesourcery.com>
15980
15981 [BZ #14157]
15982 [BZ #14331]
15983 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15984 could result in spurious underflow. Scale down values above
15985 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15986 * math/s_csqrtf.c (__csqrtf): Likewise.
15987 * math/s_csqrtl.c (__csqrtl): Likewise.
15988 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15989 spurious underflow.
15990 * sysdeps/i386/fpu/libm-test-ulps: Update.
15991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15992
70d35b67
AS
159932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15994
704bc459
AS
15995 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15996 xopen-msg.sed.
15997 * catgets/xopen-msg.awk: New file.
15998 * catgets/xopen-msg.sed: Removed.
15999
70d35b67
AS
16000 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16001 po2text.sed.
16002 * intl/po2test.awk: New file.
16003 * intl/po2test.sed: Removed.
16004
ca61cf32
JM
160052012-07-04 Joseph Myers <joseph@codesourcery.com>
16006
16007 [BZ #14328]
16008 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16009 or multiply small sinh result by itself.
16010 * math/s_ctanf.c (__ctanf): Likewise.
16011 * math/s_ctanh.c (__ctanh): Likewise.
16012 * math/s_ctanhf.c (__ctanhf): Likewise.
16013 * math/s_ctanhl.c (__ctanhl): Likewise.
16014 * math/s_ctanl.c (__ctanl): Likewise.
16015 * math/libm-test.inc (ctan_test_tonearest): New function.
16016 (ctan_test_towardzero): Likewise.
16017 (ctan_test_downward): Likewise.
16018 (ctan_test_upward): Likewise.
16019 (ctanh_test_tonearest): Likewise.
16020 (ctanh_test_towardzero): Likewise.
16021 (ctanh_test_downward): Likewise.
16022 (ctanh_test_upward): Likewise.
16023 (main): Call these new functions.
16024 * sysdeps/i386/fpu/libm-test-ulps: Update.
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16026
ca48a46a
MF
160272012-07-03 Mike Frysinger <vapier@gentoo.org>
16028
16029 * .gitignore: Delete /ports entry.
16030
9d63d37d
AJ
160312012-07-03 Andreas Jaeger <aj@suse.de>
16032
16033 * po/bg.po: Update from translation team.
16034 * po/cs.po: Likewise.
16035 * po/de.po: Likewise.
16036 * po/hr.po: Likewise.
16037 * po/nl.pl: Likewise.
16038 * po/pl.po: Likewise.
16039 * po/vi.po: Likewise.
16040
370ca3d2
JM
160412012-07-03 Joseph Myers <joseph@codesourcery.com>
16042
95f5a9a8
JM
16043 * Makeconfig [!+link] (+link-before-libc): New variable.
16044 [!+link] (+link-after-libc): Likewise.
16045 [!+link] (+link-tests): Likewise.
16046 [!+link] (+link): Define in terms of $(+link-before-libc) and
16047 $(+link-after-libc).
16048 [!+link-static] (+link-static-before-libc): New variable.
16049 [!+link-static] (+link-static-after-libc): Likewise.
16050 [!+link-static] (+link-static-tests): Likewise.
16051 [!+link-static] (+link-static): Define in terms of
16052 $(+link-static-before-libc) and $(+link-static-after-libc).
16053 [build-shared] (link-libc-before-gnulib): New variable.
16054 [build-shared] (link-libc-tests): Likewise.
16055 [build-shared] (link-libc): Define in terms of
16056 $(link-libc-before-gnulib).
16057 [!build-shared] (link-libc-tests): New variable.
16058 (link-libc-static-tests): New variable.
16059 [!gnulib] (gnulib-arch): New variable.
16060 [!gnulib] (gnulib-tests): Likewise.
16061 [!gnulib] (static-gnulib-arch): Likewise.
16062 [!gnulib] (static-gnulib-tests): Likewise.
16063 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16064 Define with "=" instead of ":=".
16065 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16066 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16067 * Rules (binaries-all-notests): New variable.
16068 (binaries-all-tests): Likewise.
16069 (binaries-static-notests): Likewise.
16070 (binaries-static-tests): Likewise.
16071 (binaries-all): Define using $(binaries-all-notests) and
16072 $(binaries-all-tests).
16073 (binaries-static): Define using $(binaries-static-notests) and
16074 $(binaries-static-tests).
16075 (binaries-shared-tests): New variable.
16076 (binaries-shared-notests): Likewise.
16077 (binaries-shared): Remove variable.
16078 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16079 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16080 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16081 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16082 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16083 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16084 * elf/Makefile (sln-modules): New variable.
16085 (extra-objs): Add $(sln-modules:=.o).
16086 (ldconfig-modules): Add static-stubs.
16087 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16088 * elf/static-stubs.c: New file.
16089
7a845b2c
JM
16090 [BZ #14283]
16091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16092 by 7 not 8 to examine high bit of fractional part. Use volatile
16093 variables when splitting into final array of floats if
16094 __FLT_EVAL_METHOD__ != 0.
16095 * math/libm-test.inc (cos_test): Add another test.
16096 (sin_test): Likewise.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update.
16098
e2283f38
JM
16099 [BZ #14273]
16100 * math/libm-test.inc (cosh_test): Add more tests.
16101
370ca3d2
JM
16102 * version.h (RELEASE): Set to "development".
16103 (VERSION): Set to "2.16.90".
16104
ee9247c3
CD
161052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16106
16107 * NEWS: Update copyright. Remove last-updated date.
16108 Mention math library bug fixes and timezone data changes.
16109 * README: Mention GNU/Hurd, x32, and HPPA support status.
16110
4648c381
TS
161112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16112
16113 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16114
aac78a43
AJ
161152012-06-27 Andreas Jaeger <aj@suse.de>
16116
16117 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16118
ed3dbfad
AJ
161192012-06-25 Andreas Jaeger <aj@suse.de>
16120
16121 * sysdeps/s390/fpu/libm-test-ulps: Update.
16122
4d0ee855
AS
161232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16124 Thomas Schwinge <thomas@codesourcery.com>
16125
16126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16127 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16129 fanotify_mark.
16130
af1bce34
TS
161312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16132
a9fa33ba
TS
16133 * sysdeps/mach/start.c: Remove file.
16134 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16135 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16136 * sysdeps/sh/init-first.c: Likewise.
16137
58f902b8
TS
16138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16139 registers for frame unwinding purposes, add CFI directives.
16140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16141 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16142 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16143 Likewise.
16144
1518f58b
TS
16145 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16146 __fortify_fail returning.
16147 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16148
db9b5059
TS
16149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16150 sysdeps/sh/____longjmp_chk.S.
16151 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16152 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16153 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16154 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16155
967705fe
TS
16156 * sysdeps/sh/abort-instr.h: New file.
16157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16158 process in case exit returns.
16159
a9def8c4
TS
16160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16161 initialize the GOT register before use.
16162
2a649725
TS
16163 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16164 calculation of ARGC > 4.
16165
af1bce34
TS
16166 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16167 meaningful names to some local labels.
16168
d230f50a
KK
161692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16170 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16171
16172 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16173 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16174 (__arch_compare_and_exchange_val_16_acq): Likewise.
16175 (__arch_compare_and_exchange_val_32_acq): Likewise.
16176 (atomic_exchange_and_add): Fix gUSA sequence.
16177 (atomic_add): Likewise.
16178 (atomic_add_negative): Likewise.
16179 (atomic_add_zero): Likewise.
16180 (atomic_bit_test_set): Likewise.
16181
0479b305
AS
161822012-06-22 Andreas Schwab <schwab@redhat.com>
16183
16184 [BZ #13579]
16185 * include/link.h (struct link_map): Add l_free_initfini.
16186 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16187 l_initfini.
16188 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16189 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16190 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16191 set.
16192
0e3933b9
CD
161932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16194
16195 * configure.in: Use AC_LANG_SOURCE.
16196 * configure: Regenerate.
16197
4248b1b1
RM
161982012-06-22 Roland McGrath <roland@hack.frob.com>
16199
16200 * configure.in (libc_cv_localstatedir): New substituted variable.
16201 * configure: Regenerated.
16202 * config.make.in (localstatedir): New variable, substituted from
16203 libc_cv_localstatedir.
16204 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16205 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16206 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16207 * sysdeps/gnu/configure: Regenerated.
16208
006dd861
JL
162092012-06-21 Jeff Law <law@redhat.com>
16210
16211 [BZ #14277]
16212 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16213 free. Simplify list management for _LIBC case.
16214
79662d42
JM
162152012-06-21 Joseph Myers <joseph@codesourcery.com>
16216
b7abb4bf
JM
16217 [BZ #14273]
16218 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16219 Clear sign bit of 64-bit integer value before comparing against
16220 overflow value.
16221
79662d42
JM
16222 * sysdeps/mach/configure: Regenerated.
16223
1f150908
L
162242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16225
16226 [BZ #14278]
16227 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16228
28363bbf
JL
162292012-06-21 Jeff Law <law@redhat.com>
16230
16231 [BZ #13882]
16232 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16233 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16235 * elf/dl-open.c (dl_open_worker): Likewise.
16236
09615db4
CD
162372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16238
16239 * scripts/list-sources.sh: Scan PORTS for translations.
16240 * po/libc.pot: Regenerated.
16241
2174c6dd
AJ
162422012-06-21 Andreas Jaeger <aj@suse.de>
16243
16244 [BZ #12194]
16245 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16246 warning.
16247 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16248 * bits/byteswap-16.h (__bswap_16): Likewise.
16249 * bits/byteswap.h (__bswap_constant_16): Likewise.
16250
3ee947b1
L
162512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16252
16253 [BZ #14117]
a2f34833
L
16254 * sysdeps/i386/fpu_control.h: Removed.
16255 * sysdeps/x86_64/fpu_control.h: Moved to ...
16256 * sysdeps/x86/fpu_control.h: Here.
16257
3ee947b1
L
16258 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16259 (_FPU_SETCW): Likewise.
16260
ed1825f8
L
162612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16262
25f1282a
L
16263 [BZ #14117]
16264 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16265 * sysdeps/x86/fpu/bits/mathinline.h: This.
16266 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16267
ed1825f8
L
16268 [BZ #14050]
16269 [BZ #14117]
16270 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16271 functions if __x86_64__ is defined.
16272
36d54b74
CLT
162732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16274
16275 * string/endian.h: Add !__ASSEMBLER__ condition for including
16276 conversion interfaces.
16277
10285c21
JM
162782012-06-15 Joseph Myers <joseph@codesourcery.com>
16279
16280 [BZ #14241]
16281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16282 of ABS(x) in calculating zero to negative powers other than odd
16283 integers.
16284 * math/libm-test.inc (pow_test): Add more tests.
16285
06c5abbd
AJ
162862012-06-15 Andreas Jaeger <aj@suse.de>
16287
16288 * manual/contrib.texi (Contributors): Update entry of Liubov
16289 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16290 Machado Filho.
16291
a3aeac40
CH
162922012-06-15 Cyril Hrubis <metan@ucw.cz>
16293
16294 * string/string.h: Add __wur to GNU version of strerror_r.
16295
49bdf4c1
L
162962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 [BZ #14229]
16299 * string/Makefile (tests): Add tst-strtok_r.
16300 * string/tst-strtok_r.c: New file.
16301 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16302 RAX_LP/RDX_LP on SAVE_PTR.
16303
834f9b8d
RM
163042012-06-14 Roland McGrath <roland@hack.frob.com>
16305
16306 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16307
75fa1921
JM
163082012-06-14 Joseph Myers <joseph@codesourcery.com>
16309
16310 * libm_test.inc (csqrt_test): Allow more spurious underflow
16311 exceptions.
16312 (j0_test): Likewise.
16313 (j1_test): Likewise.
16314 (y0_test): Likewise.
16315 (y1_test): Likewise.
16316
771766df
CD
163172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16318
16319 * po/Makefile (libc.pot): Use UTF-8 charset.
16320
ceb9e56b
PP
163212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16322
16323 [BZ #14210]
16324 Suppress sign-conversion warning from FD_SET.
16325 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16326 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16327 not unsigned long int.
16328 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16329
ddb28975
L
163302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16331
16332 [BZ #14050]
16333 [BZ #14117]
16334 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16335 __extern_always_inline instead of __extern_inline.
16336 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16337 (__signbit): Likewise.
16338 (__signbitl): Support C++ namespace.
16339 (lrintf): New inline function.
16340 (lrint): Likewise.
16341 (llrintf): Likewise.
16342 (llrint): Likewise.
16343 (fmaxf): Likewise.
16344 (fmax): Likewise.
16345 (fminf): Likewise.
16346 (fmin): Likewise.
16347 (rint): Likewise.
16348 (rintf): Likewise.
16349 (ceil): Likewise.
16350 (ceilf): Likewise.
16351 (floor): Likewise.
16352 (floorf): Likewise.
16353 (nearbyint): Likewise.
16354 (nearbyintf): Likewise.
16355
d7b4fb26
TS
163562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16357
16358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16359 non-default versions.
16360
eb55f5c2
RM
163612012-06-11 Roland McGrath <roland@hack.frob.com>
16362
16363 [BZ #14218]
16364 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16365
366af02c
TS
163662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16367
99ff6e5c
TS
16368 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16369 (FE_UPWARD, FE_DOWNWARD): Don't define.
16370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16372
366af02c
TS
16373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16374 reading it.
16375 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16377
793ea851
KK
163782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16379
16380 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16382 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16383 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16384
a728a38f
L
163852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16386
16387 [BZ #14117]
c08010c7
L
16388 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16389 * sysdeps/i386/fpu/Implies: New file.
16390 * sysdeps/x86_64/fpu/Implies: Likewise.
16391 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16392 * sysdeps/x86/fpu/bits/fenv.h: This.
16393
a728a38f
L
16394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16395 __SSE_MATH__.
16396
6e230d11
SP
163972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16398
16399 [BZ #14134]
16400 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16401 character 0xffff that matches the last element of the
16402 conversion table.
16403
1b671feb
AZ
164042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16405
16406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16407 fmodl commit.
16408
6043738b
AZ
164092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16410
16411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16412 values higher than 25.6283.
16413
34ae0b32
AZ
164142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16415
16416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16417 subnormal exponent extraction and add some __builtin_expect.
16418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16419 Fix for subnormal mantissa calculation.
16420
1214ec8f
MF
164212012-06-04 Mike Frysinger <vapier@gentoo.org>
16422
16423 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16424 cpu2 is -1 and errno is not ENOSYS.
16425
f3d1f93c
L
164262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16427
16428 [BZ #14117]
0e4a3cd7
L
16429 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16430 * sysdeps/x86/bits/string.h: This.
16431 * sysdeps/x86_64/bits/string.h: Removed.
16432
6704c645
L
16433 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16434 if not compiling for x86-64, but compiling for >= i486.
16435
48495318
L
16436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16437 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16438
14adcbfc
L
16439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16440 New macro from Linux kernel 3.4.0.
16441 (FP_XSTATE_MAGIC2): Likewise.
16442 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16443 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16444 (struct _fpx_sw_bytes): New struct.
16445 (struct _xsave_hdr): Likewise.
16446 (struct _ymmh_state): Likewise.
16447 (struct _xstate): Likewise.
16448
68e408ab
L
16449 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16450 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16452 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16453 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16454 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16455
f3d1f93c
L
16456 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16457 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16458 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16459 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16460 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16461 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16462
d9dc34cd
TMQMF
164632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16464
16465 [BZ #13743]
16466 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16467 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16468 (sysdep_headers): Include sys/platform/ppc.h.
16469 * sysdeps/powerpc/test-gettimebase.c: Test for
16470 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16471 * manual/Makefile (appendices): Include platform.texi.
16472 * manual/contrib.texi (Contributors): Update @node pointers.
16473 * manual/maint.texi (Maintenance): Likewise.
16474 (Platform): New node.
16475 * manual/platform.texi: New file. Document the new features.
16476
4af3879c
SP
164772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16478 Jakub Jelinek <jakub@redhat.com>
16479
16480 [BZ #14188]
16481 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16482 where __builtin_expect is unavailable.
16483
2fd6ff13
DM
164842012-06-03 David S. Miller <davem@davemloft.net>
16485
16486 * stdlib/longlong.h: Updated from GCC.
16487
173f7220
AS
164882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16489
16490 [BZ #14042]
16491 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16492 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16493 __mcount_internal.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16495 (GLIBC_2.16): Likewise.
16496
f34a1c6f
L
164972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16498
16499 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16500
88a4576f
JM
165012012-06-01 Joseph Myers <joseph@codesourcery.com>
16502
ea32bcdd
JM
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16504 (default-abi): New variable.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16507 variable.
16508 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16509 Likewise.
16510 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16511 Likewise.
16512 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16513 Likewise.
16514
88a4576f
JM
16515 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16516 definition. Document in comment.
16517
402fe938
DM
165182012-06-01 David S. Miller <davem@davemloft.net>
16519
16520 * stdlib/longlong.h: Updated from GCC.
16521
3553723f
L
165222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 [BZ #14117]
3bd872c4
L
16525 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16526 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16527 sys/debugreg.h sys/io.h here.
16528 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16529 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16530 sys/io.h.
16531 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16532 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16533 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16534 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16535 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16536 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16537
3553723f
L
16538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16539 Define only if __x86_64__ is defined.
16540
4842e4fe
JM
165412012-06-01 Joseph Myers <joseph@codesourcery.com>
16542
c5bfe3d5
JM
16543 [BZ #14048]
16544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16545 Use int64_t for variable i.
16546 * math/libm-test.inc (fmod_test): Add more tests.
16547
4842e4fe
JM
16548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16549 z computation is not scheduled after fetestexcept.
16550 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16551 Use math_force_eval instead of asm to ensure calculation scheduled
16552 before exception test.
16553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16554 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16555
efb73488
AJ
165562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16557
16558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16559 computation is not scheduled after fetestexcept.
16560
29bcce7c
L
165612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16562
16563 [BZ #14117]
16564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16565 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16566
73a68f94
AZ
165672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16568
16569 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16570 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16571
67b6df78
L
165722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16573
edf2933a 16574 [BZ #14117]
ebc64a18
L
16575 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16576 <bits/wordsize.h>.
16577 (__WCHAR_MIN): Support __WORDSIZE == 64.
16578 (__WCHAR_MAX): Likewise.
16579
edf2933a
L
16580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16582
57c6cf40
L
16583 [BZ #14183]
16584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16585 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16586
67b6df78 16587 [BZ #14117]
8eb6281e
L
16588 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16589 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16590
aac639f4
L
16591 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16592 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16593
67b6df78
L
16594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16595 Defined to 1 if __x86_64__ isn't defined.
16596 (_STAT_VER_LINUX_OLD): New.
16597 (st_atime): Remove duplicate.
16598 (st_mtime): Likewise.
16599 (st_ctime): Likewise.
16600
1c2cfe81
DM
166012012-05-31 David S. Miller <davem@davemloft.net>
16602
16603 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16604 entries.
16605
5be8418c
AS
166062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16607
e7725326
AS
16608 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16609 gen-libm-test.pl.
16610
5be8418c
AS
16611 [BZ #14132]
16612 * elf/dl-reloc.c: Include <_itoa.h>.
16613 (_dl_reloc_bad_type): Remove use of INTUSE.
16614 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16615 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16616 * stdio-common/psiginfo.c (psiginfo): Likewise.
16617 * stdio-common/psignal.c (psignal): Likewise.
16618 * string/strsignal.c (strsignal): Likewise.
16619 * include/signal.h (_sys_siglist): Declare hidden proto.
16620 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16621 INTVARDEF with libc_hidden_data_def.
16622 * stdio-common/itoa-udigits.c: Likewise.
16623 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16624 (_itoa_lower_digits_internal): Remove declaration.
16625 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16626 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16627 (_sys_sigabbrev_internal): Remove aliases.
16628 (_sys_siglist): Define hidden alias.
16629
507352f1
MT
166302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16631
16632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16633 bits/sysctl.h.
16634
42bbb1c3
L
166352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 [BZ #14117]
6bd784b6
L
16638 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16639 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16640
8bca20f0
L
16641 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16642 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16643 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16644 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16646 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16647
f9e890a9
L
16648 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16650 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16651
471101a1
L
16652 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16653 with __addr.
16654 (insw): Likewise.
16655 (insl): Likewise.
16656 (outsb): Likewise.
16657 (outsw): Likewise.
16658 (outsl): Likewise.
16659
6451c862
L
16660 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16661 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16663
a254b8c9
L
16664 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16665 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16666 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16667 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16668 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16669 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16670
b8dfdd92
L
16671 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16672 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16673
578cd270
L
16674 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16675 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16676
de662f5f
L
16677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16680
25653439
L
16681 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16682 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16683 to ...
16684 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16685
6bad24a0
L
16686 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16687 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16688 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16689
42bbb1c3
L
16690 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16691 for x86-64.
16692 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16693
2d10d547
JM
166942012-05-31 Joseph Myers <joseph@codesourcery.com>
16695
16696 * math/math.h (M_El): Use two more decimal places.
16697 (M_LOG2El): Likewise.
16698 (M_LOG10El): Likewise.
16699 (M_LN2l): Likewise.
16700 (M_LN10l): Likewise.
16701 (M_PIl): Likewise.
16702 (M_PI_2l): Likewise.
16703 (M_PI_4l): Likewise.
16704 (M_1_PIl): Likewise.
16705 (M_2_PIl): Likewise.
16706 (M_2_SQRTPIl): Likewise.
16707 (M_SQRT2l): Likewise.
16708 (M_SQRT1_2l): Likewise.
16709
f230c29b
DM
167102012-05-31 David S. Miller <davem@davemloft.net>
16711
16712 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16713 values between float registers.
16714 * sysdeps/sparc/sparc64/memset.S: Likewise.
16715 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16716
fed806c3
MF
167172012-05-31 Mike Frysinger <vapier@gentoo.org>
16718
16719 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16720 -D_FORTIFY_SOURCE=1.
16721 (CPPFLAGS-tst-longjmp_chk.c): Define.
16722 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16723 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16724 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16725 CFLAGS-tst-wchar-h.c.
16726
30917259
MP
167272012-05-31 Marek Polacek <polacek@redhat.com>
16728
16729 [BZ #14132]
16730 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16731 __endmntent_internal): Remove declaration.
16732 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16733 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16734 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16735
1c58d5dc
DM
167362012-05-30 David S. Miller <davem@davemloft.net>
16737
16738 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16739 (___Q_simulate_exceptions): Use real FP ops rather than writing
16740 into the %fsr.
16741 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16742 Likewise.
16743
7dc00e0d
L
167442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16745
16746 [BZ #14117]
0bd53985
L
16747 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16748 * sysdeps/x86/bits/xtitypes.h: This.
16749
3a257e66
L
16750 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16751 * sysdeps/x86/bits/wordsize.h: This.
16752
62f62904
L
16753 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16754 * sysdeps/x86/bits/huge_vall.h: This.
16755
404fe9d9
L
16756 * sysdeps/i386/bits/select.h: Removed.
16757 * sysdeps/x86_64/bits/select.h: Renamed to ...
16758 * sysdeps/x86/bits/select.h: This.
16759
d48d0446
L
16760 * sysdeps/i386/bits/setjmp.h: Removed.
16761 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16762 * sysdeps/x86/bits/setjmp.h: This.
16763
7dc00e0d
L
16764 * sysdeps/i386/bits/mathdef.h: Removed.
16765 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16766 * sysdeps/x86/bits/mathdef.h: This.
16767
03277f8f
AS
167682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16769
16770 [BZ #14132]
16771 * include/sys/socket.h (__connect_internal)
16772 (__libc_sa_len_internal): Remove declaration.
16773 (__connect, __libc_sa_len): Declare hidden_proto.
16774 (SA_LEN): Remove use of INTUSE.
16775 * socket/connect.c: Add libc_hidden_def.
16776 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16777 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16778 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16779 alias.
16780 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16782 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16783 of adding _internal alias.
16784
13764867
L
167852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16786
16787 [BZ #14117]
6bd97696
L
16788 * sysdeps/i386/bits/link.h: Removed.
16789 * sysdeps/i386/bits/linkmap.h: Likewise.
16790 * sysdeps/x86_64/bits/link.h: Renamed to ...
16791 * sysdeps/x86/bits/link.h: This.
16792 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16793 * sysdeps/x86/bits/linkmap.h: This.
16794
f726f0bb
L
16795 * sysdeps/i386/bits/endian.h: Removed.
16796 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16797 * sysdeps/x86/bits/endian.h: This.
16798
13764867
L
16799 * sysdeps/i386/bits/byteswap.h: Removed.
16800 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16801 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16802 * sysdeps/x86/bits/byteswap.h: This.
16803 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16804 * sysdeps/x86/bits/byteswap-16.h: This.
16805 * sysdeps/i386/Implies: Add x86.
16806 * sysdeps/x86_64/Implies: Likewise.
16807
ae251b0b
DM
168082012-05-30 David S. Miller <davem@davemloft.net>
16809
16810 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16811 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16813 (FP_TRAPPING_EXCEPTIONS): Define.
16814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16815 (FP_TRAPPING_EXCEPTIONS): Define.
16816 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16817 subnormals only when inexact has been signalled or underflow
16818 exceptions are enabled.
16819 (_FP_PACK_CANONICAL): Likewise.
16820
d5c90867
L
168212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16822
16823 [BZ #14183]
16824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16825 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16826
63f1549e
RH
168272012-05-30 Richard Henderson <rth@twiddle.net>
16828
8d8f2279
RH
16829 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16830 with #ifndef NOT_IN_libc.
16831
63f1549e
RH
16832 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16833 marked to avoid plt entry.
16834
0ab0291b
L
168352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 [BZ #14112]
16838 * Makeconfig (default-abi): New macro.
16839 (abi-includes): Likewise.
16840 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16841 $(abi-$(default-abi)-lib-soname) for soname if defined.
16842 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16843 abi-variants.
16844 * Makefile (installed-stubs): Likewise.
16845 * include/stubs-biarch.h: Removed.
16846 * scripts/lib-names.awk: Only handle one library at a time.
16847 * scripts/soversions.awk: Remove WORDSIZE support.
16848 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16849 entries.
16850 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16851 Removed.
16852 (syscall-list-default-condition): Likewise.
16853 (syscall-list-default-condition): Likewise.
16854 (syscall-list-includes): Likewise.
16855 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16856 syscall-list-* with abi-*. Handle undefined abi-variants.
16857 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16858 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16859 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16861 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16862 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16863 Removed.
16864 (syscall-list-32-options): Likewise.
16865 (syscall-list-32-condition): Likewise.
16866 (syscall-list-64-options): Likewise.
16867 (syscall-list-64-condition): Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16869 macro.
16870 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16871 Renamed to ...
16872 (abi-*): This.
16873 (abi-64-ld-soname): New macro.
16874 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16875 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16876 Renamed to ...
16877 (abi-*): This.
16878 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16879 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16880
4da0431d
JM
168812012-05-30 Joseph Myers <joseph@codesourcery.com>
16882
3a85279c
JM
16883 * sysdeps/unix/sysv/linux/kernel-features.h
16884 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16885 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16886 include <kernel-features.h>.
16887 [!__NR_ftruncate64]: Remove conditional code.
16888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16889 [__NR_ftruncate64]: Make code unconditional.
16890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16891 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16892 include <kernel-features.h>.
16893 [!__NR_ftruncate64]: Remove conditional code.
16894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16895 [__NR_ftruncate64]: Make code unconditional.
16896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16898 include <kernel-features.h>.
16899 [!__NR_ftruncate64]: Remove conditional code.
16900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16901 [__NR_ftruncate64]: Make code unconditional.
16902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16904 include <kernel-features.h>.
16905 [!__NR_ftruncate64]: Remove conditional code.
16906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16907 [__NR_ftruncate64]: Make code unconditional.
16908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16909
4da0431d
JM
16910 * configure.in (libc_cv_fpie): Weaken to a compile test using
16911 LIBC_TRY_CC_OPTION.
16912 * configure: Regenerated.
16913
11ef492c
AK
169142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16915
16916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16920 Refreshed.
16921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16927 Refreshed.
16928
d66ef399
DM
169292012-05-27 David S. Miller <davem@davemloft.net>
16930
16931 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16932 (___Q_zero): New.
16933 (__Q_simulate_exceptions): Return void. Change to simulate
16934 exceptions by writing into the %fsr.
16935 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16936 (__Qp_handle_exceptions): Likewise.
16937 (numbers): Delete.
16938 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16939 __Qp_handle_exceptions.
16940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16941 __Qp_handle_exceptions.
16942 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16943 as unused and give dummy FP_RND_NEAREST initializer.
16944 (FP_INHIBIT_RESULTS): Define.
16945 (___Q_simulate_exceptions): Update declaration.
16946 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16947 formatting.
16948 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16949 as unused and give dummy FP_RND_NEAREST initializer.
16950 (__Qp_handle_exceptions): Update declaration.
16951 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16952 formatting.
16953
04fb54b5
TS
169542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16955
16956 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16957 the temporary FPU control word.
16958 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16959 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16961 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16962 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16963 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16964 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16965 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16966 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16967 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16968 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16969
3f99608f
KK
169702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16971
16972 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16973 fields.
16974
65a4de4e
CLT
169752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16976
16977 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16978 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16979 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16980 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16981 Likewise.
16982 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16983 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16984 Likewise.
16985
15749d40
UD
169862012-05-27 Ulrich Drepper <drepper@gmail.com>
16987
16988 * po/h.po: Update from translation team.
16989
25dbcb27
AS
169902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16991
3d3f8e55
AS
16992 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16993
25dbcb27
AS
16994 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16995 handling of denormals.
16996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16997 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16998 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16999 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17003 Likewise.
17004
7ad47a80 170052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17006
17007 [BZ #14152]
17008 * math/libm-test.inc (fma_test): Don't always expect underflow
17009 exception.
17010
9c6ea9fa
SP
170112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17012
17013 [BZ #12416]
17014 * elf/tst-execstack.c: Include stackinfo.h.
17015 (do_test): Adjust test case to ensure that pthread_getattr_np
17016 behaviour remains the same after marking stack executable.
17017
a8239222
JM
170182012-05-25 Joseph Myers <joseph@codesourcery.com>
17019
17020 * sysdeps/unix/sysv/linux/kernel-features.h
17021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17023 kernel-features.h.
17024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17026 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17027 kernel-features.h.
17028 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17029 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17030
918b5606
L
170312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17032
17033 * configure.in: Define the default includes to being none.
17034 * configure: Regenerated.
17035
3a097cc7
RM
170362012-05-25 Roland McGrath <roland@hack.frob.com>
17037
8422c9a5
RM
17038 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17039 * sysdeps/x86_64/setjmp.S: Likewise.
17040 * sysdeps/i386/bsd-setjmp.S: Likewise.
17041 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17042 * sysdeps/i386/setjmp.S: Likewise.
17043 * sysdeps/i386/__longjmp.S: Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17045 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17046
3a097cc7
RM
17047 * include/stap-probe.h: New file.
17048 * configure.in: Handle --enable-systemtap.
17049 * configure: Regenerated.
17050 * config.h.in (USE_STAP_PROBE): New #undef.
17051 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17052 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17053 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17054
21708942
JM
170552012-05-25 Joseph Myers <joseph@codesourcery.com>
17056
17057 [BZ #13717]
17058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17059 to 2.4.0 where earlier.
17060 * sysdeps/unix/sysv/linux/configure: Regenerated.
17061 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17062 <kernel-features.h>.
17063 [__ASSUME_32BITUIDS]: Make code unconditional.
17064 [!__ASSUME_32BITUIDS]: Remove conditional code.
17065 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
17070 [__ASSUME_32BITUIDS]: Make code unconditional.
17071 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17072 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17073 <kernel-features.h>.
17074 [__ASSUME_32BITUIDS]: Make code unconditional.
17075 [!__ASSUME_32BITUIDS]: Remove conditional code.
17076 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17077 <kernel-features.h>.
17078 [__ASSUME_32BITUIDS]: Make code unconditional.
17079 [!__ASSUME_32BITUIDS]: Remove conditional code.
17080 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17081 <kernel-features.h>.
17082 [__ASSUME_32BITUIDS]: Make code unconditional.
17083 [!__ASSUME_32BITUIDS]: Remove conditional code.
17084 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17085 <kernel-features.h>.
17086 [__ASSUME_32BITUIDS]: Make code unconditional.
17087 [!__ASSUME_32BITUIDS]: Remove conditional code.
17088 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17089 <kernel-features.h>.
17090 [__ASSUME_32BITUIDS]: Make code unconditional.
17091 [!__ASSUME_32BITUIDS]: Remove conditional code.
17092 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17093 <kernel-features.h>.
17094 [__ASSUME_32BITUIDS]: Make code unconditional.
17095 [!__ASSUME_32BITUIDS]: Remove conditional code.
17096 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17097 <kernel-features.h>.
17098 [__ASSUME_32BITUIDS]: Make code unconditional.
17099 [!__ASSUME_32BITUIDS]: Remove conditional code.
17100 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17101 <kernel-features.h>.
17102 [__ASSUME_32BITUIDS]: Make code unconditional.
17103 [!__ASSUME_32BITUIDS]: Remove conditional code.
17104 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17105 <kernel-features.h>.
17106 [__ASSUME_32BITUIDS]: Make code unconditional.
17107 [!__ASSUME_32BITUIDS]: Remove conditional code.
17108 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17109 <kernel-features.h>.
17110 [__ASSUME_32BITUIDS]: Make code unconditional.
17111 [!__ASSUME_32BITUIDS]: Remove conditional code.
17112 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17113 <kernel-features.h>.
17114 [__NR_setresgid] (__setresgid): Do not declare.
17115 [__ASSUME_32BITUIDS]: Make code unconditional.
17116 [!__ASSUME_32BITUIDS]: Remove conditional code.
17117 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17118 <kernel-features.h>.
17119 [__NR_setresuid] (__setresuid): Do not declare.
17120 [__ASSUME_32BITUIDS]: Make code unconditional.
17121 [!__ASSUME_32BITUIDS]: Remove conditional code.
17122 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17123 <kernel-features.h>.
17124 [__ASSUME_32BITUIDS]: Make code unconditional.
17125 [!__ASSUME_32BITUIDS]: Remove conditional code.
17126 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17127 <kernel-features.h>.
17128 [__ASSUME_32BITUIDS]: Make code unconditional.
17129 [!__ASSUME_32BITUIDS]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17131 <kernel-features.h>.
17132 [__ASSUME_32BITUIDS]: Make code unconditional.
17133 [!__ASSUME_32BITUIDS]: Remove conditional code.
17134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17135 <kernel-features.h>.
17136 [__ASSUME_32BITUIDS]: Make code unconditional.
17137 [!__ASSUME_32BITUIDS]: Remove conditional code.
17138 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17139 <kernel-features.h>.
17140 [__ASSUME_32BITUIDS]: Make code unconditional.
17141 [!__ASSUME_32BITUIDS]: Remove conditional code.
17142 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17143 <kernel-features.h>.
17144 [__ASSUME_32BITUIDS]: Make code unconditional.
17145 [!__ASSUME_32BITUIDS]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17147 <kernel-features.h>.
17148 [__ASSUME_32BITUIDS]: Make code unconditional.
17149 [!__ASSUME_32BITUIDS]: Remove conditional code.
17150 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17151 <kernel-features.h>.
17152 [__ASSUME_32BITUIDS]: Make code unconditional.
17153 [!__ASSUME_32BITUIDS]: Remove conditional code.
17154 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17155 <kernel-features.h>.
17156 [__ASSUME_32BITUIDS]: Make code unconditional.
17157 [!__ASSUME_32BITUIDS]: Remove conditional code.
17158 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17159 <kernel-features.h>.
17160 [__ASSUME_32BITUIDS]: Make code unconditional.
17161 [!__ASSUME_32BITUIDS]: Remove conditional code.
17162 * sysdeps/unix/sysv/linux/kernel-features.h
17163 (__ASSUME_SETRESUID_SYSCALL): Remove.
17164 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17165 (__ASSUME_32BITUIDS): Likewise.
17166 (__ASSUME_LDT_WORKS): Likewise.
17167 (__ASSUME_O_DIRECTORY): Likewise.
17168 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17169 architecture but not kernel version.
17170 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17171 (__ASSUME_MMAP2_SYSCALL): Likewise.
17172 (__ASSUME_STAT64_SYSCALL): Likewise.
17173 (__ASSUME_IPC64): Likewise.
17174 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17175 <kernel-features.h>.
17176 [__ASSUME_32BITUIDS]: Make code unconditional.
17177 [!__ASSUME_32BITUIDS]: Remove conditional code.
17178 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17179 <kernel-features.h>.
17180 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17181 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17182 132096]: Remove conditional code.
17183 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17185 <kernel-features.h>.
17186 [__ASSUME_32BITUIDS]: Make code unconditional.
17187 [!__ASSUME_32BITUIDS]: Remove conditional code.
17188 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17189 <kernel-features.h>.
17190 [__ASSUME_32BITUIDS]: Make code unconditional.
17191 [!__ASSUME_32BITUIDS]: Remove conditional code.
17192 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17193 <kernel-features.h>.
17194 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17195 unconditional.
17196 (__setresgid): Do not declare.
17197 [__ASSUME_32BITUIDS]: Make code unconditional.
17198 [!__ASSUME_32BITUIDS]: Remove conditional code.
17199 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17200 <kernel-features.h>.
17201 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17202 unconditional.
17203 (__setresuid): Do not declare.
17204 [__ASSUME_32BITUIDS]: Make code unconditional.
17205 [!__ASSUME_32BITUIDS]: Remove conditional code.
17206 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17207 <kernel-features.h>.
17208 [__ASSUME_32BITUIDS]: Make code unconditional.
17209 [!__ASSUME_32BITUIDS]: Remove conditional code.
17210 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17211 <kernel-features.h>.
17212 [__ASSUME_32BITUIDS]: Make code unconditional.
17213 [!__ASSUME_32BITUIDS]: Remove conditional code.
17214
a386f1cc
RH
172152012-05-25 Richard Henderson <rth@twiddle.net>
17216
17217 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17218 dl_hwcap to ifunc resolver.
17219 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17220 elf_ifunc_invoke.
17221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17222 dl_hwcap to ifunc resolver.
17223 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17224
b6550497
JM
172252012-05-24 Joseph Myers <joseph@codesourcery.com>
17226
17227 [BZ #14153]
17228 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17229 for |x| <= 2**-26, not 2**-57.
17230 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17231 exception.
17232
b0bc23a1
JL
172332012-05-24 Jeff Law <law@redhat.com>
17234
17235 * stdio-common/Makefile (tests): Add bug25.
17236 * stdio-common/bug25.c: New test.
17237
347c92e9
L
172382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17239
17240 [BZ #13576]
17241 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17242 multiple of MALLOC_ALIGNMENT in size.
17243 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17244
6bcc8b3f
JM
172452012-05-24 Joseph Myers <joseph@codesourcery.com>
17246
17247 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17248 Require >= 256.
17249 (FILENAME_MAX): Use macro-int-constant.
17250 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17251 (_IOFBF): Use macro-int-constant.
17252 (_IOLBF): Likewise.
17253 (_IONBF): Likewise.
17254 (SEEK_CUR): Likewise.
17255 (SEEK_END): Likewise.
17256 (SEEK_SET): Likewise.
17257 (TMP_MAX): Likewise.
17258 (EOF): Use macro-int-constant. Require < 0.
17259 (NULL): Use macro-constant. Require == 0.
17260 (stdin): Require type to be FILE *.
17261 (stdout): Likewise.
17262 (stderr): Likewise.
17263 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17264 macro-int-constant.
17265 (EXIT_SUCCESS): Likewise.
17266 (NULL): Use macro-constant. Require == 0.
17267 (RAND_MAX): Use macro-int-constant.
17268 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17269 [C99-based standards] (strtof): Require function.
17270 [C99-based standards] (strtold): Likewise.
17271 [C99-based standards] (strtoll): Likewise.
17272 [C99-based standards] (strtoull): Likewise.
17273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17274 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17275 [ISO || ISO99 || ISO11] (math.h): Likewise.
17276 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17277 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17279
d18ea0c5
AS
172802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17281
17282 [BZ #14132]
56d25bb8
AS
17283 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17284 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17285 * intl/dgettext.c (DCGETTEXT): Likewise.
17286 * intl/gettext.c (DCGETTEXT): Likewise.
17287 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17288 * posix/regex_internal.h (gettext): Likewise.
17289 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17290 Remove declaration.
17291 * include/argz.h (__argz_count_internal)
17292 (__argz_stringify_internal): Remove declaration.
17293 (__argz_count, __argz_stringify): Declare hidden proto.
17294 * intl/dcgettext.c: Remove use of INTDEF.
17295 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17296 * string/argz-stringify.c: Likewise.
17297 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17298 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17299 Declare hidden proto.
d18ea0c5
AS
17300 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17301 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17302 Declare hidden proto.
17303 * include/stdio.h (__asprintf_internal): Don't declare.
17304 (__asprintf): Don't define as macro. Declare hidden proto.
17305 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17306 (__fsetlocking): Declare hidden proto.
17307 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17308 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17309 hidden proto.
17310 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17311 (_IO_setlinebuf): Remove use of INTUSE.
17312 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17313 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17314 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17315 Remove declaration.
17316 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17317 (_IO_do_flush): Remove use of INTUSE.
17318 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17319 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17320 (_IO_adjust_column, _IO_least_wmarker)
17321 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17322 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17323 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17324 (_IO_default_doallocate, _IO_wdefault_doallocate)
17325 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17326 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17327 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17328 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17329 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17330 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17331 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17332 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17333 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17334 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17335 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17336 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17337 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17338 proto.
17339 (_IO_flush_all_internal, _IO_adjust_column_internal)
17340 (_IO_default_uflow_internal, _IO_default_finish_internal)
17341 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17342 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17343 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17344 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17345 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17346 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17347 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17348 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17349 (_IO_file_close_internal, _IO_file_close_it_internal)
17350 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17351 (_IO_file_init_internal, _IO_file_attach_internal)
17352 (_IO_file_fopen_internal, _IO_file_read_internal)
17353 (_IO_file_sync_internal, _IO_file_seek_internal)
17354 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17355 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17356 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17357 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17358 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17359 (_IO_list_all_internal, _IO_link_in_internal)
17360 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17361 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17362 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17363 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17364 (_IO_do_write_internal, _IO_padn_internal)
17365 (_IO_getline_info_internal, _IO_getline_internal)
17366 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17367 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17368 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17369 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17370 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17371 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17372 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17373 with libc_hidden_ver, remove use of INTUSE.
17374 * libio/genops.c: Likewise.
17375 * libio/freopen.c: Likewise.
17376 * libio/freopen64.c: Likewise.
17377 * libio/iofclose.c: Likewise.
17378 * libio/iofdopen.c: Likewise.
17379 * libio/iofflush.c: Likewise.
17380 * libio/iofflush_u.c: Likewise.
17381 * libio/iofgets.c: Likewise.
17382 * libio/iofgets_u.c: Likewise.
17383 * libio/iofopen.c: Likewise.
17384 * libio/iofopncook.c: Likewise.
17385 * libio/iofread.c: Likewise.
17386 * libio/iofread_u.c: Likewise.
17387 * libio/ioftell.c: Likewise.
17388 * libio/iofwrite.c: Likewise.
17389 * libio/iogetline.c: Likewise.
17390 * libio/iogets.c: Likewise.
17391 * libio/iogetwline.c: Likewise.
17392 * libio/iopadn.c: Likewise.
17393 * libio/iopopen.c: Likewise.
17394 * libio/ioseekoff.c: Likewise.
17395 * libio/ioseekpos.c: Likewise.
17396 * libio/iosetbuffer.c: Likewise.
17397 * libio/iosetvbuf.c: Likewise.
17398 * libio/ioungetc.c: Likewise.
17399 * libio/ioungetwc.c: Likewise.
17400 * libio/iovdprintf.c: Likewise.
17401 * libio/iovsprintf.c: Likewise.
17402 * libio/iovsscanf.c: Likewise.
17403 * libio/memstream.c: Likewise.
17404 * libio/obprintf.c: Likewise.
17405 * libio/oldfileops.c: Likewise.
17406 * libio/oldiofclose.c: Likewise.
17407 * libio/oldiofdopen.c: Likewise.
17408 * libio/oldiofopen.c: Likewise.
17409 * libio/oldiopopen.c: Likewise.
17410 * libio/oldstdfiles.c: Likewise.
17411 * libio/putc.c: Likewise.
17412 * libio/setbuf.c: Likewise.
17413 * libio/setlinebuf.c: Likewise.
17414 * libio/stdfiles.c: Likewise.
17415 * libio/strops.c: Likewise.
17416 * libio/vasprintf.c: Likewise.
17417 * libio/vscanf.c: Likewise.
17418 * libio/vsnprintf.c: Likewise.
17419 * libio/vswprintf.c: Likewise.
17420 * libio/wfiledoalloc.c: Likewise.
17421 * libio/wfileops.c: Likewise.
17422 * libio/wgenops.c: Likewise.
17423 * libio/wmemstream.c: Likewise.
17424 * libio/wstrops.c: Likewise.
17425 * libio/__fpurge.c: Likewise.
17426 * libio/__fsetlocking.c: Likewise.
17427 * assert/assert.c: Likewise.
17428 * debug/fgets_chk.c: Likewise.
17429 * debug/fgets_u_chk.c: Likewise.
17430 * debug/fread_chk.c: Likewise.
17431 * debug/fread_u_chk.c: Likewise.
17432 * debug/gets_chk.c: Likewise.
17433 * debug/obprintf_chk.c: Likewise.
17434 * debug/vasprintf_chk.c: Likewise.
17435 * debug/vdprintf_chk.c: Likewise.
17436 * debug/vsnprintf_chk.c: Likewise.
17437 * debug/vsprintf_chk.c: Likewise.
17438 * malloc/mtrace.c: Likewise.
17439 * misc/error.c: Likewise.
17440 * misc/syslog.c: Likewise.
17441 * stdio-common/asprintf.c: Likewise.
17442 * stdio-common/fxprintf.c: Likewise.
17443 * stdio-common/getw.c: Likewise.
17444 * stdio-common/isoc99_fscanf.c: Likewise.
17445 * stdio-common/isoc99_scanf.c: Likewise.
17446 * stdio-common/isoc99_vfscanf.c: Likewise.
17447 * stdio-common/isoc99_vscanf.c: Likewise.
17448 * stdio-common/isoc99_vsscanf.c: Likewise.
17449 * stdio-common/printf-prs.c: Likewise.
17450 * stdio-common/printf_fp.c: Likewise.
17451 * stdio-common/printf_fphex.c: Likewise.
17452 * stdio-common/printf_size.c: Likewise.
17453 * stdio-common/putw.c: Likewise.
17454 * stdio-common/scanf.c: Likewise.
17455 * stdio-common/sprintf.c: Likewise.
17456 * stdio-common/tmpfile.c: Likewise.
17457 * stdio-common/vfprintf.c: Likewise.
17458 * stdio-common/vfscanf.c: Likewise.
17459 * stdlib/strfmon_l.c: Likewise.
17460 * sunrpc/openchild.c: Likewise.
17461 * sunrpc/xdr_stdio.c: Likewise.
17462 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17463 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17464
d6c33fda
RM
174652012-05-24 Roland McGrath <roland@hack.frob.com>
17466
c1487492
RM
17467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17468
17469 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17470 in the third column, to generate for the shared library an IFUNC
17471 that uses _dl_vdso_vsym.
17472 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17473 * Makeconfig (object-suffixes-noshared): New variable.
17474
17475 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17476 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17477 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17478 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17479
d6c33fda
RM
17480 [BZ #14132]
17481 * include/sys/time.h (__gettimeofday): Remove macro.
17482 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17483 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17484 Remove INTDEF.
17485 (__gettimeofday): Add libc_hidden_def.
17486 (gettimeofday): Add libc_hidden_weak.
17487 * sysdeps/mach/gettimeofday.c: Likewise.
17488 * sysdeps/posix/gettimeofday.c: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17490 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17492 (__gettimeofday_internal): Remove strong_alias.
17493 (__gettimeofday): Add libc_hidden_def.
17494 (gettimeofday): Add libc_hidden_weak.
17495 * sysdeps/unix/syscalls.list (gettimeofday):
17496 Remove __gettimeofday_internal alias.
17497
b5a2bbe6
L
174982012-05-24 Daniel Jacobowitz <drow@false.org>
17499 H.J. Lu <hongjiu.lu@intel.com>
17500
17501 [BZ #12495]
17502 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17503 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17504 (largebin_index_32_big): New.
17505 (largebin_index): Use it for 16-byte alignment.
17506 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17507 correction with front_misalign.
17508
cfba4fda
L
175092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17510
7f907421
L
17511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17513 Likewise.
17514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17515 Likewise.
17516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17517 Likewise.
17518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17519 Likewise.
17520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17521 Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17523 Likewise.
17524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17525 Likewise.
17526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17529 Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17531 Likewise.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17533 Likewise.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17535 Likewise.
17536
cfba4fda
L
17537 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17538 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17539
80bad0cc
JM
175402012-05-24 Joseph Myers <joseph@codesourcery.com>
17541
7a25eb06
JM
17542 [BZ #10846]
17543 [BZ #14036]
17544 * math/libm-test.inc (exp_test): Add test from bug 14036.
17545 (pow_test): Add test from bug 10846.
17546
795405f9
JM
17547 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17548 and other flags.
17549 (special_function): Do not include flags in test name.
17550 (parse_args): Likewise.
17551 * sysdeps/i386/fpu/libm-test-ulps: Update.
17552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556
80bad0cc
JM
17557 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17558 exceptions.
17559 * math/libm-test.inc ("Philosophy"): Update comment about
17560 exception testing.
17561 (UNDERFLOW_EXCEPTION): New macro.
17562 (UNDERFLOW_EXCEPTION_OK): Likewise.
17563 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17564 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17565 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17566 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17567 (INVALID_EXCEPTION_OK): Update value.
17568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17569 (OVERFLOW_EXCEPTION_OK): Likewise.
17570 (IGNORE_ZERO_INF_SIGN): Likewise.
17571 (test_exceptions): Handle underflow exceptions.
17572 (acos_test): Update for underflow exception expectations.
17573 (cexp_test): Likewise.
17574 (clog_test): Likewise.
17575 (clog10_test): Likewise.
17576 (csqrt_test): Likewise.
17577 (ctan_test): Likewise.
17578 (ctanh_test): Likewise.
17579 (exp_test): Likewise.
17580 (exp10_test): Likewise.
17581 (exp2_test): Likewise.
17582 (expm1_test): Likewise.
17583 (fma_test): Likewise.
17584 (j0_test): Likewise.
17585 (jn_test): Likewise.
17586 (nexttoward_test): Likewise.
17587 (pow_test): Likewise.
17588 (scalbn_test): Likewise.
17589 (scalbln_test): Likewise.
17590 (tan_test): Likewise.
17591 (y1_test): Likewise.
17592 * sysdeps/i386/fpu/libm-test-ulps: Update.
17593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17594
9e0e3d0b
DM
175952012-05-23 David S. Miller <davem@davemloft.net>
17596
17597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17598 (__libc_sigaction): Remove unused local variables.
17599
ccd0a08f
L
176002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17603
62bdf9a6
PE
176042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17605
f8591f80
PE
17606 mktime: avoid signed integer overflow
17607 * time/mktime.c (__mktime_internal): Do not mishandle the case
17608 where diff == INT_MIN.
17609
94c7d826
PE
17610 mktime: simplify computation of average
17611 * time/mktime.c (ranged_convert): Use new time_t_avg function
17612 instead of rolling our own (probably-slower) code.
17613
ce73d683
PE
17614 mktime: do not assume signed right shift propagates sign bit
17615 * time/mktime.c (isdst_differ): New static function.
17616 (__mktime_internal): No need to normalize tm_isdst now.
17617 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17618 tm_isdst values.
17619
72a22e59
PE
17620 mktime: merge another wrapv change from gnulib
17621 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17622 from some compilers.
17623
68605433
PE
17624 mktime: remove incorrect attempt at unusual arithmetics
17625 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17626 The code didn't really work on such machines anyway.
17627 (TYPE_MINIMUM): Assume two's complement.
17628 (twos_complement_arithmetic): Verify that long_int and time_t
17629 are two's complement (or unsigned, in the latter case).
17630
03cf7fe3
PE
17631 mktime: check signed shifts on long_int and time_t, too
17632 * time/mktime.c (SHR): Check that shifts work as desired
17633 on the types long_int and time_t too, as SHR is used on
17634 such types.
17635
f04dfbc2
PE
17636 mktime: do not assume 'long' is wide enough
17637 * time/mktime.c (verify): Move decl up.
17638 (long_int): New type.
17639 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17640 to remove assumption in the code that 'long' is wide enough to
17641 store year values. This assumption is not true on x32 and on
17642 some non-glibc platforms.
17643
62bdf9a6
PE
17644 mktime: merge wrapv change from gnulib
17645 * time/mktime.c (WRAPV): New macro.
17646 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17647 (guess_time_tm, __mktime_internal): Do not assume that signed
17648 integer overflow wraps around; modern compilers generate code
17649 where this assumption is no longer valid.
17650
5e292e4f
L
176512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17654 Replace "jmp L(pseudo_end)" with "ret".
17655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17656 Likewise.
17657
8caf8c87
AJ
176582012-05-23 Andreas Jaeger <aj@suse.de>
17659
17660 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17661 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17662
1a09dc56
AJ
176632012-05-23 Andreas Jaeger <aj@suse.de>
17664 Maximilian Attems <max@stro.at>
17665
17666 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17667 New macros.
17668
1c87aba0
L
176692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17670
17671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17672 code so that pseudo_end is just ret and the stack pointer is
17673 correct also for static library in error case.
17674
40e45bd5
JM
176752012-05-23 Joseph Myers <joseph@codesourcery.com>
17676
c2670533
JM
17677 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17678 move to syscalls.list.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17683
40e45bd5
JM
17684 * manual/install.texi (Running make install): Do not mention Linux
17685 kernel version for which pt_chown is not needed.
17686 (Linux): Do not mention problems with nscd with 2.0 kernels.
17687 * INSTALL: Regenerated.
17688
be08eda5
AJ
176892012-05-23 Andreas Jaeger <aj@suse.de>
17690
17691 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17692 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17693 macro.
17694 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17696 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17698 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17704 * sysdeps/unix/sysv/linux/bits/in.h
17705 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17706
a6a056bb
RM
177072012-05-22 Roland McGrath <roland@hack.frob.com>
17708
17709 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17710 (PREPARE_VERSION): Just use assert instead, it will be elided
17711 under [NDEBUG] anyway.
17712
c9009328
L
177132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17714
17715 * sysdeps/unix/sysv/linux/Makefile: Include
17716 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17717 (sysdep_routines): Remove sysctl.
c9009328
L
17718 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17719 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17722 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17723
73338355
AJ
177242012-05-22 Andreas Jaeger <aj@suse.de>
17725
17726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17727 that pseudo_end is just ret and the stack pointer is correct also
17728 for static library in error case.
17729
d44638b0
PP
177302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17731
17732 [BZ #14122]
17733 * nss/nsswitch.c (defconfig_entries): New variable.
17734 (__nss_database_lookup): Don't leak defconfig entries.
17735 (nss_parse_service_list): Don't leak on error paths.
17736 (free_database_entries): New function.
17737 (free_defconfig): New function.
17738 (free_mem): Move common code to free_database_entries.
17739
31a39bd8
L
177402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17741
da0331a8
L
17742 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17743 Add arch_prctl.
17744 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17745
31a39bd8
L
17746 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17747 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17749 New macro.
17750 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17751 (INTERNAL_SYSCALL_TYPES): Likewise.
17752 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17753 (LOAD_REGS_TYPES_[1-6]): Likewise.
17754 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17755 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17756
45470df3
AZ
177572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17758
17759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17760 copysignl for GLIBC_2_0.
17761 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17762 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17764 logbl for GLIBC_2_0.
17765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17766 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17767
98a61bcb
L
177682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17769
a4f6e481
L
17770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17772
f63d5db6
L
17773 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17774 Use "neg %eax".
17775
98a61bcb
L
17776 * time/mktime.c: Update copyright years.
17777
95770f14
PE
177782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17779
6226efbd
PE
17780 mktime: merge comment-quoting-style change from gnulib
17781 * time/mktime.c: Quote 'like this' in comments.
17782 The GNU coding standards suggest that we no longer quote `like this',
17783 as "`" and "'" are typically rendered asymmetrically nowadays.
17784 The typical gnulib style is to quote 'like this' when quoting
17785 code, and "like this" when quoting English.
17786
b99e4f78
PE
17787 * time/mktime.c (compile-command): Add "-I.".
17788
643e01e6
PE
17789 mktime: merge mktime-internal.h change from gnulib
17790 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17791
2554247d
PE
17792 mktime: merge time_r change from gnulib
17793 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17794
826dd0ab
PE
17795 mktime: merge DEBUG change from gnulib
17796 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17797 case system <time.h> has a #define.
17798
bd83aabe
PE
17799 mktime: merge <sys/types.h> change from gnulib
17800 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17801 since <time.t> is now guaranteed to define time_t.
17802
95770f14
PE
17803 mktime: merge HAVE_CONFIG_H change from gnulib
17804 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17805
5e1a27a9
L
178062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17807
0e44a77e
L
17808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17809 Use "neg %eax".
17810
5e1a27a9
L
17811 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17812 __rlim_t cast.
17813 (struct rusage): Use anonymous union to pad each field to
17814 __syscall_slong_t.
17815
46259bec
DM
178162012-05-21 David S. Miller <davem@davemloft.net>
17817
17818 * Makefules (o-iterator): Remove .s cases.
17819 (compile-command.s): Delete.
17820 (COMPILE.s): Delete.
17821 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17822
59f0c22e
JM
178232012-05-21 Joseph Myers <joseph@codesourcery.com>
17824
17825 * configure.in (libc_cv_predef_stack_protector): Only consider
17826 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17827 * configure: Regenerated.
17828
20c07380
L
178292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17830
bbb3154b
L
17831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17832 New macro. Use R*LP on int and pointer.
17833 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17834 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17835 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17836 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17837
20c07380
L
17838 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17839 [__WORDSIZE_TIME64_COMPAT32] instead of
17840 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17841 (struct utmp): Likewise.
17842 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17843 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17844 Renamed to ...
17845 (__WORDSIZE_TIME64_COMPAT32): This.
17846 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17847 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17848 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17850 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17851 (__WORDSIZE_TIME64_COMPAT32): New macro.
17852
d8d1017e
AJ
178532012-05-21 Andreas Jaeger <aj@suse.de>
17854
17855 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17856 only if [SHARED]. Add prototype for __wcschr_ia32.
17857
6c7fb145
RM
178582012-05-21 Roland McGrath <roland@hack.frob.com>
17859
17860 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17861 of %rbp unmolested in the jmp_buf while mangling the low bits.
17862 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17863 unmolested high bits of %rbp while demangling the low bits.
17864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17865
66274218
AJ
178662012-05-21 Andreas Jaeger <aj@suse.de>
17867
07c58f8f
AJ
17868 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17869 * sunrpc/svc_simple.c: Use it for registerrpc.
17870 * sunrpc/xcrypt.c: Use it for passwd2des.
17871
66274218
AJ
17872 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17873
61f65140
L
178742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17877 Don't define if [__SYSCALL_WORDSIZE != 32].
17878 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17879 New macro.
17880
5fefb436
AJ
178812012-05-21 Bruno Haible <bruno@clisp.org>
17882 Andreas Jaeger <aj@suse.de>
17883
17884 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17885 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17886 inptr and inend for must_buffer_ch.
17887 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17888 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17889 * stdio-common/Makefile (tests): Remove bug15.
17890 (bug15-ENV): Remove macro.
17891 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17892 anymore.
17893
d8e272ab
AJ
178942012-05-19 Andreas Jaeger <aj@suse.de>
17895 Roland McGrath <roland@hack.frob.com>
17896
17897 * manual/contrib.texi: Completely rewritten. It contains now an
17898 alphabetical list of contributors and their contributions.
17899
4a56a162
RH
179002012-05-21 Richard Henderson <rth@twiddle.net>
17901
17902 * misc/getauxval.c (__getauxval): Use unsigned long int.
17903 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17904 (getauxval): Use unsigned long int.
17905
d024d23c
L
179062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17907
17908 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17909
cbc00a03
RM
179102012-05-21 Roland McGrath <roland@hack.frob.com>
17911
17912 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17913 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17914 __alignof__ (long double).
17915
478143fa
AZ
179162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17917
17918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17919
c7683a6d
RH
179202012-05-20 Richard Henderson <rth@twiddle.net>
17921
17922 * misc/getauxval.c: New file.
17923 * misc/sys/auxv.h: New file.
17924 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17925 (routines): Add getauxval.
17926 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17927 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17928 * elf/dl-sysdep.c (_dl_auxv): Remove.
17929 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17930 * elf/dl-support.c (_dl_auxv): New variable.
17931 (_dl_aux_init): Initialize it.
17932 * manual/startup.texi (Auxiliary Vector): New node.
17933 * sysdeps/generic/bits/hwcap.h: New file.
17934 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17935 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17936 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17937 * sysdeps/sparc/sysdep.h: ... here. Include it.
17938 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17939 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17941 Update.
c7683a6d
RH
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17950
a6f1845d
AZ
179512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17952
17953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17954
cbcbe830
DM
179552012-05-19 David S. Miller <davem@davemloft.net>
17956
17957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17958
e0b16cc2
JM
179592012-05-19 Joseph Myers <joseph@codesourcery.com>
17960
17961 [BZ #14123]
17962 * math/s_ccosh.c: Include <float.h>
17963 (__ccosh): Avoid internal overflow calculating sinh and cosh
17964 values before multiplying by sin and cos values.
17965 * math/s_ccoshf.c: Likewise.
17966 * math/s_ccoshl.c: Likewise.
17967 * math/s_csin.c: Likewise.
17968 * math/s_csinf.c: Likewise.
17969 * math/s_csinl.c: Likewise.
17970 * math/s_csinh.c: Likewise.
17971 * math/s_csinhf.c: Likewise.
17972 * math/s_csinhl.c: Likewise.
17973 * math/libm-test.inc (ccos_test): Add more tests.
17974 (ccosh_test): Likewise.
17975 (csin_test): Likewise.
17976 (csinh_test): Likewise.
17977 * sysdeps/i386/fpu/libm-test-ulps: Update.
17978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17979
6ad13e08
L
179802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17981
f66f0ce8
L
17982 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17983 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17984
6ad13e08
L
17985 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17986
b1d072a7
JM
179872012-05-19 Joseph Myers <joseph@codesourcery.com>
17988
17989 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17990 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17991 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17992 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17993 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17994 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17995 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17996 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17997 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17998 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17999 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18000 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18001 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18002 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18003 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18004 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18005 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18006 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18007 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18008 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18009 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18010 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18011 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18012 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18013 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18014 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18015 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18016 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18017 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18018 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18019 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18020
9eae47cb
AJ
180212012-05-18 Andreas Jaeger <aj@suse.de>
18022
18023 * csu/.gitignore: Delete.
18024
bb07f69f
L
180252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18028 (timex): Use __syscall_slong_t.
18029
e6bdb741
AJ
180302012-05-18 Andreas Jaeger <aj@suse.de>
18031 Carlos O'Donell <carlos_odonell@mentor.com>
18032
18033 * manual/install.texi (Configuring and compiling): Update
18034 description about files modified in the source directory.
d6c33fda 18035 * INSTALL: Regenerated.
e6bdb741 18036
1b74487e
L
180372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18038
18039 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18040 value. Use "or" to set return value to -1.
18041 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18042 negate return value.
18043
a88b64b9
TMQMF
180442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18045
18046 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18047 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18048 failure if the compiler has Graphite support disabled.
18049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18050 Likewise.
18051 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18052 CFLAGS-memmove.c): Likewise.
18053 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18054 Likewise.
18055
3707636e
L
180562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18057
610b8622
L
18058 * sysdeps/x86_64/x32/_itoa.h: New file.
18059
7cd195df
L
18060 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18061 getdents system call only if kernel and user dirents have the
18062 same d_ino and d_off.
18063
94b07d20
L
18064 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18065 LLONG_MAX != LONG_MAX.
18066 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18067 (_fitoa_word): Likewise.
18068
18298070
L
18069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18070 years.
18071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18072 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18074
553c7ea4
L
18075 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18076 include <bits/wordsize.h>. Check __x86_64__ instead of
18077 __WORDSIZE.
18078 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18079 if __x86_64__ is defined. Use anonymous union on fpstate.
18080
3707636e
L
18081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18082 anonymous union.
18083
b53ef01a
AS
180842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18085
37fb1dc0
AS
18086 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18087 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18088 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18089 Refer to _rtld_local_ro instead of _rtld_global_ro.
18090 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18091 Likewise.
18092 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18093 Likewise.
18094 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18095 Likewise.
18096 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18097 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18098 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18099
b53ef01a
AS
18100 * sysdeps/powerpc/powerpc32/dl-machine.c
18101 (__elf_machine_runtime_setup) [PROF]: Don't reference
18102 _dl_prof_resolve.
18103
7a185db2
AJ
181042012-05-18 Andreas Jaeger <aj@suse.de>
18105
18106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18107 function only available for GCCs before 3.4 since GCC 3.4
18108 introduced a builtin.
18109 (lrint): Likewise.
18110 (llrintf): Likewise.
18111 (llrint): Likewise.
18112 (fmaxf): Likewise.
18113 (fmax): Likewise.
18114 (fminf): Likewise.
18115 (fmin): Likewise.
18116 (rint): Likewise.
18117 (rintf): Likewise.
18118 (nearbyint): Likewise.
18119 (nearbyintf): Likewise.
18120 (ceil): Likewise.
18121 (ceilf): Likewise.
18122 (floor): Likewise.
18123 (floorf): Likewise.
18124
3e5aef87
L
181252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18126
428bd707
L
18127 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18128 on both fields and cast pointer to __syscall_ulong_t.
18129
3e5aef87
L
18130 * bits/types.h (__fsword_t): New type.
18131 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18132 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18134 (__FSWORD_T_TYPE): Likewise.
18135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18136 (__FSWORD_T_TYPE): Likewise.
18137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18138 (__FSWORD_T_TYPE): Likewise.
18139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18140 (__FSWORD_T_TYPE): Likewise.
18141 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18142 __SWORD_TYPE with __fsword_t.
18143 (statfs64): Likewise.
18144
1ba7c3dc
DM
181452012-05-17 David S. Miller <davem@davemloft.net>
18146
18147 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18148
59910343
AJ
181492012-05-17 Andreas Jaeger <aj@suse.de>
18150
18151 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18152 warning.
18153
2e4c1e9e
L
181542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18157
de7f5ce7
AJ
181582012-05-17 Andreas Jaeger <aj@suse.de>
18159
18160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18161 when it is used.
18162
286abc3d
CM
181632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18164
18165 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18166
477cc68e
L
181672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18168
18169 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18170 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18171
1a0994f5
CD
181722012-05-17 Andreas Jaeger <aj@suse.de>
18173 Carlos O'Donell <carlos_odonell@mentor.com>
18174
18175 [BZ #14059]
18176 * sysdeps/x86_64/multiarch/init-arch.h
18177 (bit_YMM_Usable): Rename to...
18178 (bit_AVX_Usable): ... this.
18179 (bit_FMA4_Usable): New macro.
18180 (bit_XMM_state): New macro.
18181 (bit_YMM_state): New macro.
18182 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18183 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18184 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18185 (CPUID_OSXSAVE): New macro.
18186 (CPUID_AVX): New macro.
18187 (CPUID_FMA4): New macro.
18188 (index_YMM_Usable): Rename to...
18189 (index_AVX_Usable): ... this.
18190 (HAS_AVX): Use HAS_ARCH_FEATURE.
18191 (HAS_FMA4): Likewise.
18192 (HAS_YMM_USABLE): Remove.
18193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18194 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18195 are present.
18196 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18197 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18198 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18199 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18200 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18201
0af797de
CM
182022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18203
18204 * math/libm-test.c: Support platforms without multiple rounding modes.
18205 * math/bug-nextafter.c: Support platforms without FP exceptions.
18206 * math/bug-nexttoward.c: Likewise.
18207 * math/test-fenv.c: Likewise.
18208 * math/test-misc.c: Likewise.
18209 * stdlib/bug-getcontext.c: Likewise.
18210
e39745ff
AJ
182112012-05-17 Andreas Jaeger <aj@suse.de>
18212
18213 * manual/examples/search.c (critter_cmp): Change signature to
18214 avoid warnings.
18215 * manual/string.texi (Collation Functions): Likewise.
18216
48970aba
L
182172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18218
18219 * bits/types.h: Fold copyright years.
18220 * bits/typesizes.h: Likewise.
18221 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18225 * time/time.h: Likewise.
18226
bedee953
PP
182272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18228
18229 [BZ #208]
18230 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18231 in instead of returning them. Return void.
18232 (__libc_mallinfo): Accumulate over all arenas.
18233 (__malloc_stats): Adjust for change in int_mallinfo interface.
18234
61653dfb
RM
182352012-05-16 Roland McGrath <roland@hack.frob.com>
18236
30b99d79
RM
18237 [BZ #10375]
18238 * configure.in (NM): Add AC_CHECK_TOOL for it.
18239 (libc_extra_cflags): New substituted variable.
18240 Check for -fstack-protector being used implicitly.
18241 * configure: Regenerated.
18242 * config.make.in (config-extra-cflags): New variable,
18243 gets @libc_extra_cflags@.
18244 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18245
61653dfb
RM
18246 [BZ #10375]
18247 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18248 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18249 * configure: Regenerated.
18250 * config.make.in (CPPUNDEFS): New substituted variable.
18251 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18252 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18253 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18254
661768bb
L
182552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18258 (mq_attr): Use __syscall_slong_t.
18259
d4261567
L
182602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18261
18262 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18263 Check __x86_64__ instead of __WORDSIZE.
18264 (_STAT_VER_LINUX): Likewise.
18265 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18266 __syscall_ulong_t and __syscall_slong_t.
18267 (stat64): Likewise.
18268
cf3ff365
L
182692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18270
18271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18272
76cf3e4d
L
182732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18274
18275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18276
a637753a
L
182772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18278
18279 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18280 __syscall_ulong_t.
18281
d5e05119
L
18282 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18283 include <bits/wordsize.h>. Check __x86_64__ instead of
18284 __WORDSIZE.
18285 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18286 defined.
18287 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18288
f62ee380
L
18289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18290 include <bits/wordsize.h>. Check __x86_64__ instead of
18291 __WORDSIZE.
18292 (user_regs_struct): Use "__extension__ unsigned long long"
18293 instead of "unsigned long" if __x86_64__ is defined.
18294 (user): Likewise. Pad after pointer field if __ILP32__ is
18295 defined.
18296
4e124ced
JM
182972012-05-16 Joseph Myers <joseph@codesourcery.com>
18298
6a3951a0
JM
18299 * configure.in (makeinfo): Require version 4.5 or later. Allow
18300 versions 5 to 9.
18301 * configure: Regenerated.
18302 * manual/install.texi (texinfo): Increase version requirement to
18303 4.5 or later.
18304 * INSTALL: Regenerated.
18305
4e124ced
JM
18306 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18307
953ca31a
L
183082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18309
18310 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18311
617aca05
L
18312 * sysdeps/x86_64/x32/ffs.c: New file.
18313
5762f7ae
L
18314 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18315 __syscall_ulong_t.
18316 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18317 defined. Use __syscall_ulong_t.
18318 (shminfo): Use __syscall_ulong_t.
18319 (shm_info): Likewise.
18320
a26b6856
L
18321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18322 __syscall_ulong_t.
18323
cb2b9ef7
L
18324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18325 <bits/wordsize.h>.
18326 (msgqnum_t): Use __syscall_ulong_t.
18327 (msglen_t): Likewise.
18328 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18329 __syscall_ulong_t.
18330
34683bb0
L
18331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18333
84a68786
L
18334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18335
48baa5f1
L
18336 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18337 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18338
180be88b
L
18339 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18340 __syscall_slong_t.
18341
5e90c8ad
L
18342 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18343 include <bits/wordsize.h>. Check __x86_64__ instead of
18344 __WORDSIZE.
18345
23dfb58b
L
18346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18347 "unsigned long long int" if __x86_64__ is defined.
18348 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18349
ce5d54b0
L
18350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18352 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18353
13dc9eac
L
18354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18355 <stdint.h>.
18356 (GET_PC): Cast to uintptr_t first.
18357 (GET_FRAME): Likewise.
18358 (GET_STACK): Likewise.
18359
a7895d15
L
18360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18361 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18368 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18389
656416c9
AS
183902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18391
5bd66283
AS
18392 * Makerules (+depfiles): Also collect depfiles from .oS in
18393 $(extra-objs).
18394 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18395 .oS, $(libnldbl-routines)).
18396
656416c9
AS
18397 * Makerules (native-compile-mkdep-flags): Define.
18398 * sunrpc/Makefile (extra-objs): Add $(addprefix
18399 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18400 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18401 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18402 calling $(make-target-directory).
18403
a46f2169
L
184042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 * bits/types.h (__snseconds_t): Removed.
18407 * time/time.h (struct timespec): Replace __snseconds_t with
18408 __syscall_slong_t.
18409 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18410 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18411 Likewise.
18412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18413 (__SNSECONDS_T_TYPE): Likewise.
18414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18415 (__SNSECONDS_T_TYPE): Likewise.
18416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18417 (__SNSECONDS_T_TYPE): Likewise.
18418
6af6528b
L
184192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18420
18421 * sysdeps/mach/hurd/bits/typesizes.h
18422 (__SYSCALL_SLONG_TYPE): New macro.
18423 (__SYSCALL_ULONG_TYPE): Likewise.
18424
de986b56
L
184252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18426
18427 * bits/types.h (__syscall_slong_t): New type.
18428 (__syscall_ulong_t): Likewise.
18429
18430 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18431 (__SYSCALL_ULONG_TYPE): Likewise.
18432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18433 (__SYSCALL_SLONG_TYPE): Likewise.
18434 (__SYSCALL_ULONG_TYPE): Likewise.
18435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18436 (__SYSCALL_SLONG_TYPE): Likewise.
18437 (__SYSCALL_ULONG_TYPE): Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18439 (__SYSCALL_SLONG_TYPE): Likewise.
18440 (__SYSCALL_ULONG_TYPE): Likewise.
18441
85736dc7
L
184422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18443
18444 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18445 Add sigaltstack-offsets.sym.
18446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18447 <sigaltstack-offsets.h>.
18448 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18449 longjmp_msg pointer.
18450 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18451 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18452 signal stack.
18453 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18454
cc03b296
JM
184552012-05-15 Joseph Myers <joseph@codesourcery.com>
18456
a9538892
JM
18457 * elf/stackguard-macros.h: Remove file.
18458 * sysdeps/generic/stackguard-macros.h: New file.
18459 * sysdeps/i386/stackguard-macros.h: Likewise.
18460 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18461 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18462 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18463 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18464 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18465 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18466 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18467 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18468 <elf/stackguard-macros.h>.
18469
cc03b296
JM
18470 [BZ #14109]
18471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18472 __aligned__ in attribute.
18473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18474 (gregset_t): Likewise.
18475
93171016
L
184762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18479 * sysdeps/x86_64/64/Implies-after: Here. New file.
18480 * sysdeps/x86_64/x32/Implies-after: New file.
18481
d86813a0
L
184822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18483
18484 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18485 and access return value for _dl_profile_fixup. Use R10_LP to
18486 load frame size.
18487
2953ec75
L
184882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18491
3b550e9e
L
184922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18493
18494 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18495 * sysdeps/x86_64/x32/sysdep.h: New file.
18496
eda41706
L
184972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18500 * sysdeps/x86_64/setjmp.S: Likewise.
18501
9ea01d93
AZ
185022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18503
18504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18506 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18508 remove unused global constant.
18509
02a91938
CM
185102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18511
18512 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18513 include of <not-cancel.h>.
18514
6540185f
RM
185152012-05-15 Roland McGrath <roland@hack.frob.com>
18516
18517 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18518
509072a0
AJ
185192012-05-15 Jeff Law <law@redhat.com>
18520 Andreas Jaeger <aj@suse.de>
18521
18522 [BZ #13594]
18523 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18524 out from...
18525 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18526 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18528 code changing __hst_map_handle.map.
18529
ba75122d
RM
185302012-05-15 Roland McGrath <roland@hack.frob.com>
18531
18532 * configure.in (sysnames): Look for Implies-before and Implies-after
18533 files.
18534 * configure: Regenerated.
18535
890d8bd8
L
185362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18537
18538 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18539 8-byte data alignment with LP_SIZE alignment.
18540
f6ee6623
L
185412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18544 into R10_LP.
18545
ea2626f6
L
185462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18547
18548 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18549
085f715e
L
185502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18551
18552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18555 Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18557
be8498fc
L
185582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18561 (stackinfo_sub_sp): Likewise.
18562
70bc83b9
L
185632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18564
18565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18566 RAX_LP.
18567
9bc0b730
L
185682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18571 into R*_LP.
18572
6d2850e7
L
185732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18574
18575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18576 sizes into R*_LP.
18577
3cb84561
L
185782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18581
54e2ed81
L
185822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18583
18584 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18585 into R11_LP and load __x86_64_shared_cache_size_half into
18586 R8_LP.
18587
8a17f349
L
185882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18591 R8_LP.
18592
777b1eea
AZ
185932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18594
18595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18596 logb for POWER7.
18597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18598 logbf for POWER7.
18599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18600 logbl for POWER7.
18601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18602 powerpc32/power7/fpu/s_logb.c via #include.
18603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18604 powerpc32/power7/fpu/s_logbf.c via #include.
18605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18606 powerpc32/power7/fpu/s_logbl.c via #include.
18607
d20d4ac2
JM
186082012-05-15 Joseph Myers <joseph@codesourcery.com>
18609
18610 * README.libm: Remove file.
18611
6cdef1ab
L
186122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18613
18614 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18615 count for x32. Use R*_LP and omit operand-size suffix.
18616
0b254d8f
L
186172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18618
18619 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18620 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18621 * sysdeps/x86_64/x32/shlib-versions: New file.
18622
ceb809dc
RM
186232012-05-14 Roland McGrath <roland@hack.frob.com>
18624
18625 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18626 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18627 Use _dl_fatal_printf instead.
18628
37f1abd4
JM
186292012-05-14 Joseph Myers <joseph@codesourcery.com>
18630
18631 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18632 set if not set by the user. Do not allow for being unset.
18633 * sysdeps/unix/sysv/linux/configure: Regenerated.
18634
11de3a33
L
186352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18636
18637 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18638 the `q' suffix from lea and replace .quad with ASM_ADDR.
18639
e02f153a
L
186402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18643 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18644 instead of $17.
18645 (PTR_DEMANGLE): Likewise.
18646
520ae0fd
L
186472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18648
18649 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18650 (LP_OP): Likewise.
18651 (ASM_ADDR): Likewise.
18652 (RAX_LP): Likewise.
18653 (RBP_LP): Likewise.
18654 (RBX_LP): Likewise.
18655 (RCX_LP): Likewise.
18656 (RDI_LP): Likewise.
18657 (RSI_LP): Likewise.
18658 (RSP_LP): Likewise.
18659 (R8_LP): Likewise.
18660 (R9_LP): Likewise.
18661 (R10_LP): Likewise.
18662 (R10_LP): Likewise.
18663 (R11_LP): Likewise.
18664 (R12_LP): Likewise.
18665 (R13_LP): Likewise.
18666 (R14_LP): Likewise.
18667 (R15_LP): Likewise.
18668
b985be81
L
186692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18670
18671 * sysdeps/x86_64/x32/dl-machine.h: New file.
18672
6a4888ff
AJ
186732012-05-14 Andreas Jaeger <aj@suse.de>
18674
18675 * manual/Makefile (subdir): Remove export of subdir.
18676 (all): Remove target.
18677 (.PHONY): Remove all from list.
18678 (mkinstalldirs): Remove.
18679 (.PHONY): Remove installdirs from list.
18680 ($(inst_infodir)/libc.info): Use make-target-directory.
18681 (installdirs): Remove.
18682 (subdir_%): Remove.
18683 (glibc-targets): Remove.
18684 (lib): Remove.
18685 (stubs): Remove.
18686 ($(objpfx)stubs ../po/manual.pot): Remove.
18687 ($(objpfx)stamp%): Remove.
18688 (make-target-directory): Remove.
18689 (subdir_install): Remove.
18690 (routines): Remove.
18691 (aux): Remove.
18692 (sources): Remove.
18693 (objects): Remove.
18694 (headers): Remove.
18695
18696 [BZ #13750]
18697 * manual/.gitignore: Remove, it's not needed anymore.
18698 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18699 all files in it.
18700 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18701 directory.
18702 (texis): Renamed to $(objpfx)texis.
18703 (texis-path): New, contains path to generated files.
18704 (chapters.%): Use texis-path for complete path, add extra argument
18705 libc-texinfo.sh.
18706 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18707 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18708 (summary,texi, stamp-summary): Use complete path of
18709 files. Generate files in build dir.
18710 (dir-add.texi): Build in build dir.
18711 (libm-err.texi,stamp-libm-err): Likewise.
18712 (version.texi, stamp-version): Likewise.
18713 (.%c.texi): Likewise.
18714 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18715 (mostlyclean): Remove target.
18716 (realclean): Remove target.
18717 (generated): Add new variable with contents from mostlyclean and
18718 realclean, remove entries duplicated in common-mostlyclean, add
18719 stamp-libm-err and stamp-version.
18720 (generated-dirs): Add libc directory.
18721 ($(inst_infodir)/libc.info): Install files from build dir.
18722
18723 * manual/install.texi (Configuring and compiling): Adjust since
18724 the info files are not part of the tar ball anymore.
18725
7ac77294
AJ
187262012-05-14 Andreas Jaeger <aj@suse.de>
18727
18728 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18729 variable.
18730
ffb7875d
JM
187312012-05-14 Joseph Myers <joseph@codesourcery.com>
18732
18733 [BZ #13717]
18734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18735 to 2.2.0 where earlier.
18736 * sysdeps/unix/sysv/linux/configure: Regenerated.
18737 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18738 Remove conditional code.
18739 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18740 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18741 Remove conditional code.
18742 [!__NR_lchown]: Likewise.
18743 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18744 [__NR_lchown]: Likewise.
18745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18746 comment referencing __ASSUME_LCHOWN_SYSCALL.
18747 * sysdeps/unix/sysv/linux/i386/sigaction.c
18748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18750 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18751 Remove conditional code.
18752 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18753 (__protocol_available): Remove #if 0 code.
18754 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18755 conditional code.
18756 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18757 * sysdeps/unix/sysv/linux/kernel-features.h
18758 (__ASSUME_GETCWD_SYSCALL): Don't define.
18759 (__ASSUME_REALTIME_SIGNALS): Likewise.
18760 (__ASSUME_PREAD_SYSCALL): Likewise.
18761 (__ASSUME_PWRITE_SYSCALL): Likewise.
18762 (__ASSUME_POLL_SYSCALL): Likewise.
18763 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18764 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18765 non-SPARC.
18766 (__ASSUME_SIOCGIFNAME): Don't define.
18767 (__ASSUME_MSG_NOSIGNAL): Likewise.
18768 (__ASSUME_SENDFILE): Define unconditionally.
18769 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18770 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18771 conditional code.
18772 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18773 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18775 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18778 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18803 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18804 Remove conditional code.
18805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18806 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18807 Remove conditional code.
18808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18809 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18810 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18811 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18812 Remove conditional code.
18813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18814 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18815 Remove conditional code.
18816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18817 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18818 Remove conditional code.
18819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18820 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18821 Remove conditional code.
18822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18823 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18824 Remove conditional code.
18825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18826 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18829 * sysdeps/unix/sysv/linux/sigaction.c
18830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18832 * sysdeps/unix/sysv/linux/sigpending.c
18833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18835 * sysdeps/unix/sysv/linux/sigprocmask.c
18836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18838 * sysdeps/unix/sysv/linux/sigsuspend.c
18839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18842 (__libc_missing_rt_sigs): Remove.
18843 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18844 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18845 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18846 Remove conditional code.
18847 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18848 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18849 return 1.
18850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18851 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18852 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18854
1bfb7291
AJ
188552012-05-14 Andreas Jaeger <aj@suse.de>
18856
caae5a81
AJ
18857 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18858 it's not used in glibc.
18859 (__coshm1): Likewise.
18860 (__acosh1p): Likewise.
18861 (__sgn): Likewise.
18862
1bfb7291
AJ
18863 * manual/string.texi (Copying and Concatenation): Add missing
18864 variable in concat example.
18865 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18866
c044d724
L
188672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18868
144c5467 18869 [BZ #14103]
c044d724
L
18870 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18871 __builtin_clzl with __builtin_clzll.
18872
2523c62b
L
188732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18874
18875 [BZ #14104]
18876 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18877 libc_freeres_ptr.
18878
d7bb4c42
LD
188792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18880
18881 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18882 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18883 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18884 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18885
9dc4e1fb
MF
188862012-05-14 Mike Frysinger <vapier@gentoo.org>
18887
18888 * NEWS: Update ia64 info.
18889
c7df0112
AS
188902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18891
18892 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18893 used as bcopy.
18894
dc70356c
TS
188952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18896
18897 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18898 * sysdeps/unix/syscalls.list (dup3): Likewise.
18899 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18900 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18901
9fb1a21f
L
189022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18903
18904 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18905 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18906
4822a2a5
L
189072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18908
18909 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18910 thread pointer.
18911 (TLS_IE): Use mov/add instead of movq/addq to load thread
18912 pointer.
18913 (TLS_GD_PREFIX): New.
18914 (TLS_GD): Use it.
18915
842b81d6
DM
189162012-05-11 David S. Miller <davem@davemloft.net>
18917
18918 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18919 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18920 (_FPU_SETCW): Likewise.
18921
1cf463cd
L
189222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18923
18924 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18925 is 32-byte aligned.
18926
60cc4a18
AS
189272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18928
18929 [BZ #11837]
18930 * iconvdata/gb18030.c: Update tables.
18931 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18932 characters specially.
18933 (BODY for TO_LOOP): Add encoding of missing ranges.
18934
febb44a4
TS
189352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18936
18937 [BZ #13673]
18938 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18939 * sysdeps/mach/hurd/dup3.c: Likewise.
18940 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18941 * sysdeps/powerpc/memmove.c:: Likewise.
18942
0a10fb9e
L
189432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18946 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18947
df8a552f
L
189482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 * elf/elf.h (R_X86_64_RELATIVE64): New.
18951 (R_X86_64_NUM): Updated.
18952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18953 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18954 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18955 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18956 tst-quad1pie tst-quad2pie
18957 (modules-names): Add tst-quadmod1 tst-quadmod2.
18958 ($(objpfx)tst-quad1): New dependency.
18959 ($(objpfx)tst-quad2): Likewise.
18960 ($(objpfx)tst-quad1pie): Likewise.
18961 ($(objpfx)tst-quad2pie): Likewise.
18962 * sysdeps/x86_64/tst-quad1.c: New file.
18963 * sysdeps/x86_64/tst-quad1pie.c: New file.
18964 * sysdeps/x86_64/tst-quad2.c: Likewise.
18965 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18966 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18967 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18968 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18969 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18970
f34d6f84
ST
189712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18972
f42d41d1
ST
18973 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18974 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18975 * streams/stropts.h (t_scalar_t): Define type.
18976
3c3571fc
ST
18977 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18978 (_PATH_PRESERVE): Set to "/var/lib".
18979 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18980
61f06bd3
ST
18981 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18982 instead of int.
18983
918d4d71
ST
18984 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18985 if __dir_mkfile succeeded.
18986
f34d6f84
ST
18987 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18988 checking for _hurd_dtablesize. Unlock it right after having
18989 finished _hurd_dtable allocation.
18990
10589b4a
TS
189912012-05-10 Thomas Schwinge <thomas@schwinge.name>
18992
674cdbc7
TS
18993 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18994 * sysdeps/mach/hurd/configure: Regenerated.
18995 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18996 special-casing to...
18997 * sysdeps/gnu/configure.in: ... this new file.
18998 * sysdeps/unix/sysv/linux/configure: Regenerated.
18999 * sysdeps/gnu/configure: New generated file.
19000
8e41b99f
TS
19001 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19002 for Linux: use nsec instead of usec, as well as:
19003 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19004 members of type struct timespec.
19005 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19006 New macros.
19007 (struct stat64): Likewise.
19008 (_STATBUF_ST_NSEC): New macro.
19009 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19010
10589b4a
TS
19011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19012 __strtoul_internal rather than strtoul.
19013
63643c85
PT
190142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19015
19016 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19017 and reject them.
19018
3faebe6a
ST
190192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19020
19021 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19022 which preserves existing values.
19023 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19024
c6474b07
PT
190252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19026
19027 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19028 TIMEOUT values. Return EINVAL for NFDS values either negative or
19029 greater than FD_SETSIZE.
19030
1043890b
ST
190312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19032
19033 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19034 allocated, call __vm_protect to finish enabling the existing space, and
19035 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19036 allocate the remainder.
19037
37ed8b9b
PT
190382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19039
19040 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19041 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19042
db653660
ST
190432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19044
37ed8b9b
PT
19045 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19046 sysdeps/mach/hurd/readlink.c.
b29d4053 19047
db653660
ST
19048 * posix/tst-sysconf.c (posix_options): Only use
19049 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19050 _POSIX_SYNCHRONIZED_IO when they are defined
19051 * sysdeps/mach/hurd/bits/posix_opt.h:
19052 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19053 (_XOPEN_REALTIME): Undefine macro.
19054 (_XOPEN_REALTIME_THREADS): Undefine macro.
19055 (_XOPEN_SHM): Undefine macro.
19056 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19057 macro to -1.
19058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19059 macro to -1.
19060 (_POSIX_ASYNC_IO): Undefine macro.
19061 (_POSIX_PRIORITIZED_IO): Undefine macro.
19062 (_POSIX_SPIN_LOCKS): Define macro to -1.
19063
ee16e894
ST
19064 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19065 SA_NODEFER, SA_RESETHAND.
19066 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19067 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19068 F_DUPFD_CLOEXEC.
19069
6103ae3b
TS
190702012-05-10 Thomas Schwinge <thomas@schwinge.name>
19071
19072 * elf/Makefile (pldd-modules): Define unconditionally.
19073
80b4e5f3
TS
190742012-05-10 Thomas Schwinge <thomas@schwinge.name>
19075
19076 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19077
edadcbd6
ST
190782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19079
19080 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19081 Return ENOENT when name is empty.
19082 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19083
80694780
TS
190842012-05-10 Thomas Schwinge <thomas@schwinge.name>
19085
1792c087
TS
19086 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19087
80694780
TS
19088 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19089
6b645f0d
ST
190902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19091
80694780
TS
19092 Fix mlock in all cases except non-readable pages.
19093 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19094 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19095
6b645f0d
ST
19096 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19097 (__mkdir): When path is `/', just fail with EEXIST.
19098 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19099
e468f8a3
TS
191002012-05-10 Thomas Schwinge <thomas@schwinge.name>
19101
19102 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19103 <sys/uio.h> (for writev).
19104 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19105 and <sys/param.h> (for MIN).
19106
a4186cff
PT
191072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19108
19109 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19110 REQUESTED_TIME. Properly set the remaining time and return EINTR
19111 if interrupted.
19112
510bbf14
TS
191132012-05-10 Thomas Schwinge <thomas@schwinge.name>
19114
19115 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19116 Depend on against $(link-rpcuserlibs).
19117
5d5722e8
ST
191182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19119
a4186cff
PT
19120 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19121 (__libc_stack_end): Do not use attribute_relro.
19122 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19123 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19124 to libthread-provided value.
a4186cff
PT
19125 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19126 attribute_relro.
5d5722e8 19127
37233df9
TS
191282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19129
be971a2b
TS
19130 [BZ #3748]
19131 * bits/libc-lock.h (__libc_once_get): New macro.
19132 * sysdeps/mach/bits/libc-lock.h: Likewise.
19133 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19135 instead of using implementation details.
19136
37233df9
TS
19137 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19138 * libio/freopen.c: Likewise.
19139 * libio/freopen64.c: Likewise.
19140 * misc/syslog.c: Likewise.
19141 * nscd/connections.c: Likewise.
19142 * nscd/netgroupcache.c: Likewise.
19143 * sysdeps/posix/getcwd.c: Likewise.
19144
38de94a5
RM
191452012-05-10 Roland McGrath <roland@hack.frob.com>
19146
19147 * math/w_ilogbf.c: Add #include <limits.h>.
19148
67530489
ST
191492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19150
a4186cff 19151 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19152 path instead of returning without unlocking.
19153
67530489
ST
19154 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19155 immediate-write ioctls.
19156 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19157
5aa3a74a
TS
191582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19159
18bad2ae
TS
19160 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19161 __builtin_frame_address instead of making assumptions about the
19162 location of the return address relative to DATA. Force early load of
19163 the return address.
19164 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19165 __builtin_frame_address.
19166
5aa3a74a
TS
19167 dup3 for GNU Hurd.
19168 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19169 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19170 implement dup3 and do some further code clean-ups.
19171 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19172 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19173
ecd0de9a
ST
191742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19175
cd9fa985
ST
19176 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19177
a4186cff
PT
19178 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19179 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19180 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19181 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19182 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19183 d->port.lock.
802ca5a5 19184
a4186cff
PT
19185 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19186 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19187 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19188
bcf55240
TS
191892012-05-10 Thomas Schwinge <thomas@schwinge.name>
19190
6960eb42
TS
19191 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19192 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19193 definitions.
19194
eb43375f
TS
19195 accept4 for GNU Hurd.
19196 * include/sys/socket.h (__libc_accept4): New prototype.
19197 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19198 to implement __libc_accept4.
19199 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19200 __libc_accept4.
19201 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19202
bcf55240
TS
19203 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19204 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19205 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19206 signal-defines.sym.
19207
6178c55b
ST
192082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19209
a4186cff 19210 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19211
6f080c2f
TS
192122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19213
19214 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19215 assertion on O_CLOEXEC flag.
19216 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19217 * hurd/intern-fd.c: Likewise.
19218 * hurd/port2fd.c: Likewise.
19219
bcfe3a54
ST
192202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19221
19222 [BZ #3906]
19223 * bits/in.h (IPV6_PKTINFO): Define new macro.
19224 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19225
89c9aa49
AZ
192262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19227
19228 [BZ #13954]
19229 [BZ #13955]
19230 [BZ #13956]
19231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19233 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19234 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19237 * math/libm-test.inc (logb_test) : Additional logb tests.
19238
021db4be
AJ
192392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19240 Andreas Jaeger <aj@suse.de>
19241
19242 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19243 * configure: Regenerated.
19244 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19245 * config.make.in (link-obsolete-rpc): New substituted variable.
19246 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19247 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19248 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19249 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19250 so that libc.a contains the symbols.
19251 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19252 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19253 * sunrpc/auth_none.c: Likewise.
19254 * sunrpc/auth_unix.c: Likewise.
19255 * sunrpc/authdes_prot.c: Likewise.
19256 * sunrpc/authuxprot.c: Likewise.
19257 * sunrpc/clnt_gen.c: Likewise.
19258 * sunrpc/clnt_perr.c: Likewise.
19259 * sunrpc/clnt_raw.c: Likewise.
19260 * sunrpc/clnt_simp.c: Likewise.
19261 * sunrpc/clnt_tcp.c: Likewise.
19262 * sunrpc/clnt_udp.c: Likewise.
19263 * sunrpc/clnt_unix.c: Likewise.
19264 * sunrpc/des_crypt.c: Likewise.
19265 * sunrpc/des_soft.c: Likewise.
19266 * sunrpc/get_myaddr.c: Likewise.
19267 * sunrpc/key_call.c: Likewise.
19268 * sunrpc/key_prot.c: Likewise.
19269 * sunrpc/netname.c: Likewise.
19270 * sunrpc/pm_getmaps.c: Likewise.
19271 * sunrpc/pm_getport.c: Likewise.
19272 * sunrpc/pmap_clnt.c: Likewise.
19273 * sunrpc/pmap_prot.c: Likewise.
19274 * sunrpc/pmap_prot2.c: Likewise.
19275 * sunrpc/pmap_rmt.c: Likewise.
19276 * sunrpc/publickey.c: Likewise.
19277 * sunrpc/rpc_cmsg.c: Likewise.
19278 * sunrpc/rpc_common.c: Likewise.
19279 * sunrpc/rpc_dtable.c: Likewise.
19280 * sunrpc/rpc_prot.c: Likewise.
19281 * sunrpc/rpc_thread.c: Likewise.
19282 * sunrpc/rtime.c: Likewise.
19283 * sunrpc/svc.c: Likewise.
19284 * sunrpc/svc_auth.c: Likewise.
19285 * sunrpc/svc_raw.c: Likewise.
19286 * sunrpc/svc_run.c: Likewise.
19287 * sunrpc/svc_tcp.c: Likewise.
19288 * sunrpc/svc_udp.c: Likewise.
19289 * sunrpc/svc_unix.c: Likewise.
19290 * sunrpc/svcauth_des.c: Likewise.
19291 * sunrpc/xcrypt.c: Likewise.
19292 * sunrpc/xdr.c: Likewise.
19293 * sunrpc/xdr_array.c: Likewise.
19294 * sunrpc/xdr_float.c: Likewise.
19295 * sunrpc/xdr_intXX_t.c: Likewise.
19296 * sunrpc/xdr_mem.c: Likewise.
19297 * sunrpc/xdr_rec.c: Likewise.
19298 * sunrpc/xdr_ref.c: Likewise.
19299 * sunrpc/xdr_sizeof.c: Likewise.
19300 * sunrpc/xdr_stdio.c: Likewise.
19301
b5c086a2
RM
193022012-05-10 Roland McGrath <roland@hack.frob.com>
19303
19304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19305 change. Update copyright years.
19306
6d74dd09
JM
193072012-05-10 Joseph Myers <joseph@codesourcery.com>
19308
19309 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19310
28e72501
MK
193112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19312 Joseph Myers <joseph@codesourcery.com>
19313 Paul Pluzhnikov <ppluzhnikov@google.com>
19314
19315 [BZ #14012]
19316 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19317 requiring rpcgen.
19318 [cross-compiling] (extra-libs): Likewise.
19319 [cross-compiling] (extra-libs-others): Likewise.
19320 [cross-compiling] (librpcsvc-routines): Likewise.
19321 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19322 [cross-compiling] (omit-deps): Likewise.
19323 (sunrpc-CPPFLAGS): New variable.
19324 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19325 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19326 (cross-rpcgen-objs): New variable.
19327 (extra-objs): Append $(cross-rpcgen-objs).
19328 ($(cross-rpcgen-objs)): New rule.
19329 ($(objpfx)cross-rpcgen): Likewise.
19330 (rpcgen-cmd): Define to use $(built-program-file). Expand
19331 comment.
19332 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19333 ($(objpfx)x%.stmp): Likewise.
19334 * sunrpc/proto.h [IS_IN_build] (_): Define.
19335 [IS_IN_build] (_libc_intl_domainname): Likewise.
19336
c8c59454
L
193372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19340 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19341 and R_X86_64_TPOFF64.
19342
6f27cd16
JM
193432012-05-10 Joseph Myers <joseph@codesourcery.com>
19344
19345 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19346 sysdeps/unix/sysv/syscalls.list.
19347 (stime): Likewise.
19348 (utime): Likewise.
19349 * sysdeps/unix/sysv/syscalls.list: Remove file.
19350
02467e1c
PE
193512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19352
19353 [BZ #3440]
19354 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19355 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19356 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19357 (__LC_IDENTIFICATION): Make these macros useful in #if
19358 expressions, as required by C99.
19359
da392631
AS
193602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19361
19362 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19363 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19364 after this.
19365
8115f29b
L
193662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19367
19368 * stdlib/longlong.h: Updated from GCC.
19369
bdd74070
AJ
193702012-05-09 Andreas Jaeger <aj@suse.de>
19371
edfe0dbe
AJ
19372 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19373 default is first entry.
19374 (run_mode): Set type.
19375 (main): Remove informal message about syslog.
19376 (options): Fix typo.
19377
bcfe3a54
ST
19378 [BZ #14053]
19379 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19380 to asm.
bcfe3a54
ST
19381 (lrint): Likewise.
19382 (llrintf): Likewise.
19383 (llrint): Likewise.
19384 (rint): Likewise.
19385 (rintf): Likewise.
19386 (nearbyint): Likewise.
19387 (nearbyintf): Likewise.
bdd74070 19388
91d8d69e
AJ
193892012-05-09 Andreas Jaeger <aj@suse.de>
19390 Pedro Alves <palves@redhat.com>
19391
19392 * nscd/nscd.c (run_mode): Use enum.
19393 (main): Cleanup coding style issue.
19394
bb90b80b
AJ
193952012-05-09 Alexandre Oliva <aoliva@redhat.com>
19396 Andreas Jaeger <aj@suse.de>
19397
bcfe3a54
ST
19398 * nscd/nscd.c (go_background): Replaced with...
19399 (run_mode): ... this.
bb90b80b 19400 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19401 (options): Add -F --foreground.
19402 (main): Implement it.
19403 (parse_opt): Parse it.
bb90b80b 19404
1a4b75a1
AJ
194052012-05-09 Andreas Jaeger <aj@suse.de>
19406
19407 [BZ #14083]
19408 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19409 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19410 -Wconversion warning.
19411 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19412 Likewise.
19413
b1cc2472
JM
194142012-05-09 Joseph Myers <joseph@codesourcery.com>
19415
19416 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19417 == 0.
19418 (LC_ALL): Use macro-int-constant.
19419 (LC_COLLATE): Likewise.
19420 (LC_CTYPE): Likewise.
19421 (LC_MESSAGES): Likewise.
19422 (LC_MONETARY): Likewise.
19423 (LC_NUMERIC): Likewise.
19424 (LC_TIME): Likewise.
19425 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19426 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19428 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19429 Specify type.
19430 [C99-based standards] (float_t): Expect type.
19431 [C99-based standards] (double_t): Expect type.
19432 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19433 type.
19434 [C99-based standards] (HUGE_VALL): Likewise.
19435 [C99-based standards] (INFINITY): Likewise.
19436 [C99-based standards] (NAN): Likewise.
19437 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19438 [C99-based standards] (FP_NAN): Likewise.
19439 [C99-based standards] (FP_NORMAL): Likewise.
19440 [C99-based standards] (FP_SUBNORMAL): Likewise.
19441 [C99-based standards] (FP_ZERO): Likewise.
19442 [C99-based standards] (FP_FAST_FMA): Use
19443 optional-macro-int-constant. Specify type. Require == 1.
19444 [C99-based standards] (FP_FAST_FMAF): Likewise.
19445 [C99-based standards] (FP_FAST_FMAL): Likewise.
19446 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19447 [C99-based standards] (FP_ILOGBNAN): Likewise.
19448 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19449 Specify type.
19450 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19451 [C99-based standards] (math_errhandling): Specify type.
19452 [ISO99 || ISO11] (signgam): Do not allow.
19453 [non-C99-based standards] (copysignf): Do not allow.
19454 [non-C99-based standards] (exp2f): Likewise.
19455 [non-C99-based standards] (log2f): Likewise.
19456 [non-C99-based standards] (modff): Allow.
19457 [non-C99-based standards] (erff): Do not allow.
19458 [non-C99-based standards] (erfcf): Likewise.
19459 [non-C99-based standards] (gammaf): Likewise.
19460 [non-C99-based standards] (hypotf): Likewise.
19461 [non-C99-based standards] (j0f): Likewise.
19462 [non-C99-based standards] (j1f): Likewise.
19463 [non-C99-based standards] (jnf): Likewise.
19464 [non-C99-based standards] (lgammaf): Likewise.
19465 [non-C99-based standards] (tgammaf): Likewise.
19466 [non-C99-based standards] (y0f): Likewise.
19467 [non-C99-based standards] (y1f): Likewise.
19468 [non-C99-based standards] (ynf): Likewise.
19469 [non-C99-based standards] (isnanf): Likewise.
19470 [non-C99-based standards] (acoshf): Likewise.
19471 [non-C99-based standards] (asinhf): Likewise.
19472 [non-C99-based standards] (atanhf): Likewise.
19473 [non-C99-based standards] (cbrtf): Likewise.
19474 [non-C99-based standards] (expm1f): Likewise.
19475 [non-C99-based standards] (ilogbf): Likewise.
19476 [non-C99-based standards] (log1pf): Likewise.
19477 [non-C99-based standards] (logbf): Likewise.
19478 [non-C99-based standards] (nextafterf): Likewise.
19479 [non-C99-based standards] (remainderf): Likewise.
19480 [non-C99-based standards] (rintf): Likewise.
19481 [non-C99-based standards] (scalbf): Likewise.
19482 [non-C99-based standards] (copysignl): Likewise.
19483 [non-C99-based standards] (exp2l): Likewise.
19484 [non-C99-based standards] (log2l): Likewise.
19485 [non-C99-based standards] (modfl): Allow.
19486 [non-C99-based standards] (erfl): Do not allow.
19487 [non-C99-based standards] (erfcl): Likewise.
19488 [non-C99-based standards] (gammal): Likewise.
19489 [non-C99-based standards] (hypotl): Likewise.
19490 [non-C99-based standards] (j0l): Likewise.
19491 [non-C99-based standards] (j1l): Likewise.
19492 [non-C99-based standards] (jnl): Likewise.
19493 [non-C99-based standards] (lgammal): Likewise.
19494 [non-C99-based standards] (tgammal): Likewise.
19495 [non-C99-based standards] (y0l): Likewise.
19496 [non-C99-based standards] (y1l): Likewise.
19497 [non-C99-based standards] (ynl): Likewise.
19498 [non-C99-based standards] (isnanl): Likewise.
19499 [non-C99-based standards] (acoshl): Likewise.
19500 [non-C99-based standards] (asinhl): Likewise.
19501 [non-C99-based standards] (atanhl): Likewise.
19502 [non-C99-based standards] (cbrtl): Likewise.
19503 [non-C99-based standards] (expm1l): Likewise.
19504 [non-C99-based standards] (ilogbl): Likewise.
19505 [non-C99-based standards] (log1pl): Likewise.
19506 [non-C99-based standards] (logbl): Likewise.
19507 [non-C99-based standards] (nextafterl): Likewise.
19508 [non-C99-based standards] (remainderl): Likewise.
19509 [non-C99-based standards] (rintl): Likewise.
19510 [non-C99-based standards] (scalbl): Likewise.
19511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19512 [non-C99-based standards] (FP_*): Do not allow.
19513 [C99-based standards] (FP_*): Change to
19514 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19515 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19516 allow.
19517 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19518 (SIG_ERR): Likewise.
19519 [X/Open-based standards] (SIG_HOLD): Likewise.
19520 (SIG_IGN): Likewise.
19521 (SIGABRT): Use macro-int-constant. Specify type. Require
19522 positive value.
19523 (SIGFPE): Likewise.
19524 (SIGILL): Likewise.
19525 (SIGINT): Likewise.
19526 (SIGSEGV): Likewise.
19527 (SIGTER): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19546 [X/Open-based standards] (SIGTRAP): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19551 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19552 allow.
19553
b9f1922d
IW
195542012-05-08 Ian Wienand <ianw@vmware.com>
19555
19556 [BZ #14080]
19557 * time/tzset.c (__tzset_parse_tz): Update default rules for
19558 daylight time changes in the Energy Policy Act of 2005.
19559
1db86e88
AJ
195602012-05-09 Andreas Jaeger <aj@suse.de>
19561
19562 [BZ #13983]
19563 * elf/ldconfig.c (parse_conf): Change string to make clear that
19564 ldconfig only issued a warning if ld.so.conf does not exist.
19565
dee4a4e3
DM
195662012-05-08 David S. Miller <davem@davemloft.net>
19567
ee0db190
DM
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19569 movxtod instead of popping the value on the stack.
19570
dee4a4e3
DM
19571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19572
6a43ec98
CD
195732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19574
19575 * config.h.in: Add HAVE_ARM_PCS_VFP.
19576
05c2c961
RMG
195772012-05-08 Roland Mc Grath <roland@hack.frob.com>
19578
bcfe3a54
ST
19579 [BZ #13979]
19580 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19581 checking but the checks are disabled for any reason.
05c2c961 19582
4b30f61a
L
195832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19584
19585 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19586 and ELF64_R_TYPE with ELFW(R_TYPE).
19587
eee2bc67
JM
195882012-05-08 Joseph Myers <joseph@codesourcery.com>
19589
7ea5391a
JM
19590 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19591 (ulimit): Likewise.
19592
eee2bc67
JM
19593 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19594 (settimeofday): Likewise.
19595
abb66a67
MF
195962012-05-08 Mike Frysinger <vapier@gentoo.org>
19597
19598 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19599 a struct th_u2 inside the union, and move tu_block/tu_code into
19600 a new th_u3 union of tu_block/tu_code inside of that. Move
19601 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19602 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19603 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19604 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19605 (th_stuff): Change to th_u1.tu_stuff.
19606 (th_data): Define.
19607 (th_msg): Change to th_u1.th_u2.tu_data.
19608
7f18b530
DM
196092012-05-07 David S. Miller <davem@davemloft.net>
19610
05760585
DM
19611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612
7f18b530
DM
19613 [BZ #14074]
19614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19615 (SETUP_PIC_REG): Use it.
19616 (SETUP_PIC_REG_LEAF): Use it.
19617
495fd99f
JM
196182012-05-07 Joseph Myers <joseph@codesourcery.com>
19619
19620 [BZ #13885]
19621 [BZ #13923]
19622 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19628 e_expl.S.
19629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19630 USE_AS_EXPM1L.
19631 (EXPL_FINITE): Likewise.
19632 (FLDLOG): Likewise.
19633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19634 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19635 e_expl.S.
19636 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19637 test of -max_value argument for long double.
19638 * sysdeps/i386/fpu/libm-test-ulps: Update.
19639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19640
6693d694
DM
196412012-05-06 David S. Miller <davem@davemloft.net>
19642
19643 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19644 quad soft-float symbols whose references which are compiler
19645 generated.
19646 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19647
6c23e11c
JM
196482012-05-06 Joseph Myers <joseph@codesourcery.com>
19649
d8b82cad
JM
19650 [BZ #13884]
19651 [BZ #13914]
19652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19653 USE_AS_EXP10L.
19654 (EXPL_FINITE): Likewise.
19655 (FLDLOG): Likewise.
19656 (c0): Likewise.
19657 (c1): Likewise.
19658 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19659 Adjust comments for base varying.
19660 (__expl_finite): Change alias to EXPL_FINITE.
19661 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19662 e_expl.S.
19663 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19664 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19665 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19666 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19668 USE_AS_EXP10L.
19669 (EXPL_FINITE): Likewise.
19670 (FLDLOG): Likewise.
19671 (c0): Likewise.
19672 (c1): Likewise.
19673 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19674 Adjust comments for base varying.
19675 (__expl_finite): Change alias to EXPL_FINITE.
19676 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19677 tests for bugs.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19679
6c23e11c
JM
19680 [BZ #14064]
19681 * math/libm-test.inc (check_float_internal): Correct ulp
19682 calculation for subnormal expected results.
19683
29ba805c
AJ
196842012-05-06 Andreas Jaeger <aj@suse.de>
19685
19686 * Makeconfig (+math-flags): New, set to -frounding-math.
19687 (+cflags): Add +math-flags so that all of glibc gets compiled with
19688 it.
19689
19690 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19691
7b17aeda
JM
196922012-05-05 Joseph Myers <joseph@codesourcery.com>
19693
5779f134
JM
19694 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19695 Disable one test.
19696
41498f4d
JM
19697 [BZ #13787]
19698 [BZ #13922]
19699 [BZ #14036]
19700 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19701 (__ieee754_expl): Allow for and saturate large arguments.
19702 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19703 (u_threshold): Likewise.
19704 (__exp): Call __ieee754_exp before checking for overflow and
19705 underflow.
19706 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19707 (u_threshold): Likewise.
19708 (__expf): Call __ieee754_expf before checking for overflow and
19709 underflow.
19710 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19711 (u_threshold): Likewise.
19712 (__expl): Call __ieee754_expl before checking for overflow and
19713 underflow.
19714 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19715 (__ieee754_expl): Allow for and saturate large arguments.
19716 * math/libm-test.inc (exp_test): Add another test. Do not allow
19717 missing overflow exception on overflow.
19718 (expm1_test): Do not allow missing overflow exception on overflow.
19719
6698b8bf
JM
19720 * sysdeps/i386/fpu/e_expl.c: Move to ...
19721 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19722 rather than using inline asm.
19723 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19724 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19725 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19726
7b17aeda
JM
19727 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19728 (nice): Likewise.
19729 (poll): Likewise.
19730 (signal): Likewise.
19731 (time): Likewise.
19732 (times): Likewise.
19733
f7c85819
JM
197342012-05-04 Joseph Myers <joseph@codesourcery.com>
19735
19736 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19737 sysdeps/unix/common/syscalls.list.
19738 (fchmod): Likewise.
19739 (fchown): Likewise.
19740 (ftruncate): Likewise.
19741 (getrusage): Likewise.
19742 (gettimeofday): Likewise.
19743 (setpgid): Likewise.
19744 (setregid): Likewise.
19745 (setreuid): Likewise.
19746 (sigaction): Likewise.
19747 (truncate): Likewise.
19748 (vhangup): Likewise.
19749 * sysdeps/unix/common/syscalls.list: Remove file.
19750 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19751 * sysdeps/unix/sysv/linux/Implies: Likewise.
19752
336270d0
L
197532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19757 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19758 Moved to ...
19759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19760 Here.
19761 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19762 to ...
19763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19764 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19765 to ...
19766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19767 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19768 to ...
19769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19770 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19771 to ...
19772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19774 to ...
19775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19777 to ...
19778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19780 to ...
19781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19782 Here.
19783 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19784 to ...
19785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19786 Here.
19787 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19788 to ...
19789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19790 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19791 Moved to ...
19792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19793 Here.
19794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19795 to ...
19796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19797
d128e450
JM
197982012-05-04 Joseph Myers <joseph@codesourcery.com>
19799
fa8ee516
JM
19800 * sysdeps/unix/common/bits/dirent.h: Remove file.
19801 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19802
d128e450
JM
19803 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19804 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19805 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19806 * sysdeps/unix/bsd/isatty.c: Likewise.
19807 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19808 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19809 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19810
ff8faaf0 198112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19812
62881be4 19813 [BZ #13563]
31dc8730
AZ
19814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19815 long double comparison inaccuracies.
19816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19818
6fef930c
AS
198192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19820
19821 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19823
8f203e6c
JM
198242012-05-04 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #14049]
19827 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19828 nonzero digits before rounding a hex value.
19829 * stdlib/tst-strtod.c (tests): Add another test.
19830
5197d9c2
AK
198312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19832
19833 * sysdeps/s390/fpu/libm-test-ulps: Update.
19834
f0c1dedf
AJ
198352012-05-03 Andreas Jaeger <aj@suse.de>
19836
19837 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19838 does not get optimized out.
19839 (malloc_opt_barrier): New.
19840
a65ef2ae 198412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19842 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19843
2b942cb7 19844 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19845 intermediate file deletion.
2b942cb7 19846 (generated): Add .symlist files.
a65ef2ae 19847
54b71e02
JM
198482012-05-03 Joseph Myers <joseph@codesourcery.com>
19849
19850 [BZ #13775]
19851 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19852 Redirect under this condition.
19853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19854 [__USE_GNU] (__dprintf_chk): Not under this condition.
19855 [__USE_GNU] (__vdprintf_chk): Likewise.
19856 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19857 under this condition.
19858 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19859 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19860 [__USE_XOPEN2K8] (vdprintf): Likewise.
19861 [__USE_GNU] (__dprintf_chk): Not under this condition.
19862 [__USE_GNU] (__vdprintf_chk): Likewise.
19863 [__USE_GNU] (dprintf): Likewise.
19864 [__USE_GNU] (vdprintf): Likewise.
19865
d3dfcc41
RM
198662012-05-03 Roland McGrath <roland@hack.frob.com>
19867
19868 * elf/Makefile (common-generated): Set this instead of generated for
19869 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19870 $(all-built-dso)-derived lists.
19871
7ac30cc5
AJ
198722012-05-03 Andreas Jaeger <aj@suse.de>
19873
0c51e550
AJ
19874 * sysdeps/i386/fpu/libm-test-ulps: Update.
19875
7ac30cc5
AJ
19876 * FAQ: Removed.
19877 * FAQ.in: Likewise.
19878 * scripts/gen-FAQ.pl: Likewise.
19879 * manual/install.texi (Installation): Point to online location of
19880 FAQ.
19881 * Makefile (files-for-dist): Remove FAQ.
19882 (FAQ): Remove.
19883
d4c2917f
AM
198842012-05-02 Allan McRae <allan@archlinux.org>
19885
19886 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19887 (LDFLAGS-reldepmod5.so): Likewise.
19888 (LDFLAGS-reldep6mod1.so): Likewise.
19889 (LDFLAGS-reldep6mod4.so): Likewise.
19890 (LDFLAGS-reldep8mod3.so): Likewise.
19891 (LDFLAGS-unload4mod1.so): Likewise.
19892 (LDFLAGS-unload4mod2.so): Likewise.
19893 (LDFLAGS-tst-initorder): Likewise.
19894 (LDFLAGS-tst-initordera2.so): Likewise.
19895 (LDFLAGS-tst-initordera3.so): Likewise.
19896 (LDFLAGS-tst-initordera4.so): Likewise.
19897 (LDFLAGS-tst-initorderb2.so): Likewise.
19898 (LDFLAGS-noload): Likewise.
19899 (LDFLAGS-next): Likewise.
19900 (LDFLAGS-order2mod1.so): Likewise.
19901 (LDFLAGS-order2mod2.so): Likewise.
19902 (LDFLAGS-tst-initorder2): Likewise.
19903 (LDFLAGS-tst-initorder2a.so): Likewise.
19904 (LDFLAGS-tst-initorder2b.so): Likewise.
19905 (LDFLAGS-tst-initorder2c.so): Likewise.
19906 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19907
d77f993f
DM
199082012-05-02 David S. Miller <davem@davemloft.net>
19909
19910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19911
171a70b4
PP
199122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19913
19914 [BZ #14055]
19915 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19916
0be196ad
AJ
199172012-05-02 Andreas Jaeger <aj@suse.de>
19918
19919 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19920 since we manipulate rounding mode.
19921 (CPPFLAGS-test-idouble.c): Likewise.
19922 (CPPFLAGS-test-ifloat.c): Likewise.
19923 (CFLAGS-test-ldouble.c): Likewise.
19924 (CFLAGS-test-double.c): Likewise.
19925 (CFLAGS-test-float.c): Likewise.
19926 (CFLAGS-test-misc.c): Likewise.
19927 (CFLAGS-test-test-fenv.c): Likewise.
19928
4f9d04aa
AZ
199292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19930
2b942cb7
RM
19931 [BZ #2550]
19932 [BZ #2570]
19933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19934 comparisons to determine direction to adjust input.
4f9d04aa 19935
82a79e7d
RM
199362012-05-01 Roland McGrath <roland@hack.frob.com>
19937
f5a01ca9
RM
19938 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19939 output to the target.
19940
90fe4186
RM
19941 * scripts/localplt.awk: New file.
19942 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19943 (check-localplt-CFLAGS): Variable removed.
19944 ($(all-built-dso:=.jmprel)): New static pattern rule.
19945 (generated): Add those targets.
19946 (localplt-built-dso): New variable.
19947 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19948
19949 * elf/check-localplt.c: File removed.
19950
82397ed6
RM
19951 * scripts/check-execstack.awk: New file.
19952 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19953 (check-execstack-CFLAGS): Variable removed.
19954 ($(objpfx)check-execstack.h): Target removed.
19955 ($(objpfx)execstack-default): New target.
19956 (generated): Add that instead of check-execstack.h.
19957 ($(all-built-dso:=.phdr)): New static pattern rule.
19958 (generated): Add those targets.
19959 * elf/check-execstack.c: File removed.
19960
82a79e7d
RM
19961 * scripts/check-textrel.awk: New file.
19962 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19963 (check-textrel-CFLAGS): Variable removed.
19964 (all-built-dso): Use := to define.o
19965 ($(all-built-dso:=.dyn)): New static pattern rule.
19966 (generated): Add those targets.
19967 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19968 * config.make.in (READELF): New substituted variable.
19969 * elf/check-textrel.c: File removed.
19970
62fde54f 199712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19972
615605c9
JM
19973 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19974 allow.
19975 * conform/data/ctype.h-data [C99-based standards] (isblank):
19976 Expect function.
19977 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19978 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19980 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19981 Specify type. Require positive value.
19982 (EILSEQ): Likewise.
19983 (ERANGE): Likewise.
19984 [ISO || POSIX] (EILSEQ): Do not expect.
19985 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19986 Specify type. Require positive value.
19987 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19988 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19990 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19991 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19996 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19997 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20001 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20002 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20003 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20004 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20005 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20006 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20007 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20010 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20012 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20061 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20062 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20063 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20064 Require >= 2.
20065 (FLT_ROUNDS): Expect as macro, not constant.
20066 (FLT_MANT_DIG): Use macro-int-constant.
20067 (DBL_MANT_DIG): Likewise.
20068 (LDBL_MANT_DIG): Likewise.
20069 (FLT_DIG): Likewise.
20070 (DBL_DIG): Likewise.
20071 (LDBL_DIG): Likewise.
20072 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20073 (DBL_MIN_EXP): Likewise.
20074 (LDBL_MIN_EXP): Likewise.
20075 (FLT_MAX_EXP): Use macro-int-constant.
20076 (DBL_MAX_EXP): Likewise.
20077 (LDBL_MAX_EXP): Likewise.
20078 (FLT_MAX_10_EXP): Likewise.
20079 (DBL_MAX_10_EXP): Likewise.
20080 (LDBL_MAX_10_EXP): Likewise.
20081 (FLT_MAX): Use macro-constant.
20082 (DBL_MAX): Likewise.
20083 (LDBL_MAX): Likewise.
20084 (FLT_EPSILON): Use macro-constant. Give upper bound.
20085 (DBL_EPSILON): Likewise.
20086 (LDBL_EPSILON): Likewise.
20087 (FLT_MIN): Likewise.
20088 (DBL_MIN): Likewise.
20089 (LDBL_MIN): Likewise.
20090 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20091 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20092 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20093 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20094 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20095 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20096 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20097 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20098 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20099 [ISO11] (FLT_TRUE_MIN): Likewise.
20100 [ISO11] (LDBL_TRUE_MIN): Likewise.
20101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20102 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20103 (SCHAR_MIN): Use macro-int-constant. Specify type.
20104 (SCHAR_MAX): Likewise.
20105 (UCHAR_MAX): Likewise.
20106 (CHAR_MIN): Likewise.
20107 (CHAR_MAX): Likewise.
20108 (MB_LEN_MAX): Use macro-int-constant.
20109 (SHRT_MIN): Use macro-int-constant. Specify type.
20110 (SHRT_MAX): Likewise.
20111 (USHRT_MAX): Likewise.
20112 (INT_MAX): Likewise.
20113 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20114 bound negative.
20115 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20116 bound with "U".
20117 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20118 bound with "L".
20119 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20120 bound negative. Suffix upper bound with "L".
20121 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20122 bound with "UL".
20123 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20124 Specify type.
20125 [C99-based standards] (LLONG_MAX): Likewise.
20126 [C99-based standards] (ULLONG_MAX): Likewise.
20127 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20128 == 0.
20129 [ISO11] (max_align_t): Require type.
20130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20131
c9140a62
JM
20132 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20133 from $CFLAGS, without defining away __attribute__ calls.
20134 (checknamespace): Use $CFLAGS_namespace.
20135
9af0bf29
JM
20136 * conform/conformtest.pl (@keywords): Only include C99 keywords
20137 for standards based on C99 or C11.
20138
343222a2
JM
20139 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20140 Disable tests.
20141 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20142 UNIX98]: Likewise.
20143
661f8cf0
JM
20144 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20145 usability of symbols in #if.
20146
ee74b9cb
JM
20147 * conform/conformtest.pl: If macro or constant types start
20148 "promoted:", expect the symbol to be of the following type
20149 promoted by the integer promotions.
62fde54f 20150
aafc49b3
JM
20151 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20152 in one place. Also handle "macro-constant".
20153
fefdf574
JM
20154 * conform/conformtest.pl: Only accept expected macro values with
20155 "==". Parse all "macro" lines in one place.
20156 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20157
f2d922fe
JM
20158 * conform/conformtest.pl: Handle braced types on "constant" lines
20159 instead of handling "typed-constant".
20160 * conform/data/signal.h-data: Use "constant" instead of
20161 "typed-constant".
20162
d22956c9
JM
20163 * conform/conformtest.pl: Handle "optional-" at start of lines in
20164 one place rather than duplicating several cases. Handle each
20165 format of "macro" line with initial "optional-".
20166
028e2e38
JM
20167 * conform/conformtest.pl: Only accept expected constant or
20168 optional-constant values with "==". Parse all "constant" lines in
20169 one place. Parse all "optional-constant" lines in one place.
20170 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20171 * conform/data/fmtmsg.h-data: Likewise.
20172 * conform/data/netinet/in.h-data: Likewise.
20173 * conform/data/tar.h-data: Likewise.
20174 * conform/data/limits.h-data: Use "==" form on "constant" and
20175 "optional-constant" lines.
20176
1b8f2850
JM
20177 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20178 Use -std=c99 for XOPEN2K.
20179 (@knownproblems): Remove.
20180 (newtoken): Don't check %isknown.
20181
a05a144b
JM
20182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20183 Do not expect macro.
20184 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20185 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20186 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20187 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20188 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20189 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20191 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20192 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20193 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20194 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20195 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20196 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20197 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20198 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20200 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20201 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20202 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20203 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20204 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20208 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20209 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20210 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20211 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20212 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20213 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20214 [XPG3] (acosh): Likewise.
20215 [XPG3] (asinh): Likewise.
20216 [XPG3] (atanh): Likewise.
20217 [XPG3] (cbrt): Likewise.
20218 [XPG3] (expm1): Likewise.
20219 [XPG3] (ilogb): Likewise.
20220 [XPG3] (log1p): Likewise.
20221 [XPG3] (logb): Likewise.
20222 [XPG3] (nextafter): Likewise.
20223 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20224 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20225 [XPG3] (remainder): Likewise.
20226 [XPG3] (rint): Likewise.
20227 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20228 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20229 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20230 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20231 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20232 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20233 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20234 [UNIX98 || XOPEN2K] (scalb): Expect.
20235 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20236 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20241 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20242 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20248 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20249 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20266 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20267 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20268 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20271 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20272 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20273 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20274 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20277 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20278 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20372
73c5ebe3
JM
20373 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20374 _XOPEN_SOURCE_EXTENDED for XPG4.
20375
39c33b6c
JM
20376 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20377
62fde54f
JM
20378 * Makeconfig (localtime): Remove variable.
20379 (inst_localtime-file): Likewise.
20380
0741d64c
AS
203812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20382
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20384 Update.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20386 Update.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20388 Update.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20390 Update.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20392 Update.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20394 Update.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20396 Update.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20398 Update.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20400 Update.
20401
7cb029ee
JM
204022012-05-01 Joseph Myers <joseph@codesourcery.com>
20403
20404 [BZ #2550]
20405 [BZ #2570]
20406 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20407 comparisons to determine direction to adjust input.
20408 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20409 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20411 Likewise.
20412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20413 Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20415 Likewise.
20416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20418 Likewise.
20419 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20420 Likewise.
20421 * math/libm-test.inc (nexttoward_test): Add more tests.
20422
412bd966
AS
204232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20424
20425 [BZ #14040]
20426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20427 in version GLIBC_2.1, not GLIBC_2.0.
20428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20429 Likewise.
20430
9568c0c2
JM
204312012-04-30 Joseph Myers <joseph@codesourcery.com>
20432
adfbc8ac
JM
20433 [BZ #13942]
20434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20435 (1 - x) * (1 + x).
20436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20437 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20438 * math/libm-test.inc (acos_test): Add more tests.
20439 (asin_test): Likewise.
20440 * sysdeps/i386/fpu/libm-test-ulps: Update.
20441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20442
5ba3cc69
JM
20443 [BZ #14034]
20444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20445 of square root.
20446 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20448 * math/libm-test.inc (acos_test_tonearest): New function.
20449 (acos_test_towardzero): Likewise.
20450 (acos_test_downward): Likewise.
20451 (acos_test_upward): Likewise.
20452 (asin_test_tonearest): Likewise.
20453 (asin_test_towardzero): Likewise.
20454 (asin_test_downward): Likewise.
20455 (asin_test_upward): Likewise.
20456 (main): Call the new functions.
20457 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20459
9568c0c2
JM
20460 [BZ #13884]
20461 [BZ #13924]
20462 * math/e_exp10.c: Include <float.h>.
20463 (__ieee754_exp10): Handle underflow here rather than multiplying
20464 large negative argument by M_LN10.
20465 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20466 of __ieee754_expf.
20467 * math/e_exp10l.c: Include <float.h>.
20468 (__ieee754_exp10l): Handle underflow here rather than multiplying
20469 large negative argument by M_LN10l.
20470 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20471 spurious overflow exception on underflow.
20472
5ac3ea17
MP
204732012-04-29 Marek Polacek <polacek@redhat.com>
20474
20475 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20476 (__fortify_function): New macro.
20477 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20478 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20479 __extern_always_inline.
20480 * libio/bits/stdio2.h: Likewise.
20481 * libio/bits/stdio.h: Likewise.
20482 * string/string.h: Likewise.
20483 * string/bits/string3.h: Likewise.
20484 * include/stdio.h: Likewise.
20485 * stdlib/bits/stdlib.h: Likewise.
20486 * stdlib/stdlib.h: Likewise.
20487 * rt/bits/mqueue2.h: Likewise.
20488 * rt/mqueue.h: Likewise.
20489 * posix/bits/unistd.h: Likewise.
20490 * posix/unistd.h: Likewise.
20491 * io/bits/poll2.h: Likewise.
20492 * io/bits/fcntl2.h: Likewise.
20493 * io/fcntl.h: Likewise.
20494 * io/sys/poll.h: Likewise.
20495 * misc/bits/syslog.h: Likewise.
20496 * misc/bits/syslog-ldbl.h: Likewise.
20497 * misc/sys/syslog.h: Likewise.
20498 * socket/bits/socket2.h: Likewise.
20499 * socket/sys/socket.h: Likewise.
20500 * debug/tst-chk1.c: Likewise.
20501 * wcsmbs/bits/wchar2.h: Likewise.
20502 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20503 * wcsmbs/wchar.h: Likewise.
20504
ecf0ebfb
AJ
205052012-04-29 Andreas Jaeger <aj@suse.de>
20506
20507 * Makerules (tests): Remove enable-check-abi protection.
20508 (check-abi-warn): Remove.
20509 (check-abi-%): Remove check-abi-warn usage.
20510
20511 * configure.in: Remove check-abi configure option.
20512 * configure: Regenerated.
20513 * config.make.in (enable-check-abi): Remove.
20514
6d5c57fa
AS
205152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20516
24c5d07e 20517 [BZ #14033]
ded5180a
AS
20518 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20519 double functions to double *_finite functions.
20520
7e0d315d
AS
20521 [BZ #13941]
20522 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20523 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20524 LDBL_MIN_EXP.
20525 * stdio-common/Makefile (tests): Add tst-sprintf3.
20526 * stdio-common/tst-sprintf3.c: New file.
20527
6d5c57fa
AS
20528 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20529 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20530
0749ff8b
JM
205312012-04-28 Joseph Myers <joseph@codesourcery.com>
20532
20533 * conform/conformtest.pl: Remove duplicate typed-constant
20534 handling.
20535
8dbd5d7b
DM
205362012-04-28 David S. Miller <davem@davemloft.net>
20537
20538 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20539 (check-abi-%): Remove AWK script prerequisite and explicit
20540 abilist directory.
20541 (check-abi): Rewrite to just diff the symlist with the abilist.
20542 (config-tls, config-abi-config): Delete, no longer used.
20543 (update-abi-%): Remove AWK script and explicit abilist directory.
20544 (update-abi): Rewrite to simply compare and conditionally copy the
20545 symlist and the sysdep abilist file. Remove update-abi-config
20546 checks.
20547 * abilist/ld.abilist: Remove.
20548 * abilist/libBrokenLocale.abilist: Remove.
20549 * abilist/libanl.abilist: Remove.
20550 * abilist/libcrypt.abilist: Remove.
20551 * abilist/libdl.abilist: Remove.
20552 * abilist/librt.abilist: Remove.
20553 * abilist/libthread_db.abilist: Remove.
20554 * abilist/libutil.abilist: Remove.
20555 * scripts/extract-abilist.awk: Remove.
20556 * scripts/merge-abilist.awk: Remove.
20557 * sysdeps/generic/libcidn.abilist: New file.
20558 * sysdeps/generic/libnss_compat.abilist: New file.
20559 * sysdeps/generic/libnss_db.abilist: New file.
20560 * sysdeps/generic/libnss_dns.abilist: New file.
20561 * sysdeps/generic/libnss_files.abilist: New file.
20562 * sysdeps/generic/libnss_hesiod.abilist: New file.
20563 * sysdeps/generic/libnss_nis.abilist: New file.
20564 * sysdeps/generic/libnss_nisplus.abilist: New file.
20565 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20566 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20567 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20568 file.
20569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20570 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20572 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20573 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20574 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20575 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20576 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20577 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20578 file.
20579 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20583 file.
20584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20587 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20589 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20590 file.
20591 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20592 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20593 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20594 file.
20595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20597 New file.
20598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20599 New file.
20600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20601 New file.
20602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20603 New file.
20604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20605 New file.
20606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20607 New file.
20608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20609 New file.
20610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20611 New file.
20612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20613 New file.
20614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20615 New file.
20616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20617 New file.
20618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20619 New file.
20620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20621 New file.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20623 file.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20625 New file.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20627 New file.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20629 file.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20631 New file.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20633 New file.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20635 file.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20637 New file.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20639 New file.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20641 New file.
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20643 New file.
20644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20645 New file.
20646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20647 New file.
20648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20650 file.
20651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20652 New file.
20653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20654 file.
20655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20656 file.
20657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20658 file.
20659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20660 file.
20661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20662 file.
20663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20664 New file.
20665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20666 file.
20667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20668 file.
20669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20670 New file.
20671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20672 file.
20673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20675 file.
20676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20677 New file.
20678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20679 file.
20680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20681 file.
20682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20683 file.
20684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20685 file.
20686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20687 file.
20688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20689 New file.
20690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20691 file.
20692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20693 file.
20694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20695 New file.
20696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20697 file.
20698 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20699 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20700 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20701 file.
20702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20703 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20704 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20705 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20706 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20708 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20710 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20711 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20714 file.
20715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20716 New file.
20717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20718 file.
20719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20720 file.
20721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20722 file.
20723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20724 file.
20725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20726 file.
20727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20728 New file.
20729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20730 New file.
20731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20732 file.
20733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20734 New file.
20735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20736 file.
20737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20739 file.
20740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20741 New file.
20742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20743 file.
20744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20745 file.
20746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20747 file.
20748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20749 file.
20750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20751 file.
20752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20753 New file.
20754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20755 New file.
20756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20757 file.
20758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20759 New file.
20760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20761 file.
20762
41d73a1b
JM
207632012-04-28 Joseph Myers <joseph@codesourcery.com>
20764
20765 * conform/conformtest.pl: Fix typo in handling typed-constant from
20766 allow-header.
20767
28aeeda4
JM
207682012-04-27 Joseph Myers <joseph@codesourcery.com>
20769
adae8f5e
JM
20770 * README: Cut down references to pre-2.6 Linux kernels and
20771 Linuxthreads. Update lists of configurations in libc and ports
20772 and sort alphabetically. Say "or newer" with Linux kernel version
20773 requirements.
20774
28aeeda4
JM
20775 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20776
a462cb63
RA
207772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20778
20779 [BZ #887]
20780 * math/libm-test.inc (logb_test_downward): New test to expose
20781 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20782 rounding mode.
20783
6ad3493e
JM
207842012-04-27 Joseph Myers <joseph@codesourcery.com>
20785
20786 [BZ #14027]
20787 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20788 to be done.
20789 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20790 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20791
2ce4f015
JM
207922012-04-26 Joseph Myers <joseph@codesourcery.com>
20793
5aeb141a
JM
20794 * sysdeps/unix/i386/brk.S: Remove file.
20795 * sysdeps/unix/i386/dl-brk.S: Likewise.
20796 * sysdeps/unix/i386/pipe.S: Likewise.
20797 * sysdeps/unix/i386/sigreturn.S: Likewise.
20798 * sysdeps/unix/i386/syscall.S: Likewise.
20799 * sysdeps/unix/i386/vfork.S: Likewise.
20800 * sysdeps/unix/i386/wait.S: Likewise.
20801
7143acae
JM
20802 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20803 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20804
2ce4f015
JM
20805 * configure.in (arm*-none*): Do not allow without
20806 --enable-hacker-mode.
20807 (netbsd*): Remove case setting base_os.
20808 (386bsd*): Likewise.
20809 (freebsd*): Likewise.
20810 (bsdi*): Likewise.
20811 (osf*): Likewise.
20812 (sunos*): Likewise.
20813 (ultrix*): Likewise.
20814 (newsos*): Likewise.
20815 (dynix*): Likewise.
20816 (*bsd*): Likewise.
20817 (sysv*): Likewise.
20818 (isc*): Likewise.
20819 (esix*): Likewise.
20820 (sco*): Likewise.
20821 (minix*): Likewise.
20822 (irix4*): Likewise.
20823 (irix6*): Likewise.
20824 (solaris[2-9]*): Likewise.
20825 (none): Likewise.
20826 * configure: Regenerated.
20827
0ac229c8
AZ
208282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20829
20830 [BZ #11521]
20831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20832 overflow or cancellation in calculating denominator.
20833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20835 down expression to avoid unexpected rounding in newer GCCs.
20836 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20837
33f244f4
DM
208382012-04-26 David S. Miller <davem@davemloft.net>
20839
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20841 long-double compat symbols.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20855
cfa1f3e8
DM
208562012-04-25 David S. Miller <davem@davemloft.net>
20857
20858 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20859 HWCAP_* values only after the memory barriers have been defined.
20860 (atomic_full_barrier): Define.
20861 (atomic_read_barrier): Define.
20862 (atomic_write_barrier): Define.
20863
6e236b92
SP
208642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20865
20866 * shlib-versions: Add libgcc_s version information.
20867 * sysdeps/generic/libgcc_s.h: Remove.
20868 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20869 libgcc_s.h.
20870 * sysdeps/gnu/unwind-resume.c: Likewise.
20871 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20872
aab39a09
DM
208732012-04-25 David S. Miller <davem@davemloft.net>
20874
20875 * sysdeps/unix/sparc/brk.S: Delete.
20876 * sysdeps/unix/sparc/dl-brk.S: Delete.
20877 * sysdeps/unix/sparc/pipe.S: Delete.
20878 * sysdeps/unix/sparc/sysdep.S: Delete.
20879 * sysdeps/unix/sparc/sysdep.h: Delete.
20880 * sysdeps/unix/sparc/vfork.S: Delete.
20881 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20882 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20884 ret_ERRVAL, r0, r1, MOVE): Define.
20885 (JUMPTARGET): Remove.
20886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20887 sysdeps/unix/sparc/sysdep.h
20888 (ENTRY, END): Remove.
20889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20890
a3cc4f48
JM
208912012-04-25 Joseph Myers <joseph@codesourcery.com>
20892
2ed8cda2
JM
20893 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20894 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20895 -DIS_IN_build.
20896
35d76d59
JM
20897 * timezone/README: Update upstream location and email address for
20898 tzcode and tzdata.
20899 * timezone/zdump.c: Update from tzcode 2012b.
20900 * timezone/zic.c: Likewise.
20901
a3cc4f48
JM
20902 * configure.in (libc_cv_as_needed): Remove test.
20903 * configure: Regenerated.
20904 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20905 conditional definition.
20906 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20907 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20908 * config.make.in (have-as-needed): Remove variable.
20909
ceab42c3
SP
209102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20911 Paul Pluzhnikov <ppluzhnikov@google.com>
20912
20913 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20914 strings correctly.
20915
3ce2865f
CLT
209162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20917
20918 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20919 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20920 * sysdeps/sh/strlen.S: Likewise.
20921
f37e0d68
JM
209222012-04-24 Joseph Myers <joseph@codesourcery.com>
20923
ae186e9a
JM
20924 * sysdeps/unix/fork.S: Remove file.
20925 * sysdeps/unix/i386/fork.S: Likewise.
20926 * sysdeps/unix/sparc/fork.S: Likewise.
20927
b96914af
JM
20928 * sysdeps/unix/system.c: Remove file.
20929 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20930
f37e0d68
JM
20931 * sysdeps/unix/getegid.S: Remove file.
20932 * sysdeps/unix/geteuid.S: Likewise.
20933
87ef29ca
RM
209342012-04-24 Roland McGrath <roland@hack.frob.com>
20935
83bcd236
RM
20936 * scripts/check-localplt.awk: New file.
20937 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20938 of diff.
20939 * scripts/data/localplt-generic.data: Add a comment.
20940
87ef29ca
RM
20941 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20942 NODE when __dir_mkfile failed.
20943 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20944 Reported by Ludovic Courtès <ludo@gnu.org>.
20945
e5a6e567
AJ
209462012-04-24 Andreas Jaeger <aj@suse.de>
20947
20948 * Makerules (common-clean): Also remove gen-as-const-headers
20949 files.
20950
c1820385
JM
209512012-04-24 Joseph Myers <joseph@codesourcery.com>
20952
20953 * Makerules (native-compile): Do not change working directory for
20954 build. Use $(OUTPUT_OPTION) in command.
20955 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20956
94e02fc4
AZ
209572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20958
20959 [BZ #13886]
20960 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20961 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20962 * math/libm-test.inc (floor_test): Add more tests.
20963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20964
3a533ca3
JM
209652012-04-24 Joseph Myers <joseph@codesourcery.com>
20966
940ab4b3
JM
20967 * sysdeps/unix/getdents.c: Remove file.
20968 * sysdeps/unix/sysv/getdents.c: Likewise.
20969 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20970
90e037bd
JM
20971 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20972 sysdeps/unix/mman/syscalls.list.
20973 (mmap): Likewise.
20974 (mprotect): Likewise.
20975 (msync): Likewise.
20976 (munmap): Likewise.
20977 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20978 * sysdeps/unix/mman/syscalls.list: Remove.
20979 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20980
3a533ca3
JM
20981 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20982 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20983 * configure: Regenerated.
20984 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20985 $(libgcc_s_suffix).
20986 * config.make.in (libgcc_s_suffix): Remove variable.
20987
1ad743de
JM
209882012-04-23 Joseph Myers <joseph@codesourcery.com>
20989
4ad451e2
JM
20990 * sysdeps/unix/sysv/gethostname.c: Move to ...
20991 * sysdeps/posix/gethostname.c: ... here.
20992
5e37ce39
JM
20993 * sysdeps/unix/execve.S: Remove file.
20994
1ad743de
JM
20995 * sysdeps/unix/_exit.S: Remove file.
20996
4e681b5b
AJ
209972012-04-23 Andreas Jaeger <aj@suse.de>
20998
20999 [BZ #13739]
21000 * manual/Makefile: Remove make dist support, there's no
21001 need for a stand-alone documentation tar ball.
21002 (TEXI2DVI): Define always, it's not in Makeconfig.
21003 (dist): Removed.
21004 (tar-it): Removed.
21005 (edition): Removed.
21006 (glibc-doc-$(edition).tar): Removed
21007 (%.Z): Removed.
21008 (%.gz): Removed.
21009 (%.uu): Removed.
21010 (ETAGS): Remove, it's in Makeconfig.
21011 (move-if-change): Remove, it's in Makeconfig.
21012
38686a03 210132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21014
21015 [BZ #13970]
21016 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21017 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21018 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21019 (strtod_l, strtof_l, strtold_l): Remove __wur.
21020 It is not necessarily an error to ignore strtol's return value.
21021 One can reliably look at the stored endptr to decide whether
21022 the number had valid syntax.
21023
7c0616fa
AJ
210242012-04-21 Andreas Jaeger <aj@suse.de>
21025
803cb6b7 21026 [BZ #13739]
7c0616fa
AJ
21027 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21028
b0fe253f
JM
210292012-04-21 Joseph Myers <joseph@codesourcery.com>
21030
21031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21032 * sysdeps/unix/sysv/Versions: Remove file.
21033
8280f22d
MT
210342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21035
21036 [BZ #13927]
21037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21038
75ce411f 210392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21040
21041 [BZ #7064]
21042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21043 version from __vm86.
21044
097d59fa
JM
210452012-04-20 Joseph Myers <joseph@codesourcery.com>
21046
a90f3bcb
JM
21047 * sysdeps/unix/common/lxstat.c: Remove file.
21048 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21049
edc7ea78
JM
21050 * sysdeps/unix/sysv/Makefile: Remove file.
21051
cb78c221
JM
21052 * sysdeps/unix/sysv/direct.h: Remove file.
21053
efa6a45f
JM
21054 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21055 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21056 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21057 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21058 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21059 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21060 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21061
9c9f2d0c
JM
21062 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21063
4541c83b
JM
21064 * sysdeps/unix/xmknod.c: Remove file.
21065 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21066
f5d153a0
JM
21067 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21068
aa746595
JM
21069 * sysdeps/unix/sysv/i386/time.S: Remove file.
21070
cce5905e
JM
21071 * sysdeps/unix/fxstat.c: Remove file.
21072 * sysdeps/unix/xstat.c: Likewise.
21073 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21074
37fa3841
JM
21075 * sysdeps/unix/sysv/sigaction.c: Remove file.
21076
ff1962a3
JM
21077 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21078 (sysdep_headers): Remove variable.
21079 [termio.h not in sysdep_headers] (generated): Likewise.
21080 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21081 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21082 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21083 * sysdeps/unix/sysv/tcflow.c: Likewise.
21084 * sysdeps/unix/sysv/tcflush.c: Likewise.
21085 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21086 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21087 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21088 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21089 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21090
e7740d31
JM
21091 * sysdeps/unix/siglist.c: Remove file.
21092
ee06f18b
JM
21093 * sysdeps/unix/getppid.S: Remove file.
21094
097d59fa
JM
21095 * sysdeps/unix/mkdir.c: Remove file.
21096 * sysdeps/unix/rmdir.c: Likewise.
21097
ff3d51ec
AS
210982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21099
21100 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21101 ERR_MAX value.
21102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21103 errlist-compat value.
21104
50f81fd7
DM
211052012-04-18 David S. Miller <davem@davemloft.net>
21106
21107 * sysdeps/generic/memcopy.h (reg_char): Delete.
21108 * debug/strcat_chk.c: Use char, not reg_char.
21109 * debug/strcpy_chk.c: Likewise.
21110 * debug/strncat_chk.c: Likewise.
21111 * debug/strncpy_chk.c: Likewise.
21112 * string/memchr.c: Likewise.
21113 * string/memrchr.c: Likewise.
21114 * string/rawmemchr.c: Likewise.
21115 * string/strcat.c: Likewise.
21116 * string/strchr.c: Likewise.
21117 * string/strchrnul.c: Likewise.
21118 * string/strcmp.c: Likewise.
21119 * string/strcpy.c: Likewise.
21120 * string/strncat.c: Likewise.
21121 * string/strncmp.c: Likewise.
21122 * string/strncpy.c: Likewise.
21123
8ff41c46
WS
211242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21125
21126 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21127 __builtin_memcopy is called when src and dest ranges are known to not
21128 overlap.
21129
6b652f46
WS
211302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21131
21132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21133 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21134 fwd_align_merge macro call.
21135 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21136 bwd_align_merge macro call.
21137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21138
b282631e
WS
211392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21140
21141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21142 bwd_align_merge macros.
21143 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21144 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21146
95aa737c
DM
211472012-04-18 David S. Miller <davem@davemloft.net>
21148
21149 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21150
7a99a614
AJ
211512012-04-18 Andreas Jaeger <aj@suse.de>
21152
21153 [BZ# 6794]
21154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21157
21158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21159 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21161
21162 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21163 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21164 Adjust for changed ldbl-128 files.
21165
21166 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21167 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21169
e5270c23
DM
211702012-04-17 David S. Miller <davem@davemloft.net>
21171
21172 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21173
fb5e92c9
AS
211742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21175
21176 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21177 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21178 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21179 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21182
76da7265
AZ
211832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21184
21185 [BZ #6794]
21186 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21187 * math/libm-test.inc: Add ilogb errno and exception tests.
21188 * math/w_ilogb.c: New file: ilogb wrapper.
21189 * math/w_ilogbf.c: New file: ilogbf wrapper.
21190 * math/w_ilogbl.c: New file: ilogbl wrapper.
21191 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21192 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21193 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21194 exception being thrown with 0.0 as argument.
21195 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21196 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21197 exception being thrown with 0.0 as argument.
21198 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21199 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21200 exception being thrown with 0.0 as argument.
21201 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21202 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21203 exception being thrown with 0.0 as argument.
21204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21205 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21207 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21210 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21211 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21212 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21213
0396e69d
PB
212142012-04-17 Petr Baudis <pasky@ucw.cz>
21215
21216 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21217 with altivec.
21218
750b5926
MP
212192012-04-16 Marek Polacek <polacek@redhat.com>
21220
21221 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21222
751728a1
MP
212232012-04-16 Marek Polacek <polacek@redhat.com>
21224
21225 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21226 operands of fdivp instruction.
21227
34a27407
L
212282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21229
21230 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21231 * elf/tst-auditmod3b.c: Likewise.
21232 * elf/tst-auditmod4b.c: Likewise.
21233 * elf/tst-auditmod5b.c: Likewise.
21234 * elf/tst-auditmod6b.c: Likewise.
21235 * elf/tst-auditmod6c.c: Likewise.
21236 * elf/tst-auditmod7b.c: Likewise.
21237 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21238 * sysdeps/x86_64/preconfigure.in: Likewise.
21239 * sysdeps/x86_64/preconfigure: Regenerated.
21240
7e73e17d
L
212412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21244 __ILP32__.
21245
c7a6ab72
AB
212462012-04-13 Antoine Balestrat <merkil33@gmail.com>
21247
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21249 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21250
a9e8e0e0
CL
212512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21252
21253 [BZ #13973]
21254 * locale/iso-639.def: Fix gl language name. Spotted by
21255 Yaron Shahrabani.
21256
ec98af7d
RM
212572012-04-12 Roland McGrath <roland@hack.frob.com>
21258
21259 [BZ #2074]
21260 * libio/libio.h (__io_write_fn): Update comment.
21261
247c3ede
PB
212622012-04-12 Petr Baudis <pasky@ucw.cz>
21263
21264 [BZ #2074]
21265 * stdio.texi (Hook Functions): The user provided writer function
21266 is not allowed to return -1.
21267
55939d6d
DM
212682012-04-11 David S. Miller <davem@davemloft.net>
21269
21270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21271
90020f5a
MF
212722012-04-11 Mike Frysinger <vapier@gentoo.org>
21273
21274 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21275 Add a leading slash to rtkaio.
21276
288f9098
JM
212772012-04-11 Jim Meyering <meyering@redhat.com>
21278
90020f5a
MF
21279 [BZ #11959]
21280 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21281 It is not necessarily an error to ignore fwrite's return
21282 value. One can reliably use ferror to test for errors after
21283 the fact.
288f9098 21284
4be2b570
L
212852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21286
21287 * bits/types.h (__snseconds_t): New type.
21288 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21289
21290 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21292 (__SNSECONDS_T_TYPE): Likewise.
21293 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21294 (__SNSECONDS_T_TYPE): Likewise.
21295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21296 (__SNSECONDS_T_TYPE): Likewise.
21297
288f9098 212982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21299
21300 [BZ #2636]
21301 * manual/time.texi (Processor Time): Return type of times is
21302 elapsed real time since an arbitrary point in the past.
21303 (CPU Time): Move CLK_TCK from here...
21304 (Processor Time): ...to here. Correct description.
21305 * manual/conf.texi (Constants for Sysconf): Correct description of
21306 _SC_CLK_TCK.
21307
d7dd4413
DM
213082012-04-10 David S. Miller <davem@davemloft.net>
21309
21310 [BZ #13967]
21311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21312 where the is a gap between DT_REL(A) and DT_JMPREL.
21313
b46068fc
L
213142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21319
73d65cc3
SP
213202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21321
21322 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21323 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21324 (dl_main): Handle --inhibit-cache.
21325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21326 _dl_inhibit_cache.
21327 * elf/dl-load.c (_dl_map_object): Use it.
21328 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21329
bcc8d661
JM
213302012-04-09 Joseph Myers <joseph@codesourcery.com>
21331
8f9a2fae
JM
21332 [BZ #13872]
21333 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21334 (__ieee754_powl): Saturate large exponents rather than testing for
21335 overflow of y*log2(x).
21336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21337 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21338 exceptions.
21339
bcc8d661
JM
21340 [BZ #11521]
21341 * math/s_ctan.c: Include <float.h>.
21342 (__ctan): Avoid internal overflow or cancellation in calculating
21343 denominator.
21344 * math/s_ctanf.c: Likewise.
21345 * math/s_ctanl.c: Likewise.
21346 * math/s_ctanh.c: Likewise.
21347 * math/s_ctanhf.c: Likewise.
21348 * math/s_ctanhl.c: Likewise.
21349 * math/libm-test.inc (ctan_test): Add more tests.
21350 (ctanh_test): Likewise.
21351 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21353
823fbbb4
AJ
213542012-04-09 Andreas Jaeger <aj@suse.de>
21355
03879793
AJ
21356 [BZ #6894]
21357 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21358 is an optional BSD extension.
21359
823fbbb4
AJ
21360 [BZ #10254]
21361 * manual/stdio.texi (Opening Streams): Document additional fopen
21362 parameters.
21363
8de131cb
RM
213642012-04-09 Roland McGrath <roland@hack.frob.com>
21365
21366 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21367 %eax without telling the compiler.
21368
c0ed9d7d
CD
213692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21370
21371 [BZ # 13963]
21372 * manual/install.texi: Use sourceware.org.
21373
c483f6b4
JM
213742012-04-09 Joseph Myers <joseph@codesourcery.com>
21375
d7dd9453
JM
21376 [BZ #13873]
21377 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21378 (__ieee754_pow): Generate overflow and underflow using huge*huge
21379 and tiny*tiny rather than just returning constant infinity or zero
21380 for large exponents.
21381 * math/libm-test.inc (pow_test): Require overflow exceptions for
21382 applicable cases of large exponents.
21383
c483f6b4
JM
21384 [BZ #706]
21385 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21386 (__ieee754_pow): Use iterative multiplication algorithm only for
21387 integer exponents with absolute value below 1024. Check for odd
21388 integer exponents when using algorithm for real exponents.
21389 * math/libm-test.inc (pow_test): Add more tests.
21390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21391
d2de7579
JM
213922012-04-08 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #13705]
21395 * math/libm-test.inc (exp_test): Do not allow overflow exception
21396 on underflow test.
21397
f77f1232
AJ
213982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21399
21400 [BZ #13705]
21401 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21402 instead of __kernel_standard_f.
21403
3884932b
MF
214042012-04-08 Mike Frysinger <vapier@gentoo.org>
21405
21406 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21407 * sysdeps/x86_64/memset_chk.S: Likewise.
21408
54472e9c
AJ
214092012-04-08 Andreas Jaeger <aj@suse.de>
21410
6ab0fbfc
AJ
21411 [BZ #10153]
21412 * manual/startup.texi (Environment Access): Describe return value
21413 for putenv and setenv.
21414
61efba8c
AJ
21415 [BZ #6895]
21416 * manual/filesys.texi (Directory Entries): Add description for
21417 DT_LNK.
21418
95c3f29a
AJ
21419 [BZ #6890]
21420 * manual/filesys.texi (Directory Entries): Clarify that it's file
21421 system not operating system in the description of DT_UNKNOWN.
21422
54472e9c
AJ
21423 [BZ #6578]
21424 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21425
624254b1
SC
214262012-04-08 Stephen Compall <s11@member.fsf.org>
21427
21428 [BZ #6649]
21429 * manual/llio.texi (Opening and Closing Files): Add cross
21430 reference to explain mode argument.
21431
1e4920e0
MF
214322012-04-07 Mike Frysinger <vapier@gentoo.org>
21433
21434 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21435 * sysdeps/x86_64/memset_chk.S: Likewise.
21436
5ed848f3
DM
214372012-04-07 David S. Miller <davem@davemloft.net>
21438
21439 * elf/elf.h (R_SPARC_WDISP10): Define.
21440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21441 R_SPARC_SIZE32.
21442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21443 R_SPARC_SIZE64 and R_SPARC_H34.
21444
96154cd8
CD
214452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21446
21447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21448 conditions and remove no longer applicable assertion.
21449
9904dc47
L
214502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21451
21452 * bits/byteswap.h: Include <features.h>.
21453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21455
f8887d0a
L
214562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21457
21458 * bits/byteswap.h (__bswap_16): Removed.
21459 Include <bits/byteswap-16.h> to get __bswap_16.
21460 * sysdeps/i386/bits/byteswap.h: Likewise.
21461 * sysdeps/s390/bits/byteswap.h: Likewise.
21462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21463 * bits/byteswap-16.h: New file.
21464 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21465 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21466 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21467 * string/Makefile (headers): Add bits/byteswap-16.h.
21468
62470f60
PP
214692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21470
21471 [BZ #13895]
21472 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21473 extra indirection.
21474 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21475 * nss/tst-nss-static.c: New.
21476
4dad7bab
RM
214772012-04-06 Robert Millan <rmh@gnu.org>
21478
21479 [BZ #6486]
21480 * manual/llio.texi (File Position Primitive): lseek
21481 refers to WHENCE when it really means OFFSET.
21482
e9142a17
AJ
214832012-04-06 Andreas Jaeger <aj@suse.de>
21484
2c040eff
AJ
21485 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21486 strncmp declarations.
21487
e9142a17
AJ
21488 * abilist/libc.abilist: Add __poll and __ppoll.
21489
ff9f1c5f
DM
214902012-04-05 David S. Miller <davem@davemloft.net>
21491
dcd2ae90
DM
21492 * scripts/check-local-headers.sh: Accept a host triplet in the
21493 path matched by the exclude regexp.
21494
993eb054
DM
21495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21496 definition.
21497 * sysdeps/powerpc/powerpc32/dl-machine.h
21498 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21499 * sysdeps/s390/s390-32/dl-machine.h
21500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21501 * sysdeps/sparc/sparc32/dl-machine.h
21502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21503 * sysdeps/sparc/sparc64/dl-machine.h
21504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21505
ff9f1c5f
DM
21506 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21507 lazy binding.
48e2e132 21508 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21509 undefined symbol errors.
21510
48e2e132 21511 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21512 DT_NEEDED entries.
21513
e80d6f94
MM
215142012-04-05 Michael Matz <matz@suse.de>
21515
21516 [BZ #13592]
21517 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21518
349fa79f
AJ
215192012-04-05 Andreas Jaeger <aj@suse.de>
21520
21521 [BZ #13908]
21522 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21523 comment.
21524
f402708f
KK
215252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21526
21527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21528 which ROUND is no valid rounding mode.
21529
2ecccfc9
KK
215302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21531
21532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21533 read again.
21534 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21535
8a53f50f
KK
215362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21537
21538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21539 an exception using FPU order intentionally.
21540
215412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21542
21543 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21544 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21545 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21546 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21547
d653abb7
SJ
215482012-04-05 Simon Josefsson <simon@josefsson.org>
21549
21550 [BZ #12340]
21551 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21552 EINVAL when BUFLEN is too smal.
21553
c3b1bf7d
TS
215542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21555
21556 [BZ #13553]
21557 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21558 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21559
b1aa60f3
AJ
215602012-04-03 Andreas Jaeger <aj@suse.de>
21561
c3b1bf7d 21562 [BZ #13938]
67f60a26
AJ
21563 * manual/setjmp.texi (System V contexts): Fix sentence.
21564
b1aa60f3
AJ
21565 [BZ #13926]
21566 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21567 New macro for this case.
21568 [!__GNUC__] (__bswap_64): New inline function for this case.
21569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21570 * bits/byteswap.h: Likewise.
21571 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21572 ull, guard with __GLIBC_HAVE_LONG_LONG.
21573
21574 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21575 __GLIBC_HAVE_LONG_LONG.
21576
21577 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21578 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21579
39c59c35
TMQMF
215802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21581
21582 [BZ #13691]
21583 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21584 inptr and inend, rather than using last_ch.
21585
135ffda8
DM
215862012-04-02 David S. Miller <davem@davemloft.net>
21587
21588 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21589 * stdio-common/printf-parse.h (read_int): Change return type to
21590 'int', return -1 on INT_MAX overflow.
21591 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21592 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21593 overflows INT_MAX. Check for overflow of in-format-string precision
21594 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21595 SIZE_MAX not INT_MAX for integer overflow test.
21596 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21597 skip the construct in the format string but do not record anything.
21598 * stdio-common/bug22.c: Adjust to test both width/prevision
21599 INT_MAX overflow as well as total length INT_MAX overflow. Check
21600 explicitly for proper errno values.
21601
228c019e
TS
216022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21603
302cadd3
TS
21604 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21605 CHAR_MAX.
21606 * string/test-strcmp.c [! WIDE]: Likewise.
21607 * time/tst-mktime2.c: Likewise for INT_MAX.
21608 * string/test-string.h: #include <sys/param.h> for MIN.
21609
228c019e
TS
21610 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21611 * sysdeps/i386/init-first.c (init): Likewise.
21612 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21613 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21614 * sysdeps/sh/init-first.c (init): Likewise.
21615
cfa633f5
UD
216162012-04-01 Ulrich Drepper <drepper@gmail.com>
21617
21618 * po/ru.po: Update from translation team.
d1635ef8 21619 * po/vi.po: Likewise.
cfa633f5 21620
6cd0a5ea
SP
216212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21622
21623 * resolv/nss_dns/dns-host.c: Merge copyright years.
21624
4b43400f
LD
216252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21626
21627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21628 Optimize memcpy with prefetch if
21629 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21630 src, dst pointers have unequal 16 byte alignments.
21631
48c41d04
SP
216322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21633
21634 [BZ #13928]
21635 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21636 from a CNAME entry and return the minimum ttl for the query.
21637 (gaih_getanswer_slice): Likewise.
21638
b8dc394d
JL
216392012-03-30 Jeff Law <law@redhat.com>
21640
21641 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21642 due to long keys.
21643 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21644 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21645
2f5a5ed0
JL
21646 * resolv/nss_dns/dns-host.c: Update copyright year.
21647
1d39e359
UD
216482012-03-30 Ulrich Drepper <drepper@gmail.com>
21649
c030f70c 21650 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21651 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21652
1d39e359
UD
21653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21654 comments for sendmmsg.
21655
216562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21657
21658 [BZ #13691]
21659 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21660 with only 1 character between 0x0041 and 0x01b0.
21661 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21662 * wcsmbs/tst-mbsnrtowcs.c: New file.
21663
20fde227
DM
216642012-03-29 David S. Miller <davem@davemloft.net>
21665
21666 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21667 small copies by hand.
21668
984a4237
JL
216692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21670
21671 [BZ #13761]
21672 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21673 _nss_compat_initgroups_dyn): Fall back to malloc/free
21674 for large group memberships.
21675
18c9d62b
DM
216762012-03-28 David S. Miller <davem@davemloft.net>
21677
88d85d4f
DM
21678 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21679 that branches into memcpy.
21680 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21683 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21685 bits.
21686 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21687 implementation too.
21688 * sysdeps/sparc/mempcpy.S: New file.
21689
e5aa83e1
DM
21690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21691 the IFUNC routine in the libc case.
21692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21693
88570753
DM
21694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21695 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21696 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21697 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21698 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21699 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21700 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21701 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21702
249d7567
DM
21703 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21704 loop to 256 bytes instead of 64 bytes and fix test signedness.
21705
18c9d62b
DM
21706 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21707 * sysdeps/sparc/sparc32/Makefile: rather than here...
21708 * sysdeps/sparc/sparc64/Makefile: and here.
21709
05f3d1f6
UD
217102012-03-28 Ulrich Drepper <drepper@gmail.com>
21711
21712 * malloc/mallocbug.c: Avoid warnings about unused variables.
21713
86ae07a8
JL
217142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21715
21716 [BZ #13760]
21717 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21718 in the right place. Discard and retry query if response is
21719 larger than input buffer size.
21720
41bf21a1
JM
217212012-03-28 Joseph Myers <joseph@codesourcery.com>
21722
d6270972
JM
21723 [BZ #369]
21724 [BZ #2678]
21725 [BZ #3866]
21726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21727 x for large integer exponent.
21728 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21729 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21730 sign of result as needed afterwards.
21731 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21732 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21733 result for underflowing pow the same as for overflow.
21734 (__kernel_standard_l): Handle powl overflow and underflow here
21735 rather than calling __kernel_standard.
21736 * math/libm-test.inc (pow_test): Add more tests.
21737
414fca03 21738 [BZ #3868]
41bf21a1
JM
21739 [BZ #13879]
21740 [BZ #13910]
21741 [BZ #13911]
21742 [BZ #13912]
21743 [BZ #13913]
21744 [BZ #13915]
21745 [BZ #13916]
21746 [BZ #13917]
21747 [BZ #13918]
21748 [BZ #13919]
21749 [BZ #13920]
21750 [BZ #13921]
21751 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21752 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21753 (__kernel_standard_l): New function.
21754 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21755 __kernel_standard.
21756 * math/w_acosl.c (__acosl): Likewise.
21757 * math/w_asinl.c (__asinl): Likewise.
21758 * math/w_atan2l.c (__atan2l): Likewise.
21759 * math/w_atanhl.c (__atanhl): Likewise.
21760 * math/w_coshl.c (__coshl): Likewise.
21761 * math/w_exp10l.c (__exp10l): Likewise.
21762 * math/w_exp2l.c (__exp2l): Likewise.
21763 * math/w_fmodl.c (__fmodl): Likewise.
21764 * math/w_hypotl.c (__hypotl): Likewise.
21765 * math/w_j0l.c (__j0l, __y0l): Likewise.
21766 * math/w_j1l.c (__j1l, __y1l): Likewise.
21767 * math/w_jnl.c (__jnl, __ynl): Likewise.
21768 * math/w_lgammal.c (__lgammal): Likewise.
21769 * math/w_log10l.c (__log10l): Likewise.
21770 * math/w_log2l.c (__log2l): Likewise.
21771 * math/w_logl.c (__logl): Likewise.
21772 * math/w_powl.c (__powl): Likewise.
21773 * math/w_remainderl.c (__remainderl): Likewise.
21774 * math/w_scalbl.c (sysv_scalbl): Likewise.
21775 * math/w_sinhl.c (__sinhl): Likewise.
21776 * math/w_sqrtl.c (__sqrtl): Likewise.
21777 * math/w_tgammal.c (__tgammal): Likewise.
21778 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21779 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21780 * math/libm-test.inc (acos_test): Add more tests.
21781 (acosh_test): Likewise.
21782 (asin_test): Likewise.
21783 (atanh_test): Likewise.
21784 (exp_test): Likewise.
21785 (exp10_test): Likewise.
21786 (exp2_test): Likewise.
21787 (expm1_test): Likewise.
21788 (lgamma_test): Likewise.
21789 (log_test): Likewise.
21790 (log10_test): Likewise.
21791 (log1p_test): Likewise.
21792 (log2_test): Likewise.
21793 (pow_test): Do not allow some spurious overflow exceptions.
21794 (sqrt_test): Add more tests.
21795 (tgamma_test): Likewise.
21796 (y0_test): Likewise.
21797 (y1_test): Likewise.
21798 (yn_test): Likewise.
21799
dd62fda6
AB
218002012-03-27 Anton Blanchard <anton@samba.org>
21801
21802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21803 MAP_HUGETLB.
21804 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21807
1e3cdfda
AJ
218082012-03-27 David S. Miller <davem@davemloft.net>
21809
b855ab85
DM
21810 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21811
1e3cdfda
AJ
21812 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21813 have-as-vis3 check.
21814
218152012-03-27 Andreas Jaeger <aj@suse.de>
21816
21817 * sysdeps/x86_64/elf/configure.in: Moved to ...
21818 * sysdeps/x86_64/configure.in: ... here.
21819 * sysdeps/x86_64/elf/start.S: Moved to ...
21820 * sysdeps/x86_64/start.S: ... here.
21821 * sysdeps/x86_64/elf/configure: Delete.
21822
21823 * sysdeps/x86_64/configure.in: Merge contents from
21824 sysdeps/i386/configure.in (without i686 check).
21825
21826 * sysdeps/i386/elf/Versions: Merge into ...
21827 * sysdeps/i386/Versions: ... this.
21828 * sysdeps/i386/elf/Versions: Delete file.
21829 * sysdeps/i386/elf/start.S: Moved to ...
21830 * sysdeps/i386/start.S: ...here.
21831 * sysdeps/i386/elf/configure.in: Merge into...
21832 * sysdeps/i386/configure.in: ...here.
21833 * sysdeps/i386/elf/configure.in: Delete file.
21834 * sysdeps/i386/elf/configure: Delete file.
21835
21836 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21837 * debug/backtracesyms.c: ... here.
21838 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21839 * debug/backtracesymsfd.c: ... here.
21840 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21841 * sysdeps/generic/ifunc-sel.h: ... here.
21842
21843 * sysdeps/unix/i386/start.c: Delete file.
21844 * sysdeps/unix/sparc/start.c: Delete file.
21845 * sysdeps/unix/start.c: Delete file.
21846
21847 * sysdeps/sh/elf/configure.in: Moved to ...
21848 * sysdeps/sh/configure.in: ... here.
21849 * sysdeps/sh/elf/start.S: Moved to ...
21850 * sysdeps/sh/start.S: ... here.
21851 * sysdeps/sh/elf/configure: Delete file.
21852
21853 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21854 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21855 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21856 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21857 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21858 * sysdeps/powerpc/powerpc64/start.S: here.
21859 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21860 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21861 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21862 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21863 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21864
21865 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21866 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21867 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21868 * sysdeps/powerpc/powerpc32/start.S: ... here.
21869 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21870 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21871 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21872
21873 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21874 * sysdeps/powerpc/ifunc-sel.h: ... here.
21875 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21876 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21877
21878 * sysdeps/sparc/elf/configure.in: Moved to ...
21879 * sysdeps/sparc/configure.in: ... here.
21880 * sysdeps/sparc/elf/configure: Delete file.
21881 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21882 * sysdeps/sparc/sparc32/start.S: ... here.
21883 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21884 * sysdeps/sparc/sparc64/start.S: ... here.
21885 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21886 * sysdeps/sparc/sparc32/Makefile: ... this.
21887 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21888 * sysdeps/sparc/sparc64/Makefile: ... this.
21889
21890 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21891 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21892 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21893 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21894 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21895 * sysdeps/s390/s390-32/setjmp.S: ... here.
21896 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21897 * sysdeps/s390/s390-32/configure.in: ... here.
21898 * sysdeps/s390/s390-32/elf/configure: Delete file.
21899 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21900 * sysdeps/s390/s390-32/start.S: ... here.
21901
21902 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21903 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21904 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21905 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21906 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21907 * sysdeps/s390/s390-64/setjmp.S: ... here.
21908 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21909 * sysdeps/s390/s390-64/configure.in: ... here
21910 * sysdeps/s390/s390-64/elf/configure: Delete file.
21911 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21912 * sysdeps/s390/s390-64/start.S: ... here.
21913 * sysdeps/s390/s390-64/elf/configure: Delete.
21914
21915 * configure.in: Remove support for elf directories in sysdeps.
21916
21917 * configure: Regenerated.
21918 * sysdeps/i386/configure: Regenerated.
21919 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21920 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21921 * sysdeps/s390/s390-32/configure: Regenerated.
21922 * sysdeps/s390/s390-64/configure: Regenerated.
21923 * sysdeps/sh/configure: Regenerated.
21924 * sysdeps/sparc/configure: Regenerated.
21925 * sysdeps/x86_64/configure: Regenerated.
21926
a3f61311
AS
219272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21928
c876e002
AS
21929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21930
a3f61311
AS
21931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21932 denormal result into account.
21933
ac4c54f0
RM
219342012-03-25 Roland McGrath <roland@hack.frob.com>
21935
21936 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21937 Reported by Allan McRae <allan@archlinux.org>.
21938
6a9b9c02
JL
219392012-03-23 Jeff Law <law@redhat.com>
21940
21941 * nss/getnssent.c (__nss_getent): Fix typo.
21942
4c42a0c1
DM
219432012-03-23 David S. Miller <davem@davemloft.net>
21944
21945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21946
1532c7ac
L
219472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21950 to pad to uint64_t for each field.
21951 (dl_tls_index): Replace unsigned long with uint64_t.
21952
3ff42526
PP
219532012-03-23 Daniel Jacobowitz <dmj@google.com>
21954 Paul Pluzhnikov <ppluzhnikov@google.com>
21955
21956 [BZ #6528]
21957 * grp/Makefile (otherlibs): Don't set it.
21958 * inet/Makefile (otherlibs): Likewise.
21959 * login/Makefile (otherlibs): Likewise.
21960 * nscd/Makefile (otherlibs): Likewise.
21961 * posix/Makefile (otherlibs): Likewise.
21962 * pwd/Makefile (otherlibs): Likewise.
21963 * rt/Makefile (otherlibs): Likewise.
21964 * sunrpc/Makefile (otherlibs): Likewise.
21965 * nss/Makefile (otherlibs): Likewise.
21966 Add libnss_files to routines and static-only-routines.
21967 ($(objpfx)getent): Remove rule.
21968 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21969 static-only-routines.
21970
7c69cd14
JM
219712012-03-22 Joseph Myers <joseph@codesourcery.com>
21972
21973 [BZ #13892]
21974 * math/s_cexp.c: Include <float.h>.
21975 (__cexp): Handle exp result overflowing not necessarily
21976 overflowing both real and imaginary parts of result.
21977 * math/s_cexpf.c: Likewise.
21978 * math/s_cexpl.c: Likewise.
21979 * math/libm-test.inc (cexp_test): Add more tests.
21980 * sysdeps/i386/fpu/libm-test-ulps: Update.
21981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982
81b035fe
L
219832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21984
21985 * include/link.h (ELFW): New macro.
21986 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21987 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21988
1da7940c
L
219892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21990
21991 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21992 with uint64_t.
21993
b749dbb9
L
219942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21995
21996 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21997 declaration.
21998 (struct La_x32_retval): Likewise.
21999
2ff87f3f
L
220002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * sysdeps/x86_64/preconfigure.in: New file.
22003 * sysdeps/x86_64/preconfigure: New generated file.
22004
c0df8e69
JM
220052012-03-22 Joseph Myers <joseph@codesourcery.com>
22006
48e44791
JM
22007 [BZ #13824]
22008 * math/e_exp2l.c: Include <float.h>.
22009 (__ieee754_exp2l): Handle overflow and underflow cases
22010 separately. Only pass fractional part of argument to
22011 __ieee754_expl.
22012 * math/libm-test.inc (exp2_test): Add more tests.
22013
c0df8e69
JM
22014 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22015 negating x to take absolute value.
22016 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22017 Likewise.
22018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22020 Likewise.
22021 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22022 computing low part if x was negated.
22023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22024
c8e43ba7
L
220252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22026
22027 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22028 la_x32_gnu_pltexit.
22029 (pltexit): Cast int_retval to ptrdiff_t.
22030 * elf/tst-auditmod3b.c: Likewise.
22031 * elf/tst-auditmod4b.c: Likewise.
22032 * elf/tst-auditmod5b.c: Likewise.
22033 * elf/tst-auditmod6b.c: Likewise.
22034 * elf/tst-auditmod6c.c: Likewise.
22035 * elf/tst-auditmod7b.c: Likewise.
22036
22037 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22038 and x32_gnu_pltexit.
22039
22040 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22041 __ELF_NATIVE_CLASS.
22042 (La_x32_regs): New macro.
22043 (La_x32_retval): Likewise.
22044 (la_x32_gnu_pltenter): New function prototype.
22045 (la_x32_gnu_pltexit): Likewise.
22046
7998fa78
AS
220472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22048
dcb33988
AS
22049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22050 exponent.
22051
233fc563
AS
22052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22053
7998fa78
AS
22054 * configure.in (libc_cv_cc_nofma): Check for option to disable
22055 generation of FMA instructions.
22056 * configure: Regenerate.
22057 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22058 * sysdeps/ieee754/dbl-64/Makefile: New file.
22059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22060 Remove brandred-fma4.
22061 (CFLAGS-brandred-fma4.c): Remove.
22062 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22063 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22064 define.
22065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22066 define.
22067
8e95c99a
L
220682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22069
22070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22071 LLONG_MAX != LONG_MAX.
22072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22073 (_fitoa_word): Likewise.
22074 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22075 LLONG_MAX != LONG_MAX.
22076 * stdio-common/_itowa.h: Include <_itoa.h>.
22077 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22078 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22079 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22080 only if not defined.
22081 (_ITOA_WORD_TYPE): Likewise.
22082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22083 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22084
6f4db457
DM
220852012-03-21 David S. Miller <davem@davemloft.net>
22086
22087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22088
7785fe5a
L
220892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22090
22091 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22092 of x86_64 when setting libc_cv_slibdir, libdir and
22093 libc_cv_localedir.
22094 * sysdeps/unix/sysv/linux/configure: Regenerated.
22095
4535cd55
JM
220962012-03-21 Joseph Myers <joseph@codesourcery.com>
22097
22098 * manual/lang.texi (Old Varargs): Remove section.
22099 (How Variadic): Update menu.
22100 (va_start): Do not mention varargs.h.
22101
17228132
TS
221022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22103 Joseph Myers <joseph@codesourcery.com>
22104
22105 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22106 link test.
22107 * configure: Regenerated.
22108
8149f976
TS
221092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22110
05f3d1f6
UD
22111 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22112 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22113 conformtest.pl
8149f976 22114
1a4ac776
JM
221152012-03-21 Joseph Myers <joseph@codesourcery.com>
22116
be22ce65
JM
22117 * NOTES: Remove.
22118 * Makefile (files-for-dist): Remove NOTES.
22119 (NOTES): Remove rule.
22120 * README: Don't refer to NOTES.
22121 * manual/creature.texi: Don't include macros.texi.
22122 * manual/intro.texi (creature.texi): Remove comment referring to
22123 NOTES.
22124
40b601fb
JM
22125 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22126 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22127 * configure: Regenerated.
22128 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22129 LIBC_TRY_CC_OPTION.
22130 (libc_cv_as_i686): Likewise.
22131 (libc_cv_cc_avx): Likewise.
22132 (libc_cv_cc_sse2avx): Likewise.
22133 (libc_cv_cc_fma4): Likewise.
22134 (libc_cv_cc_novzeroupper): Likewise.
22135 * sysdeps/i386/configure: Regenerated.
22136
1a4ac776
JM
22137 [BZ #13883]
22138 * sysdeps/i386/fpu/s_cexp.S: Remove.
22139 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22141 * math/libm-test.inc (cexp_test): Add more tests.
22142 * sysdeps/i386/fpu/libm-test-ulps: Update.
22143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22144
a458e7fe
AM
221452012-03-21 Allan McRae <allan@archlinux.org>
22146
22147 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22148
0cb7efc5
JM
221492012-03-21 Joseph Myers <joseph@codesourcery.com>
22150
22151 [BZ #13871]
22152 * math/w_exp2.c: Do not include <float.h>.
22153 (o_threshold, u_threshold): Remove.
22154 (__exp2): Calculate result before checking finiteness and calling
22155 __kernel_standard.
22156 * math/w_exp2f.c: Likewise.
22157 * math/w_exp2l.c: Likewise.
22158 * math/libm-test.inc (exp2_test): Require overflow exception for
22159 1e6 input.
2460d3aa
JM
22160
22161 [BZ #3866]
22162 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22163 range of signed 64-bit integers before using fistpll. Remove
22164 checks for whether integers fit in mantissa bits.
22165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22166 the range of signed 32-bit integers before using fistpl. Remove
22167 checks for whether integers fit in mantissa bits.
22168 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22169 (__ieee754_powl): Test for y outside the range of signed 64-bit
22170 integers before using fistpll. Reduce 64-bit values to 63-bit
22171 ones as needed.
22172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22173 divide-by-zero is raised for zero to large negative powers.
22174 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22175 (__ieee754_powl): Test for y outside the range of signed 64-bit
22176 integers before using fistpll. Reduce 64-bit values to 63-bit
22177 ones as needed.
22178 * math/libm-test.inc (pow_test): Add more tests.
22179
eb96ffb0
L
221802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22181
22182 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22183 <stdio-common/_itoa.h>.
22184 * debug/segfault.c: Likewise.
22185 * elf/dl-cache.c: Likewise.
22186 * elf/dl-minimal.c: Likewise.
22187 * elf/dl-misc.c: Likewise.
22188 * elf/dl-sysdep.c: Likewise.
22189 * elf/dl-version.c: Likewise.
22190 * elf/rtld.c: Likewise.
22191 * hurd/hurdsock.c: Likewise.
22192 * hurd/lookup-retry.c: Likewise.
22193 * malloc/malloc.c: Likewise.
22194 * malloc/mtrace.c: Likewise.
22195 * nscd/nscd_getgr_r.c: Likewise.
22196 * nscd/nscd_getpw_r.c: Likewise.
22197 * nscd/nscd_getserv_r.c: Likewise.
22198 * posix/getopt_init.c: Likewise.
22199 * posix/wordexp.c: Likewise.
22200 * stdio-common/_itoa.c: Likewise.
22201 * stdio-common/printf_fphex.c: Likewise.
22202 * stdio-common/vfprintf.c: Likewise.
22203 * string/_strerror.c: Likewise.
22204 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22205 * sysdeps/i386/i686/hp-timing.h: Likewise.
22206 * sysdeps/mach/_strerror.c: Likewise.
22207 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22208 * sysdeps/mach/hurd/sethostid.c: Likewise.
22209 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22210 * sysdeps/mach/xpg-strerror.c: Likewise.
22211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22213 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22214 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22215 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22216 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22218 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22219 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22220 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22221 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22222 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22223 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22224 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22225 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22227 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22229 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22230 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22231 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22232
22233 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22234
22235 * stdio-common/_itoa.h: Moved to ...
22236 * sysdeps/generic/_itoa.h: Here.
22237
22238 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22239
22240 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22241 instead of "_itoa.h" and "_itowa.h".
22242 * stdio-common/vfprintf.: Likewise.
22243
d1af992d
L
222442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22245
22246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22247 <bits/wordsize.h>.
22248 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22249 (__signbit): Likwise.
22250 (llrintf): Likwise.
22251 (llrint): Likwise.
22252
114883e0
L
222532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22254
22255 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22256 __WORDSIZE != 64.
22257
c135cc1b
JM
222582012-03-20 Joseph Myers <joseph@codesourcery.com>
22259
22260 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22261 OVERFLOW_EXCEPTION_OK.
22262 * math/libm-test.inc ("Philosophy"): Update comment about
22263 exception testing.
22264 (OVERFLOW_EXCEPTION): Define.
22265 (OVERFLOW_EXCEPTION_OK): Likewise.
22266 (INVALID_EXCEPTION_OK): Renumber.
22267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22268 (IGNORE_ZERO_INF_SIGN): Likewise.
22269 (test_exceptions): Handle FE_OVERFLOW.
22270 (exp10_test): Expect overflow exceptions.
22271 (exp2_test): Likewise.
22272 (expm1_test): Likewise.
22273 (nextafter_test): Likewise.
22274 (pow_test): Likewise.
22275 (scalbn_test): Likewise.
22276 (scalbln_test): Likewise.
22277
95443d88
L
222782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 * sysdeps/x86_64/bits/atomic.h
22281 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22282 64bit integer.
22283 (atomic_exchange_acq): Likewise.
22284 (__arch_exchange_and_add_body): Likewise.
22285 (__arch_add_body): Likewise.
22286 (atomic_add_negative): Likewise.
22287 (atomic_add_zero): Likewise.
22288
490df6c4
L
222892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22290
c2722551 22291 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22292 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22293
5e52b189
L
222942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22295
22296 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22297 Check __x86_64__ instead of __WORDSIZE.
22298
a9879d4c
L
222992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22300
22301 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22302
5df98260
DM
223032012-03-19 David S. Miller <davem@davemloft.net>
22304
e1497744
DM
22305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22306
5df98260
DM
22307 * sysdeps/sparc/fpu/fenv_private.h: New file.
22308 * sysdeps/sparc/fpu/math_private.h: Use it.
22309 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22310 Remove.
22311 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22312 (libc_feholdexcept_setroundl): Remove.
22313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22314 Remove.
22315 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22316 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22317
b4c35121
L
223182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22321 int64_t instead of long int.
22322 (INSERT_WORDS64): Likwise.
22323
56965fd7
L
223242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22327 _Unwind_GetCFA return to _Unwind_Ptr first.
22328
83d1aec8
JM
223292012-03-19 Joseph Myers <joseph@codesourcery.com>
22330
1897ad44
JM
22331 [BZ #13629]
22332 * math/s_clog.c: Include <float.h>.
22333 (__clog): Scale large or subnormal inputs.
22334 * math/s_clogf.c: Likewise.
22335 * math/s_clogl.c: Likewise.
22336 * math/s_clog10.c: Include <float.h>.
22337 (M_LOG10_2): Define.
22338 (__clog10): Scale large or subnormal inputs.
22339 * math/s_clog10f.c: Likewise.
22340 * math/s_clog10l.c: Likewise.
22341 * math/libm-test.inc (clog_test): Add more tests.
22342 (clog10_test): Likewise.
22343 * sysdeps/i386/fpu/libm-test-ulps: Update.
22344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22345
7726d6a9
JM
22346 [BZ #11451]
22347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22348 x and y.
22349 * math/libm-test.inc (atan2_test): Add another test.
22350
83d1aec8
JM
22351 * Makerules (common-objdir-compile): Remove.
22352 * sysdeps/unix/Makefile (config-generated): Do not add
22353 $(unix-generated) to variable.
22354 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22355 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22356 Remove rule.
22357 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22358 Likewise.
22359 [generic bits/local_lim.h] (before-compile): Do not append to
22360 variable.
22361 [generic bits/local_lim.h] (common-generated): Likewise.
22362 [generic sys/param.h] (before-compile): Do not append to variable.
22363 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22364 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22367 include.
22368 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22369 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22370 [generic sys/param.h] ($(addprefix
22371 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22372 [generic sys/param.h] (common-generated): Do not append to
22373 variable.
22374 [generic sys/param.h] (sysdep_headers): Likewise.
22375 [generic bits/errno.h] (before-compile): Do not append to
22376 variable.
22377 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22378 rule.
22379 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22380 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22381 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22382 [generic bits/errno.h] (common-generated): Do not append to
22383 variable.
22384 [generic bits/ioctls.h] (before-compile): Do not append to
22385 variable.
22386 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22387 rule.
22388 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22389 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22390 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22391 rule.
22392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22393 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22394 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22395 [generic bits/ioctls.h] (common-generated): Do not append to
22396 variable.
22397 [generic sys/syscall.h] (syscall.h): Remove variable.
22398 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22399 rule.
22400 [generic sys/syscall.h] (before-compile): Do not append to
22401 variable.
22402 [generic sys/syscall.h] (common-generated): Likewise.
22403 * sysdeps/unix/errnos-tmpl.c: Remove file.
22404 * sysdeps/unix/errnos.awk: Likewise.
22405 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22406 * sysdeps/unix/ioctls.awk: Likewise.
22407 * sysdeps/unix/mk-local_lim.c: Likewise.
22408 * sysdeps/unix/snarf-ioctls: Likewise.
22409
4851a949
RH
224102012-03-19 Richard Henderson <rth@twiddle.net>
22411
bd37f2ee
RH
22412 * sysdeps/i386/fpu/fenv_private.h: New file.
22413 * sysdeps/i386/fpu/math_private.h: Use it.
22414 (math_opt_barrier, math_force_eval): Remove.
22415 (libc_feholdexcept_setround_53bit): Remove.
22416 (libc_feupdateenv_53bit): Remove.
22417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22418 (math_opt_barrier, math_force_eval): Remove.
22419 (libc_feholdexcept): Remove.
22420 (libc_feholdexcept_setround): Remove.
22421 (libc_fetestexcept, libc_fesetenv): Remove.
22422 (libc_feupdateenv_test): Remove.
22423 (libc_feupdateenv, libc_feholdsetround): Remove.
22424 (libc_feresetround): Remove.
22425
d0adc922
RH
22426 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22427 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22428
0fe0f1f8
RH
22429 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22430 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22431 (libc_feupdateenv_testl): New.
22432 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22433 (libc_feupdateenv_testf): New.
22434 (libc_feupdateenv): Use libc_feupdateenv_test.
22435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22437
eb92c487
RH
22438 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22439 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22440 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22441 (libc_feresetround_noex): New.
22442 (libc_feresetround_noexf): New.
22443 (libc_feresetround_noexl): New.
22444 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22445 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22446 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22447 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22448 SET_RESTORE_ROUND.
22449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22451 (__cos): Likewise.
22452 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22454 SET_RESTORE_ROUND_NOEX.
22455 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22456 SET_RESTORE_ROUND_NOEXF.
22457 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22458 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22459 (libc_feholdsetroundf): New.
22460 (libc_feresetround, libc_feresetroundf): New.
22461
7d2e8012
RH
22462 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22463 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22464 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22465
b4dabbb4
RH
22466 * sysdeps/generic/math_private.h: Include <fenv.h>.
22467 (default_libc_feholdexcept): New.
22468 (default_libc_feholdexcept_setround): New.
22469 (default_libc_fesetenv, default_libc_feupdateenv): New.
22470 (libc_feholdexcept): Only define if undefined.
22471 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22472 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22473 (libc_feholdexcept_setroundl): Likewise.
22474 (libc_feholdexcept_setround_53bit): Likewise.
22475 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22476 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22477 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22478 (libc_feupdateenv_53bit): Likewise.
22479 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22480 (libc_feholdexcept): Convert from macro to inline function.
22481 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22482 (libc_fesetenv, libc_feupdateenv): Likewise.
22483
4851a949
RH
22484 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22485 not previously defined.
22486 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22487 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22488 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22490 * sysdeps/ieee754/flt-32/math_private.h: New file.
22491 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22492 math_private.h below SET_FLOAT_WORD.
22493 (__isnan, __isinf_ns, __finite): Remove.
22494 (__isnanf, __isinf_nsf, __finitef): Remove.
22495
e79d442e
AS
224962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22497
22498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22499
90b80344
DM
225002012-03-17 David S. Miller <davem@davemloft.net>
22501
22502 [BZ #6471]
22503 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22504 for 2.16.
22505
edc21804
DM
225062012-03-16 David S. Miller <davem@davemloft.net>
22507
77e927af
DM
22508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22509 warnings.
22510
374976dd
DM
22511 [BZ #6471]
22512 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22513 properly.
22514 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22515 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22516 sysdep_routines when subdir is sysvipc.
22517 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22518 __getshmlba helper.
22519
edc21804
DM
22520 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22521
473c3ef3
L
225222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22523
22524 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22525 [__LP64__].
22526
eb0f39b6
L
225272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22528
22529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22530 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22531 (__lround): Renamed to ...
22532 (__llround): This. Replace long int with long long int.
22533 Define lround functions as aliases of llround functions.
22534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22535
6b6cd74b
L
225362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22537
22538 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22539 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22540 adresses to uintptr_t. Replace "long int" and "unsigned long
22541 int" with "greg_t" on va_arg.
22542
f1a77b01
L
225432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22546 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22547
22548 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22549 Move e_machine check before EI_CLASS check. Handle x32
22550 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22551 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22552 SKIP_EM_IA_64 and include
22553 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22554
22555 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22556 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22557 (add_system_dir): New macro.
22558
22559 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22560 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22561
11b90b9f
JM
225622012-03-16 Joseph Myers <joseph@codesourcery.com>
22563
c36e1d23
JM
22564 [BZ #2551]
22565 [BZ #2552]
22566 [BZ #2553]
22567 [BZ #2554]
22568 [BZ #2562]
22569 [BZ #2563]
22570 [BZ #2565]
22571 [BZ #2566]
22572 [BZ #2576]
22573 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22574 (y0): Likewise.
22575 * math/w_j0f.c (j0f): Likewise.
22576 (y0f): Likewise.
22577 * math/w_j0l.c (__j0l): Likewise.
22578 (__y0l): Likewise.
22579 * math/w_j1.c (j1): Likewise.
22580 (y1): Likewise.
22581 * math/w_j1f.c (j1f): Likewise.
22582 (y1f): Likewise.
22583 * math/w_j1l.c (__j1l): Likewise.
22584 (__y1l): Likewise.
22585 * math/w_jn.c (jn): Likewise.
22586 (yn): Likewise.
22587 * math/w_jnf.c (jnf): Likewise.
22588 (ynf): Likewise.
22589 * math/w_jnl.c (__jnl): Likewise.
22590 (__ynl): Likewise.
22591 * math/libm-test.inc (j0_test): Add more tests.
22592 (j1_test): Likewise.
22593 (jn_test): Likewise. Add trailing semicolon to existing test.
22594 (y0_test): Likewise.
22595 (y1_test): Likewise.
22596 * sysdeps/i386/fpu/libm-test-ulps: Update.
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22598
11b90b9f
JM
22599 [BZ #13851]
22600 [BZ #13854]
22601 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22602 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22603 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22605 (__tanl): Set errno for infinite argument.
22606 * sysdeps/i386/fpu/mptan.c: Remove.
22607 * sysdeps/i386/fpu/s_tan.S: Likewise.
22608 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22609 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22610 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22611 * math/libm-test.inc (tan_test): Add more tests and enable more
22612 tests for double and long double.
22613 * sysdeps/i386/fpu/libm-test-ulps: Update.
22614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615
6a1bd2a1
JK
226162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22617
22618 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22619 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22620
10a803e0
RM
226212012-03-16 Roland McGrath <roland@hack.frob.com>
22622
22623 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22624 * configure.in: Use it for both main tree and add-ons.
22625 * configure: Regenerated.
22626
f196c7f7
L
226272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22628
22629 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22630
8848d99d
JM
226312012-03-16 Joseph Myers <joseph@codesourcery.com>
22632
96cbe7f4
JM
22633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22634 in comment.
22635
8848d99d
JM
22636 [BZ #13851]
22637 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22638 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22642 infinite argument.
22643 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22645 != 0 for prec == 2.
22646 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22647 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22648 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22649 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22650 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22651 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22652 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22653 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22654 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22655 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22656 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22657 * math/libm-test.inc (cos_test): Add more tests and enable more
22658 tests for long double.
22659 (sin_test): Likewise.
22660 (sincos_test): Likewise.
22661 * sysdeps/i386/fpu/libm-test-ulps: Update.
22662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22663
dd7f4703
DM
226642012-03-16 David S. Miller <davem@davemloft.net>
22665
22666 * sysdeps/sparc/fpu/math_private.h: New file.
22667
006f1daa
DM
226682012-03-15 David S. Miller <davem@davemloft.net>
22669
c0c83bc8
DM
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22671 file.
e6a62e18 22672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22674 file.
e6a62e18
DM
22675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22681 sysdep routines.
22682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22683
88cb87d9
DM
22684 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22685 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22686
006f1daa 22687 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22689 sparc-ifunc.h
006f1daa 22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22692 Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22694 Likewise.
006f1daa
DM
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22699 Likewise.
006f1daa
DM
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22705 Likewise.
22706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22707 Likewise.
006f1daa
DM
22708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22732
11e0098e
AS
227332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22734
22735 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22736 scaling.
22737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22738
e85b09d0
AJ
227392012-03-15 Andreas Jaeger <aj@suse.de>
22740
22741 [BZ #13852]
22742 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22743 ieee754/flt-32 implementation for sin, cos and sincos.
22744 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22745 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22746 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22747 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22748 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22749 ieee754/flt-32 implementation for tan.
22750
22751 * math/libm-test.inc (cos_test): Enable some large input tests for
22752 float as well
22753 (sin_test): Likewise.
22754 (sincos_test): Likewise.
22755 (tan_test): Add tests for large input.
22756
22757 * sysdeps/i386/fpu/libm-test-ulps: Update.
22758
81c64153
AJ
227592012-03-15 Andreas Jaeger <aj@suse.de>
22760
22761 [BZ #13658]
22762 * math/libm-test.inc (cos_test): Add more test cases.
22763 (sin_test): Likewise.
22764 (sincos_test): Likewise.
22765
7bbfa5c6
AJ
227662012-03-15 Andreas Jaeger <aj@suse.de>
22767
22768 [BZ #13837]
22769 * math/libm-test.inc (cos_test): Add a test case for large input
22770 value.
22771 (sin_test): Likewise.
22772 (sincos_test): Likewise.
22773
227742012-03-15 Andreas Jaeger <aj@suse.de>,
22775 Joseph Myers <joseph@codesourcery.com>
22776
22777 [BZ #13658]
0671f479 22778 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22779 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22780 * sysdeps/i386/fpu/branred.c: Likewise.
22781 * sysdeps/i386/fpu/dosincos.c: Likewise.
22782 * sysdeps/i386/fpu/mpa.c: Likewise.
22783 * sysdeps/i386/fpu/s_cos.S: Likewise.
22784 * sysdeps/i386/fpu/s_sin.S: Likewise.
22785 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22786 * sysdeps/i386/fpu/sincos32.c: Likewise.
22787
22788 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22789 Define.
22790 (libc_feupdateenv_53bit): Define.
22791 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22792 Define.
22793 (libc_feupdateenv_53bit): Define.
22794
22795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22796 53 bit (without extend i386 double precision).
22797
22798 * math/libm-test.inc (sincos_test): Add tests for large input.
22799 (sin): Likewise.
22800 (cos): Likewise.
22801
22802 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22803
9cad04ea
AS
228042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22805
22806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22807
f7062b9a
DM
228082012-03-15 David S. Miller <davem@davemloft.net>
22809
22810 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22811 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22812 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22813 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22826 file.
f7062b9a 22827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22829 file.
f7062b9a 22830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22832 file.
f7062b9a 22833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22835 file.
f7062b9a
DM
22836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22838 fmin/fmax sysdep routines.
22839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22840
7bd951ff
DM
228412012-03-14 David S. Miller <davem@davemloft.net>
22842
559398ab
DM
22843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22872 routines.
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22874 file.
559398ab 22875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22877 file.
559398ab 22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22880 file.
559398ab 22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22883 file.
559398ab 22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22886 file.
559398ab 22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22889 file.
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22891 file.
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22893 file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22895 file.
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22897 New file.
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22899 file.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22901 file.
559398ab 22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22904 file.
559398ab 22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22907 file.
559398ab 22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22910 file.
559398ab 22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22913 VIS3 routines.
559398ab
DM
22914
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22916 New file.
22917
5a1c1e32
DM
22918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22919
eae47a36
DM
22920 * sysdeps/sparc/configure.in: New file.
22921 * sysdeps/sparc/configure: Generate.
22922 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22923 * configure: Regenerate.
22924 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22925 * config.make.in (have-as-vis3): New.
22926 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22927 available use -Av9d instead of -Av9a.
22928 * sysdeps/sparc/sparc64/Makefile: Likewise.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22931 New file.
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22933 file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22935 New file.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22937 file.
eae47a36
DM
22938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22943
c0c83bc8
DM
22944 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22945 fzeros/fnegs to load 0x80000000 into a float register instead of
22946 using the stack.
7bd951ff
DM
22947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22948
bd951ccb
JM
229492012-03-14 Joseph Myers <joseph@codesourcery.com>
22950
22951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22952 bits/syscall.h.
22953 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22954 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22955 ($(inst_includedir)/bits/syscall.h): Remove rule.
22956 ($(objpfx)bits/syscall.d): Include instead of
22957 $(objpfx)syscall-list.d.
22958 (generated): Change syscall-list.h and syscall-list.d to
22959 bits/syscall.h and bits/syscall.d.
22960
bb4e6db2
RM
229612012-03-14 Roland McGrath <roland@hack.frob.com>
22962
22963 [BZ #13846]
22964 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22965
aa4a2ae1
JM
229662012-03-14 Joseph Myers <joseph@codesourcery.com>
22967
e456826d
JM
22968 [BZ #13841]
22969 * math/s_csqrt.c: Include <float.h>.
22970 (__csqrt): Scale large or subnormal inputs.
22971 * math/s_csqrtf.c: Likewise.
22972 * math/s_csqrtl.c: Likewise.
22973 * math/libm-test.inc (csqrt_test): Add more tests.
22974 * sysdeps/i386/fpu/libm-test-ulps: Update.
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22976
aa4a2ae1
JM
22977 [BZ #13840]
22978 * math/libm-test.inc (hypot_test): Add more tests.
22979
7c10fd35
DM
229802012-03-13 David S. Miller <davem@davemloft.net>
22981
22982 [BZ #13840]
22983 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22984 double-precision for the calculation instead of scaling.
22985
f453b98b
JM
229862012-03-13 Joseph Myers <joseph@codesourcery.com>
22987
22988 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22989 manipulate bits before adding and subtracting TWO52[sx].
22990 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22992 Likewise.
22993 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22994
09a3453f
DM
229952012-03-13 David S. Miller <davem@davemloft.net>
22996
8e59da90
DM
22997 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22998 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23000 rtld-global-offsets.h
23001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23002
2a8ab7f2
DM
23003 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23004 large parameters.
23005
10f62770
DM
23006 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23007
5f0bdb18
DM
23008 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23009 'err' in the ifdef scope in which it is actually used.
23010
09a3453f
DM
23011 * nss/nss_db/db-init.c: Include string.h
23012
b4b2eb5e
DM
230132012-03-12 David S. Miller <davem@davemloft.net>
23014
98bb2f1c
DM
23015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23016 masking out of the most significant byte of random value used.
23017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23018 Fix coding style in previous change.
23019
b4b2eb5e
DM
23020 * sysdeps/unix/sysv/linux/kernel-features.h
23021 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23022 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23023 expression.
23024 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23025 later.
23026
6e226b09
DM
230272012-03-11 David S. Miller <davem@davemloft.net>
23028
a1bcbd40
DM
23029 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23030 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23032 for 'resultvar' otherwise things get truncated on 64-bit.
23033
cb9d6174
DM
23034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23035 Fix masking out of the most significant byte of random value used.
23036
6e226b09
DM
23037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23038
058c132d
AS
230392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23040
23041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23042
2d2cd515
DM
230432012-03-09 David S. Miller <davem@davemloft.net>
23044
23045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23046 variables with appropriate CPP guards.
23047 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23048 frame pointer, not the stack pointer. Correct layout comments. Fix test
23049 on resulting framesize and the management of the outregs buffer for pltexit.
23050 Preserve floating point return values across _dl_call_pltexit call.
23051 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23052 framesize and the management of the outregs buffer for pltexit.
23053 Preserve floating point return values across _dl_call_pltexit
23054 call.
23055 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23056 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23057 (print_exit): Fix format string for return register value.
23058
9a07f9d0
JM
230592012-03-10 Joseph Myers <joseph@codesourcery.com>
23060
23061 * sunrpc/Makefile (others): Add rpcgen.
23062 ($(objpfx)rpcgen): Remove special build rule and dependency on
23063 libc.
23064 * sunrpc/rpcgen.c: New file.
23065
547b5e30
PE
230662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23067
c524201a
PE
23068 [BZ #13673]
23069 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23070 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23071 * sysdeps/i386/crti.S: Likewise.
23072 * sysdeps/i386/crtn.S: Likewise.
23073 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23074 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23075 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23076 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23077 * sysdeps/sh/crti.S: Likewise.
23078 * sysdeps/sh/crtn.S: Likewise.
23079 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23080
7b6235f2
PE
23081 [BZ #13673]
23082 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23083 with URL.
23084 * locale/programs/locfile-kw.gperf: Likewise.
23085 * locale/programs/charmap-kw.h: Regenerated.
23086 * locale/programs/locfile-kw.h: Likewise.
23087
547b5e30
PE
23088 [BZ #13673]
23089 * intl/plural.y: Replace FSF snail mail address with URL.
23090 * intl/plural.c: Regenerated.
23091
5f0a5dae
RH
230922012-03-09 Richard Henderson <rth@twiddle.net>
23093
23094 * include/math_private.h: Remove file.
23095 * math/math_private.h: Move file ...
23096 * sysdeps/generic/math_private.h: ... here.
23097
b8c03620
RH
23098 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23099 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23100 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23101
4e234f5d 23102 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23103 and <math_private.h>.
23104 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23105 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23106 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23107 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23108 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23128 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23130 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23199 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23200 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23201 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23202 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23203 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23204 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23205 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23206 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23207 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23212 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23214 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23216 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23219 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23223 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23224 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23225 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23228 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23229 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23231 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23232 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23233 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23234 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23237 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23241 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23242 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23243 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23248 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23253 * sysdeps/ieee754/k_standard.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23276 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23278 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23289 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23369 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23376 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23379 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23386 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23403 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23404 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23414 * sysdeps/ieee754/s_lib_version.c: Likewise.
23415 * sysdeps/ieee754/s_matherr.c: Likewise.
23416 * sysdeps/ieee754/s_signgam.c: Likewise.
23417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23419 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23420 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23421 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23423 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23424 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23425 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23426 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23427 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23428 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23429 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23430 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23431 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23432 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23438
1991fa03
JM
234392012-03-09 Joseph Myers <joseph@codesourcery.com>
23440
23441 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23442 * sunrpc/rpc_main.c: Likewise.
23443 * sunrpc/rpc_svcout.c: Likewise.
23444
60d6f5a6
DM
234452012-03-09 David S. Miller <davem@davemloft.net>
23446
23447 * include/math_private.h: New file.
23448
4962050e
JM
234492012-03-09 Joseph Myers <joseph@codesourcery.com>
23450
02a6f887
JM
23451 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23452 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23453 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23454 from <bits/socket_type.h>.
23455 (enum __socket_type): Don't define here.
23456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23458 bits/socket_type.h.
23459
c6e013c1
JM
23460 [BZ #13566]
23461 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23462 checking __USE_GNU.
23463
4962050e
JM
23464 * Makerules ($(inst_includedir)/%.h): New rule.
23465 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23466 (install-others): Remove variable setting.
23467 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23468
38842f45
RH
234692012-03-08 Richard Henderson <rth@twiddle.net>
23470
67bb6da6
RH
23471 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23472 from macro to inline function; merge with the
23473 !__LIBC_INTERNAL_MATH_INLINES version.
23474 (__ieee754_sqrtf): Likewise.
23475
15194b4b
RH
23476 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23477 to inline function.
23478 (__rintf, __floor, __floorf): Likewise.
23479
64e21ede
RH
23480 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23481 macro to inline function.
23482 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23483
38842f45
RH
23484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23485 not <math/math_private.h>.
23486
c64bf5fe
DM
234872012-03-08 David S. Miller <davem@davemloft.net>
23488
23489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23490 copyright year.
23491 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23492
82d86f28
TS
234932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23494
23495 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23496 normalization.
23497 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23498 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23499
aea5d727
UD
235002012-03-08 Ulrich Drepper <drepper@gmail.com>
23501
23502 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23503 be defined individually, they must be defined as a block. Define
23504 S for printing a string instead of hidint the different by using a
23505 macro for adding the 'l'.
23506 * stdio-common/tst-fphex-wide.c: Adjust.
23507
70bca0a3
MP
235082012-03-07 Marek Polacek <polacek@redhat.com>
23509
23510 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23511
65b81130
MP
235122012-03-08 Marek Polacek <polacek@redhat.com>
23513
23514 [BZ #13806]
23515 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23516 * stdio-common/tst-fphex.c: Define a few macros to make the
23517 test reusable. Use them.
23518 * stdio-common/tst-fphex-wide.c: New file.
23519
07037eeb
JM
235202012-03-08 Joseph Myers <joseph@codesourcery.com>
23521
a7a93d50
JM
23522 [BZ #6911]
23523 * manual/macros.texi (gnusystems): New macro.
23524 (nongnusystems): Likewise.
23525 (gnulinuxhurdsystems): Likewise.
23526 (gnuhurdsystems): Likewise..
23527 (gnulinuxsystems): Likewise.
23528 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23529 variants of the GNU system, not "GNU system".
23530 * manual/conf.texi: Likewise.
23531 * manual/errno.texi: Likewise. Update example of errno macro
23532 expansion.
23533 * manual/filesys.texi: Likewise.
23534 (getumask): Document as specific to GNU/Hurd.
23535 * manual/install.texi: Likewise. Reword some references to
23536 GNU/Linux.
23537 * manual/intro.texi: Likewise.
23538 * manual/io.texi: Likewise.
23539 (File Name Portability): Detail which constraints are inapplicable
23540 to all GNU systems and which are only inapplicable to GNU/Hurd.
23541 * manual/job.texi: Likewise.
23542 * manual/llio.texi: Likewise.
23543 (O_NOCTTY): Document as present on GNU/Linux.
23544 * manual/maint.texi: Likewise.
23545 * manual/memory.texi: Likewise.
23546 * manual/pattern.texi: Likewise.
23547 * manual/pipe.texi: Likewise.
23548 * manual/process.texi: Likewise.
23549 * manual/resource.texi: Likewise.
23550 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23551 child on GNU/Hurd.
23552 * manual/setjmp.texi: Likewise.
23553 * manual/signal.texi: Likewise.
23554 * manual/startup.texi: Likewise.
23555 * manual/stdio.texi: Likewise.
23556 * manual/terminal.texi: Likewise.
23557 (ONLCR): Document as POSIX.
23558 (OXTABS): Document availability on GNU/Linux as XTABS.
23559 (ONOEOT): Document availability separately from other bits.
23560 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23561 * manual/time.texi: Likewise.
23562 * manual/users.texi: Likewise.
23563 * INSTALL: Regenerated.
23564 * sysdeps/gnu/errlist.c: Regenerated.
23565
07037eeb
JM
23566 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23567 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23568 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23569 puts.
23570 * configure: Regenerated.
23571
d1d3431a
JM
235722012-03-07 Joseph Myers <joseph@codesourcery.com>
23573
af6a1e37
JM
23574 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23575 default includes instead of AC_HEADER_CHECK.
23576 * sysdeps/i386/configure: Regenerated.
23577
d1d3431a
JM
23578 [BZ #10716]
23579 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23580 * math/s_cacoshf.c (__cacoshf): Likewise.
23581 * math/s_cacoshl.c (__cacoshl): Likewise.
23582 * math/s_casinh.c (__casinh): Set signs of result from argument.
23583 * math/s_casinhf.c (__casinhf): Likewise.
23584 * math/s_casinhl.c (__casinhl): Likewise.
23585 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23586 (casinh_test): Add more tests.
23587 * sysdeps/i386/fpu/libm-test-ulps: Update.
23588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23589
482ff4da
UD
235902012-03-07 Ulrich Drepper <drepper@gmail.com>
23591
872fda05
UD
23592 * po/zh_TW.po: Update from translation team.
23593
a4300c7a
UD
23594 * login/Makefile (distribute): Remove variable.
23595 * catgets/Makefile: Likewise.
23596 * mach/Makefile: Likewise.
23597 * malloc/Makefile: Likewise.
23598 * misc/Makefile: Likewise.
23599 * iconv/Makefile: Likewise.
23600 * nscd/Makefile: Likewise.
23601 * hurd/Makefile: Likewise.
23602 * manual/Makefile: Likewise.
23603 * locale/Makefile: Likewise.
23604 * intl/Makefile: Likewise.
23605 * conform/Makefile: Likewise.
23606 * nss/Makefile: Likewise.
23607 * time/Makefile: Likewise.
23608 * soft-fp/Makefile: Likewise.
23609 * dirent/Makefile: Likewise.
23610 * gmon/Makefile: Likewise.
23611 * po/Makefile: Likewise.
23612 * rt/Makefile: Likewise.
23613 * socket/Makefile: Likewise.
23614 * math/Makefile: Likewise.
23615 * signal/Makefile: Likewise.
23616 * debug/Makefile: Likewise.
23617 * elf/Makefile: Likewise.
23618 * timezone/Makefile: Likewise.
23619 * stdlib/Makefile: Likewise.
23620 * iconvdata/Makefile: Likewise.
23621 * sunrpc/Makefile: Likewise.
23622 * io/Makefile: Likewise.
23623 * argp/Makefile: Likewise.
23624 * inet/Makefile: Likewise.
23625 * hesiod/Makefile: Likewise.
23626 * grp/Makefile: Likewise.
23627 * csu/Makefile: Likewise.
23628 * wctype/Makefile: Likewise.
23629 * crypt/Makefile: Likewise.
23630 * libio/Makefile: Likewise.
23631 * string/Makefile: Likewise.
23632 * nis/Makefile: Likewise.
23633 * resolv/Makefile: Likewise.
23634 * stdio-common/Makefile: Likewise.
23635 * wcsmbs/Makefile: Likewise.
23636 * dlfcn/Makefile: Likewise.
23637 * posix/Makefile: Likewise.
23638
3b7c4e74 23639 [BZ #6959]
482ff4da
UD
23640 * timezone/Makefile: Don't install timezone files, just the programs
23641 and scripts.
23642
f72ed77d
UD
236432012-03-06 Ulrich Drepper <drepper@gmail.com>
23644
a000466f
UD
23645 * nss/databases.def: Add missing gshadow entry.
23646
f72ed77d
UD
23647 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23648
a53b7a4e
MP
236492012-03-06 Marek Polacek <polacek@redhat.com>
23650
23651 [BZ #13726]
23652 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23653 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23654 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23655 * stdio-common/tst-long-dbl-fphex.c: New file.
23656
e9258400
DM
236572012-03-06 David S. Miller <davem@davemloft.net>
23658
23659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23660 (set_obp_int): New function.
23661 (get_obp_int): New function.
23662 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23664 Avoid unused variable warnings on 'val' and use builtin_expect.
23665 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23666 __builtin_expect.
e9258400
DM
23667 (INLINE_CLONE_SYSCALL): Likewise.
23668
3bd2c723
DM
236692012-03-05 David S. Miller <davem@davemloft.net>
23670
23671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23672
bbb78d03
AS
236732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23674
884c5db4
AS
23675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23676
bbb78d03
AS
23677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23678 only for |x| >= 40.
23679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23680
1c9f702a 236812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23682
23683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23684 Replace gettimeofday with __vdso_gettimeofday.
23685
7be16f82
RM
23686 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23687 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23688 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23689
23690 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23691 time with __vdso_time.
23692
ed58a00f
JM
236932012-03-05 Joseph Myers <joseph@codesourcery.com>
23694
23695 * manual/lang.texi (size_t): Note types to which size_t may be
23696 equivalent with the GNU C Library, but do not describe when
23697 differences between them are significant.
23698
30ee4ced
AJ
236992012-03-05 Andreas Jaeger <aj@suse.de>
23700
23701 * sysdeps/i386/fpu/libm-test-ulps: Update.
23702
b7cd39e8
JM
237032012-03-05 Joseph Myers <joseph@codesourcery.com>
23704
23705 [BZ #3976]
23706 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23707 (__ieee754_pow): Save and restore rounding mode and use
23708 round-to-nearest for main computations.
23709 * math/libm-test.inc (pow_test_tonearest): New function.
23710 (pow_test_towardzero): Likewise.
23711 (pow_test_downward): Likewise.
23712 (pow_test_upward): Likewise.
23713 (main): Call the new functions.
23714 * sysdeps/i386/fpu/libm-test-ulps: Update.
23715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23716
23717 [BZ #3976]
23718 * math/libm-test.inc (cosh_test_tonearest): New function.
23719 (cosh_test_towardzero): Likewise.
23720 (cosh_test_downward): Likewise.
23721 (cosh_test_upward): Likewise.
23722 (sinh_test_tonearest): Likewise.
23723 (sinh_test_towardzero): Likewise.
23724 (sinh_test_downward): Likewise.
23725 (sinh_test_upward): Likewise.
23726 (main): Call the new functions.
23727 * sysdeps/i386/fpu/libm-test-ulps: Update.
23728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23729
6c6a98c9
TV
237302012-03-05 Tom de Vries <tom@codesourcery.com>
23731
23732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23733 default stack guard is set in last bytes.
23734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23735
21bb2d2e 237362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23737
21bb2d2e 23738 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23739
21bb2d2e
AJ
23740 [BZ #13656]
23741 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23742 possibly allocate from heap instead of stack.
23743 * stdio-common/bug-vfprintf-nargs.c: New file.
23744 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23745
c6922934
AS
237462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23747
23748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23749
bc957d53
MP
237502012-03-03 Marek Polacek <polacek@redhat.com>
23751
23752 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23753 * math/math_private.h: Likewise.
23754 * stdlib/tst-strtod.c: Likewise.
23755 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23756 * sysdeps/x86_64/bits/atomic.h: Likewise.
23757
6358490d
DM
237582012-03-02 David S. Miller <davem@davemloft.net>
23759
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23764 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23765 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23766 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23767 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23768
01ae168d
RM
237692012-03-02 Roland McGrath <roland@hack.frob.com>
23770
d9a17c07
RM
23771 [BZ #13792]
23772 * manual/examples/README: New file, says the example source files
23773 can be used under GPL>=2.
23774 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23775 line containing just "*/".
23776 * manual/examples/add.c: Add copyright header (GPL>=2).
23777 * manual/examples/argp-ex1.c: Likewise.
23778 * manual/examples/argp-ex2.c: Likewise.
23779 * manual/examples/argp-ex3.c: Likewise.
23780 * manual/examples/argp-ex4.c: Likewise.
23781 * manual/examples/atexit.c: Likewise.
23782 * manual/examples/db.c: Likewise.
23783 * manual/examples/dir.c: Likewise.
23784 * manual/examples/dir2.c: Likewise.
23785 * manual/examples/execinfo.c: Likewise.
23786 * manual/examples/filecli.c: Likewise.
23787 * manual/examples/filesrv.c: Likewise.
23788 * manual/examples/fmtmsgexpl.c: Likewise.
23789 * manual/examples/genpass.c: Likewise.
23790 * manual/examples/inetcli.c: Likewise.
23791 * manual/examples/inetsrv.c: Likewise.
23792 * manual/examples/isockad.c: Likewise.
23793 * manual/examples/longopt.c: Likewise.
23794 * manual/examples/memopen.c: Likewise.
23795 * manual/examples/memstrm.c: Likewise.
23796 * manual/examples/mkfsock.c: Likewise.
23797 * manual/examples/mkisock.c: Likewise.
23798 * manual/examples/mygetpass.c: Likewise.
23799 * manual/examples/pipe.c: Likewise.
23800 * manual/examples/popen.c: Likewise.
23801 * manual/examples/rprintf.c: Likewise.
23802 * manual/examples/search.c: Likewise.
23803 * manual/examples/select.c: Likewise.
23804 * manual/examples/setjmp.c: Likewise.
23805 * manual/examples/sigh1.c: Likewise.
23806 * manual/examples/sigusr.c: Likewise.
23807 * manual/examples/stpcpy.c: Likewise.
23808 * manual/examples/strdupa.c: Likewise.
23809 * manual/examples/strftim.c: Likewise.
23810 * manual/examples/strncat.c: Likewise.
23811 * manual/examples/subopt.c: Likewise.
23812 * manual/examples/swapcontext.c: Likewise.
23813 * manual/examples/termios.c: Likewise.
23814 * manual/examples/testopt.c: Likewise.
23815 * manual/examples/testpass.c: Likewise.
23816 * manual/examples/timeval_subtract.c: Likewise.
23817
01ae168d
RM
23818 [BZ #13792]
23819 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23820 function to ...
23821 * manual/timeval_subtract.c.texi: ... here, new file.
23822
49efa33d
DM
238232012-03-02 David S. Miller <davem@davemloft.net>
23824
23825 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23826
28afd92d
JM
238272012-03-02 Joseph Myers <joseph@codesourcery.com>
23828
804360ed
JM
23829 [BZ #3976]
23830 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23831 (__sin): Save and restore rounding mode and use round-to-nearest
23832 for all computations.
23833 (__cos): Save and restore rounding mode and use round-to-nearest
23834 for all computations.
23835 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23836 <fenv.h>.
23837 (tan): Save and restore rounding mode and use round-to-nearest for
23838 all computations.
23839 * math/libm-test.inc (cos_test_tonearest): New function.
23840 (cos_test_towardzero): Likewise.
23841 (cos_test_downward): Likewise.
23842 (cos_test_upward): Likewise.
23843 (sin_test_tonearest): Likewise.
23844 (sin_test_towardzero): Likewise.
23845 (sin_test_downward): Likewise.
23846 (sin_test_upward): Likewise.
23847 (tan_test_tonearest): Likewise.
23848 (tan_test_towardzero): Likewise.
23849 (tan_test_downward): Likewise.
23850 (tan_test_upward): Likewise.
23851 (main): Call the new functions.
23852 * sysdeps/i386/fpu/libm-test-ulps: Update.
23853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23854
a6d06d7b
JM
23855 [BZ #10135]
23856 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23857 small n, then large n, before computing and testing k+n.
23858 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23860 Likewise.
23861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23862 Likewise.
23863 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23864 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23871 * math/libm-test.inc (scalbn_test): Add more tests.
23872 (scalbln_test): Likewise.
23873
07e12bb3
JM
23874 * manual/filesys.texi (mode_t): Describe constraints on size and
23875 signedness, not exact equivalence to a particular type.
23876 (ino_t): Likewise.
23877 (ino64_t): Likewise.
23878 (dev_t): Likewise.
23879 (nlink_t): Likewise.
23880 (blkcnt_t): Likewise.
23881 (blkcnt64_t): Likewise.
23882 * manual/llio.texi (off_t): Likewise.
23883
28afd92d
JM
23884 [BZ #3976]
23885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23886 (__ieee754_exp): Save and restore rounding mode and use
23887 round-to-nearest for all computations.
23888 * math/libm-test.inc (exp_test_tonearest): New function.
23889 (exp_test_towardzero): Likewise.
23890 (exp_test_downward): Likewise.
23891 (exp_test_upward): Likewise.
23892 (main): Call the new functions.
23893 * sysdeps/i386/fpu/libm-test-ulps: Update.
23894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23895
b1eeb65d
CD
238962012-03-01 Chris Demetriou <cgd@google.com>
23897
23898 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23899 have predictable order.
23900
53362a4b
DM
239012012-03-01 David S. Miller <davem@davemloft.net>
23902
3c969083
DM
23903 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23904
759707de
DM
23905 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23906 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23907 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23908 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23909
dfdb8ff2
DM
23910 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23911 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23912 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23914 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23915 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23916 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23917 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23918 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23919
ead89f96
DM
23920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23921
7f66bd07
DM
23922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23923 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23925
53362a4b
DM
23926 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23933 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23942 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23943 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23944 * sysdeps/sparc/elf/configure: Regenerated.
23945
7b1902cb
JM
239462012-03-01 Joseph Myers <joseph@codesourcery.com>
23947
bec039bc
JM
23948 * configure.in (AS, LD): Require binutils 2.20 or later.
23949 * configure: Regenerated.
23950 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23951 as required minimum version.
23952 * INSTALL: Regenerated.
23953
7b1902cb
JM
23954 [BZ #2541]
23955 [BZ #4108]
23956 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23957 before squaring exponent.
23958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23959 bottom long double and 27 bits of top long double before squaring
23960 exponent.
23961 * math/libm-test.inc (erfc_test): Add more tests.
23962 * sysdeps/i386/fpu/libm-test-ulps: Update.
23963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23965
f775c276
KT
239662012-03-01 Kai Tietz <ktietz@redhat.com>
23967
23968 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23969 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23970 containing bit-fields.
23971 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23972 * soft-fp/single.h (_FP_UNION_S): Likewise.
23973 * soft-fp/double.h (_FP_UNION_D): Likewise.
23974
5b8a4d4a
JM
239752012-02-29 Joseph Myers <joseph@codesourcery.com>
23976
0bab47b6
JM
23977 [BZ #13786]
23978 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23979 not include ../strcmp.S.
23980 [USE_AS_STRNCASECMP_L]: Likewise.
23981 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23982 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23983 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23984 (__strncasecmp_l_ia32): Define as alias to
23985 __strncasecmp_l_nonascii.
23986
0fcad3e2
JM
23987 [BZ #5794]
23988 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23989 * sysdeps/i386/fpu/libm-test-ulps: Update.
23990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23991
5b8a4d4a
JM
23992 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23994
8fdceb2e
JL
239952012-02-29 Jeff Law <law@redhat.com>
23996
23997 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23998 out of bounds read.
23999
1f393a11
MP
240002012-02-29 Marek Polacek <polacek@redhat.com>
24001
24002 [BZ #13706]
24003 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24004 * elf/Makefile: Add rules to run tst-unused-dep.out.
24005
8847f037
DM
240062012-02-28 David S. Miller <davem@davemloft.net>
24007
24008 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24009 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24014
169d7f11
JM
240152012-02-29 Joseph Myers <joseph@codesourcery.com>
24016
24017 * math/libm-test.inc (llround_test): Move one test from
24018 lround_test. Use TEST_f_L in moved test.
24019 (lround_test): Move misplaced test to llround_test. Add testcase
24020 from bug 2561.
24021
39adf059
UD
240222012-02-28 Ulrich Drepper <drepper@gmail.com>
24023
24024 * sysdeps/x86_64/fpu/e_expf.S: New file.
24025 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24026
71b5d1c5
SB
240272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24028
24029 [BZ #13637]
24030 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24031 of remain_len that may cause incomplete multi-byte character and
24032 false match.
24033 * posix/bug-regex33.c: New file.
24034 * posix/Makefile (tests): Add bug-regex33.
24035
1f77f049
JM
240362012-02-28 Joseph Myers <joseph@codesourcery.com>
24037
24038 * manual/macros.texi: New file.
24039 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24040 * manual/libc.texinfo: Include macros.texi.
24041 * manual/creatute.texi: Likewise.
24042 * manual/install.texi: Likewise.
24043 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24044 @glibcadj{} in references to the GNU C Library.
24045 * manual/charset.texi: Likewise.
24046 * manual/conf.texi: Likewise.
24047 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24048 when not using those macros.
24049 * manual/creature.texi: Likewise.
24050 * manual/crypt.texi: Likewise.
24051 * manual/errno.texi: Likewise.
24052 * manual/filesys.texi: Likewise.
24053 * manual/header.texi: Likewise.
24054 * manual/install.texi: Likewise.
24055 * manual/intro.texi: Likewise.
24056 * manual/io.texi: Likewise.
24057 * manual/job.texi: Likewise.
24058 * manual/lang.texi: Likewise.
24059 * manual/libc.texiinfo: Likewise.
24060 * manual/llio.texi: Likewise.
24061 * manual/locale.texi: Likewise.
24062 * manual/maint.texi: Likewise.
24063 * manual/math.texi: Likewise.
24064 * manual/memory.texi: Likewise.
24065 * manual/message.texi: Likewise.
24066 * manual/nss.texi: Likewise.
24067 * manual/pattern.texi: Likewise.
24068 * manual/process.texi: Likewise.
24069 * manual/resource.texi: Likewise.
24070 * manual/search.texi: Likewise.
24071 * manual/setjmp.texi: Likewise.
24072 * manual/signal.texi: Likewise.
24073 * manual/socket.texi: Likewise.
24074 * manual/startup.texi: Likewise.
24075 * manual/stdio.texi: Likewise.
24076 * manual/string.texi: Likewise.
24077 * manual/sysinfo.texi: Likewise.
24078 * manual/syslog.texi: Likewise.
24079 * manual/terminal.texi: Likewise.
24080 * manual/time.texi: Likewise.
24081 * manual/users.texi: Likewise.
24082 * INSTALL: Regenerated.
24083 * NOTES: Regenerated.
d40c5d54 24084 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24085
450bf206
AS
240862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24087
24088 * include/dirent.h: Include <dirstream.h> before
24089 <dirent/dirent.h>.
24090
741a235b
DM
240912012-02-28 David S. Miller <davem@davemloft.net>
24092
24093 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24094 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24097
d6b5aa58
DM
240982012-02-27 David S. Miller <davem@davemloft.net>
24099
1aff59a3
DM
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24102 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24103 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24104
d6b5aa58
DM
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24106 frame pointer instead of stack pointer relative arg slot.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24110
433f48bf
CD
241112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24112
24113 [BZ #3992]
24114 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24115
d674b76d
DM
241162012-02-27 David S. Miller <davem@davemloft.net>
24117
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24122 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24123 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24124 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24125 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24126
0e7727f7
JM
241272012-02-27 Joseph Myers <joseph@codesourcery.com>
24128
24129 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24130 later. Allow versions 5-9.
43be4ca2 24131 * configure: Regenerated.
0e7727f7
JM
24132 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24133 required minimum version and 4.6 as recommended version. Do not
24134 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24135 * INSTALL: Regenerated.
0e7727f7 24136
a78bc654
DM
241372012-02-27 David S. Miller <davem@davemloft.net>
24138
428d5830
DM
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24145 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24146 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24147
a78bc654
DM
24148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24149 manipulate bits before adding and subtracting TWO112[sx].
24150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24151
4579f81c
RM
241522012-02-27 Roland McGrath <roland@hack.frob.com>
24153
36c8acb4
RM
24154 [BZ #13775]
24155 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24156 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24157 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24158 being in POSIX, because they are in 1003.1-2008.
24159
84ad622b
RM
24160 * rt/tst-aio.c: Include <fcntl.h>.
24161 * rt/tst-aio7.c: Likewise.
24162 * rt/tst-aio64.c: Likewise.
24163
4579f81c
RM
24164 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24165
abd923db
JM
241662012-02-27 Joseph Myers <joseph@codesourcery.com>
24167
24168 * manual/install.texi (--with-headers): Describe headers as
24169 interface headers, not private headers.
24170 (Specific advice for GNU/Linux systems): Describe use of headers
24171 from "make headers_install", not private headers from older
24172 kernels.
43be4ca2 24173 * INSTALL: Regenerated.
abd923db
JM
24174 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24175 Change to 2.6.19.
24176 * sysdeps/unix/sysv/linux/configure: Regenerated.
24177
6664049b
JM
24178 * manual/llio.texi (fclean): Remove documentation.
24179
bb8b6697
JM
24180 * manual/Makefile (libc-texi-generated): New variable. Include
24181 version.texi.
24182 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24183 $(libc-texi-generated), not duplicated list of files.
24184 (version.texi, stamp-version): New rules.
24185 (realclean): Remove $(libc-texi-generated), not individual files
24186 from that list. Do not remove dir-add.texinfo.
24187 * manual/libc.texinfo: Comment out uses of edition numbers and
24188 references to printed manual. Remove last-updated dates.
24189 (EDITION): Comment out.
24190 (ISBN): Likewise.
24191 (VERSION, UPDATED): Remove.
24192 (version.texi): Include.
24193
12e5c3b9
AS
241942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24195
24196 * sysdeps/posix/spawni.c: Include <signal.h>.
24197 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24198 * sysdeps/pthread/aio_fsync.c: Likewise.
24199
4efeffc1 242002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24201
ba63ba08
UD
24202 * conform/Makefile (tests): Run only when not cross-compiling and
24203 when fast-check is not defined.
24204
d94a4670
UD
24205 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24206 * conform/data/limits.h-data: Fixes for POSIX2008.
24207 * conform/run-conformtest.sh: Run all tests.
24208 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24209 headers.
24210 * include/bits/dlfcn.h: Likewise.
24211 * include/langinfo.h: Likewise.
24212 * include/monetary.h: Likewise.
24213 * include/sys/poll.h: Likewise.
24214
24215 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24216 for __USE_GNU.
24217 * posix/spawn.h: Define __need_sigset_t.
24218 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24219 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24220 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24221 to get sigevent_t only.
24222 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24223 only for __USE_GNU.
24224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24226 process_vm_writev only for __USE_GNU.
24227 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24228
24229 * conform/Makefile: For now ignore errors from run-conformtest.
24230 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24231 POSIX to avoid namespace pollution. Don't prepend headers.
24232 * conform/data/aio.h-data: Fixes for POSIX testing.
24233 * conform/data/fcntl.h-data: Likewise.
24234 * conform/data/glob.h-data: Likewise.
24235 * conform/data/grp.h-data: Likewise.
24236 * conform/data/pthread.h-data: Likewise.
24237 * conform/data/pwd.h-data: Likewise.
24238 * conform/data/signal.h-data: Likewise.
24239 * conform/data/spawn.h-data: Likewise.
24240 * conform/data/stdio.h-data: Likewise.
24241 * conform/data/stdlib.h-data: Likewise.
24242 * conform/data/stropts.h-data: Likewise.
24243 * conform/data/sys/mman.h-data: Likewise.
24244 * conform/data/sys/stat.h-data: Likewise.
24245 * conform/data/sys/types.h-data: Likewise.
24246 * conform/data/sys/wait.h-data: Likewise.
24247 * conform/data/time.h-data: Likewise.
24248 * conform/data/unistd.h-data: Likewise.
24249 * conform/data/utime.h-data: Likewise.
24250
24251 * io/sys/stat.h: fchmod was always in POSIX.
24252 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24253 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24254 * rt/aio.h: Define __need_timespec before including <time.h>.
24255 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24256 struct. Add forward declaration of pthread_attr_t and use it in
24257 sigevent.
24258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24260 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24261 always remove CLK_TCK definition.
24262
c20105c3
AS
242632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24264
24265 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24266
7a270350
UD
242672012-02-25 Ulrich Drepper <drepper@gmail.com>
24268
31341567
UD
24269 * conform/run-conformtest.sh: New file.
24270 * conform/Makefile: Run run-conformtest for tests.
24271 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24272 support.
24273
24274 * conform/data/uchar.h-data: New file.
24275 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24276 * conform/data/arpa/inet.h-data: Likewise.
24277 * conform/data/assert.h-data: Likewise.
24278 * conform/data/complex.h-data: Likewise.
24279 * conform/data/cpio.h-data: Likewise.
24280 * conform/data/ctype.h-data: Likewise.
24281 * conform/data/dirent.h-data: Likewise.
24282 * conform/data/dlfcn.h-data: Likewise.
24283 * conform/data/errno.h-data: Likewise.
24284 * conform/data/fcntl.h-data: Likewise.
24285 * conform/data/float.h-data: Likewise.
24286 * conform/data/fmtmsg.h-data: Likewise.
24287 * conform/data/fnmatch.h-data: Likewise.
24288 * conform/data/ftw.h-data: Likewise.
24289 * conform/data/glob.h-data: Likewise.
24290 * conform/data/grp.h-data: Likewise.
24291 * conform/data/iconv.h-data: Likewise.
24292 * conform/data/inttypes.h-data: Likewise.
24293 * conform/data/langinfo.h-data: Likewise.
24294 * conform/data/libgen.h-data: Likewise.
24295 * conform/data/limits.h-data: Likewise.
24296 * conform/data/locale.h-data: Likewise.
24297 * conform/data/math.h-data: Likewise.
24298 * conform/data/monetary.h-data: Likewise.
24299 * conform/data/mqueue.h-data: Likewise.
24300 * conform/data/ndbm.h-data: Likewise.
24301 * conform/data/net/if.h-data: Likewise.
24302 * conform/data/netdb.h-data: Likewise.
24303 * conform/data/netinet/in.h-data: Likewise.
24304 * conform/data/nl_types.h-data: Likewise.
24305 * conform/data/poll.h-data: Likewise.
24306 * conform/data/pthread.h-data: Likewise.
24307 * conform/data/pwd.h-data: Likewise.
24308 * conform/data/regex.h-data: Likewise.
24309 * conform/data/sched.h-data: Likewise.
24310 * conform/data/search.h-data: Likewise.
24311 * conform/data/semaphore.h-data: Likewise.
24312 * conform/data/setjmp.h-data: Likewise.
24313 * conform/data/signal.h-data: Likewise.
24314 * conform/data/spawn.h-data: Likewise.
24315 * conform/data/stdarg.h-data: Likewise.
24316 * conform/data/stdio.h-data: Likewise.
24317 * conform/data/stdlib.h-data: Likewise.
24318 * conform/data/string.h-data: Likewise.
24319 * conform/data/strings.h-data: Likewise.
24320 * conform/data/stropts.h-data: Likewise.
24321 * conform/data/sys/ipc.h-data: Likewise.
24322 * conform/data/sys/mman.h-data: Likewise.
24323 * conform/data/sys/msg.h-data: Likewise.
24324 * conform/data/sys/resource.h-data: Likewise.
24325 * conform/data/sys/select.h-data: Likewise.
24326 * conform/data/sys/sem.h-data: Likewise.
24327 * conform/data/sys/shm.h-data: Likewise.
24328 * conform/data/sys/socket.h-data: Likewise.
24329 * conform/data/sys/stat.h-data: Likewise.
24330 * conform/data/sys/statvfs.h-data: Likewise.
24331 * conform/data/sys/time.h-data: Likewise.
24332 * conform/data/sys/timeb.h-data: Likewise.
24333 * conform/data/sys/times.h-data: Likewise.
24334 * conform/data/sys/types.h-data: Likewise.
24335 * conform/data/sys/uio.h-data: Likewise.
24336 * conform/data/sys/un.h-data: Likewise.
24337 * conform/data/sys/utsname.h-data: Likewise.
24338 * conform/data/sys/wait.h-data: Likewise.
24339 * conform/data/syslog.h-data: Likewise.
24340 * conform/data/tar.h-data: Likewise.
24341 * conform/data/termios.h-data: Likewise.
24342 * conform/data/utime.h-data: Likewise.
24343 * conform/data/utmpx.h-data: Likewise.
24344 * conform/data/varargs.h-data: Likewise.
24345 * conform/data/wchar.h-data: Likewise.
24346 * conform/data/wctype.h-data: Likewise.
24347 * conform/data/wordexp.h-data: Likewise.
24348
24349 * include/stropts.h: New file.
24350 * include/uchar.h: New file.
24351 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24352 * include/assert.h: Likewise.
24353 * include/ctype.h: Likewise.
24354 * include/dirent.h: Likewise.
24355 * include/dlfcn.h: Likewise.
24356 * include/fcntl.h: Likewise.
24357 * include/fnmatch.h: Likewise.
24358 * include/glob.h: Likewise.
24359 * include/grp.h: Likewise.
24360 * include/libio.h: Likewise.
24361 * include/locale.h: Likewise.
24362 * include/math.h: Likewise.
24363 * include/net/if.h: Likewise.
24364 * include/netdb.h: Likewise.
24365 * include/netinet/in.h: Likewise.
24366 * include/pthread.h: Likewise.
24367 * include/pwd.h: Likewise.
24368 * include/regex.h: Likewise.
24369 * include/sched.h: Likewise.
24370 * include/search.h: Likewise.
24371 * include/setjmp.h: Likewise.
24372 * include/signal.h: Likewise.
24373 * include/stdio.h: Likewise.
24374 * include/stdlib.h: Likewise.
24375 * include/string.h: Likewise.
24376 * include/sys/cdefs.h: Likewise.
24377 * include/sys/mman.h: Likewise.
24378 * include/sys/msg.h: Likewise.
24379 * include/sys/resource.h: Likewise.
24380 * include/sys/select.h: Likewise.
24381 * include/sys/socket.h: Likewise.
24382 * include/sys/stat.h: Likewise.
24383 * include/sys/statvfs.h: Likewise.
24384 * include/sys/time.h: Likewise.
24385 * include/sys/times.h: Likewise.
24386 * include/sys/uio.h: Likewise.
24387 * include/sys/utsname.h: Likewise.
24388 * include/sys/wait.h: Likewise.
24389 * include/termios.h: Likewise.
24390 * include/time.h: Likewise.
24391 * include/ulimit.h: Likewise.
24392 * include/unistd.h: Likewise.
24393 * include/utime.h: Likewise.
24394 * include/wchar.h: Likewise.
24395 * include/wctype.h: Likewise.
24396 * include/wordexp.h: Likewise.
24397
24398 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24399
7a270350
UD
24400 * time/time.h: TIME_UTC must be a macro.
24401 Make timespec_get available for ISO C11 only as well.
24402
7724defc
UD
244032012-02-24 Ulrich Drepper <drepper@gmail.com>
24404
24405 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24406 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24407
6b1d1d46
JM
244082012-02-24 Joseph Myers <joseph@codesourcery.com>
24409
24410 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24411
0f8bbd69
JM
244122012-02-24 Joseph Myers <joseph@codesourcery.com>
24413
24414 * manual/texinfo.tex: Update to version 2012-01-19.16.
24415
66ab80bc
JM
244162012-02-24 Joseph Myers <joseph@codesourcery.com>
24417
24418 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24419
74981cc5
RM
244202012-02-24 Roland McGrath <roland@hack.frob.com>
24421
ee968201
RM
24422 [BZ #13738]
24423 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24424 * manual/fdl-1.3.texi: New file.
24425 * manual/fdl-1.1.texi: File removed.
24426
74981cc5
RM
24427 [BZ #13738]
24428 * manual/libc.texinfo (FDL_VERSION): New @set.
24429 Use it for mention of FDL in cover text.
24430 (Documentation License): Use it in @include file name.
24431
7bb764bc
JM
244322012-02-22 Joseph Myers <joseph@codesourcery.com>
24433 Roland McGrath <roland@hack.frob.com>
24434
24435 [BZ #5461]
24436 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24437 not LONG_LONG_MAX and LONG_LONG_MIN.
24438 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24439 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24440 name.
24441 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24442
6cbeae47
JM
244432012-02-22 Joseph Myers <joseph@codesourcery.com>
24444
24445 [BZ #2547]
24446 [BZ #11365]
24447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24448 manipulate bits before adding and subtracting TWO23[sx].
24449 * math/libm-test.inc (nearbyint_test): Add more tests.
24450
fe45ce09
JM
244512012-02-22 Joseph Myers <joseph@codesourcery.com>
24452
24453 [BZ #2548]
24454 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24455 bits before adding and subtracting TWO23[sx].
24456 * math/libm-test.inc (rint_test): Add more tests.
24457 (rint_test_tonearest): Likewise.
24458 (rint_test_towardzero): Likewise.
24459 (rint_test_downward): Likewise.
24460 (rint_test_upward: Likewise.
24461
ff3b3d82
JM
244622012-02-22 Joseph Myers <joseph@codesourcery.com>
24463
24464 [BZ #10110]
24465 * include/stdc-predef.h: New file. Extracted from features.h.
24466 * include/features.h: Include stdc-predef.h.
24467 * Makefile (headers): Add stdc-predef.h.
24468 * CONFORMANCE (Compiler limitations): Update.
24469
ef0aab35
JM
244702012-02-22 Joseph Myers <joseph@codesourcery.com>
24471
24472 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24473
58639409
DM
244742012-02-21 David S. Miller <davem@davemloft.net>
24475
24476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24478
c0e70b25
DM
244792012-02-20 David S. Miller <davem@davemloft.net>
24480
24481 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24482 using a normal save/restore sequence, rather than allocating a
24483 dummy stack frame just to store a frame pointer and restore.
24484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24485
fb06851d
JM
244862012-02-21 Joseph Myers <joseph@codesourcery.com>
24487
24488 * manual/install.texi: Fix stray word in line-wrapped comment.
24489
7a8b71c3
DM
244902012-02-20 David S. Miller <davem@davemloft.net>
24491
d510c123
DM
24492 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24493 both binutils and gcc support GOTDATA.
24494
0722d7c2
DM
24495 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24496 "rd %pc" in the PIC register setup sequences.
24497
3d2b3019
DM
24498 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24499 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24500 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24501 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24507 (SYSCALL_ERROR_HANDLER): Likewise.
24508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24511 (SYSCALL_ERROR_HANDLER): Likewise.
24512
c80098a9
DM
24513 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24514 (HAVE_GCC_GOTDATA): New.
24515 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24516 relocation support in both binutils and gcc.
24517 * sysdeps/sparc/elf/configure: Regenerate.
24518
3a2545a0
DM
24519 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24520 * sysdeps/sparc/sparc32/elf/configure: Delete.
24521 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24522 * sysdeps/sparc/sparc64/elf/configure: Delete.
24523 * sysdeps/sparc/elf/configure.in: New file.
24524 * sysdeps/sparc/elf/configure: Generate.
24525
7a8b71c3
DM
24526 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24527 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24529 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24530 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24531
f1e86fca
JM
245322012-02-21 Joseph Myers <joseph@codesourcery.com>
24533
24534 * manual/install.texi: Do not mention specific glibc version
24535 numbers.
24536 * manual/libc.texinfo (VERSION, UPDATED): Update.
24537 (@copying): Use @copyright{} and range of years.
24538
0e7dfaef
JM
245392012-02-21 Joseph Myers <joseph@codesourcery.com>
24540
24541 [BZ #13695]
24542 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24543 [crti.S not in sysdirs] (generated): Do not append.
24544 [crti.S not in sysdirs] (omit-deps): Likewise.
24545 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24546 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24547 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24548 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24549 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24550 Likewise.
24551 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24552 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24553 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24554 * csu/defs.awk: Remove file.
24555 * sysdeps/generic/initfini.c: Likewise.
24556 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24557 variable.
24558 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24559 Likewise.
24560
599af3ca
JM
245612012-02-20 Joseph Myers <joseph@codesourcery.com>
24562
24563 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24564 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24565 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24566 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24568 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24569 <bits/epoll.h>.
24570 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24571 (__EPOLL_PACKED): Define to empty if not defined by
24572 <bits/epoll.h>.
24573 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24575 bits/epoll.h.
24576
0e499750
JM
245772012-02-20 Joseph Myers <joseph@codesourcery.com>
24578
24579 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24580 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24582 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24583 <bits/timerfd.h>.
24584 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24586 bits/timerfd.h.
24587
5ad91f6e
JM
245882012-02-20 Joseph Myers <joseph@codesourcery.com>
24589
24590 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24591 in C locale.
24592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24596
06b99b02
AJ
245972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24598
24599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24601
7638c0fd
AS
246022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24603
24604 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24605 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24606 defined.
24607 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24608 Likewise.
24609 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24610 entry for 2.16.
24611
92221550
AJ
246122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24613
24614 * math/w_acos.c: Use non-signaling floating-point comparisons.
24615 * math/w_acosf.c: Likewise.
24616 * math/w_acosh.c: Likewise.
24617 * math/w_acoshf.c: Likewise.
24618 * math/w_acoshl.c: Likewise.
24619 * math/w_acosl.c: Likewise.
24620 * math/w_asin.c: Likewise.
24621 * math/w_asinf.c: Likewise.
24622 * math/w_asinl.c: Likewise.
24623 * math/w_atanh.c: Likewise.
24624 * math/w_atanhf.c: Likewise.
24625 * math/w_atanhl.c: Likewise.
24626 * math/w_exp2.c: Likewise.
24627 * math/w_exp2f.c: Likewise.
24628 * math/w_exp2l.c: Likewise.
24629 * math/w_j0.c: Likewise.
24630 * math/w_j0f.c: Likewise.
24631 * math/w_j0l.c: Likewise.
24632 * math/w_j1.c: Likewise.
24633 * math/w_j1f.c: Likewise.
24634 * math/w_j1l.c: Likewise.
24635 * math/w_jn.c: Likewise.
24636 * math/w_jnf.c: Likewise.
24637 * math/w_log.c: Likewise.
24638 * math/w_log10.c: Likewise.
24639 * math/w_log10f.c: Likewise.
24640 * math/w_log10l.c: Likewise.
24641 * math/w_log2.c: Likewise.
24642 * math/w_log2f.c: Likewise.
24643 * math/w_log2l.c: Likewise.
24644 * math/w_logf.c: Likewise.
24645 * math/w_logl.c: Likewise.
24646 * math/w_sqrt.c: Likewise.
24647 * math/w_sqrtf.c: Likewise.
24648 * math/w_sqrtl.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24650 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24654
ebaf36eb
JM
246552012-02-19 Joseph Myers <joseph@codesourcery.com>
24656
24657 [BZ #9739]
24658 * manual/string.texi (strnlen): Use correct parameter name in
24659 equivalent expression.
24660
71c254a6
JM
246612012-02-19 Joseph Myers <joseph@codesourcery.com>
24662
24663 [BZ #11174]
24664 * manual/users.texi (seteuid): Consistently use neweuid for
24665 argument name.
24666
16d2c631
JM
246672012-02-19 Joseph Myers <joseph@codesourcery.com>
24668
24669 [BZ #13704]
24670 * manual/nss.texi (Services in the NSS configuration): Correct
24671 list of services in example configuration file.
24672
cd837b09
NB
246732012-02-19 Nick Bowler <nbowler@draconx.ca>
24674
24675 [BZ #11322]
24676 * manual/arith.texi: Remove statements about negative zero
24677 behaving identically to zero.
24678
02c4bbad
JM
246792012-02-18 Joseph Myers <joseph@codesourcery.com>
24680
24681 [BZ #5993]
24682 * manual/install.texi: Do not document upgrading from libc5.
24683
366842e7
JM
246842012-02-18 Joseph Myers <joseph@codesourcery.com>
24685
24686 [BZ #4596]
24687 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24688
dd54084d
DM
246892012-02-18 David S. Miller <davem@davemloft.net>
24690
24691 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24692 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24693 %o7 across the call.
24694 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24695 instead.
24696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24697 SETUP_PIC_REG_LEAF.
24698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24699 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24700 * sysdeps/sparc/crtn.S: Likewise.
24701
2bcc53a3
UD
247022012-02-17 Ulrich Drepper <drepper@gmail.com>
24703
24704 * aout/Makefile: Remove.
24705
09c093b5
RK
247062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24707
24708 [BZ #13058]
24709 * manual/examples/argp-ex1.c (main): Format definition in GNU
24710 style.
24711 * manual/examples/argp-ex2.c (main): Likewise.
24712 * manual/examples/argp-ex3.c (main): Likewise.
24713 * manual/examples/argp-ex4.c (main): Likewise.
24714 * manual/examples/longopt.c (main): Use new-style prototype
24715 definition.
24716 * manual/examples/strncat.c (main): Specify return type and use
24717 (void) for arguments.
24718 * manual/examples/subopt.c (main): Use char **argv argument.
24719
2ee633a2
JM
247202012-02-17 Joseph Myers <joseph@codesourcery.com>
24721
24722 [BZ #5077]
24723 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24724 rounding modes.
24725
0520adde
FB
247262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24727
24728 [BZ #6907]
24729 * manual/string.texi (strchr): Change when strchrnul is
24730 recommended.
24731
3f4081cd
DGM
247322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24733
24734 [BZ #174]
24735 * manual/locale.texi (setlocale): Document LOCPATH.
24736
d1b10e78
JM
247372012-02-17 Joseph Myers <joseph@codesourcery.com>
24738
24739 [BZ #10210]
24740 * manual/process.texi (execle): Move @dots{} before last argument.
24741
79c6869c
PB
247422012-02-17 Paul Bolle <pebolle@tiscali.nl>
24743
24744 [BZ #12047]
24745 * manual/charset.texi (Generic Charset Conversion): Fix typo
24746 (LC_TYPE -> LC_CTYPE).
24747
cc6e48bc
NB
247482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24749
24750 [BZ #5805]
24751 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24752 (scalbnf): Likewise.
24753 (scalbnl): Likewise.
24754 (scalbln): Likewise.
24755 (scalblnf): Likewise.
24756 (scalblnl): Likewise.
24757 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24758 (vwarnx): Likewise.
24759 (verr): Likewise.
24760 (verrx): Likewise.
24761 * manual/filesys.texi (telldir): Use braces around return type.
24762 * manual/llio.texi (mmap): Add space after comma.
24763 (mmap64): Likewise.
24764 * manual/math.texi (jn): Use @var{} on parameter names.
24765 (jnf): Likewise.
24766 (jnl): Likewise.
24767 (yn): Likewise.
24768 (ynf): Likewise.
24769 (ynl): Likewise.
24770 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24771 line.
24772 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24773 "...".
24774 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24775 (sched_get_priority_max): Likewise.
24776 * manual/signal.texi (sigvec): Add space after comma.
24777 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24778 names.
24779 (if_indextoname): Likewise.
24780 (if_freenameindex): Likewise.
24781 (sendto): Use ',' instead of '.' in prototype.
24782 * manual/startup.texi (syscall): Use @dots{} instead of literal
24783 "...".
24784 * manual/stdio.texi (__fpending): Separate initial words of
24785 paragraph from @deftypefun line.
24786 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24787 "...".
24788 (vsyslog): Use @var{} on parameter names.
24789 * manual/terminal.texi (stty): Use @var{} on parameter names.
24790 * manual/users.texi (getutmp): Use @var{} on parameter names.
24791 (getutmpx): Likewise.
24792
5b23062f
JM
247932012-02-17 Joseph Myers <joseph@codesourcery.com>
24794
24795 [BZ #6884]
24796 * manual/stdio.texi (fopen): Fix typos in description of
24797 ",ccs=STRING".
24798
8dee4833
AJ
247992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24800
24801 [BZ #4026]
24802 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24803 get clock_id definition.
24804
9078ce93
TS
248052012-02-17 Thomas Schwinge <thomas@schwinge.name>
24806
24807 [BZ #4822]
24808 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24809 (madvise): Cast every argument to void on its own.
24810
3835c55f
JM
248112012-02-17 Joseph Myers <joseph@codesourcery.com>
24812
24813 [BZ #9902]
24814 * manual/startup.texi (Exit Status): Fix typo.
24815
35c47e37
JM
248162012-02-17 Joseph Myers <joseph@codesourcery.com>
24817
24818 [BZ #10140]
24819 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24820 * manual/examples/argp-ex2.c: Likewise.
24821 * manual/examples/argp-ex3.c: Likewise.
24822
e3b69ca7
RH
248232012-02-16 Richard Henderson <rth@redhat.com>
24824
24825 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24826 * sysdeps/s390/s390-32/initfini.c: Remove.
24827 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24828 * sysdeps/s390/s390-64/initfini.c: Remove.
24829
df83af67
KK
248302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24831
24832 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24833 compiler output for sysdeps/generic/initfini.c.
24834 * sysdeps/sh/elf/initfini.c: Remove file.
24835
f63f3380
DM
248362012-02-16 David S. Miller <davem@davemloft.net>
24837
fb59b3a4
DM
24838 [BZ #11494]
24839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24840
f63f3380
DM
24841 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24842 * sysdeps/sparc/crti.S: New file.
24843 * sysdeps/sparc/crtn.S: New file.
24844 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24845 * sysdeps/sparc/sparc64/Makefile: Likewise.
24846
df6a4a4a
MF
248472012-02-15 Mike Frysinger <vapier@gentoo.org>
24848
6dd8f3dc 24849 [BZ #3335]
df6a4a4a
MF
24850 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24851
1cac7236
RM
248522012-02-15 Roland McGrath <roland@hack.frob.com>
24853
d2c736f8
RM
24854 [BZ #4822]
24855 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24856
1cac7236
RM
24857 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24858 (write, read, close): Likewise.
24859 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24860
8e475601
JM
248612012-02-15 Joseph Myers <joseph@codesourcery.com>
24862
24863 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24864 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24865 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24866 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24867 <bits/signalfd.h>.
24868 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24870 bits/signalfd.h.
24871
ed656b40
MP
248722012-02-14 Marek Polacek <polacek@redhat.com>
24873
24874 * sysdeps/x86_64/crti.S: New file.
24875 * sysdeps/x86_64/crtn.S: New file.
24876 * sysdeps/x86_64/elf/initfini.c: Remove file.
24877
2a979d3a
JM
248782012-02-13 Joseph Myers <joseph@codesourcery.com>
24879
24880 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24881 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24882 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24883 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24884 <bits/inotify.h>.
24885 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24887 bits/inotify.h.
24888
2a418ac3
JM
248892012-02-13 Joseph Myers <joseph@codesourcery.com>
24890
24891 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24892 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24893 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24895 <bits/eventfd.h>.
24896 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24898 bits/eventfd.h.
24899
fb779be7
TS
249002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24901
e19e83c5
RM
24902 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24903 __feraiseexcept instead of feraiseexcept.
7c35ffed 24904
fb779be7
TS
24905 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24906 nanosleep invocations.
24907 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24908 strings, and add error checking for a nanosleep invocations.
24909
59ba27a6
PE
249102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24911
24912 Replace FSF snail mail address with URLs, as per GNU coding standards.
24913 Most of the snail mail addresses were wrong anyway, and omitting
24914 them makes the source code easier to maintain. Almost all of the
24915 changes are to license notices and to locale LC_IDENTIFICATION
24916 addresses, except for this one:
24917 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24918 not its snail mail address.
24919
57b957eb
RH
249202012-02-09 Richard Henderson <rth@twiddle.net>
24921
af850b1c
RH
24922 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24923 of kernel-features.h.
24924
57b957eb
RH
24925 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24926
6b73181a
MP
249272012-02-08 Marek Polacek <polacek@redhat.com>
24928
24929 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24930 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24931 * sysdeps/gnu/_G_config.h: Likewise.
24932 * sysdeps/generic/_G_config.h: Likewise.
24933
26ecc33a
AS
249342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24935
6c6dbc63
AS
24936 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24937 tests.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24939
e216c012
AS
24940 * sysdeps/powerpc/powerpc32/crti.S: New file.
24941 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24942 * sysdeps/powerpc/powerpc64/crti.S: New file.
24943 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24944
26ecc33a
AS
24945 * Makeconfig (have-initfini): Don't set.
24946 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24947 * configure.in (nopic_initfini): Don't substitute.
24948 * config.h.in (HAVE_INITFINI): Don't #undef.
24949 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24950 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24951
3add8e13
JM
249522012-02-08 Joseph Myers <joseph@codesourcery.com>
24953
24954 Support crti.S and crtn.S provided directly by architectures.
24955 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24956 [crti.S in sysdirs] (omit-deps): Likewise.
24957 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24958 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24959 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24960 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24961 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24962 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24963 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24964 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24965 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24966 compiler output for sysdeps/generic/initfini.c.
24967 * sysdeps/i386/elf/Makefile: Remove file.
24968 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24969
a22f12b4
MP
249702012-02-07 Marek Polacek <polacek@redhat.com>
24971
24972 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24973 * sysdeps/gnu/_G_config.h: Likewise.
24974 * sysdeps/mach/hurd/_G_config.h: Likewise.
24975
148cf100
MP
249762012-02-07 Marek Polacek <polacek@redhat.com>
24977
24978 * math/Makefile (tests): Add tst-CMPLX2.
24979 * math/tst-CMPLX2.c: New file.
24980
cfdc0dd7
AS
249812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24982
84ba42c4
AS
24983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24984
cfdc0dd7
AS
24985 * math/libm-test.inc (jn_test): Add missing L suffix.
24986
622c86f4
MP
249872012-02-06 Marek Polacek <polacek@redhat.com>
24988
24989 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24990 * sysdeps/i386/fpu/e_powf.S: Likewise.
24991 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24993 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24994 * sysdeps/i386/fpu/e_pow.S: Likewise.
24995 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24997 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24998 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24999 * sysdeps/i386/fpu/e_log2.S: Likewise.
25000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25001 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25002 * sysdeps/i386/fpu/e_powl.S: Likewise.
25003 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25005 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25006 * sysdeps/i386/fpu/e_logl.S: Likewise.
25007 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25008 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25009 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25010 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25013 * sysdeps/i386/fpu/e_log.S: Likewise.
25014 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25016 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25017 * sysdeps/i386/fpu/e_logf.S: Likewise.
25018 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25020 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25021 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25022 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25023 * sysdeps/i386/fpu/e_log10.S: Likewise.
25024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25029 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25030 * sysdeps/i386/asm-syntax.h: Likewise.
25031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25034 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25035 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25036 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25037 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25038 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25039 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25040 * sysdeps/powerpc/sysdep.h: Likewise.
25041 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25043
d4a54ac6
JM
250442012-02-06 Joseph Myers <joseph@codesourcery.com>
25045
25046 [BZ #411]
25047 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25048
314054ea
JM
250492012-02-06 Joseph Myers <joseph@codesourcery.com>
25050
25051 * sysdeps/i386/sysdep.h: Include <features.h>.
25052 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25053 version.
25054
d8e0ca50
JM
250552012-02-05 Joseph Myers <joseph@codesourcery.com>
25056
25057 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25058 Define.
25059 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25060 LOAD_PIC_REG_STR.
25061
b1da7dd9
JM
250622012-02-03 Joseph Myers <joseph@codesourcery.com>
25063
25064 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25065 (SETUP_PIC_REG): Use GET_PC_THUNK.
25066 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25067 macro.
25068
9a1d9254
JM
250692012-02-03 Joseph Myers <joseph@codesourcery.com>
25070
25071 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25072 for non-PIC compilation.
25073 (SETUP_PIC_REG): Add .p2align directive.
25074 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25075 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25076 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25077 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25089 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25090 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25097 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25115
65dc3b75
JM
251162012-02-03 Joseph Myers <joseph@codesourcery.com>
25117
25118 * math/tst-CMPLX.c: Include <stdio.h>.
25119
d55bf177
JM
251202012-01-31 Joseph Myers <joseph@codesourcery.com>
25121
25122 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25123 float.
25124 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25125 * sysdeps/sparc/bits/mathdef.h: Likewise.
25126
69db4f8f
MP
251272012-01-31 Marek Polacek <polacek@redhat.com>
25128
25129 * libio/libio.h: Don't define _PARAMS.
25130 * locale/programs/config.h: Don't define PARAMS.
25131 * stdlib/strtol_l.c: Likewise.
25132 (__strtol_l): Remove PARAMS from the prototype.
25133
41b81892
UD
251342012-01-31 Ulrich Drepper <drepper@gmail.com>
25135
3b49edc0
UD
25136 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25137 names. Just use the correct names. Remove unnecessary wrapper
25138 functions.
25139 * malloc/arena.c: Likewise.
25140 * malloc/hooks.c: Likewise.
25141
41b81892
UD
25142 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25143 ARENA_TEST says not to. Simplify test for creation of a new arena.
25144 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25145
27a25b6e
UD
251462012-01-30 Ulrich Drepper <drepper@gmail.com>
25147
25148 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25149 into tail calls.
25150 (update_get_addr): New function.
25151 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25152 GET_ADDR_MODULE parameter.
25153
c8a89e7d
JM
251542012-01-30 Joseph Myers <joseph@codesourcery.com>
25155
25156 * crypt/cert.c: Remove __STDC__ conditionals.
25157 * crypt/crypt-entry.c: Likewise.
25158 * crypt/crypt_util.c: Likewise.
25159 * libio/filedoalloc.c: Likewise.
25160 * libio/fileops.c: Likewise.
25161 * libio/genops.c: Likewise.
25162 * libio/iofclose.c: Likewise.
25163 * libio/iofdopen.c: Likewise.
25164 * libio/iofopen.c: Likewise.
25165 * libio/iofopen64.c: Likewise.
25166 * libio/iogetdelim.c: Likewise.
25167 * libio/iopopen.c: Likewise.
25168 * libio/obprintf.c: Likewise.
25169 * libio/oldfileops.c: Likewise.
25170 * libio/oldiofclose.c: Likewise.
25171 * libio/oldiofdopen.c: Likewise.
25172 * libio/oldiofopen.c: Likewise.
25173 * libio/oldiopopen.c: Likewise.
25174 * libio/wfiledoalloc.c: Likewise.
25175 * libio/wgenops.c: Likewise.
25176 * locale/programs/xmalloc.c: Likewise.
25177 * misc/syslog.c: Likewise.
25178 * stdio-common/xbug.c: Likewise.
25179 * string/memchr.c: Likewise.
25180 * string/memcmp.c: Likewise.
25181 * string/memrchr.c: Likewise.
25182 * string/rawmemchr.c: Likewise.
25183 * sysdeps/posix/getcwd.c: Likewise.
25184 * time/strftime_l.c: Likewise.
25185
3b100462
JM
251862012-01-30 Joseph Myers <joseph@codesourcery.com>
25187
25188 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25189 * config.make.in (config-cflags-sse2avx): Define.
25190 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25191 Fix typo.
25192
607998af
CM
251932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25194
25195 * scripts/config.guess: Update from upstream config git repository.
25196 * scripts/config.sub: Likewise.
25197
3601428f
CM
251982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25199
3ac8b282
CM
25200 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25201 (EM_NUM): Update.
25202 (R_TILEPRO_*, R_TILEGX_*): New macros.
25203
e034841e
CM
25204 * scripts/firstversions.awk: Fix bug in version range handling.
25205
540d7568
CM
25206 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25207
3601428f
CM
25208 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25209
463de862
CM
25210 * include/sys/epoll.h: New file.
25211 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25212 libc_hidden_def.
25213
73139a76
UD
252142012-01-28 Ulrich Drepper <drepper@gmail.com>
25215
96bc5b45
UD
25216 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25217 Avoid unnecessary __WORDSIZE == 64 test.
25218 (fmaxf): Use VEX format if possible.
25219 (fmax): Likewise.
25220 (fminf): Likewise.
25221 (fmin): Likewise.
25222
56f6f6a2
UD
25223 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25224 * math/math_private.h: Remove libc_fegetround* and
25225 libc_fesetround*.
25226 * sysdeps/i386/configure.in: Check for -msse2avx.
25227 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25228 also if SSE2AVX is defined.
25229 Remove libc_fegetround* and libc_fesetround*.
25230 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25231 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25233 of HAS_YMM_USABLE.
25234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25239
73139a76
UD
25240 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25241
d73f93a4
AZ
252422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25243
25244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25245 size is not set.
25246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25247
6ee65ed6
UD
252482012-01-27 Ulrich Drepper <drepper@gmail.com>
25249
25250 [BZ #13618]
25251 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25252 relocation.
25253 * Makeconfig (libm): Define.
25254 * elf/Makefile: Add rules to build and run tst-relsort1.
25255 * elf/tst-relsort1.c: New file.
25256 * elf/tst-relsort1mod1.c: New file.
25257 * elf/tst-relsort1mod2.c: New file.
25258
8db21882
JM
252592012-01-27 Joseph Myers <joseph@codesourcery.com>
25260
25261 * math/s_ldexp.c: Remove __STDC__ conditionals.
25262 * math/s_ldexpf.c: Likewise.
25263 * math/s_ldexpl.c: Likewise.
25264 * math/s_nextafter.c: Likewise.
25265 * math/s_nexttowardf.c: Likewise.
25266 * math/s_significand.c: Likewise.
25267 * math/s_significandf.c: Likewise.
25268 * math/s_significandl.c: Likewise.
25269 * math/w_jnl.c: Likewise.
25270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25276 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25282 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25283 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25285 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25287 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25289 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25290 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25292 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25294 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25295 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25300 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25301 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25304 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25306 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25310 * sysdeps/ieee754/k_standard.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25372 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25377 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25390 * sysdeps/ieee754/s_matherr.c: Likewise.
25391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25395
965a54a4
JM
253962012-01-26 Joseph Myers <joseph@codesourcery.com>
25397
25398 * crypt/md5.h: Remove __STDC__ conditionals.
25399 * libio/libioP.h: Likewise.
25400 * locale/programs/config.h: Likewise.
25401 * sysdeps/generic/sysdep.h: Likewise.
25402 * sysdeps/i386/asm-syntax.h: Likewise.
25403 * sysdeps/s390/asm-syntax.h: Likewise.
25404 * sysdeps/unix/sysdep.h: Likewise.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25407
7071ad79
JM
254082012-01-26 Joseph Myers <joseph@codesourcery.com>
25409
25410 * libio/libio.h: Remove __STDC__ conditionals.
25411 * malloc/obstack.h: Likewise.
25412 * math/complex.h: Likewise.
25413 * math/math.h: Likewise.
25414 * sysdeps/generic/_G_config.h: Likewise.
25415 * sysdeps/gnu/_G_config.h: Likewise.
25416 * sysdeps/mach/hurd/_G_config.h: Likewise.
25417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25419 * sysdeps/sparc/bits/mathdef.h: Likewise.
25420
afc5ed09
UD
254212012-01-26 Ulrich Drepper <drepper@gmail.com>
25422
25423 [BZ #13583]
25424 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25425 Clean up HAS_* macros.
afc5ed09 25426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25427 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25428 possible.
25429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25430 HAS_AVX.
25431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25436
bdb6de1d
JM
254372012-01-25 Joseph Myers <joseph@codesourcery.com>
25438
25439 * elf/tst-unique3.cc (gets): Remove declaration.
25440 * elf/tst-unique3lib.cc (gets): Likewise.
25441 * elf/tst-unique3lib2.cc (gets): Likewise.
25442 * elf/tst-unique4.cc (gets): Likewise.
25443
b15549e6
UD
254442012-01-24 Ulrich Drepper <drepper@gmail.com>
25445
25446 * include/stdio.h: Add C++ protection. Add gets declarations and
25447 definitions.
25448 * debug/tst-chk1.c: Don't declare gets here.
25449 * stdio-common/tst-gets.c: Likewise.
25450
a037381f
JM
254512012-01-24 Joseph Myers <joseph@codesourcery.com>
25452
25453 * posix/glob: Remove directory.
25454
f1d4aa75
JM
254552012-01-24 Joseph Myers <joseph@codesourcery.com>
25456
25457 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25458
81c0c964
PT
254592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25460
25461 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25462 of the non-standard EPFNOSUPPORT.
25463
0ea698ae
ST
254642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25465
25466 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25467 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25468 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25469
d220b117
UD
254702012-01-21 Ulrich Drepper <drepper@gmail.com>
25471
25472 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25473
3e1aa84e
UD
254742012-01-20 Ulrich Drepper <drepper@gmail.com>
25475
25476 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25477 transient errors.
25478 * nscd/grpcache.c (cache_addgr): Likewise.
25479 * nscd/hstcache.c (cache_addhst): Likewise.
25480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25481 * nscd/pwdcache.c (cache_addpw): Likewise.
25482 * nscd/servicescache.c (cache_addserv): Likewise.
25483
400aa020
UD
254842012-01-16 Ulrich Drepper <drepper@gmail.com>
25485
d77e7869
UD
25486 * malloc/malloc.c: Various cleanups.
25487 * malloc/hooks.c: Likewise.
25488
400aa020
UD
25489 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25490 * stdlib/bug-fmtmsg1.c: New file.
25491
25492 * stdlib/fmtmsg.c (init): Add missing unlock.
25493 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25494
e0a309cf
MP
254952012-01-12 Marek Polacek <polacek@redhat.com>
25496
25497 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25498 and _GNU_SOURCE.
25499
929d11c7
WS
255002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25501
25502 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25503 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25504 macro to ensure uniqueness of label name.
25505 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25506 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25507
41d0e869
UD
255082012-01-11 Ulrich Drepper <drepper@gmail.com>
25509
0cc5ed3b
UD
25510 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25511
41d0e869
UD
25512 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25516
a47a831a
UD
255172012-01-10 Ulrich Drepper <drepper@gmail.com>
25518
daa891c0
UD
25519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25520
25521 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25522 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25523 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25524
e58ef0f2
UD
25525 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25526
a47a831a 25527 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25528 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25531
25532 * math/bits/math-finite.h: Add ldexp support.
25533
a0bfc9c7
MP
255342012-01-10 Marek Polacek <polacek@redhat.com>
25535
25536 * locale/programs/localedef.h (show_archive_content): Add noreturn
25537 attribute.
25538
d6e97a1d
UD
255392012-01-09 Ulrich Drepper <drepper@gmail.com>
25540
25541 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25542
d5835c26
UD
255432012-01-08 Ulrich Drepper <drepper@gmail.com>
25544
e5f484c6
UD
25545 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25546
d5835c26
UD
25547 * io/Makefile (headers): Add bits/poll2.h.
25548
d1f741e9
WS
255492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25550
25551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25552 typo #include statement.
25553
ec09c1c4
UD
255542012-01-08 Ulrich Drepper <drepper@gmail.com>
25555
25556 * include/sys/cdefs.h: Define __attribute_alloc_size.
25557 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25558 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25559 * elf/pldd.c: Likewise.
25560 * iconv/iconv_charmap.c: Likewise.
25561 * iconv/iconvconfig.c: Likewise.
25562 * iconv/strtab.c: Likewise.
25563 * locale/programs/locale.c: Likewise.
25564 * locale/programs/localedef.h: Likewise.
25565 * locale/programs/simple-hash.c: Likewise.
25566 * nscd/nscd.h: Likewise.
25567 * nss/makedb.c: Likewise.
25568 * sysdeps/generic/ldconfig.h: Likewise.
25569 * locale/programs/localedef.c: Remove xmalloc prototype.
25570 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25571
20b38e03
PP
255722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25573
25574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25575 appropriate.
25576
a0da5fe1
UD
255772012-01-08 Ulrich Drepper <drepper@gmail.com>
25578
1d5a644a 25579 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25580 * math/tst-CMPLX.c: New file.
1d5a644a 25581
8784a6db
UD
25582 * math/complex.h (CMPLXL): Fix typo.
25583
d9a216c0
UD
25584 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25585 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25586 GLIBC_2.16.
25587 * debug/tst-chk1.c: Add poll and ppoll tests.
25588 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25589 * include/sys/poll.h: Add hidden proto for ppoll.
25590 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25591 * sysdeps/mach/hurd/ppoll.c: Likewise.
25592 * io/ppoll.c: Likewise.
25593 * debug/poll_chk.c: New file.
25594 * debug/ppoll_chk.c: New file.
25595 * include/bits/poll2.h: New file.
25596 * io/bits/poll2.h: New file.
25597
ac097f5c
UD
25598 [BZ #1350]
25599 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25600
2119dcfa
UD
25601 * configure.in: static is always set to yes. Remove.
25602 * config.make.in: Don't set build-static.
25603 * Makeconfig: Remove use of build-static.
25604 * dlfcn/Makefile: Likewise.
25605 * elf/Makefile: Likewise.
25606 * math/Makefile: Likewise.
25607 * misc/Makefile: Likewise.
25608 * nptl/Makefile: Likewise.
25609 * sysdeps/mach/hurd/Makefile: Likewise.
25610
121766a9
UD
25611 * configure.in: PWD_P is not used anymore.
25612 * config.make.in: Remove PWD_P entry.
25613
51a1d39c 25614 * configure.in: Remove last remnants of RANLIB.
8720d066 25615 No need to check for signed size_t anymore.
215f4bdc
UD
25616 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25617 and IA-64.
3857022a 25618 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25619 * aclocal.m4: Likewise.
25620
d3ed7225
UD
25621 * wcsmbs/mbrtoc16.c: Implement using towc function.
25622 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25623 * wcsmbs/wcsmbsload.c: Likewise.
25624 * iconv/gconv_simple.c: Likewise.
25625 * iconv/gconv_int.h: Likewise.
25626 * iconv/gconv_builtin.h: Likewise.
25627 * iconv/iconv_prog.c: Remove CHAR16 handling.
25628
25629 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25630
25631 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25632
a0da5fe1
UD
25633 * configure.in: Remove --with-elf and --enable-bounded options.
25634 Dont set base_machine for ia64. More non-ELF conditions removed.
25635 Remove testing and setting of leading underscore information.
25636 * config.make.in (build-bounded): Set to no.
25637 * config.h.in: Remove NO_UNDERSCORES entry.
25638 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25639 them.
25640 * csu/start.c: Remove !NO_UNDERSCORE code.
25641 * locale/localeinfo.h: Likewise.
25642 * sysdeps/generic/machine-gmon.h: Likewise.
25643 * sysdeps/generic/sysdep.h: Likewise.
25644 * sysdeps/i386/sysdep.h: Likewise.
25645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25646 * sysdeps/mach/sysdep.h: Likewise.
25647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25649 * sysdeps/sh/sysdep.h: Likewise.
25650 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25651 * sysdeps/unix/i386/sysdep.S: Likewise.
25652 * sysdeps/unix/sparc/start.c: Likewise.
25653 * sysdeps/unix/sparc/sysdep.S: Likewise.
25654 * sysdeps/unix/sparc/sysdep.h: Likewise.
25655 * sysdeps/unix/start.c: Likewise.
25656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25657 * sysdeps/x86_64/sysdep.h: Likewise.
25658
df78418a
UD
256592012-01-07 Ulrich Drepper <drepper@gmail.com>
25660
a784e502
UD
25661 [BZ #13553]
25662 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25663 for non-gcc.
25664 * argp/argp-fmtstream.h: Use const instead __const.
25665 * argp/argp.h: Likewise.
25666 * assert/assert.h: Likewise.
25667 * bits/fenv.h: Likewise.
25668 * bits/sched.h: Likewise.
25669 * bits/sigset.h: Likewise.
25670 * bits/sigthread.h: Likewise.
25671 * catgets/nl_types.h: Likewise.
25672 * conform/data/pthread.h-data: Likewise.
25673 * crypt/crypt-private.h: Likewise.
25674 * crypt/crypt.h: Likewise.
25675 * crypt/crypt_util.c: Likewise.
25676 * ctype/ctype.h: Likewise.
25677 * debug/execinfo.h: Likewise.
25678 * debug/mbsnrtowcs_chk.c: Likewise.
25679 * debug/mbsrtowcs_chk.c: Likewise.
25680 * debug/wcsnrtombs_chk.c: Likewise.
25681 * debug/wcsrtombs_chk.c: Likewise.
25682 * debug/wcstombs_chk.c: Likewise.
25683 * dirent/dirent.h: Likewise.
25684 * dlfcn/dlfcn.h: Likewise.
25685 * elf/neededtest4.c: Likewise.
25686 * grp/grp.h: Likewise.
25687 * gshadow/gshadow.h: Likewise.
25688 * iconv/gconv.h: Likewise.
25689 * iconv/gconv_int.h: Likewise.
25690 * iconv/gconv_simple.c: Likewise.
25691 * iconv/iconv.h: Likewise.
25692 * iconv/loop.c: Likewise.
25693 * iconv/skeleton.c: Likewise.
25694 * include/aio.h: Likewise.
25695 * include/aliases.h: Likewise.
25696 * include/argz.h: Likewise.
25697 * include/arpa/inet.h: Likewise.
25698 * include/assert.h: Likewise.
25699 * include/dirent.h: Likewise.
25700 * include/dlfcn.h: Likewise.
25701 * include/execinfo.h: Likewise.
25702 * include/fcntl.h: Likewise.
25703 * include/fenv.h: Likewise.
25704 * include/glob.h: Likewise.
25705 * include/grp.h: Likewise.
25706 * include/libintl.h: Likewise.
25707 * include/mntent.h: Likewise.
25708 * include/netdb.h: Likewise.
25709 * include/pwd.h: Likewise.
25710 * include/rpc/netdb.h: Likewise.
25711 * include/sched.h: Likewise.
25712 * include/search.h: Likewise.
25713 * include/shadow.h: Likewise.
25714 * include/signal.h: Likewise.
25715 * include/stdio.h: Likewise.
25716 * include/stdlib.h: Likewise.
25717 * include/string.h: Likewise.
25718 * include/sys/socket.h: Likewise.
25719 * include/sys/stat.h: Likewise.
25720 * include/sys/statfs.h: Likewise.
25721 * include/sys/statvfs.h: Likewise.
25722 * include/sys/syslog.h: Likewise.
25723 * include/sys/time.h: Likewise.
25724 * include/sys/uio.h: Likewise.
25725 * include/time.h: Likewise.
25726 * include/unistd.h: Likewise.
25727 * include/utmp.h: Likewise.
25728 * include/wchar.h: Likewise.
25729 * include/wctype.h: Likewise.
25730 * inet/aliases.h: Likewise.
25731 * inet/arpa/inet.h: Likewise.
25732 * inet/netinet/ether.h: Likewise.
25733 * inet/netinet/in.h: Likewise.
25734 * intl/libintl.h: Likewise.
25735 * io/bits/fcntl2.h: Likewise.
25736 * io/fcntl.h: Likewise.
25737 * io/ftw.h: Likewise.
25738 * io/sys/poll.h: Likewise.
25739 * io/sys/stat.h: Likewise.
25740 * io/sys/statfs.h: Likewise.
25741 * io/sys/statvfs.h: Likewise.
25742 * io/utime.h: Likewise.
25743 * libio/bits/stdio.h: Likewise.
25744 * libio/bits/stdio2.h: Likewise.
25745 * libio/libio.h: Likewise.
25746 * libio/libioP.h: Likewise.
25747 * libio/stdio.h: Likewise.
25748 * locale/lc-ctype.c: Likewise.
25749 * locale/locale.h: Likewise.
25750 * login/utmp.h: Likewise.
25751 * malloc/arena.c: Likewise.
25752 * malloc/malloc.c: Likewise.
25753 * malloc/malloc.h: Likewise.
25754 * malloc/mcheck.c: Likewise.
25755 * malloc/mtrace.c: Likewise.
25756 * math/bits/mathcalls.h: Likewise.
25757 * math/fenv.h: Likewise.
25758 * math/math_private.h: Likewise.
25759 * misc/bits/error.h: Likewise.
25760 * misc/bits/syslog.h: Likewise.
25761 * misc/err.h: Likewise.
25762 * misc/error.h: Likewise.
25763 * misc/fstab.h: Likewise.
25764 * misc/mntent.h: Likewise.
25765 * misc/regexp.h: Likewise.
25766 * misc/search.h: Likewise.
25767 * misc/sgtty.h: Likewise.
25768 * misc/sys/mman.h: Likewise.
25769 * misc/sys/syslog.h: Likewise.
25770 * misc/sys/uio.h: Likewise.
25771 * misc/sys/xattr.h: Likewise.
25772 * misc/ttyent.h: Likewise.
25773 * nis/rpcsvc/ypclnt.h: Likewise.
25774 * nss/nss.h: Likewise.
25775 * posix/bits/unistd.h: Likewise.
25776 * posix/fnmatch.h: Likewise.
25777 * posix/glob.h: Likewise.
25778 * posix/sched.h: Likewise.
25779 * posix/spawn.h: Likewise.
25780 * posix/sys/wait.h: Likewise.
25781 * posix/unistd.h: Likewise.
25782 * posix/wordexp.h: Likewise.
25783 * pwd/pwd.h: Likewise.
25784 * resolv/netdb.h: Likewise.
25785 * resource/sys/resource.h: Likewise.
25786 * rt/aio.h: Likewise.
25787 * rt/bits/mqueue2.h: Likewise.
25788 * rt/mqueue.h: Likewise.
25789 * shadow/shadow.h: Likewise.
25790 * signal/signal.h: Likewise.
25791 * socket/send.c: Likewise.
25792 * socket/sendto.c: Likewise.
25793 * socket/sys/socket.h: Likewise.
25794 * stdio-common/printf.h: Likewise.
25795 * stdlib/bits/stdlib.h: Likewise.
25796 * stdlib/fmtmsg.h: Likewise.
25797 * stdlib/monetary.h: Likewise.
25798 * stdlib/stdlib.h: Likewise.
25799 * stdlib/ucontext.h: Likewise.
25800 * streams/stropts.h: Likewise.
25801 * string/argz.h: Likewise.
25802 * string/bits/string2.h: Likewise.
25803 * string/string.h: Likewise.
25804 * string/strings.h: Likewise.
25805 * sunrpc/rpc/auth.h: Likewise.
25806 * sunrpc/rpc/auth_des.h: Likewise.
25807 * sunrpc/rpc/clnt.h: Likewise.
25808 * sunrpc/rpc/netdb.h: Likewise.
25809 * sunrpc/rpc/pmap_clnt.h: Likewise.
25810 * sunrpc/rpc/xdr.h: Likewise.
25811 * sysdeps/generic/inttypes.h: Likewise.
25812 * sysdeps/generic/net/if.h: Likewise.
25813 * sysdeps/generic/sys/swap.h: Likewise.
25814 * sysdeps/gnu/net/if.h: Likewise.
25815 * sysdeps/gnu/utmpx.h: Likewise.
25816 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25817 * sysdeps/i386/i486/bits/string.h: Likewise.
25818 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25819 * sysdeps/s390/bits/string.h: Likewise.
25820 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25821 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25822 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25823 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25824 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25825 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25826 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25827 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25828 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25829 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25830 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25831 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25832 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25833 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25834 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25835 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25836 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25841 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25842 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25843 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25844 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25845 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25848 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25850 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25851 * sysvipc/sys/ipc.h: Likewise.
25852 * sysvipc/sys/msg.h: Likewise.
25853 * sysvipc/sys/sem.h: Likewise.
25854 * sysvipc/sys/shm.h: Likewise.
25855 * termios/termios.h: Likewise.
25856 * time/sys/time.h: Likewise.
25857 * time/time.h: Likewise.
25858 * wcsmbs/bits/wchar2.h: Likewise.
25859 * wcsmbs/uchar.h: Likewise.
25860 * wcsmbs/wchar.h: Likewise.
25861 * wctype/wctype.h: Likewise.
25862
0269750c
UD
25863 [BZ #13551]
25864 * Makeconfig: Remove all but ELF support including AIX support.
25865 * Makerules: Likewise.
25866 * config.h.in: Likewise.
25867 * config.make.in: Likewise.
25868 * configure: Likewise.
25869 * configure.in: Likewise.
25870 * csu/Makefile: Likewise.
25871 * csu/version.c: Likewise.
25872 * debug/Makefile: Likewise.
25873 * dlfcn/Makefile: Likewise.
25874 * elf/Makefile: Likewise.
25875 * extra-lib.mk: Likewise.
25876 * iconv/Makefile: Likewise.
25877 * include/libc-symbols.h: Likewise.
25878 * include/shlib-compat.h: Likewise.
25879 * resolv/Makefile: Likewise.
25880 * resolv/res_libc.c: Likewise.
25881 * rt/Makefile: Likewise.
25882 * sysdeps/i386/asm-syntax.h: Likewise.
25883 * sysdeps/i386/sysdep.h: Likewise.
25884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25885 * sysdeps/mach/sysdep.h: Likewise.
25886 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25887 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25888 * sysdeps/s390/asm-syntax.h: Likewise.
25889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25891 * sysdeps/sh/sysdep.h: Likewise.
25892 * sysdeps/unix/sparc/sysdep.h: Likewise.
25893 * sysdeps/wordsize-32/divdi3.c: Likewise.
25894 * sysdeps/x86_64/sysdep.h: Likewise.
25895
00bbd29b
UD
25896 * argp/Versions: Remove _argp_unlock_xxx.
25897
25898 [BZ #13559]
25899 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25900 * abilist/libBrokenLocale.abilist: Likewise.
25901 * abilist/libanl.abilist: Likewise.
25902 * abilist/libc.abilist: Likewise.
25903 * abilist/libcrypt.abilist: Likewise.
25904 * abilist/libdl.abilist: Likewise.
25905 * abilist/libm.abilist: Likewise.
25906 * abilist/libnsl.abilist: Likewise.
25907 * abilist/libpthread.abilist: Likewise.
25908 * abilist/libresolv.abilist: Likewise.
25909 * abilist/librt.abilist: Likewise.
25910 * abilist/libthread_db.abilist: Likewise.
25911 * abilist/libutil.abilist: Likewise.
25912 * abilist/libnss_db.abilist: New file.
25913
25914 * scripts/abilist.awk: Add support for indirect functions.
25915
a2693a0e
UD
25916 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25917
3f05895f
UD
25918 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25919
ecb6fb48
UD
25920 * shlib-versions: Remove entries for ports architectures.
25921
664f8cb9
UD
25922 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25923 files in ports.
25924 * elf/stackguard-macros.h: Remove support for IA-64.
25925 * elf/tst-auditmod1.c: Likewise.
25926 * sysdeps/generic/ldsodefs.h: Likewise.
25927
7ae81d88
UD
25928 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25929 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25930 configure files.
25931
bdeba135
UD
25932 [BZ #13552]
25933 * configure.in: Remove --enable-omitfp support.
25934 * FAQ.in: Adjust.
25935 * config.make.in: Likewise.
25936 * Makeconfig: Likewise.
25937 * manual/install.texi: Likewise.
25938
d75a0a62
UD
25939 In case anyone cares, the IA-64 architecture could move to ports.
25940 * sysdeps/ia64/*: Removed.
25941 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25942 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25943
dcc9756b
UD
25944 [BZ #13555]
25945 * configure.in: Remove entries for unsupported architectures.
25946
d3761ebc 25947 [BZ #13533]
9954432e
UD
25948 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25949 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25950 routines.
25951 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25952 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25953 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25954 fall back to using wcrtomb.
25955 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25956 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25957 renaming.
25958 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25959 * wcsmbs/tst-c16c32-1.c: New file.
25960
25961 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25962 local variable.
25963
c3a87236
UD
25964 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25965
28926a1b
UD
25966 * elf/tst-unique3.cc: Add explicit declaration of gets.
25967 * elf/tst-unique3lib.cc: Likewise.
25968 * elf/tst-unique3lib2.cc: Likewise.
25969 * elf/tst-unique4.cc: Likewise.
25970
df78418a
UD
25971 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25972
8ecd6b2a
JM
259732012-01-06 Joseph Myers <joseph@codesourcery.com>
25974
25975 [BZ #13566]
25976 * assert/assert.h (static_assert): Don't define for C++.
25977 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25978 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25979
9f115170
UD
259802012-01-03 Ulrich Drepper <drepper@gmail.com>
25981
5e0d0300
UD
25982 * iconv/loop.c (single loop): Fix assertion in storing of
25983 remaining bytes.
25984
9f115170
UD
25985 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25986
81fb02b0
UD
259872012-01-01 Ulrich Drepper <drepper@gmail.com>
25988
25989 * posix/getconf.c: Update copyright year.
25990 * nss/getent.c: Likewise.
a316c1f6 25991 * nss/makedb.c: Likewise.
81fb02b0
UD
25992 * iconv/iconvconfig.c: Likewise.
25993 * iconv/iconv_prog.c: Likewise.
25994 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25995 * elf/pldd.c: Likewise.
25996 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25997 * catgets/gencat.c: Likewise.
25998 * csu/version.c: Likewise.
25999 * elf/ldd.bash.in: Likewise.
26000 * elf/sprof.c (print_version): Likewise.
26001 * locale/programs/locale.c: Likewise.
26002 * locale/programs/localedef.c: Likewise.
a316c1f6 26003 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26004 * nscd/nscd.c (print_version): Likewise.
26005 * debug/xtrace.sh: Likewise.
26006 * malloc/memusage.sh: Likewise.
26007 * malloc/mtrace.pl: Likewise.
26008 * debug/catchsegv.sh: Likewise.
26009
2ba92745
JJ
260102011-12-30 Jakub Jelinek <jakub@redhat.com>
26011
26012 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26013 pure attribute.
26014
dadebdae
UD
260152011-12-24 Ulrich Drepper <drepper@gmail.com>
26016
d3761ebc 26017 [BZ #13533]
db6af3eb
UD
26018 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26019 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26020 transformations.
26021 * iconv/gconv_int.h: Likewise.
26022 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26023 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26024 from libc for GLIBC_2.16.
26025 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26026 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26027 * wcsmbs/uchar.h: Really define mbstate_t.
26028 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26029 * wcsmbs/c16rtomb.c: New file.
26030 * wcsmbs/mbrtoc16.c: New file.
26031 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26032 for C/POSIX locale.
26033 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26034 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26035
dadebdae
UD
26036 * wcsmbs/wchar.h: Add missing __restrict.
26037
67371b56
UD
260382011-12-23 Ulrich Drepper <drepper@gmail.com>
26039
74033a25
UD
26040 [BZ #13532]
26041 * time/Makefile (routines): Add timespec_get.
26042 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26043 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26044 timespec for ISO C11.
26045 * time/timespec_get.c: New file.
26046 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26047 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26048
380d7e87
UD
26049 [BZ #13531]
26050 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26051 * stdlib/stdlib.h: Declare aligned_alloc.
26052 * Versions.def: Add GLIBC_2.16 for libc.
26053 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26054
4e9e7a35
UD
26055 [BZ 13527]
26056 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26057 ISO C11.
26058
380d7e87 26059 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26060 code.
26061
03a71829
UD
26062 [BZ #13528]
26063 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26064
839e283e
UD
26065 [BZ #13529]
26066 * assert/assert.h (static_assert): Define.
26067
ce5294e2 26068 * version.h: Update for 2.16 development version.
90fa7312 26069
8d44e150 26070 [BZ #13526]
d7809905
UD
26071 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26072 _ISOC11_SOURCE.
26073
c0da14cd
UD
26074 * version.h (RELEASE): Bump for 2.15 release.
26075 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26076
530a3249
MP
26077 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26078 Patch by Marek Polacek <mpolacek@redhat.com>.
26079
67371b56
UD
26080 * bits/byteswap.h: Protect long long constants with __extension__.
26081 * sysdeps/i386/bits/byteswap.h: Likewise.
26082 * sysdeps/ia64/bits/byteswap.h: Likewise.
26083 * sysdeps/s390/bits/byteswap.h: Likewise.
26084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26085
15db4de1
LD
260862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26087
26088 [BZ #13540]
bbe315ea
LD
26089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26090 destination buffer.
15db4de1
LD
26091 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26092
2b2596b1
MP
260932011-12-23 Marek Polacek <polacek@redhat.com>
26094
26095 * elf/dl-addr.c (determine_info): Add inline keyword.
26096 * elf/tst-auditmod4b.c (check_avx): Likewise.
26097 * elf/tst-auditmod6b.c (check_avx): Likewise.
26098 * elf/tst-auditmod6c.c (check_avx): Likewise.
26099 * elf/tst-auditmod7b.c (check_avx): Likewise.
26100
70c6c246
UD
261012011-12-23 Ulrich Drepper <drepper@gmail.com>
26102
26103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26104 !__SSE_MATH__.
26105
c044cf14
LD
261062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26107
15db4de1 26108 [BZ #13540]
c044cf14
LD
26109 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26110 processing for last bytes.
26111
6b13d9d9
BH
261122011-08-06 Bruno Haible <bruno@clisp.org>
26113
d455f537
BH
26114 [BZ #13061]
26115 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26116 U+0385, not to U+1FEE.
26117
6b13d9d9
BH
26118 [BZ #13062]
26119 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26120 entry for U+00A5 U+0301.
26121
db910efd
UD
261222011-12-22 Ulrich Drepper <drepper@gmail.com>
26123
27deeafc
UD
26124 [BZ #13166]
26125 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26126 buffer for the output is too small.
26127
aed9d171
UD
26128 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26129 optimization.
26130
db910efd
UD
26131 [BZ #13185]
26132 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26133 SSE flags if possible.
26134
2bd779ae
LD
261352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26136
e7f9dac3 26137 [BZ #13540]
2bd779ae
LD
26138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26139 processing for last bytes.
26140
154bfc16
JM
261412011-12-22 Joseph Myers <joseph@codesourcery.com>
26142
26143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26144 (syscall-list-default-options, syscall-list-default-condition)
26145 (syscall-list-includes): Define.
26146 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26147 list of ABIs and options and #if conditions for each ABI. Do not
26148 handle common syscalls between ABIs specially.
26149 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26150 Remove.
26151 (syscall-list-variants, syscall-list-32bit-options)
26152 (syscall-list-32bit-condition, syscall-list-64bit-options)
26153 (syscall-list-64bit-condition): Define.
26154 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26155 (syscall-list-variants, syscall-list-32bit-options)
26156 (syscall-list-32bit-condition, syscall-list-64bit-options)
26157 (syscall-list-64bit-condition): Define.
26158 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26159 Remove.
26160 (syscall-list-variants, syscall-list-32bit-options)
26161 (syscall-list-32bit-condition, syscall-list-64bit-options)
26162 (syscall-list-64bit-condition): Define.
26163 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26164 Remove.
26165 (syscall-list-variants, syscall-list-32bit-options)
26166 (syscall-list-32bit-condition, syscall-list-64bit-options)
26167 (syscall-list-64bit-condition): Define.
26168
21eaf3a5
UD
261692011-12-22 Ulrich Drepper <drepper@gmail.com>
26170
16c6f992
UD
26171 * locale/iso-639.def: Add brx entry.
26172
41043168
UD
26173 [BZ #13328]
26174 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26175 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26176
21eaf3a5
UD
26177 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26178 __feraiseexcept_renamed.
26179
e3a851a2
UD
261802011-12-21 Ulrich Drepper <drepper@gmail.com>
26181
4920765e
UD
26182 [BZ #13538]
26183 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26184 EPOLLET with unsigned values.
26185 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26187
e3a851a2
UD
26188 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26189 to large cancellation.
26190 * math/s_cacoshf.c: Likewise.
26191 * math/s_cacoshl.c: Likewise.
26192
b27e24b8
RK
261932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26194
26195 [BZ #13305]
aebefeee 26196 [BZ #12786]
b27e24b8
RK
26197 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26198 * math/s_cacoshf.c: Likewise.
26199 * math/s_cacoshl.c: Likewise.
26200
ee190f67
UD
262012011-12-21 Ulrich Drepper <drepper@gmail.com>
26202
26203 [BZ #13439]
26204 * iconv/gconv.h: Define __GCONV_SWAP.
26205 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26206 * iconvdata/utf-16.c: Likewise.
26207 * iconvdata/utf-32.c: Likewise.
26208
707f25df
AS
262092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26210
26211 [BZ #13524]
26212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26213 numerator after shifting it by one limb.
26214
d2daaa1e
RÁE
262152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26216
26217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26218 under [__USE_EXTERN_INLINES].
26219
a4647e72
UD
262202011-12-17 Ulrich Drepper <drepper@gmail.com>
26221
26222 [BZ #13446]
26223 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26224
f0b264f1
AZ
262252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26226
26227 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26228 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26229 optimized code.
26230 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26232 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26233 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26234 for strncasecmp/strncasecmp_l compilation.
26235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26236 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26237
8ef4f244
MP
262382011-12-08 Marek Polacek <mpolacek@redhat.com>
26239
26240 [BZ #13484]
26241 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26242 of __asm__.
26243
97ac2654
UD
262442011-12-17 Ulrich Drepper <drepper@gmail.com>
26245
26246 [BZ #13506]
26247 * time/tzfile.c (__tzfile_read): Check values from file header.
26248
91d2a845
WS
262492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26250
26251 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26252 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26253 * powerpc/powerpc32/dl-start.S: Likewise.
26254 * powerpc/powerpc32/elf/start.S: Likewise.
26255 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26256 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26257 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26258 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26259 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26260 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26261 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26262 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26263 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26264 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26265 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26266 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26267 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26268 * powerpc/powerpc32/memset.S: Likewise.
26269 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26270 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26271 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26272 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26273 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26274 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26275 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26276 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26277 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26278 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26279 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26282
a1267ba1
AZ
262832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26284
26285 * math/libm-test.inc: Added more nearbyint tests.
26286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26290
ad8ac1bd
RL
262912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26292
26293 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26294 FD_CLOEXEC.
26295
1d3e4b61
UD
262962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26297
26298 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26299 Add wcscpy-ssse3 wcscpy-c.
26300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26301 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26302 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26303 * sysdeps/x86_64/wcschr.S: New file.
26304 * sysdeps/x86_64/wcsrchr.S: New file.
26305 * string/test-strcmp.c: Remove checking of wcscmp function for
26306 wrong alignments.
26307 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26308 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26309 wcsrchr-sse2 wcsrchr-c.
26310 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26311 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26312 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26313 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26314 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26315 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26316 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26317 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26319 * wcsmbc/wcschr.c (WCSCHR): New macro.
26320
5b330a2d
UD
263212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
26323 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26324 * wcsmbs/test-wcsrchr.c: New file.
26325 * string/test-strrchr.c: Add wcsrchr support.
26326 (WIDE): New macro.
26327 * wcsmbs/test-wcscpy.c: New file.
26328 * string/test-strcpy.c: Add wcscpy support.
26329 (WIDE): New macro.
26428b7c 26330
f039c043
UD
263312011-12-10 Ulrich Drepper <drepper@gmail.com>
26332
26333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26334 the inner loop.
26335
850fb039
AS
263362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26337
26338 [BZ #13472]
26339 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26340
4efbd5cb
UD
263412011-12-04 Ulrich Drepper <drepper@gmail.com>
26342
52ff5dd0 26343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26344 Minor optimizations.
52ff5dd0 26345
4efbd5cb
UD
26346 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26347 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26349
8a426e12
UD
263502011-12-03 Ulrich Drepper <drepper@gmail.com>
26351
aff2453d
UD
26352 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26353 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26354 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26355 for gcc to avoid warnings.
26356 * inet/Makefile (tests): Add tst-checks.
26357 * inet/tst-checks.c: New file.
26358
26359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26360 warning.
26361
26362 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26363 __wmemcmp_sse2.
26364
26365 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26366 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26367
8a426e12
UD
26368 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26369
9bea3473
UD
263702011-12-02 Ulrich Drepper <drepper@gmail.com>
26371
3a965496
UD
26372 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26373 problem.
26374
9bea3473
UD
26375 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26376
f101631b
UD
263772011-11-29 Joseph Myers <joseph@codesourcery.com>
26378
26379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26380 conditional on GCC version.
26381 (__arch_compare_and_exchange_val_8_acq)
26382 (__arch_compare_and_exchange_val_16_acq)
26383 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26384 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26385 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26386
a98275aa
UD
263872011-12-02 Joseph Myers <joseph@codesourcery.com>
26388
26389 * sysdeps/sh/backtrace.c: New file.
26390
d4cc29a2
AS
263912011-12-02 Andreas Schwab <schwab@redhat.com>
26392
26393 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26394 parenthesis.
26395
6257af2d
AS
263962011-12-01 Andreas Schwab <schwab@redhat.com>
26397
26398 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26399 falling back to utime.
26400
b5f44c1a
AS
264012011-11-30 Andreas Schwab <schwab@redhat.com>
26402
26403 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26404 expectations for float.
26405
f3a6cc0a
AS
264062011-11-29 Andreas Schwab <schwab@redhat.com>
26407
26408 * locale/weight.h (findidx): Add parameter len.
26409 * locale/weightwc.h (findidx): Likewise.
26410 * posix/fnmatch_loop.c (FCT): Adjust caller.
26411 * posix/regcomp.c (build_equiv_class): Likewise.
26412 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26413 * posix/regexec.c (check_node_accept_bytes): Likewise.
26414 * string/strcoll_l.c (STRCOLL): Likewise.
26415 * string/strxfrm_l.c (STRXFRM): Likewise.
26416
9d65ea3a
UD
264172011-11-17 Ulrich Drepper <drepper@gmail.com>
26418
26419 * Makefile.in: Remove CVSOPT handling.
26420 * configure.in: Remove use of AC_REVISION.
26421 * iconvdata/Makefile (distribute): No need to filter out CVS.
26422 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26423 handling.
26424
5583a086
AS
264252011-11-16 Andreas Schwab <schwab@redhat.com>
26426
26427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26428 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26429 [USE_AS_STRNCASECMP_L]: Likewise.
26430 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26431 NO_TLS_DIRECT_SEG_REFS.
26432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26433 Fix argument offsets for non-PIC.
26434 [USE_AS_STRNCASECMP_L]: Likewise.
26435 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26436 NO_TLS_DIRECT_SEG_REFS.
26437
d62a8200
UD
264382011-11-15 Ulrich Drepper <drepper@gmail.com>
26439
9d65ea3a 26440 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26441 O_CLOEXEC.
26442 * locale/loadlocale.c (_nl_load_locale): Likewise.
26443
09f93bd3
AS
264442011-11-15 Andreas Schwab <schwab@redhat.com>
26445
446514f9
AS
26446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26447 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26449 (SYSCALL_GETTIME): Set errno on error.
26450
09f93bd3
AS
26451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26452 count references to noai6ai_cached.
26453
312be3f9
UD
264542011-11-15 Ulrich Drepper <drepper@gmail.com>
26455
26456 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26457
26458 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26459 FD_CLOEXEC for /proc/self/maps.
26460
26461 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26462 FD_CLOEXEC for /proc/meminfo.
26463
26464 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26465 gai.conf.
26466
26467 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26468 FD_CLOEXEC for given file.
26469
26470 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26471
26472 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26473 FD_CLOEXEC for /etc/hosts.
26474 (_gethtent): Likewise.
26475
26476 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26477
26478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26479 cancellation and set FD_CLOEXEC for /etc/netgroup.
26480
26481 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26482 reading /etc/publickey.
26483
26484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26485 allow cancellation when reading /etc/group.
26486
26487 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26488 cancellation.
26489 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26490
26491 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26492 when using data file.
26493
26494 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26495
26496 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26497 (write_nis_obj): Use "c" and "e" in fopen.
26498
26499 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26500
26501 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26502
26503 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26504
26505 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26506
26507 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26508 locale.alias.
26509
26510 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26511
26512 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26513
26514 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26515
26516 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26517 file parsing and set FD_CLOEXEC.
26518
82af0fa8
UD
265192011-11-14 Ulrich Drepper <drepper@gmail.com>
26520
26521 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26522
a5fb313c
AS
265232011-11-14 Andreas Schwab <schwab@redhat.com>
26524
26525 * malloc/arena.c (arena_get2): Don't call reused_arena when
26526 _int_new_arena failed.
26527
6abf3465
UD
265282011-11-14 Ulrich Drepper <drepper@gmail.com>
26529
26530 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26531 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26536 to compile strcasecmp and strncasecmp.
26537 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26538 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26539
26540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26541
76e3966e
UD
265422011-11-13 Ulrich Drepper <drepper@gmail.com>
26543
26544 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26545 locale-defines.sym to gen-as-const-headers.
26546 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26547 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26549 to compile strcasecmp and strncasecmp.
26550 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26551 strcasecmp_l and strncasecmp_l.
26552 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26553 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26554 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26556 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26558 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26559 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26560 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26561 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26562 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26563
ab26144e
UD
265642011-11-12 Ulrich Drepper <drepper@gmail.com>
26565
7edb22ef
UD
26566 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26567 result of SYSDEP_GETTIME_CPU to retval.
26568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26569 parameter list to macro. Remove trailing semicolon. Adjust users.
26570
9694fc44
UD
26571 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26572 variable.
26573
8ad89ef8
UD
26574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26575 mantissa words.
26576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26577
0c822ef9
UD
26578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26579 from unused variable.
26580
874e0564
UD
26581 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26582 DWARF definitions.
26583 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26584 for assembling.
26585
3a2edc79
UD
26586 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26587 over namespaces.
26588
f3c2577f
UD
26589 * sunrpc/rpc_prot.c (rejected): Fix case value.
26590
294ce126
UD
26591 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26592 unsigned long long int to avoid warnings in shift.
26593
5e2b63c6
UD
26594 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26595 of use of trans.
26596 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26597 variable tmp.
26598
e7f4b08e
UD
26599 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26600 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26602
ab26144e
UD
26603 * nis/nis_table.c (nis_list): Use variable of correct type for
26604 result of __follow_path call.
26605
8a6d5255
AZ
266062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26607
26608 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26609 of math functions ceil, trunc, floor, round, and sqrt, when
26610 avaliable on the platform.
26611 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26612 name clash.
26613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26614 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26615 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26616
aaddc98c
MP
266172011-10-30 Marek Polacek <mpolacek@redhat.com>
26618
26619 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26621
95b7042b
RM
266222011-11-11 Roland McGrath <roland@hack.frob.com>
26623
26624 * include/unistd.h: Fix __readlink return type.
26625 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26626
57769839
UD
266272011-11-11 Ulrich Drepper <drepper@gmail.com>
26628
26629 * stdlib/ucontext.h: Undo last change for makecontext.
26630
edc5984d
AS
266312011-11-11 Andreas Schwab <schwab@redhat.com>
26632
98591e58
AS
26633 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26634
edc5984d
AS
26635 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26636 * setjmp/setjmp.h: Mark functions as non-leaf.
26637 * setjmp/bits/setjmp2.h: Likewise.
26638 * stdlib/ucontext.h: Likewise.
26639
77cdc054
AS
266402011-11-10 Andreas Schwab <schwab@redhat.com>
26641
26642 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26643 (reused_arena): Don't check arena limit.
26644 (arena_get2): Atomically check arena limit.
26645
fe72eebd
UD
266462011-11-08 Ulrich Drepper <drepper@gmail.com>
26647
5f078c32
UD
26648 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26649 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26650
fe72eebd
UD
26651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26652 instructions.
26653
ae1bc2fa
AS
266542011-11-07 Andreas Schwab <schwab@redhat.com>
26655
7583a88d
AS
26656 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26657 handler when locking.
26658
ae1bc2fa
AS
26659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26660 Fix size of allocated buffer.
26661
10fb0bfa
AS
266622011-11-04 Andreas Schwab <schwab@redhat.com>
26663
998832a4
AS
26664 [BZ #10103]
26665 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26666 declarations for long double functions.
26667 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26668
10fb0bfa
AS
26669 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26670
3d7ba52b
AS
266712011-11-03 Andreas Schwab <schwab@redhat.com>
26672
a9ae54a1
AS
26673 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26674 installed.
26675
3d7ba52b
AS
26676 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26677 is disabled.
26678
bc8db248
ST
266792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26680
26681 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26682
45b96dd6
AS
266832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26684
647776f6
AS
26685 * include/alloca.h (stackinfo_alloca_round): Define.
26686 (extend_alloca): Use it.
26687 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26688 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26689 here.
26690
d91a8b93
AS
26691 * scripts/check-local-headers.sh: Ignore libaudit.h.
26692
45b96dd6
AS
26693 * nscd/Makefile (extra-objs): Make recursively expanded.
26694
432d41ce
UD
266952011-11-01 Ulrich Drepper <drepper@gmail.com>
26696
34372fc6
UD
26697 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26699
fadb59f8
UD
26700 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26701 * posix/tst-rfc3484-2.c: Likewise.
26702 * posix/tst-rfc3484-3.c: Likewise.
26703
78239589
UD
26704 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26705 process_vm_writev.
26706 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26707 process_vm_writev.
26708 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26709 process_vm_writev from libc using GLIBC_2.15 version.
26710
432d41ce
UD
26711 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26712
02f9c6cf
PP
267132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26714
26715 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26716 stack usage.
26717
3a2c0242
UD
267182011-10-31 Ulrich Drepper <drepper@gmail.com>
26719
f4ec4833
UD
26720 [BZ #13367]
26721 * nss/getent.c (initgroups_keys): Show error message in case no group
26722 names are given.
26723
3a2c0242
UD
26724 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26725 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26726 __bump_nl_timestamp.
26727 * nscd/connections (nscd_init): When host database is served open
26728 netlink socket and request notification about configuration changes.
26729 (main_loop_poll): Track netlink file descriptor and bump timestamp
26730 in case data becomes available.
26731 (main_loop_epoll): Likewise.
26732 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26733 (database_pers_head): Add extra_data fileds.
26734 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26736 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26737 Adjust caller.
26738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26739 in6ai data, call __free_in6ai.
26740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26741 Add -DHAVE_NETLINK.
26742 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26743 interface information. Reuse previous data if netlink timestamp
26744 is not changed.
26745 (__bump_nl_timestamp): New function.
26746 (__free_in6ai): New function.
26747
636064eb
UD
267482011-10-30 Ulrich Drepper <drepper@gmail.com>
26749
26750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26751 close_not_cancel_no_status here.
26752 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26753
9beb2334
UD
267542011-10-29 Ulrich Drepper <drepper@gmail.com>
26755
6ef76f3b
UD
26756 [BZ #13276]
26757 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26758 return value.
26759
0ffc4f3e 26760 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26761 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26762 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26763
cb95113e
UD
267642011-07-03 Andreas Jaeger <aj@suse.de>
26765
26766 [BZ #10709]
26767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26768 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26769 * math/libm-test.inc (sin_test): Add test case.
26770
a1b560ff
UD
267712011-10-29 Ulrich Drepper <drepper@gmail.com>
26772
c9aaface
UD
26773 [BZ #13337]
26774 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26776
d272e7f1
UD
26777 * elf/chroot_canon.c (chroot_canon): Cleanups.
26778
1bc33071
UD
26779 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26780
1760874d
TJ
26781 [BZ #13335]
26782 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26784
51d91b18
UD
26785 * string/test-strchr.c: Make usable for strchrnul testing.
26786 * string/test-strchrnul.c: New file.
26787 * string/Makefile (strop-tests): Add strchrnul.
26788
a1b560ff 26789 * po/it.po: Update from translation team.
b611fb81 26790 * po/es.po: Likewise.
a1b560ff 26791
a5b81e1f
UD
267922011-10-28 Ulrich Drepper <drepper@gmail.com>
26793
fd52bc6d
UD
26794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26795 the three constants needed as parameters. Drop the others.
26796 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26797 __m128i_strloadu_tolower.
52e4b9eb
UD
26798 Create and initialize variable zero and use it in all the places
26799 where _mm_setzero_si128 was used.
fd52bc6d 26800
a5b81e1f
UD
26801 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26802 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26803 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26805 anymore.
26806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26809 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26810 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26811 __mpranred, __mptan.
26812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26816 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26817 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26821
b4343346
AS
268222011-10-28 Andreas Schwab <schwab@redhat.com>
26823
0c92d8a8
AS
26824 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26825 redefine if SHARED.
26826 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26827
b4343346
AS
26828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26829 wide char related routines to wcsmbs subdir.
26830
3871f58f
AS
268312011-10-27 Andreas Schwab <schwab@redhat.com>
26832
26833 [BZ #13344]
26834 * misc/sys/cdefs.h (__THROWNL): Define.
26835 * posix/unistd.h: Use __THREADNL instead of __THREAD
26836 for memory synchronization functions.
26837
94d44d9f
RM
268382011-10-26 Roland McGrath <roland@hack.frob.com>
26839
21b64b15 26840 [BZ #13349]
94d44d9f
RM
26841 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26842 doesn't exist.
26843 * manual/stdio.texi (Obstack Streams): Node removed.
26844
f6ce9294
AS
268452011-10-26 Andreas Schwab <schwab@redhat.com>
26846
80479147
AS
26847 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26849 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26850
f6ce9294
AS
26851 * math/math_private.h (math_force_eval): Allow non-addressable
26852 arguments.
26853 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26854
618280a1
UD
268552011-10-25 Ulrich Drepper <drepper@gmail.com>
26856
e0016b11
UD
26857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26858 file is not needed.
26859
26860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26867 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26868 Add AVX variants.
26869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26874 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26879 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26880 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26882 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26883 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26884 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26885 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26887 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26888
26889 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26890 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26891
618280a1
UD
26892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26893 place. Use VEX encoding when compiling for AVX.
26894
37822576
AS
268952011-10-25 Andreas Schwab <schwab@redhat.com>
26896
1f1e1947
AS
26897 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26898 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26899
37822576
AS
26900 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26901
31ea014d
UD
269022011-10-25 Ulrich Drepper <drepper@gmail.com>
26903
d7826aa1 26904 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26905 useless if() expression.
d7826aa1
UD
26906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26911 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26917 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26920 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26922 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26925
31ea014d
UD
26926 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26927
16437fec
AS
269282011-10-25 Andreas Schwab <schwab@redhat.com>
26929
26930 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26931 condition.
26932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26933
31d3cc00
UD
269342011-10-25 Ulrich Drepper <drepper@gmail.com>
26935
26936 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26937 .text section. Avoid duplicate constants.
26938 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26949 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26950 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26951 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26952 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26962 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26963 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26964 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26968 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26969 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26971 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26972 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26973 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26974 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26976 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26980 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26982 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26983
58985aa9
UD
269842011-10-24 Ulrich Drepper <drepper@gmail.com>
26985
202c9deb
UD
26986 * sysdeps/x86_64/dla.h: Move to ...
26987 * sysdeps/x86_64/fpu/dla.h: ...here.
26988 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26989 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26990
af968f62
UD
26991 * config.make.in: Add have-mfma4 entry.
26992 * configure.in: Substitute libc_cv_cc_fma4.
26993 * math/Makefile (dbl-only-routines): Add sincostab.
26994 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26995 Use __sincostab not sincos.
26996 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26997 name is a macro.
26998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27002 using __copysign.
27003 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27004 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27005 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27006 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27007 and __inv.
27008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27009 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27010 __copysign.
27011 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27012 define aliases when function name is a macro.
27013 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27014 sysdeps/ieee754/dbl-64/sincos.tbl.
27015 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27016 fma4-enabled routines.
27017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27023 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27025 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27027 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27028 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27029 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27040 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27041 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27043 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27047
58985aa9
UD
27048 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27049 rename.
27050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27058
a201fbcf
AS
270592011-10-24 Andreas Schwab <schwab@redhat.com>
27060
27061 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27062
fc2ee42a
LD
270632011-10-23 Ulrich Drepper <drepper@gmail.com>
27064
bb3129bd
UD
27065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27066
0275fff8
UD
27067 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27068 prediction.
27069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27070
2fa2ae85
UD
27071 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27072 Remove unused variable magic_bits.
27073 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27074
fc2ee42a
LD
27075 * string/strnlen.c: Define and use STRNLEN macro.
27076 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27077 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27079 * wcsmbs/wcslen.c: Define and use WCSLEN.
27080 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27081 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27082 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27083 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27084 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27085 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27086 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27087
ce7dd29f
LD
270882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27089
27090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27091 strnlen-sse2-no-bsf.
27092 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27095 Add strnlen support.
27096 (USE_AS_STRNLEN): New macro.
27097 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27099 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27100 * sysdeps/x86_64/wcslen.S: New file.
27101
979c70a3
MZ
271022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27103
27104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27105 XMM-moves are used for copying on small sizes.
27106
2d09f82f
LD
271072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27108
27109 * wcsmbs/Makefile (strop-tests): Add wcschr.
27110 * wcsmbs/test-wcschr.c: New file.
27111 * string/test-strchr.c: Update.
27112 Add wcschr support.
27113 (WIDE): New macro.
27114
619fccca
LD
271152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27116
2d09f82f 27117 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27118 * wcsmbs/test-wcslen.c: New file.
27119 * string/test-strlen.c: Update.
27120 Add wcslen support.
27121 (WIDE): New macro.
27122
09f699ea
UD
271232011-10-23 Ulrich Drepper <drepper@gmail.com>
27124
27125 * po/it.po: Update from translation team.
27126
95584d3b
LD
271272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27128
27129 * sysdeps/x86_64/wcscmp.S: Update.
27130 Fix wrong comparison semantics.
27131 wcscmp shall use signed comparison not unsigned.
27132 Don't use substraction to avoid overflow bug.
27133 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27134 * wcsmbc/wcscmp.c: Likewise.
27135 * string/test-strcmp.c: Likewise.
27136 Add new tests to check cases with negative values.
27137
c8b3296b
UD
271382011-10-23 Ulrich Drepper <drepper@gmail.com>
27139
27140 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27141 * sysdeps/x86_64/dla.h: ...here. New file.
27142 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27151
246ad57a
AS
271522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27153
27154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27155 __ynl_finite aliases.
27156
a1a87169
UD
271572011-10-22 Ulrich Drepper <drepper@gmail.com>
27158
0d355eb7
UD
27159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27160
a1a87169
UD
27161 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27162 define DLA_FMA.
27163 [DLA_FMA] (EMULV): Use DLA_FMA.
27164 [DLA_FMA] (MUL12): Use EMULV.
27165 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27166 that are not needed.
27167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27174
ee2aafe0
AS
271752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27176
27177 * math/s_nan.c: Undef __nan.
27178 * math/s_nanf.c: Undef __nanf.
27179 * math/s_nanl.c: Undef __nanl.
27180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27181 "math_private.h".
27182
bc62c2fb
UD
271832011-10-22 Ulrich Drepper <drepper@gmail.com>
27184
77425c63
UD
27185 * math/s_catan.c: Add branch predictions.
27186 * math/s_catanf.c: Likewise.
27187 * math/s_catanh.c: Likewise.
27188 * math/s_catanhf.c: Likewise.
27189 * math/s_catanhl.c: Likewise.
27190 * math/s_catanl.c: Likewise.
27191 * math/s_cexp.c: Likewise.
27192 * math/s_cexpf.c: Likewise.
27193 * math/s_cexpl.c: Likewise.
27194 * math/s_clog.c: Likewise.
27195 * math/s_clog10.c: Likewise.
27196 * math/s_clog10f.c: Likewise.
27197 * math/s_clog10l.c: Likewise.
27198 * math/s_clogf.c: Likewise.
27199 * math/s_clogl.c: Likewise.
27200 * math/s_csqrt.c: Likewise.
27201 * math/s_csqrtf.c: Likewise.
27202 * math/s_csqrtl.c: Likewise.
27203 * math/s_ctanf.c: Likewise.
27204 * math/s_ctanh.c: Likewise.
27205 * math/s_ctanhf.c: Likewise.
27206 * math/s_ctanhl.c: Likewise.
27207 * math/s_ctanl.c: Likewise.
27208
bc62c2fb
UD
27209 * math/math_private.h: Define __nan, __nanf, __nanl.
27210 * math/s_cacosh.c: Include <math_private.h>.
27211 * math/s_cacoshl.c: Likewise.
27212 * math/s_casinh.c: Likewise.
27213 * math/s_casinhf.c: Likewise.
27214 * math/s_casinhl.c: Likewise.
27215 * math/s_ccos.c: Rely entire on ccosh.
27216 * math/s_ccosf.c: Rely entire on ccoshf.
27217 * math/s_ccosl.c: Rely entirely on ccoshl.
27218 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27219 Remove tests for FE_INVALID.
27220 * math/s_ccoshf.c: Likewise.
27221 * math/s_ccoshl.c: Likewise.
27222 * math/s_csin.c: Likewise.
27223 * math/s_csinf.c: Likewise.
27224 * math/s_csinh.c Likewise.
27225 * math/s_csinhf.c: Likewise.
27226 * math/s_csinhl.c: Likewise.
27227 * math/s_csinl.c: Likewise.
27228 * math/s_ctan.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27230 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27232
8ec250a4
UD
272332011-10-21 Ulrich Drepper <drepper@gmail.com>
27234
c196fed8
UD
27235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27236 compilation problems.
27237
8ec250a4
UD
27238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27239 __builtin_expect.
27240
8d4f46c6
UD
272412011-10-20 Ulrich Drepper <drepper@gmail.com>
27242
ed72b654
UD
27243 * sysdeps/i386/configure.in: Test for -mfma4 option.
27244 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27245 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27246 COMMON_CPUID_INDEX_80000001.
27247 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27248 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27249 use it if FMA3 is not supported.
27250 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27251
8d4f46c6
UD
27252 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27254
d45c60c2
AS
272552011-10-20 Andreas Schwab <schwab@redhat.com>
27256
27257 [BZ #12892]
27258 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27259 it would create a cycle with a link time dependency.
27260
d9a4d2ab
UD
272612011-10-19 Ulrich Drepper <drepper@gmail.com>
27262
855d1560
UD
27263 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27264 instruction.
27265 * string/Makefile (strop-tests): Add rawmemchr.
27266 * string/test-rawmemchr.c: New file.
27267
d9a4d2ab
UD
27268 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27270 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27271 when compiling str{,n}casecmp and when AVX is available. Hook up
27272 new optimized code in initializers.
27273
8f3b1ffe
AS
272742011-10-19 Andreas Schwab <schwab@redhat.com>
27275
27276 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27277 __feraiseexcept instead of feraiseexcept.
27278
d38f1dba
UD
272792011-10-18 Ulrich Drepper <drepper@gmail.com>
27280
d9a8d0ab
UD
27281 * math/math_private.h: Define defaults for libc_fetestexcept and
27282 libc_feupdateenv.
27283 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27284 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27285 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27289 libc_fetestexcept and libc_feupdateenv.
27290
4855e3dd
UD
27291 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27292 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27293 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27294 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27295 libc_feholdexcept_setround.
27296
581d30e3
UD
27297 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27298 Add s_nearbyint-c and s_nearbyintf-c.
27299 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27300 nearbyintf inlines.
27301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27304 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27305
d38f1dba
UD
27306 * math/math_private.h: Define defaults for libc_fegetround,
27307 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27308 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27309 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27311 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27312 standard functions.
27313 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27314 Remove comments and hacks for old compiler versions.
27315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27316 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27317 libc_feholdexceptl.
27318
caa6c9d8
AS
273192011-10-18 Andreas Schwab <schwab@redhat.com>
27320
27321 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27322 (__feraiseexcept_renamed): Add __NTH.
27323 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27324 namespace violations.
27325
97c066e6
UD
273262011-10-17 Ulrich Drepper <drepper@gmail.com>
27327
99ce7b04
UD
27328 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27329
1004d182
UD
27330 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27331
228a984d
UD
27332 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27333 recently added interfaces.
27334 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27335
c8553a6a
UD
27336 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27337 about macro parameter expansion.
27338
ed22dcf6
UD
27339 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27340 __NO_MATH_INLINES is defined. Cleanups.
27341
27342 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27343 and __floorf is target has SSE4.1.
27344 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27345 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27347 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27348
b171c137
UD
27349 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27350 name.
27351 (floorf): Likewise.
27352
97c066e6
UD
27353 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27354
629f62ef
AS
273552011-10-17 Andreas Schwab <schwab@redhat.com>
27356
49a43d80
AS
27357 * misc/sys/cdefs.h: Fix last change.
27358
629f62ef
AS
27359 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27360 database lookup.
27361
e453f6cd
UD
273622011-10-16 Ulrich Drepper <drepper@gmail.com>
27363
aa78043a
UD
27364 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27365
ad0f5cad
UD
27366 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27371 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27373 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27374 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27375 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27376 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27377 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27378 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27379 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27380 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27381 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27383 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27384 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27385 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27386 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27387 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27388
27389 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27390 ceil, ceilf, floor, floorf.
27391
27392 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27393 Perform IRELATIVE relocations last.
27394
e453f6cd
UD
27395 * elf/do-rel.h: Add another parameter nrelative, replacing the
27396 local variable with the same name. Change name of the function
27397 to end in Rel or Rela (uppercase).
27398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27399 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27400 elf_dynamic_do_##reloc function.
27401
fd5bdc09
UD
274022011-10-15 Ulrich Drepper <drepper@gmail.com>
27403
79b195b5
UD
27404 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27405 is sufficient, at least on modern CPUs.
27406
d4a28569
UD
27407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27408
b61099b5
UD
27409 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27411
bcf01e6d
UD
27412 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27413 __expl_finite.
27414 * math/bits/math-finite.h: Add entries for exp.
27415 * math/e_expl.c: Add __*_finite alias.
27416 * sysdeps/i386/fpu/e_exp.S: Likewise.
27417 * sysdeps/i386/fpu/e_expf.S: Likewise.
27418 * sysdeps/i386/fpu/e_expl.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27420 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27426
ba1a0d59
UD
27427 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27428 is sufficient, at least on modern CPUs.
27429
fd5bdc09
UD
27430 * ctype/ctype-info.c (__ctype_init): Define.
27431 * include/ctype.h (__ctype_init): Declare.
27432 (__ctype_b_loc): The variable is always initialized.
27433 (__ctype_toupper_loc): Likewise.
27434 (__ctype_tolower_loc): Likewise.
27435 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27436 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27437
7872cfb0
AS
274382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27439
b468825a
AS
27440 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27441
7872cfb0
AS
27442 * configure.in: Also look in $cxxmachine/include for C++ system
27443 headers.
27444
be13f7bf
LD
274452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27446
27447 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27448 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27449 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27450 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27452 (USE_AS_WMEMCMP): New macro.
27453 Fixing indents.
27454 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27455 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27456 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27457 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27459 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27460 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27461 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27462 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27463 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27465 (USE_AS_WMEMCMP): New macro.
27466 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27467 * sysdeps/string/test-memcmp.c: Update.
27468 Fix simple_wmemcmp.
27469 Add new tests.
27470 * wcsmbs/wmemcmp.c: Update.
27471 (WMEMCMP): New macro.
27472 Fix overflow bug.
27473
556a2007
AJ
274742011-10-12 Andreas Jaeger <aj@suse.de>
27475
27476 [BZ #13268]
27477 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27478
538faaa7
UD
274792011-10-15 Ulrich Drepper <drepper@gmail.com>
27480
ab6737ff
UD
27481 * libio/iofwide.c (do_length): Avoid warning.
27482
538faaa7
UD
27483 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27484
396a21b1
UD
274852011-10-14 Ulrich Drepper <drepper@gmail.com>
27486
cdf2901f
UD
27487 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27488
38ad40ce
UD
27489 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27490 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27491 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27492 * sysdeps/i386/i686/fpu/e_log.S: New file.
27493 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27494 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27495
396a21b1
UD
27496 * ctype/ctype.h: Add support for inlined isXXX functions when
27497 compiling C++ code.
27498
6b1f68c9
AS
274992011-10-14 Andreas Schwab <schwab@redhat.com>
27500
349290c0
AS
27501 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27502
6b1f68c9
AS
27503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27504
f2282d42
RM
275052011-10-13 Roland McGrath <roland@hack.frob.com>
27506
27507 [BZ #13291]
27508 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27509
5298ffa8
AS
275102011-10-13 Andreas Schwab <schwab@redhat.com>
27511
714fad23
AS
27512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27513 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27514 feraiseexcept.
27515
81dcc7fb
AS
27516 * sysdeps/x86_64/memrchr.S: Check for zero size.
27517
5298ffa8
AS
27518 * string/stratcliff.c: Add memrchr tests.
27519
951fbcec
LD
275202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27521
27522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27523 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27524 rawmemchr-sse2 rawmemchr-sse2-bsf.
27525 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27526 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27527 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27528 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27529 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27530 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27531 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27532 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27534 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27535 * string/memrchr.c (MEMRCHR): New macro.
27536
0ac5ae23
UD
275372011-10-12 Ulrich Drepper <drepper@gmail.com>
27538
27539 Add integration with gcc's -ffinite-math-only and optimize wrapper
27540 functions in libm.
27541 * Versions.def: Define GLIBC_2.15 version for libm.
27542 * math/Makefile (headers): Add bits/math-finite.h.
27543 * math/bits/math-finite.h: New file.
27544 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27545 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27546 * math/e_acoshl.c: Add __*_finite alias.
27547 * math/e_acosl.c: Likewise.
27548 * math/e_asinl.c: Likewise.
27549 * math/e_atan2l.c: Likewise.
27550 * math/e_atanhl.c: Likewise.
27551 * math/e_coshl.c: Likewise.
27552 * math/e_exp10.c: Likewise.
27553 * math/e_exp10f.c: Likewise.
27554 * math/e_exp10l.c: Likewise.
27555 * math/e_exp2l.c: Likewise.
27556 * math/e_fmodl.c: Likewise.
27557 * math/e_gammal_r.c: Likewise.
27558 * math/e_hypotl.c: Likewise.
27559 * math/e_j0l.c: Likewise.
27560 * math/e_j1l.c: Likewise.
27561 * math/e_jnl.c: Likewise.
27562 * math/e_lgammal_r.c: Likewise.
27563 * math/e_log10l.c: Likewise.
27564 * math/e_log2l.c: Likewise.
27565 * math/e_logl.c: Likewise.
27566 * math/e_powl.c: Likewise.
27567 * math/e_sinhl.c: Likewise.
27568 * math/e_sqrtl.c: Likewise.
27569 * math/e_scalb.c: Completely rewritten and optimized.
27570 * math/e_scalbf.c: Likewise.
27571 * math/e_scalbl.c: Likewise.
27572 * math/w_acos.c: Likewise.
27573 * math/w_acosf.c: Likewise.
27574 * math/w_acosl.c: Likewise.
27575 * math/w_acosh.c: Likewise.
27576 * math/w_acoshf.c: Likewise.
27577 * math/w_acoshl.c: Likewise.
27578 * math/w_asin.c: Likewise.
27579 * math/w_asinf.c: Likewise.
27580 * math/w_asinl.c: Likewise.
27581 * math/w_atan2.c: Likewise.
27582 * math/w_atan2f.c: Likewise.
27583 * math/w_atan2l.c: Likewise.
27584 * math/w_atanh.c: Likewise.
27585 * math/w_atanhf.c: Likewise.
27586 * math/w_atanhl.c: Likewise.
27587 * math/w_exp10.c: Likewise.
27588 * math/w_exp10f.c: Likewise.
27589 * math/w_exp10l.c: Likewise.
27590 * math/w_fmod.c: Likewise.
27591 * math/w_fmodf.c: Likewise.
27592 * math/w_fmodl.c: Likewise.
27593 * math/w_j0.c: Likewise.
27594 * math/w_j0f.c: Likewise.
27595 * math/w_j0l.c: Likewise.
27596 * math/w_j1.c: Likewise.
27597 * math/w_j1f.c: Likewise.
27598 * math/w_j1l.c: Likewise.
27599 * math/w_jn.c: Likewise.
27600 * math/w_jnf.c: Likewise.
27601 * math/w_log.c: Likewise.
27602 * math/w_logf.c: Likewise.
27603 * math/w_logl.c: Likewise.
27604 * math/w_log10.c: Likewise.
27605 * math/w_log10f.c: Likewise.
27606 * math/w_log10l.c: Likewise.
27607 * math/w_log2.c: Likewise.
27608 * math/w_log2f.c: Likewise.
27609 * math/w_log2l.c: Likewise.
27610 * math/w_pow.c: Likewise.
27611 * math/w_powf.c: Likewise.
27612 * math/w_powl.c: Likewise.
27613 * math/w_remainder.c: Likewise.
27614 * math/w_remainderf.c: Likewise.
27615 * math/w_remainderl.c: Likewise.
27616 * math/w_scalb.c: Likewise.
27617 * math/w_scalbf.c: Likewise.
27618 * math/w_scalbl.c: Likewise.
27619 * math/w_sqrt.c: Likewise.
27620 * math/w_sqrtf.c: Likewise.
27621 * math/w_sqrtl.c: Likewise.
27622 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27623 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27624 used.
27625 * math/math_private.h: Declare __kernel_standard_f.
27626 * math/w_cosh.c: Remove cruft and optimize a bit.
27627 * math/w_coshf.c: Likewise.
27628 * math/w_coshl.c: Likewise.
27629 * math/w_exp2.c: Likewise.
27630 * math/w_exp2f.c: Likewise.
27631 * math/w_exp2l.c: Likewise.
27632 * math/w_hypot.c: Likewise.
27633 * math/w_hypotf.c: Likewise.
27634 * math/w_hypotl.c: Likewise.
27635 * math/w_lgamma.c: Likewise.
27636 * math/w_lgamma_r.c: Likewise.
27637 * math/w_lgammaf.c: Likewise.
27638 * math/w_lgammaf_r.c: Likewise.
27639 * math/w_lgammal.c: Likewise.
27640 * math/w_lgammal_r.c: Likewise.
27641 * math/w_sinh.c: Likewise.
27642 * math/w_sinhf.c: Likewise.
27643 * math/w_sinhl.c: Likewise.
27644 * math/w_tgamma.c: Likewise.
27645 * math/w_tgammaf.c: Likewise.
27646 * math/w_tgammal.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27649 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27650 Minor optimizations. Pretty printing. Remove cruft.
27651 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27655 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27656 * sysdeps/i386/fpu/e_asin.S: Likewise.
27657 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27658 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27659 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27660 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27664 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27665 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27666 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27667 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27668 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27669 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27670 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27671 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27672 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27673 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27674 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27675 * sysdeps/i386/fpu/e_log.S: Likewise.
27676 * sysdeps/i386/fpu/e_log10.S: Likewise.
27677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27679 * sysdeps/i386/fpu/e_log2.S: Likewise.
27680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27682 * sysdeps/i386/fpu/e_logf.S: Likewise.
27683 * sysdeps/i386/fpu/e_logl.S: Likewise.
27684 * sysdeps/i386/fpu/e_pow.S: Likewise.
27685 * sysdeps/i386/fpu/e_powf.S: Likewise.
27686 * sysdeps/i386/fpu/e_powl.S: Likewise.
27687 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27688 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27689 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27693 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27694 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27695 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27725 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27726 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27727 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27728 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27730 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27731 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27732 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27733 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27787 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27788 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27789 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27790 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27791 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27792 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27793 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27794 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27795 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27796 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27797 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27798 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27799 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27800 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27804 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27806 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27807 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27808 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27809 (__isnanf): Likewise.
27810 (__isinf_ns): Likewise.
27811 (__isinf_nsf): Likewise.
27812 (__finite): Likewise.
27813 (__finitef): Likewise.
27814 (__ieee754_sqrt): Define as macro.
27815 (__ieee754_sqrtf): Define as macro.
27816 (__ieee754_sqrtl): Define as macro.
27817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27818 inlined copy.
27819 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27820 __FINITE_MATH_ONLY__ consistent.
27821 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27822
12cc2fcd
AS
278232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27824
a843a204
AS
27825 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27826 of rawmemchr.
27827
12cc2fcd
AS
27828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27829
c853acd5
UD
278302011-10-09 Ulrich Drepper <drepper@gmail.com>
27831
27832 * po/ja.po: Update from translation team.
27833
c658d255
RM
278342011-10-08 Roland McGrath <roland@hack.frob.com>
27835
110946e4
RM
27836 * locale/programs/locarchive.c (prepare_address_space): New function.
27837 (create_archive, enlarge_archive, open_archive): Use it.
27838
50604220
RM
27839 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27840 inside [SHARED], where it is used.
27841
c658d255
RM
27842 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27843
27844 * nss/getent.c (netgroup_keys): Remove unused variable.
27845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27846
6a621eb7
UD
278472011-10-08 Ulrich Drepper <drepper@gmail.com>
27848
7edb55ce
UD
27849 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27853 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27854 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27855 * math/Makefile (libm-calls): Add s_isinf_ns.
27856 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27857 * math/multc3.c: Likewise.
27858 * math/s_casin.c: Likewise.
27859 * math/s_casinf.c: Likewise.
27860 * math/s_casinl.c: Likewise.
27861 * math/s_ccos.c: Likewise.
27862 * math/s_ccosf.c: Likewise.
27863 * math/s_ccosl.c: Likewise.
27864 * math/s_ctan.c: Likewise.
27865 * math/s_ctanf.c: Likewise.
27866 * math/s_ctanh.c: Likewise.
27867 * math/s_ctanhf.c: Likewise.
27868 * math/s_ctanhl.c: Likewise.
27869 * math/s_ctanl.c: Likewise.
27870 * math/w_fmod.c: Likewise.
27871 * math/w_fmodf.c: Likewise.
27872 * math/w_fmodl.c: Likewise.
27873 * math/w_remainder.c: Likewise.
27874 * math/w_remainderf.c: Likewise.
27875 * math/w_remainderl.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27877 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27880 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27881 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27882 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27883 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27884
187da0ae
UD
27885 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27886 of the number.
27887 * stdio-common/printf_fphex.c: Likewise.
27888 * stdio-common/printf_size.c: Likewise.
27889
9277c064
UD
27890 * math/e_exp10.c: Include math_private.h using <...> not "...".
27891 * math/e_exp10f.c: Likewise.
27892 * math/e_exp10l.c: Likewise.
27893 * math/e_exp2l.c: Likewise.
27894 * math/e_j0l.c: Likewise.
27895 * math/e_j1l.c: Likewise.
27896 * math/e_jnl.c: Likewise.
27897 * math/e_lgammal_r.c: Likewise.
27898 * math/e_rem_pio2l.c: Likewise.
27899 * math/e_scalb.c: Likewise.
27900 * math/e_scalbf.c: Likewise.
27901 * math/e_scalbl.c: Likewise.
27902 * math/k_cosl.c: Likewise.
27903 * math/k_sinl.c: Likewise.
27904 * math/k_tanl.c: Likewise.
27905 * math/s_cacoshf.c: Likewise.
27906 * math/s_catan.c: Likewise.
27907 * math/s_catanf.c: Likewise.
27908 * math/s_catanh.c: Likewise.
27909 * math/s_catanhf.c: Likewise.
27910 * math/s_catanhl.c: Likewise.
27911 * math/s_catanl.c: Likewise.
27912 * math/s_ccosh.c: Likewise.
27913 * math/s_ccoshf.c: Likewise.
27914 * math/s_ccoshl.c: Likewise.
27915 * math/s_cexp.c: Likewise.
27916 * math/s_cexpf.c: Likewise.
27917 * math/s_cexpl.c: Likewise.
27918 * math/s_clog.c: Likewise.
27919 * math/s_clog10.c: Likewise.
27920 * math/s_clog10f.c: Likewise.
27921 * math/s_clog10l.c: Likewise.
27922 * math/s_clogf.c: Likewise.
27923 * math/s_clogl.c: Likewise.
27924 * math/s_csin.c: Likewise.
27925 * math/s_csinf.c: Likewise.
27926 * math/s_csinh.c: Likewise.
27927 * math/s_csinhf.c: Likewise.
27928 * math/s_csinhl.c: Likewise.
27929 * math/s_csinl.c: Likewise.
27930 * math/s_csqrt.c: Likewise.
27931 * math/s_csqrtf.c: Likewise.
27932 * math/s_csqrtl.c: Likewise.
27933 * math/s_ctan.c: Likewise.
27934 * math/s_ctanf.c: Likewise.
27935 * math/s_ctanh.c: Likewise.
27936 * math/s_ctanhf.c: Likewise.
27937 * math/s_ctanhl.c: Likewise.
27938 * math/s_ctanl.c: Likewise.
27939 * math/s_ldexp.c: Likewise.
27940 * math/s_ldexpf.c: Likewise.
27941 * math/s_ldexpl.c: Likewise.
27942 * math/s_significand.c: Likewise.
27943 * math/s_significandf.c: Likewise.
27944 * math/s_significandl.c: Likewise.
27945 * math/w_acos.c: Likewise.
27946 * math/w_acosf.c: Likewise.
27947 * math/w_acosh.c: Likewise.
27948 * math/w_acoshf.c: Likewise.
27949 * math/w_acoshl.c: Likewise.
27950 * math/w_acosl.c: Likewise.
27951 * math/w_asin.c: Likewise.
27952 * math/w_asinf.c: Likewise.
27953 * math/w_asinl.c: Likewise.
27954 * math/w_atan2.c: Likewise.
27955 * math/w_atan2f.c: Likewise.
27956 * math/w_atan2l.c: Likewise.
27957 * math/w_atanh.c: Likewise.
27958 * math/w_atanhf.c: Likewise.
27959 * math/w_atanhl.c: Likewise.
27960 * math/w_cosh.c: Likewise.
27961 * math/w_coshf.c: Likewise.
27962 * math/w_coshl.c: Likewise.
27963 * math/w_dremf.c: Likewise.
27964 * math/w_exp10.c: Likewise.
27965 * math/w_exp10f.c: Likewise.
27966 * math/w_exp10l.c: Likewise.
27967 * math/w_exp2.c: Likewise.
27968 * math/w_exp2f.c: Likewise.
27969 * math/w_fmod.c: Likewise.
27970 * math/w_fmodf.c: Likewise.
27971 * math/w_fmodl.c: Likewise.
27972 * math/w_hypot.c: Likewise.
27973 * math/w_hypotf.c: Likewise.
27974 * math/w_hypotl.c: Likewise.
27975 * math/w_j0.c: Likewise.
27976 * math/w_j0f.c: Likewise.
27977 * math/w_j0l.c: Likewise.
27978 * math/w_j1.c: Likewise.
27979 * math/w_j1f.c: Likewise.
27980 * math/w_j1l.c: Likewise.
27981 * math/w_jn.c: Likewise.
27982 * math/w_jnf.c: Likewise.
27983 * math/w_jnl.c: Likewise.
27984 * math/w_lgamma.c: Likewise.
27985 * math/w_lgamma_r.c: Likewise.
27986 * math/w_lgammaf.c: Likewise.
27987 * math/w_lgammaf_r.c: Likewise.
27988 * math/w_lgammal.c: Likewise.
27989 * math/w_lgammal_r.c: Likewise.
27990 * math/w_log.c: Likewise.
27991 * math/w_log10.c: Likewise.
27992 * math/w_log10f.c: Likewise.
27993 * math/w_log10l.c: Likewise.
27994 * math/w_log2.c: Likewise.
27995 * math/w_log2f.c: Likewise.
27996 * math/w_log2l.c: Likewise.
27997 * math/w_logf.c: Likewise.
27998 * math/w_logl.c: Likewise.
27999 * math/w_pow.c: Likewise.
28000 * math/w_powf.c: Likewise.
28001 * math/w_powl.c: Likewise.
28002 * math/w_remainder.c: Likewise.
28003 * math/w_remainderf.c: Likewise.
28004 * math/w_remainderl.c: Likewise.
28005 * math/w_scalb.c: Likewise.
28006 * math/w_scalbf.c: Likewise.
28007 * math/w_scalbl.c: Likewise.
28008 * math/w_sinh.c: Likewise.
28009 * math/w_sinhf.c: Likewise.
28010 * math/w_sinhl.c: Likewise.
28011 * math/w_sqrt.c: Likewise.
28012 * math/w_sqrtf.c: Likewise.
28013 * math/w_sqrtl.c: Likewise.
28014 * math/w_tgamma.c: Likewise.
28015 * math/w_tgammaf.c: Likewise.
28016 * math/w_tgammal.c: Likewise.
28017
6a621eb7
UD
28018 * po/ja.po: Update from translation team.
28019
bf582445
AJ
280202011-09-29 Andreas Jaeger <aj@suse.de>
28021
f9efbf3a
AJ
28022 [BZ #13179]
28023 * sunrpc/netname.c (netname2host): Fix logic.
28024
bf582445
AJ
28025 [BZ #6779]
28026 [BZ #6783]
28027 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28028 correctly.
28029 * math/w_remainder.c (__remainder): Likewise.
28030 * math/w_remainderf.c (__remainderf): Likewise.
28031 * math/libm-test.inc (remainder_test): Add test cases.
28032
48693bea
AK
280332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28034
28035 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28036 sdiv_qrnnd.
28037
42622229
LD
280382011-10-07 Ulrich Drepper <drepper@gmail.com>
28039
28040 * string/test-memcmp.c: Avoid unncessary #defines.
28041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28042
093ecf92
LD
280432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28044
28045 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28046 Use new sse2 version for core i3 - i7 as it's faster
28047 than sse42 version.
28048 (bit_Prefer_PMINUB_for_stringop): New.
28049 * sysdeps/x86_64/rawmemchr.S: Update.
28050 Replace with faster SSE2 version.
28051 * sysdeps/x86_64/memrchr.S: New file.
28052 * sysdeps/x86_64/memchr.S: Update.
28053 Replace with faster SSE2 version.
28054
fde56e5c
MP
280552011-09-12 Marek Polacek <mpolacek@redhat.com>
28056
28057 * elf/dl-load.c (lose): Add cast to avoid warning.
28058
21fd49a9
UD
280592011-10-07 Ulrich Drepper <drepper@gmail.com>
28060
5a06e643
UD
28061 * po/ca.po: Update from translation team.
28062
684ae515
UD
28063 * inet/getnetgrent_r.c: Hook up nscd.
28064 * nscd/Makefile (routines): Add nscd_netgroup.
28065 (nscd-modules): Add netgroupcache.
28066 (CFLAGS-netgroupcache.c): Define.
28067 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28068 (cache_search): Add const to second parameter.
28069 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28070 INNETGR.
28071 (dbs): Add netgrdb entry.
28072 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28073 (verify_persistent_db): Handle netgrdb.
28074 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28075 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28076 GETFDNETGR.
28077 (netgroup_response_header): Define.
28078 (innetgroup_response_header): Define.
28079 (datahead): Add netgroup_response_header and innetgroup_response_header
28080 elements.
28081 * nscd/nscd.conf: Add entries for netgroup cache.
28082 * nscd/nscd.h (dbtype): Add netgrdb.
28083 (_PATH_NSCD_NETGROUP_DB): Define.
28084 (netgroup_iov_disabled): Declare.
28085 (xmalloc, xcalloc, xrealloc): Move declarations here.
28086 (cache_search): Adjust prototype.
28087 Add netgroup-related prototypes.
28088 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28089 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28090 (__nscd_innetgr): Declare.
28091 * nscd/selinux.c (perms): Use access_vector_t as element type and
28092 add netgroup-related initializers.
28093 * nscd/netgroupcache.c: New file.
28094 * nscd/nscd_netgroup.c: New file.
28095 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28096 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28097 For four parameters use innetgr.
28098 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28099 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28100 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28101 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28102
21fd49a9
UD
28103 * nscd/connections.c (register_traced_file): Don't register file
28104 for disabled databases.
28105
054c0457
UD
281062011-10-06 Ulrich Drepper <drepper@gmail.com>
28107
32b63198
UD
28108 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28109
054c0457
UD
28110 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28111 from tree and freeing node.
28112
64031225
JO
281132011-09-25 Jiri Olsa <jolsa@redhat.com>
28114
28115 * nss/nsswitch.c (__nss_database_lookup): Handle
28116 nss_parse_service_list out of memory case.
28117
0490345c
JO
281182011-09-15 Jiri Olsa <jolsa@redhat.com>
28119
28120 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28121 out of memory case.
28122
3a62d00d
AS
281232011-10-04 Andreas Schwab <schwab@redhat.com>
28124
28125 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28126 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28127 pass it down.
28128 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28129 elf_machine_rela, elf_machine_lazy_rel.
28130 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28131 (ELF_DYNAMIC_DO_REL): Likewise.
28132 (ELF_DYNAMIC_DO_RELA): Likewise.
28133 (ELF_DYNAMIC_RELOCATE): Likewise.
28134 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28135 to ELF_DYNAMIC_DO_REL.
28136 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28137 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28138 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28139 elf_machine_rela.
28140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28141 skip_ifunc, don't call ifunc function if non-zero.
28142 (elf_machine_rela): Likewise.
28143 (elf_machine_lazy_rel): Likewise.
28144 (elf_machine_lazy_rela): Likewise.
28145 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28146 (elf_machine_lazy_rel): Likewise.
28147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28148 Likewise.
28149 (elf_machine_lazy_rel): Likewise.
28150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28151 Likewise.
28152 (elf_machine_lazy_rel): Likewise.
28153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28154 (elf_machine_lazy_rel): Likewise.
28155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28156 (elf_machine_lazy_rel): Likewise.
28157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28158 (elf_machine_lazy_rel): Likewise.
28159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28160 (elf_machine_lazy_rel): Likewise.
28161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28162 (elf_machine_lazy_rel): Likewise.
28163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28164 (elf_machine_lazy_rel): Likewise.
28165
68577918
UD
281662011-09-28 Ulrich Drepper <drepper@gmail.com>
28167
28168 * nss/nss_files/files-init.c (_nss_files_init): Use static
28169 initialization for all the *_traced_file variables.
28170
68822d74
AS
281712011-09-28 Andreas Schwab <schwab@redhat.com>
28172
28173 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28174
2056100b
RM
281752011-09-27 Roland McGrath <roland@hack.frob.com>
28176
28177 [BZ #13226]
28178 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28179
32c76b63
AS
281802011-09-27 Andreas Schwab <schwab@redhat.com>
28181
28182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28183 Reread the line before reparsing it.
28184
bf972c9d
AS
281852011-09-26 Andreas Schwab <schwab@redhat.com>
28186
28187 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28188
e057a1b5
JM
281892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28190 Maxim Kuvyrkov <maxim@codesourcery.com>
28191 Joseph Myers <joseph@codesourcery.com>
28192
28193 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28194 if needed for __stack_chk_guard.
28195
bc7e1c36
RM
281962011-09-19 Roland McGrath <roland@hack.frob.com>
28197
ecb1482f
RM
28198 * sysdeps/posix/spawni.c (script_execute): Always define it.
28199 It will be optimized away if unused.
28200 (maybe_script_execute): New function.
28201 (__spawni): Call it.
28202
bc7e1c36
RM
28203 * Makerules: Don't include tls.make.
28204 (config-tls): Always set to thread.
28205 * tls.make.c: File removed.
28206
1c3b002b
MF
282072011-09-19 Mike Frysinger <vapier@gentoo.org>
28208
28209 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28210 * config.make.in (CPPFLAGS-config): New substituted variable.
28211
2840865d
UD
282122011-09-15 Ulrich Drepper <drepper@gmail.com>
28213
88738eb6
UD
28214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28215
cbf645a6 28216 [BZ #13192]
2840865d
UD
28217 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28218 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28219
b402e91a
RM
282202011-09-15 Roland McGrath <roland@hack.frob.com>
28221
28222 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28223 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28225 (CALL_FAIL): Likewise.
28226 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28227 (CALL_FAIL): Macro removed.
28228 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28229
4c1a1f71
UD
282302011-09-15 Ulrich Drepper <drepper@gmail.com>
28231
28232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28233 for __FINITE_MATH_ONLY__ == 1.
28234
edc121be
AS
282352011-09-15 Andreas Schwab <schwab@redhat.com>
28236
28237 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28238 __ieee754_sqrt instead of sqrt.
28239 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28240 __ieee754_sqrtf instead of sqrtf.
28241 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28242 __floorf instead of floorf.
28243 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28244 __floorf, __truncf instead of floorf, truncf.
28245
cd205654
UD
282462011-09-14 Ulrich Drepper <drepper@gmail.com>
28247
ee4d0315
UD
28248 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28249
cd205654
UD
28250 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28251 __extern_always_inline.
28252 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28253 32-bit.
28254
48b67d71
AS
282552011-09-14 Andreas Schwab <schwab@redhat.com>
28256
28257 * elf/rtld.c (dl_main): Also relocate in dependency order when
28258 doing symbol dependency testing.
28259
1ae12c75
AS
282602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28261
28262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28263 Always define `refsym'.
28264
995a80df
AS
282652011-09-13 Andreas Schwab <schwab@redhat.com>
28266
e529793b
AS
28267 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28268 (__FD_ELT): Renamed from __FDELT.
28269 * misc/bits/select2.h (__FD_ELT): Likewise.
28270 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28271 __FD_MASK instead of __FDELT, __FDMASK.
28272 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28273 Likewise.
28274 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28275 Likewise.
28276
52d4fef8
AS
28277 * elf/Makefile (gen-ldd): Fix pattern.
28278
995a80df
AS
28279 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28280 (init_tls): Likewise.
28281
8682f8b0
UD
282822011-09-12 Ulrich Drepper <drepper@gmail.com>
28283
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28285
de82006d
AS
282862011-09-12 Andreas Schwab <schwab@redhat.com>
28287
a7c8e6a1
AS
28288 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28289 `struct cmsghdr *' instead of `void *'.
28290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28291 Likewise.
28292
0f31fe77
AS
282932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28294
28295 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28296 if non-absolute.
28297 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28298 ldd_rewrite_script.
0f31fe77 28299
32b4c839
UD
283002011-09-11 Ulrich Drepper <drepper@gmail.com>
28301
83cd1420
UD
28302 * configure.in: Remove --with-tls option.
28303 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28304 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28305 out in case it is missing.
28306 * sysdeps/ia64/elf/configure.in: Likewise.
28307 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28308 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28309 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28310 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28311 * sysdeps/sh/elf/configure.in: Likewise.
28312 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28313 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28314 * sysdeps/x86_64/elf/configure.in: Likewise.
28315 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28316 * sysdeps/mach/hurd/tls.h: Likewise.
28317
633f745d
UD
28318 [BZ #13067]
28319 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28320
f318beb8
UD
28321 [BZ #13090]
28322 * configure.in: Fix use of AC_INIT.
28323
32b4c839
UD
28324 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28325
3ce1f295
UD
283262011-09-10 Ulrich Drepper <drepper@gmail.com>
28327
bb016596
UD
28328 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28329 __set_errno.
8e58439c
UD
28330 * malloc/hooks.c: Likewise.
28331
aebae053 28332 [BZ #11929]
02d46fc4
UD
28333 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28334 variables statically.
28335 (narenas): Initialize.
28336 (list_lock): Initialize.
bb016596
UD
28337 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28338 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28339 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28340 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28341 Add initializers to main_arena and mp_.
28342 (malloc_state): Remove pagesize member. Change all users to use
28343 GLRO(dl_pagesize).
28344
28345 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28346 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28347 is always initialized.
28348
22a89187
UD
28349 * malloc/malloc.c: Removed unused configurations and dead code.
28350 * malloc/arena.c: Likewise.
28351 * malloc/hooks.c: Likewise.
02d46fc4 28352 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28353
d063d164
UD
28354 * include/tls.h: Removed. USE___THREAD must always be defined.
28355 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28356 * elf/dl-libc.c: Likewise.
28357 * elf/dl-tsd.c: Likewise.
28358 * include/errno.h: Likewise.
28359 * include/netdb.h: Likewise.
28360 * include/resolv.h: Likewise.
28361 * inet/herrno-loc.c: Likewise.
28362 * inet/herrno.c: Likewise.
28363 * malloc/arena.c: Likewise.
28364 * malloc/hooks.c: Likewise.
28365 * malloc/malloc.c: Likewise.
28366 * resolv/res-state.c: Likewise.
28367 * resolv/res_libc.c: Likewise.
28368 * sysdeps/i386/dl-machine.h: Likewise.
28369 * sysdeps/ia64/dl-machine.h: Likewise.
28370 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28372 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28373 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28374 * sysdeps/sh/dl-machine.h: Likewise.
28375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28377 * sysdeps/unix/i386/sysdep.S: Likewise.
28378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28379 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28384 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28389 * sysdeps/x86_64/dl-machine.h: Likewise.
28390 * tls.make.c: Likewise.
28391
3ce1f295
UD
28392 * configure.in: Remove --with-__thread option. Make tests for
28393 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28394 tls_model attribute fail if no support is available. Remove
28395 USE_IN_LIBIO.
28396 * Makeconfig: Adjust for dropped configure option. All features are
28397 now mandatory.
28398 * Makerules: Likewise.
28399 * Versions.def: Likewise.
28400 * argp/argp-fmtstream.c: Likewise.
28401 * argp/argp-fmtstream.h: Likewise.
28402 * argp/argp-help.c: Likewise.
28403 * assert/assert.c: Likewise.
28404 * config.h.in: Likewise.
28405 * config.make.in: Likewise.
28406 * configure: Likewise.
28407 * configure.in: Likewise.
28408 * csu/Versions: Likewise.
28409 * csu/init.c: Likewise.
28410 * elf/tst-audit2.c: Likewise.
28411 * elf/tst-tls10.c: Likewise.
28412 * elf/tst-tls10.h: Likewise.
28413 * elf/tst-tls11.c: Likewise.
28414 * elf/tst-tls12.c: Likewise.
28415 * elf/tst-tls14.c: Likewise.
28416 * elf/tst-tlsmod11.c: Likewise.
28417 * elf/tst-tlsmod12.c: Likewise.
28418 * elf/tst-tlsmod13.c: Likewise.
28419 * elf/tst-tlsmod13a.c: Likewise.
28420 * elf/tst-tlsmod14a.c: Likewise.
28421 * elf/tst-tlsmod15b.c: Likewise.
28422 * elf/tst-tlsmod16a.c: Likewise.
28423 * elf/tst-tlsmod16b.c: Likewise.
28424 * elf/tst-tlsmod7.c: Likewise.
28425 * elf/tst-tlsmod8.c: Likewise.
28426 * elf/tst-tlsmod9.c: Likewise.
28427 * gmon/gmon.c: Likewise.
28428 * grp/fgetgrent_r.c: Likewise.
28429 * grp/putgrent.c: Likewise.
28430 * hurd/fopenport.c: Likewise.
28431 * include/libc-symbols.h: Likewise.
28432 * include/tls.h: Likewise.
28433 * intl/gettextP.h: Likewise.
28434 * intl/loadinfo.h: Likewise.
28435 * locale/global-locale.c: Likewise.
28436 * locale/localeinfo.h: Likewise.
28437 * mach/devstream.c: Likewise.
28438 * malloc/arena.c: Likewise.
28439 * malloc/set-freeres.c: Likewise.
28440 * misc/err.c: Likewise.
28441 * misc/getttyent.c: Likewise.
28442 * misc/mntent_r.c: Likewise.
28443 * posix/getopt.c: Likewise.
28444 * posix/wordexp.c: Likewise.
28445 * pwd/fgetpwent_r.c: Likewise.
28446 * resolv/Versions: Likewise.
28447 * resolv/res_hconf.c: Likewise.
28448 * shadow/fgetspent_r.c: Likewise.
28449 * shadow/putspent.c: Likewise.
28450 * stdio-common/printf_fphex.c: Likewise.
28451 * stdio-common/tmpfile.c: Likewise.
28452 * stdlib/abort.c: Likewise.
28453 * stdlib/fmtmsg.c: Likewise.
28454 * sunrpc/auth_unix.c: Likewise.
28455 * sunrpc/clnt_perr.c: Likewise.
28456 * sunrpc/clnt_tcp.c: Likewise.
28457 * sunrpc/clnt_udp.c: Likewise.
28458 * sunrpc/clnt_unix.c: Likewise.
28459 * sunrpc/openchild.c: Likewise.
28460 * sunrpc/svc_simple.c: Likewise.
28461 * sunrpc/svc_tcp.c: Likewise.
28462 * sunrpc/svc_udp.c: Likewise.
28463 * sunrpc/svc_unix.c: Likewise.
28464 * sunrpc/xdr.c: Likewise.
28465 * sunrpc/xdr_array.c: Likewise.
28466 * sunrpc/xdr_rec.c: Likewise.
28467 * sunrpc/xdr_ref.c: Likewise.
28468 * sunrpc/xdr_stdio.c: Likewise.
28469
1248c1c4
PB
284702011-09-09 Ulrich Drepper <drepper@gmail.com>
28471
28472 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28473
284742011-07-03 Andreas Jaeger <aj@suse.de>
28475
28476 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28478 regenerate with gen-libm-tests.pl.
28479
284802010-05-12 Petr Baudis <pasky@suse.cz>
28481
28482 [BZ #11589]
28483 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28484 around j0() zero points by switching to j1().
28485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28488 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28489
f22e1074
UD
284902011-09-09 Ulrich Drepper <drepper@gmail.com>
28491
f19009c1
UD
28492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28493 instead of 0.
28494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28495 instead of 0.
f19009c1
UD
28496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28497 Patch in part by Pavel Roskin <proski@gnu.org>.
28498
3f8cc204
UD
28499 [BZ #13138]
28500 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28501 realloc.
28502 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28503 Free memory block if necessary.
28504
f22e1074
UD
28505 [BZ #12847]
28506 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28507 be NULL. Don't lock in this case.
28508
0a2349f9
RM
285092011-09-09 Roland McGrath <roland@hack.frob.com>
28510
28511 * elf/elf.h (ELFOSABI_GNU): New macro.
28512 (ELFOSABI_LINUX): Define to that.
28513
f3cdd467
DZ
285142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28515
28516 * string/strncat.c (strncat): Undef the symbol in case it has been
28517 defined in bits/string.h.
28518
74718d13
UD
285192011-09-09 Ulrich Drepper <drepper@gmail.com>
28520
633e9e0f
UD
28521 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28522
0a2349f9 28523 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28524 link map.
28525
f9924780
AJ
285262011-08-17 Andreas Jaeger <aj@suse.de>
28527
28528 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28529
7f5517aa
PP
285302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28531 Ian Lance Taylor <iant@google.com>
28532
28533 * math/libm-test.inc (lround_test): New testcase.
28534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28535
762011fe
UD
285362011-09-08 Ulrich Drepper <drepper@gmail.com>
28537
92963737
UD
28538 * Makefile: Remove support for automatic cvs check-ins.
28539 * Makerules: Likewise.
28540 * config.make.in: Likewise.
28541 * configure.in: Likewise.
28542 * intl/Makefile: Likewise.
28543 * locale/Makefile: Likewise.
28544 * po/Makefile: Likewise.
28545 * posix/Makefile: Likewise.
28546 * sysdeps/gnu/Makefile: Likewise.
28547 * sysdeps/mach/hurd/Makefile: Likewise.
28548 * sysdeps/sparc/sparc32/Makefile: Likewise.
28549
b0727fd8
JS
28550 [BZ #13118]
28551 * posix/Makefile (bug-regex32-ENV): Define.
28552 Patch by John Stanley <jpsinthemix@verizon.net>.
28553
a0f33f99
UD
28554 * misc/Makefile (headers): Add bits/select2.h.
28555 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28556 * misc/bits/select2.h: New file.
28557 * include/bits/select2.h: New file.
28558 * debug/Makefile (routines): Add fdelt_chk.
28559 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28560 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28561 FD_ISSET.
28562 * debug/fdelt_chk.c: New file.
28563
762011fe
UD
28564 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28565 * wcsmbs/test-wmemcmp.c: Likewise.
28566 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28567 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28568
285692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28570
28571 * string/Makefile (strop-tests): Add memcmp.
28572 * string/test-wmemcmp.c: New file.
28573 * string/test-memcmp.c: Add wmemcmp support.
28574
7f513ec8
RM
285752011-09-08 Roland McGrath <roland@hack.frob.com>
28576
0442afb4
RM
28577 [BZ #13153]
28578 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28579 2011-07-19 change.
28580
7f513ec8
RM
28581 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28582 garbage value in a __mach_port_mod_refs call in the cases of the
28583 task-self and thread-self ports.
28584
a12b2239
ST
285852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28586
28587 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28588
610f9ab4
AS
285892011-09-08 Andreas Schwab <schwab@redhat.com>
28590
7f513ec8 28591 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28592
48882a1a
LD
285932011-09-07 Ulrich Drepper <drepper@gmail.com>
28594
b49865be
UD
28595 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28596
fdc86bc9
UD
28597 * elf/dl-libc.c (dlerror_run): Pass back error code from
28598 dl_catch_error.
28599
c966526a
UD
28600 [BZ #13123]
28601 * elf/dl-load.c (lose): Free l_origin if it is valid.
28602
48882a1a
LD
28603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28604 names.
28605 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28608 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28609 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28610 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28611
77a2a8b4
AZ
286122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28613
28614 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28615 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28616 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28618 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28619 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28620 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28621 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28622 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28623 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28624
24f579d8
AM
286252011-08-15 Alan Modra <amodra@gmail.com>
28626
28627 [BZ #13092]
28628 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28629 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28630 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28631 ppc_mcount to static-only-routines.
28632 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28633 __mcount_internal.
28634 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28635 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28636
3d4837df
UD
286372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28638
28639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28640 for finite and infinity parameters.
28641
22700377
WS
286422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28643
28644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28645 and add nop instructions for throughput optimization.
28646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28647
5025581e
WS
286482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28649
28650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28651 aligned copy for power7 with vector-scalar instructions.
28652 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28653
08a300c9
L
286542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28655
28656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28657 AVX check.
28658
59178ef9
AS
286592011-09-07 Andreas Schwab <schwab@redhat.com>
28660
28661 [BZ #13144]
28662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28663 last change.
28664
e38ba7ab
UD
286652011-09-07 Ulrich Drepper <drepper@gmail.com>
28666
28667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28668 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28669 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28670 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28671 clock_gettime.
28672
d53a73ac
UD
286732011-09-06 Ulrich Drepper <drepper@gmail.com>
28674
fc8bffcc
UD
28675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28676 Forgot to demangle the pointer.
28677
ceaa0c5d
UD
28678 * sysdeps/i386/sysdep.h: Define atom_text_section.
28679 * sysdeps/x86_64/sysdep.h: Likewise.
28680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28681 section with atom_text_section.
28682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28684 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28687
a77d3c17
UD
28688 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28689 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28690 already be defined. Change to take two parameters and don't assign
28691 result to variable. Adjust all users.
28692 Define INTERNAL_GETTIME if not already defined.
28693 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28694 call.
28695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28696 HAVE_CLOCK_GETTIME_VSYSCALL.
28697 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28698
d53a73ac
UD
28699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28700 gettimeofday vsyscall, just use time.
28701
a8f84144
AS
287022011-09-06 Andreas Schwab <schwab@redhat.com>
28703
28704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28705 <errno.h>.
28706
ef606249
UD
287072011-09-06 Ulrich Drepper <drepper@gmail.com>
28708
28709 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28710 syscall on x86-64.
28711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28712 syscall.
28713 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28715 syscall if possible.
28716
6585cb60
UD
287172011-09-05 Ulrich Drepper <drepper@gmail.com>
28718
28719 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28720 e_ident. Don't pass to find_mapsXX.
28721 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28722
a5f524e4
LD
287232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28724
28725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28726 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28727 * sysdeps/x86_64/multiarch/strchr.S: Update.
28728 Check bit_slow_BSF bit.
28729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28731 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28732
554881ef
UD
287332011-09-05 Ulrich Drepper <drepper@gmail.com>
28734
d96de963
UD
28735 [BZ #13134]
28736 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28737 before glibc 2.15.
28738 (tryshell): Define.
28739 (__spawni): Change last parameter to be flag. Test
28740 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28741 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28742 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28743 * posix/spawni.c: Likewise.
28744 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28745 * posix/spawnp.c: Likewise. Change normal version to use
28746 SPAWN_XFLAGS_USE_PATH.
28747 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28748 SPAWN_XFLAGS_TRY_SHELL.
28749
d48e5868
UD
28750 [BZ #13150]
28751 * posix/glob.h: Remove gcc 1.x support.
28752
554881ef
UD
28753 [BZ #13068]
28754 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28755
693fb948
LD
287562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28757
28758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28759 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28760 strrchr-sse2-bsf
28761 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28762 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28763 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28765 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28766 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28767
1b48c537
UD
287682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28769
49d42c37
UD
28770 * sysdeps/x86_64/wcscmp.S: New file.
28771
1b48c537
UD
28772 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28773 wcscmp-c wcscmp-sse2
28774 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28775 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28776 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28777 * wcsmbs/wcscmp.c: Allow renaming.
28778
15c95c5d
DM
287792011-09-05 David S. Miller <davem@davemloft.net>
28780
28781 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28782 stack slot, rather than the struct return pointer slot.
28783 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28784 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28786 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28787
2f0ad8f3
UD
287882011-09-05 Ulrich Drepper <drepper@gmail.com>
28789
d88ae418
UD
28790 * po/ja.po: Update from translation team.
28791
2f0ad8f3
UD
28792 [BZ #13144]
28793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28794 kernel in 64-bit binaries.
28795
5f4318d1
DM
287962011-09-01 David S. Miller <davem@davemloft.net>
28797
28798 * elf/elf.h (HWCAP_SPARC_*): Move to..
28799 * sysdeps/sparc/sysdep.h: this new file and add new values.
28800 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28801 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28802 _DL_HWCAP_COUNT to 24.
28803 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28804 entries.
28805 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28806 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28807 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28809 instead of magic constants.
28810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28811
3ba57516
DM
288122011-08-31 David S. Miller <davem@davemloft.net>
28813
28814 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28816 Reimplement to do errno handling inline.
28817 (SYSCALL_ERROR_HANDLER): New macro.
28818 (__SYSCALL_STRING): Do not do errno handling in asm.
28819 (__CLONE_SYSCALL_STRING): Delete.
28820 (__INTERNAL_SYSCALL_STRING): Delete.
28821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28822 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28823 (PSEUDO): Reimplement to do errno handling inline.
28824 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28825 (SYSCALL_ERROR_HANDLER): New macro.
28826 (__SYSCALL_STRING): Do not do errno handling in asm.
28827 (__CLONE_SYSCALL_STRING): Delete.
28828 (__INTERNAL_SYSCALL_STRING): Delete.
28829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28830 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28831 i386.
28832 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28833 (inline_syscall*): Add 'err' argument.
28834 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28835 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28836 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28837 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28838
28839 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28841
2bc17433
AS
288422011-08-30 Andreas Schwab <schwab@redhat.com>
28843
28844 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28845
fbeb5f4d
JO
288462011-08-29 Jiri Olsa <jolsa@redhat.com>
28847
28848 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28849 directive.
28850
ad69cc26
DM
288512011-08-24 David S. Miller <davem@davemloft.net>
28852
28853 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28854
39dd69df
AS
288552011-08-24 Andreas Schwab <schwab@redhat.com>
28856
28857 * elf/Makefile: Add rules to build and run unload8 test.
28858 * elf/unload8.c: New file.
28859 * elf/unload8mod1.c: New file.
28860 * elf/unload8mod1x.c: New file.
28861 * elf/unload8mod2.c: New file.
28862 * elf/unload8mod3.c: New file.
28863
28864 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28865 it wasn't used.
28866
2c0b250a
DM
288672011-08-23 David S. Miller <davem@davemloft.net>
28868
28869 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28870 subtract stack bias.
28871 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28872 %sp not %fp in calculations.
28873 (_JMPBUF_UNWINDS_ADJ): Likewise.
28874
22044b48
DM
28875 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28876 (aio_suspend): Call it to force an exception region around the
28877 AIO_MISC_WAIT() invocation.
28878
2cae4995
AS
288792011-08-23 Andreas Schwab <schwab@redhat.com>
28880
28881 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28882 backslash.
28883
873a772e
AJ
288842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28885
28886 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28887 protection macro.
28888 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28889 and <dl-machine.h>.
28890 (Elf64_FuncDesc): Remove.
28891
25ad0df1
DM
288922011-08-22 David S. Miller <davem@davemloft.net>
28893
28894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28895 sigaltstack check, add missing cfi directives.
28896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28897 missing cfi directives, and sigaltstack handling.
28898
e888bcbe
AS
288992011-08-16 Andreas Schwab <schwab@redhat.com>
28900
28901 [BZ #11724]
28902 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28903 object is seen twice.
28904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28905
28906 * elf/Makefile (distribute): Add tst-initorder2.c.
28907 (tests): Add tst-initorder2.
28908 (modules-names): Add tst-initorder2a tst-initorder2b
28909 tst-initorder2c tst-initorder2d. Add rules to build them.
28910 ($(objpfx)tst-initorder2.out): New rule.
28911 * elf/tst-initorder2.c: New file.
28912 * elf/tst-initorder2.exp: New file.
28913
87162f46
AS
289142011-08-22 Andreas Schwab <schwab@redhat.com>
28915
70538b7f
AS
28916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28917
f55ffe58
AS
28918 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28919 dependencies back to end of function.
28920
87162f46
AS
28921 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28922 $(elfobjdir)/ld.so.
28923
91b392a4
UD
289242011-08-21 Ulrich Drepper <drepper@gmail.com>
28925
28926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28927 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28929 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28930 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28931 of __vdso_gettimeofday.
28932 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28933 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28934 attribute_hidden.
28935 (_libc_vdso_platform_setup): Remove initialization of
28936 __vdso_gettimeofday and __vdso_time.
28937
5c43483f
UD
289382011-08-20 Ulrich Drepper <drepper@gmail.com>
28939
775a77e7
UD
28940 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28941 and fgetc_unlocked.
28942 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28943 getc_unlocked.
89f447ed 28944
49c74ba9
UD
28945 * elf/dl-open.c (add_to_global): Report additions to the global scope
28946 for LD_DEBUG=scopes.
28947 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28948 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28949
5c43483f
UD
28950 [BZ #13114]
28951 * stdio-common/Makefile (tests): Add bug24.
28952 * stdio-common/bug24.c: New file.
28953
a101b025
AJ
289542011-08-19 Andreas Jaeger <aj@suse.de>
28955
28956 [BZ #13114]
28957 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28958 non-existant file when using close-on-exec mode.
28959
c88f1766
UD
289602011-08-20 Ulrich Drepper <drepper@gmail.com>
28961
0276a718
UD
28962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28963 the very first instruction.
28964
c88f1766
UD
28965 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28966 the CFI state in the end.
28967 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28968 inclusion of dl-trampoline.h.
28969 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28970
51ccffa0
AS
289712011-08-19 Andreas Schwab <schwab@redhat.com>
28972
94d7165f
AS
28973 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28974 expectations for long double.
28975
51ccffa0
AS
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28977 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28978
fd708658 289792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28980
28981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28982 artificual limit depends upon the system page size.
28983
44f0a71e
UD
289842011-08-17 Ulrich Drepper <drepper@gmail.com>
28985
28986 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28987 * resolv/Makefile: Define CFLAGS-libresolv.
28988
8de79a24
AS
289892011-08-17 Andreas Schwab <schwab@redhat.com>
28990
28991 * nss/makedb.c (compute_tables): Make variables used in nested
28992 function static.
28993
27724598
UD
289942011-08-17 Ulrich Drepper <drepper@gmail.com>
28995
c5305d88
UD
28996 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28997 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28998 if buffer was too small.
28999
27724598
UD
29000 * elf/pldd.c (main): Attach to all threads in the process.
29001 Rewrite /proc handling to use *at functions.
29002
076fe015
UD
290032011-08-16 Ulrich Drepper <drepper@gmail.com>
29004
174baab3
UD
29005 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29006 specifies first scope to show.
29007 (dl_open_worker): Update callers. Move printing scope of new
29008 object to before the relocation.
44f0a71e 29009 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29010 * sysdeps/generic/ldsodefs.h: Update declaration.
29011
076fe015
UD
29012 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29013 string for the scope number.
29014
a60df2c3
UD
290152011-08-14 Ulrich Drepper <drepper@gmail.com>
29016
29017 * nscd/servicescache.c (cache_addserv): Make sure written is always
29018 initialized.
29019
5e4287d1
RM
290202011-08-14 Roland McGrath <roland@hack.frob.com>
29021
85ae0589
RM
29022 * sysdeps/i386/i486/bits/atomic.h
29023 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29024 statement expression, so as to suppress "set but not used" warning.
29025 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29026
69f63097
RM
29027 * string/strncat.c (STRNCAT): Use prototype definition.
29028
675456ef
RM
29029 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29030 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29031 -Iprograms here.
29032 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29033 (localedef-modules): Add localedef.
29034 (locale-modules): Add locale.
29035
5e4287d1
RM
29036 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29037 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29038 to avoid a warning.
29039
9c96ff23
DM
290402011-08-14 David S. Miller <davem@davemloft.net>
29041
29042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29043 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29044
f9ddf089
UD
290452011-08-13 Ulrich Drepper <drepper@gmail.com>
29046
44f0a71e 29047 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29048 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29049 * elf/rtld.c (dl_main): Set l_name of vDSO.
29050 Call _dl_show_scope when DL_DEBUG_SCOPES.
29051 (process_dl_debug): Recognize scopes flag and also set it for all.
29052 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29053 Declare _dl_show_scope.
29054
1dc27704
UD
29055 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29056 (do_dlopen): Pass caller_dlopen to dl_open.
29057 (__libc_dlopen_mode): Initialize caller_dlopen.
29058
f9ddf089
UD
29059 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29060 of libc. Make tolower call locale-independent. Optimize a bit by
29061 using isdigit instead of isalnum.
29062 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29063
9ac533d3
UD
290642011-08-12 Ulrich Drepper <drepper@gmail.com>
29065
29066 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29067 was a dependency or dynamically loaded.
29068
89edf2e9
UD
290692011-08-11 Ulrich Drepper <drepper@gmail.com>
29070
8e999d29
UD
29071 * intl/l10nflist.c: Allow architecture-specific pop function.
29072 * sysdeps/x86_64/l10nflist.c: New file.
29073
89edf2e9
UD
29074 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29075 classification.
29076
14d96785
AS
290772011-08-10 Andreas Schwab <schwab@redhat.com>
29078
29079 * include/dirent.h: Add libc_hidden_proto for scandirat and
29080 scandirat64. Don't declare __scandirat64.
29081 * dirent/scandirat.c: Add libc_hidden_def.
29082 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29083 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29084
6761ac04
DM
290852011-08-10 David S. Miller <davem@davemloft.net>
29086
29087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29088 enum.
29089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29092
c55fbd1e
UD
290932011-08-09 Ulrich Drepper <drepper@gmail.com>
29094
29095 * Versions.def [libc]: Add GLIBC_2.15.
29096 * dirent/Makefile (routines): Add scandirat and scandirat64.
29097 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29098 GLIBC_2.15.
29099 * dirent/dirent.h: Declare scandirat and scandirat64.
29100 * dirent/scandirat.c: New file.
29101 * dirent/scandirat64.c: New file.
29102 * sysdeps/wordsize-64/scandirat.c: New file.
29103 * sysdeps/wordsize-64/scandirat64.c: New file.
29104 * dirent/opendir.c: Define opendirat.
29105 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29106 using scandirat.
29107 * dirent/scandir64.c: Adjust for scandir.c change.
29108 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29109 __scandirat64, and __scandir_cancel_handler.
29110 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29111 additional parameter and use openat instead of open (outside of ld.so).
29112 Add new __opendir as wrapper around __opendirat.
29113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29114 here without requiring old scandirat implementation.
29115
879165f2
UD
291162011-08-08 Ulrich Drepper <drepper@gmail.com>
29117
29118 * dirent/scandir.c (cancel_handler): Renamed to
29119 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29120 defined. Adjust users.
29121 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29123
cb7e923b
UD
291242011-08-04 Ulrich Drepper <drepper@gmail.com>
29125
16292edd
UD
29126 * string/test-string.h (IMPL): Use __STRING to expand name and then
29127 stringify it.
29128
cb7e923b
UD
29129 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29130 of cleanups.
29131
cff82933
LD
291322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29133
29134 * string/Makefile: Update.
29135 (strop-tests): Append strncat.
29136 * string/test-wcscmp.c: New file.
29137 New comprehensive test for wcscmp.
29138 * string/test-strcmp.c: Update.
29139 (WIDE): New define.
29140
9be9bfcc
AS
291412011-07-22 Andreas Schwab <schwab@redhat.com>
29142
29143 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29144 line.
29145
2e96f1c7
AS
291462011-07-26 Andreas Schwab <schwab@redhat.com>
29147
29148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29149 encoding to ACE if AI_IDN.
29150
85188888
JJ
291512011-08-01 Jakub Jelinek <jakub@redhat.com>
29152
29153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29154 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29155
5fa16e9b
LD
291562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29157
29158 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29159 Fix overflow bug in strncat.
29160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29161
29162 * string/test-strncat.c: Update.
29163 Add new tests for checking overflow bugs.
29164
291652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29166
29167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29168 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29169 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29170 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29171 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29172 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29173 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29174 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29175 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29176
29177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29178 (USE_AS_STRCAT): Define.
29179 Add strcat and strncat support.
29180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29181
8c1a459f
AS
291822011-07-25 Andreas Schwab <schwab@redhat.com>
29183
29184 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29185 __n bigger than INT_MAX+1.
29186 (__strncmp_g): Likewise.
29187
bba33c28
UD
291882011-07-23 Ulrich Drepper <drepper@gmail.com>
29189
798be72d
UD
29190 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29191 * libio/stido.h: Likewise.
29192
8accd4dc
UD
29193 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29194 (AF_NFC): Define.
29195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29196 (AF_NFC): Define.
29197
cbff0d96
UD
29198 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29201 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29203
9191c04a
UD
29204 [BZ #13021]
29205 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29206 installed.
29207
bba33c28
UD
29208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29209 typo.
29210 (_dl_x86_64_save_sse): Likewise.
29211
90f139dd
UD
292122011-07-22 Ulrich Drepper <drepper@gmail.com>
29213
1aae088a
UD
29214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29215 OSXSAVE.
29216 (_dl_x86_64_save_sse): Likewise.
29217
8e2045f5
UD
29218 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29219
90f139dd
UD
29220 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29221
1d002f25
AS
292222011-07-21 Andreas Schwab <schwab@redhat.com>
29223
29224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29225 change.
29226 (_dl_x86_64_save_sse): Use correct AVX check.
29227
21137f89
UD
292282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29229
29230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29231 bug in strncpy/strncat.
29232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29233
a65c0b7a
UD
292342011-07-21 Ulrich Drepper <drepper@gmail.com>
29235
29236 * string/tester.c (test_strcat): Add tests for different alignments
29237 of source and destination.
29238 (test_strncat): Likewise.
29239
6986b98a
UD
292402011-07-20 Ulrich Drepper <drepper@gmail.com>
29241
90bb2039
UD
29242 [BZ #12852]
29243 * posix/glob.c (glob): Check passed in values before using them in
29244 expressions to avoid some overflows.
29245 (glob_in_dir): Likewise.
29246
5644ef54
UD
29247 [BZ #13007]
29248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29249 check for AVX enablement so that we don't crash with old kernels and
29250 new hardware.
29251 * elf/tst-audit4.c: Add same checks here.
29252 * elf/tst-audit6.c: Likewise.
29253
29254 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29255
bfc9dc9b
AS
292562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29257
29258 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29259
702e64bb
UD
292602011-07-20 Ulrich Drepper <drepper@gmail.com>
29261
29262 * po/cs.po: Update from translation team.
29263 * po/bg.po: Likewise.
29264
295e904f
MP
292652011-07-12 Marek Polacek <mpolacek@redhat.com>
29266
29267 * misc/sys/cdefs.h: Add support for const attribute.
29268 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29269 to gnu_dev_{major,minor,makedev} functions.
29270
3ff94596
MP
292712011-07-20 Marek Polacek <mpolacek@redhat.com>
29272
29273 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29274
28b59fca
AS
292752011-07-20 Andreas Schwab <schwab@redhat.com>
29276
29277 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29278 strlen results.
29279
19df733e
AK
292802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29281
29282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29283 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29284 register in order to avoid conflicts with the soft frame pointer
29285 being held in r11 when necessary.
29286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29287 (INTERNAL_VSYSCALL_NCS): Likewise.
29288
c8835729
MP
292892011-07-14 Marek Polacek <mpolacek@redhat.com>
29290
29291 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29292 * elf/dl-fini.c (_dl_fini): Adjust caller.
29293 * elf/dl-close.c (_dl_close_worker): Likewise.
29294 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29295
b902330c
MP
292962011-07-15 Marek Polacek <mpolacek@redhat.com>
29297
8991e135
MP
29298 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29299 "aux_cache->nlibs < 0".
29300
b902330c
MP
29301 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29302 in the reload-count case.
29303
99710781
LD
293042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29305
29306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29307 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29308 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29310 * sysdeps/x86_64/multiarch/strcat.S: New file.
29311 * sysdeps/x86_64/multiarch/strncat.S: New file.
29312 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29314 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29315 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29317 (USE_AS_STRCAT): Define.
29318 Add strcat and strncat support.
29319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29321 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29322 * string/strncat.c: Update.
29323 (USE_AS_STRNCAT): Define.
29324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29325 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29326 and i7.
29327 * sysdeps/x86_64/multiarch/init-arch.h
29328 (bit_Prefer_PMINUB_for_stringop): New.
29329 (index_Prefer_PMINUB_for_stringop): Likewise.
29330 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29331 bit_Prefer_PMINUB_for_stringop.
29332
7dc6bd90
UD
293332011-07-19 Ulrich Drepper <drepper@gmail.com>
29334
29335 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29336 buffer64.
29337 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29338 of casting of buffer.
29339 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29340 buffer32 and buffer64.
29341 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29342 writes instead of casting of buffer.
29343 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29344 buffer32.
29345 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29346 casting of buffer.
29347
e0e72284
AS
293482011-07-19 Andreas Schwab <schwab@redhat.com>
29349
29350 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29351
feb1eb0b
UD
293522011-07-19 Ulrich Drepper <drepper@gmail.com>
29353
29354 * nscd/nscd.c (termination_handler): Don't do anything for a database
29355 if it has not yet been initialized.
29356
298711ff
UD
293572011-07-18 Ulrich Drepper <drepper@gmail.com>
29358
29359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29360
293612011-07-15 Marek Polacek <mpolacek@redhat.com>
29362
29363 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29364
f9d68389
UD
293652011-07-18 Ulrich Drepper <drepper@gmail.com>
29366
29367 * po/nl.po: Update from translation team.
29368 * po/sv.po: Likewise.
29369
db290cf5
RM
293702011-07-16 Roland McGrath <roland@hack.frob.com>
29371
29372 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29373 now disallowed by GCC.
5c550700 29374
fd5e21c7
RM
29375 * configure.in (use-default-link): Default to yes if a test -shared
29376 link meets our qualifications.
29377 * configure: Regenerated.
29378
5c550700
RM
29379 * config.make.in (output-format): New variable.
29380 * configure.in: Check for ld --print-output-format support.
29381 * configure: Regenerated.
29382 * Makerules ($(common-objpfx)format.lds)
29383 [$(output-format) != unknown]: Just use $(output-format),
29384 instead of the linker-script munging.
29385
9fa2c032
RM
293862011-07-14 Roland McGrath <roland@hack.frob.com>
29387
a6928d51
RM
29388 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29389 of $(common-objpfx)shlib.lds.
29390 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29391
661607b3
RM
29392 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29393 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29394
9fa2c032
RM
29395 * configure.in (-z relro check): Adjust test code to add a large
29396 writable data section after it.
29397 * configure: Regenerated.
29398
defe9061
RM
293992011-07-11 Roland McGrath <roland@hack.frob.com>
29400
29401 * configure.in (-z relro check): Fix test code to make the variable
29402 truly const.
29403 * configure: Regenerated.
29404
319b9ad4
UD
294052011-07-11 Ulrich Drepper <drepper@gmail.com>
29406
29407 * nscd/nscd.h (struct traced_file): Define.
29408 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29409 elements. Add traced_files.
29410 (inotify_fd): Declare.
29411 (register_traced_file): Declare.
29412 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29413 (inotify_fd): Export.
29414 (resolv_conf_descr): Remove.
29415 (nscd_init): Move inotify descriptor creation to main.
29416 Don't register files for notification here.
29417 (register_traced_file): New function.
29418 (invalidate_cache): Don't use reset_res to determine whether to call
29419 res_init, go through the list of registered files.
29420 (main_loop_poll): The inotify descriptors are now stored in the
29421 structures for the traced files.
29422 (main_loop_epoll): Likewise
29423 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29424 to __nss_disable_nscd.
29425 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29426 for a database anymore. Check the records for all the registered
29427 files instead.
29428 * nss/Makefile (libnss_files-routines): Add files-init.
29429 (libnss_db-routines): Add db-init.
29430 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29431 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29432 * nss/nss_db/db-init.c: New file.
29433 * nss/nss_files/files-init.c: New file.
29434 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29435 __nss_lookup_function.
29436 (__nss_lookup_function): Call nss_load_library.
29437 (nss_load_all_libraries): New function.
29438 (__nss_disable_nscd): Take parameter with callback function for files
29439 to register. Set is_nscd. Load all the DSOs for the NSS modules
29440 used for the cached services.
29441 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29443 options for features to all the files in nscd.
29444
29445 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29446
23bee3e8
RM
294472011-07-10 Roland McGrath <roland@hack.frob.com>
29448
29449 * csu/elf-init.c (__libc_csu_init): Comment typo.
29450
46a5b7f0
UD
294512011-07-09 Ulrich Drepper <drepper@gmail.com>
29452
29453 * po/pl.po: Update from translation team.
29454 * po/ja.po: Likewise.
29455 * po/ru.po: Likewise.
29456 * po/ko.po: Likewise.
29457 * po/fr.po: Likewise.
29458
d30cf5bb
RM
294592011-07-09 Roland McGrath <roland@hack.frob.com>
29460
113ddea4
RM
29461 * configure.in (.ctors/.dtors header and trailer check):
29462 Use an empirical test on a built program.
29463 * configure: Regenerated.
29464
574920b4
RM
29465 * configure.in (-z relro check): Use an empirical test on a built DSO.
29466 Detect, but do not require, on ia64.
29467 * configure: Regenerated.
29468
d30cf5bb
RM
29469 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29470 Update tests that use readelf to use $READELF instead.
29471 * configure: Regenerated.
29472
8538fdb3
UD
294732011-07-08 Ulrich Drepper <drepper@gmail.com>
29474
29475 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29476 if the result is not used.
29477
04d08991
AJ
294782011-07-05 Andreas Jaeger <aj@suse.de>
29479
29480 [BZ#9696]
29481 * stdlib/tst-strtod.c: Add testcase.
29482
de283087
AD
294832011-07-07 Ulrich Drepper <drepper@gmail.com>
29484
4e5f31c8 29485 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29486 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29487 The latter has a higher limit. Take additional parameter to pass to
29488 the new function.
29489 (__pathconf): Pass file to __statfs_link_max.
29490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29491 __statfs_link_max.
29492 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29493 __statfs_link_max.
29494
de283087
AD
29495 [BZ #12868]
29496 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29498 Handle Lustre.
29499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29500 (__statfs_filesize_max): Likewise.
29501 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29502
c75fa153
AJ
295032011-07-05 Andreas Jaeger <aj@suse.de>
29504
29505 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29506
1a544854
UD
295072011-07-06 Marek Polacek <mpolacek@redhat.com>
29508
29509 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29510 `status' variable.
29511 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29512 Likewise.
29513
6f0eec67
UD
295142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 * Makefile (strop-tests): Add strncat.
29517 * string/test-strncat.c: New file.
29518
aae30307
UD
295192011-06-30 Marek Polacek <mpolacek@redhat.com>
29520
29521 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29522
c0cfb5eb
UD
295232011-06-21 Andreas Jaeger <aj@suse.de>
29524
29525 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29526 Copy rule from iconvdata/Makefile.
29527
01636b21
UD
295282011-07-06 Ulrich Drepper <drepper@gmail.com>
29529
29530 [BZ #12922]
29531 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29532 but no long options are defined, just return 'W'.
29533
9895c8bc
UD
295342011-06-22 Marek Polacek <mpolacek@redhat.com>
29535
29536 [BZ #9696]
29537 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29538
5d4cf042
UD
295392011-07-06 Ulrich Drepper <drepper@gmail.com>
29540
29541 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29542 netgroups to read.
960e5535 29543 (innetgr): Likewise.
5d4cf042 29544
751eb97e
RM
295452011-07-05 Roland McGrath <roland@hack.frob.com>
29546
29547 * config.make.in (install_root): Default to $(DESTDIR).
29548
f15f1e45
UD
295492011-07-05 Ulrich Drepper <drepper@gmail.com>
29550
29551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29552
4e34ac6a
RM
295532011-07-02 Roland McGrath <roland@hack.frob.com>
29554
5e9b6af4
RM
29555 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29556
84f9ea0f
RM
29557 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29558 containing directory rather than embedding absolute directory names.
29559
ea5ee9f7
RM
29560 * scripts/check-local-headers.sh: Rewritten using awk.
29561 Match by word, not by line. Print error messages for matches.
29562 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29563
1b74661a
RM
29564 * Makerules [shlib-lds-flags empty]:
29565 ($(common-objpfx)libc_pic.opts): New target.
29566 ($(common-objpfx)libc_pic.os.clean): New target.
29567 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29568
29569 * config.make.in (OBJCOPY): New variable.
29570 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29571 * configure: Regenerated.
29572
f781ef40
RM
29573 * config.make.in (use-default-link): New variable.
29574 * configure.in (use_default_link): Grok --with-default-link to set it.
29575 * configure: Regenerated.
29576 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29577 (shlib-lds, shlib-lds-flags): Define to empty.
29578
2d4fa81e
RM
29579 * Makerules (shlib-lds): New variable.
29580 (shlib-lds-flags): New variable.
29581 (build-shlib, build-moduile, build-module-asneeded): Use it.
29582 ($(common-objpfx)libc.so): Use $(shlib-lds).
29583 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29584 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29585
31fffa6b
RM
29586 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29587 DT_FLAGS/DT_FLAGS_1 with zero flags.
29588
4e34ac6a
RM
29589 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29590 linker script munging.
29591
fcfc776b
UD
295922011-07-02 Ulrich Drepper <drepper@gmail.com>
29593
29594 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29595 as 128-bit value.
29596 * crypt/sha512.c (sha512_process_block): Perform total addition using
29597 128-bit if possible.
29598 (__sha512_finish_ctx): Likewise.
29599 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29600 as 64-bit value.
29601 * crypt/sha256.c (SWAP64): Define.
29602 (sha256_process_block): Perform total addition using 64-bit if
29603 possible.
29604 (__sha256_finish_ctx): Likewise.
29605
99231d9a
UD
296062011-07-01 Ulrich Drepper <drepper@gmail.com>
29607
29608 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29610 * nscd/hstcache.c (cache_addhst): Likewise.
29611 * nscd/grpcache.c (cache_addgr): Likewise.
29612 * nscd/aicache.c (addhstaiX): Likewise
29613 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29614
445b4a53
TK
296152011-07-01 Thorsten Kukuk <kukuk@suse.de>
29616
29617 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29619 * nscd/hstcache.c (cache_addhst): Likewise.
29620 * nscd/grpcache.c (cache_addgr): Likewise.
29621 * nscd/aicache.c (addhstaiX): Likewise
29622
6d4d8e8e
AS
296232011-07-01 Andreas Schwab <schwab@redhat.com>
29624
29625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29626 domain only when needed.
29627
89f654c5
AS
296282011-06-30 Andreas Schwab <schwab@redhat.com>
29629
29630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29631 is always restored.
29632
cf3b23ff
UD
296332011-06-29 Ulrich Drepper <drepper@gmail.com>
29634
29635 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29636 are re-adding the entry.
29637 * nscd/servicescache.c (cache_addserv): Likewise.
29638
751626f9
AJ
296392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29640
29641 * sysdeps/generic/dl-irel.h: fix protection against multiple
29642 inclusions.
29643 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29644
9113ea1f
UD
296452011-06-28 Ulrich Drepper <drepper@gmail.com>
29646
5c0b8d90
UD
29647 [BZ #12935]
29648 * malloc/memusage.sh: Fix quoting in message.
29649 * debug/xtrace.sh: Likewise.
29650
9113ea1f
UD
29651 * configure.in: Remove support for --experimental-malloc option, make
29652 it the default.
29653 * config.make.in: Likewise.
29654 * malloc/Makefile: Likewise.
29655
a4172181
AS
296562011-06-27 Andreas Schwab <schwab@redhat.com>
29657
29658 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29659 two-byte characters.
29660
78a7eee7
RM
296612011-06-27 Roland McGrath <roland@hack.frob.com>
29662
62bede13
RM
29663 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29664 AC_CACHE_CHECK invocation.
29665 * configure: Regenerated.
29666
78a7eee7
RM
29667 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29668
5ce33a62
UD
296692011-06-27 Ulrich Drepper <drepper@gmail.com>
29670
034807a9
UD
29671 [BZ #12350]
29672 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29673 bit from old_res_options.
29674
4902da17
UD
29675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29676
5ce33a62
UD
29677 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29678 value type for setfct.
29679
c2344f56
L
296802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29681
29682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29683 __gettimeofday instead of gettimeofday.
29684
68468076
UD
296852011-06-26 Ulrich Drepper <drepper@gmail.com>
29686
29687 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29688
acb0d739
L
296892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29690
29691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29692
29693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29694 info.
29695
8912479f
L
296962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29697
29698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29699 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29700 strcpy-sse2-unaligned strncpy-sse2-unaligned
29701 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29702 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29703 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29704 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29705 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29708 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29709 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29710 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29711 (STRCPY): Support SSE2 and SSSE3 versions.
29712
d5495a11
UD
297132011-06-24 Ulrich Drepper <drepper@gmail.com>
29714
29715 [BZ #12874]
29716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29717 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29718 kernels which artificially limit size of requests.
29719
0b1cbaae
L
297202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29721
29722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29723 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29724 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29725 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29726 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29727 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29728 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29729 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29732 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29733 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29734 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29735 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29736 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29738 Enable unaligned load optimization for Intel Core i3, i5 and i7
29739 processors.
29740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29741 Define.
29742 (index_Fast_Unaligned_Load): Define.
29743 (HAS_FAST_UNALIGNED_LOAD): Define.
29744
07f494a0
MP
297452011-06-23 Marek Polacek <mpolacek@redhat.com>
29746
29747 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29748
fa3fc0fe
UD
297492011-06-22 Ulrich Drepper <drepper@gmail.com>
29750
29751 [BZ #12907]
29752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29753 until it is clear that the information is realy needed.
29754 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29755
e12df166
AS
297562011-06-22 Andreas Schwab <schwab@redhat.com>
29757
29758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29759
852eb34d
UD
297602011-06-22 Ulrich Drepper <drepper@gmail.com>
29761
84e2a551
UD
29762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29763 /sys/devices/system/cpu/online if it is usable.
29764
852eb34d
UD
29765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29766 reading the information from the /proc filesystem to once a second.
29767
6e502e19
UD
297682011-06-21 Andreas Jaeger <aj@suse.de>
29769
29770 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29771 NULL after inclusion of kernel headers.
29772
75d39ff2
UD
297732011-06-21 Ulrich Drepper <drepper@gmail.com>
29774
51f9aa6a
UD
29775 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29776 calls to internal_setent.
29777
c0244a9d
UD
29778 [BZ #12885]
29779 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29780 addresses using gethostbyname4_r ignore IPv4 addresses.
29781
c5e3c2ae
UD
29782 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29783 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29784
75d39ff2
UD
29785 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29786
42675c6f
DM
297872011-06-20 David S. Miller <davem@davemloft.net>
29788
29789 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29790 inclusions.
29791 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29792
29793 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29794 (elf_irel): Use it.
29795 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29796 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29797 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29798 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29799 * sysdeps/x86_64/dl-irel.h: Likewise.
29800
29801 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29802 * elf/dl-sym.c: Likewise.
29803
57912a71
UD
298042011-06-15 Ulrich Drepper <drepper@gmail.com>
29805
29806 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29807 need to dereference resplen2.
29808
ee22793d
AS
298092011-06-14 Andreas Schwab <schwab@redhat.com>
29810
29811 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29812
a9e836b0
UD
298132011-06-15 Ulrich Drepper <drepper@gmail.com>
29814
77fb9117
UD
29815 * Makeconfig: Define vardbdir and inst_vardbdir.
29816 * nss/Makefile: Add rules to install db-Makefile.
29817
40c1b22c
UD
29818 * nss/nss_db/db-XXX.c: Cleanup.
29819
9f2da732
UD
29820 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29821 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29822 GLIBC_PRIVATE.
29823 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29824 * nss/makedb.c: Implement -g option to specify that value strings
29825 are generated and should not be added to table iterated over for
29826 get*ent calls.
29827 * nss/nss_db/db-initgroups.c: New file.
29828
82e9a1f7
UD
29829 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29830 interface.
29831
c41af17e
UD
29832 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29833 (internal_getgrouplist): Adjust to name change.
29834 Update use_initgroups_entry if this is not the first call.
29835 * nss/databases.def: Add initgroups entry.
29836
a9e836b0
UD
29837 * nss/makedb.c (compute_tables): Check result of multiple hash table
29838 sizes to minimize maximum chain length.
29839
2666d441
UD
298402011-06-14 Ulrich Drepper <drepper@gmail.com>
29841
29842 * Versions.def: Add entry for libnss_db.
29843 * shlib-versions: Likewise.
29844 * nss/Makefile: Add rules to build libnss_db.
29845 * nss/Versions: Add libnss_db information. Organize libnss_files
29846 entries better.
29847 * nss/db-Makefile: Add gshadow support. Change rules for the new
29848 makedb progra. Some minor improvements to generate smaller files.
29849 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29850 here from...
29851 * nss/makedb.c: ...here.
29852 Improve database format to be smaller and require less memory at
29853 runtime.
29854 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29855 db anymore.
29856 * nss/nss_db/db-netgrp.c: Likewise.
29857 * nss/nss_db/db-open.c: Likewise.
29858 * nss/nss_files/flies-XXX.x: Adjust comments.
29859 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29860 * nss/nss_files/files-grp.c: Likewise.
29861 * nss/nss_files/files-hosts.c: Likewise.
29862 * nss/nss_files/files-network.c: Likewise.
29863 * nss/nss_files/files-proto.c: Likewise.
29864 * nss/nss_files/files-pwd.c: Likewise.
29865 * nss/nss_files/files-rpc.c: Likewise.
29866 * nss/nss_files/files-service.c: Likewise.
29867 * nss/nss_files/files-sgrp.c: Likewise.
29868 * nss/nss_files/files-spwd.c: Likewise.
29869 * nss/nss_db/db-alias.c: Removed.
29870 * nss/nss_db/dummy-db.h: Removed.
29871
9ee76b5a
UD
298722011-06-02 Ulrich Drepper <drepper@gmail.com>
29873
29874 * nss/makedb.c: Rewritten to not use database library.
29875 * nss/Makefile: Update to build new makedb program.
29876
c71ca1f8
AJ
298772011-06-14 Andreas Jaeger <aj@suse.de>
29878
29879 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29880 memset declaration.
29881
3154bfb8
UD
298822011-06-10 Andreas Schwab <schwab@redhat.com>
29883
29884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29885 tmpbuf.
29886
b350afab
RM
298872011-06-10 Roland McGrath <roland@hack.frob.com>
29888
decd4e50
RM
29889 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29890 * elf/Makefile ($(objpfx)ld.so): Likewise.
29891
5615eaf2
RM
29892 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29893 Don't list ld.so twice in dependencies.
29894
29895 * posix/bug-regex31.c: Include <stdlib.h>.
29896
29897 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29898
29899 * nis/nss_compat/compat-spwd.c
29900 (getspent_next_nss_netgr): Remove unused variable.
29901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29902
29903 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29904 nonmembers" output to use the right array.
29905
29906 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29907
29908 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29909
29910 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29911 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29912 * catgets/gencat.c (read_input_file): Likewise.
29913 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29914
29915 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29916 variable definition inside #if's controlling its use.
29917
29918 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29919
29920 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29921
29922 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29923
29924 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29925 unreachable code.
29926
29927 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29928
b68e08db
RM
29929 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29930 * configure: Regenerated.
29931
b350afab
RM
29932 * Makerules: Revert last change.
29933 * elf/Makefile: Likewise.
29934
28368601
RM
299352011-06-09 Roland McGrath <roland@hack.frob.com>
29936
29937 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29938 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29939 (reloc-link): Likewise.
29940
11988f8f
UD
299412011-06-09 Ulrich Drepper <drepper@gmail.com>
29942
29943 * elf/Makefile: Add rules to build pldd.
29944 * elf/pldd.c: New file.
29945 * elf/pldd-xx.c: New file.
29946
e80fab37
UD
299472011-06-07 Ulrich Drepper <drepper@gmail.com>
29948
29949 * version.h: Update for 2.15 development version.
29950
9b849836
DM
299512011-06-07 David S. Miller <davem@davemloft.net>
29952
29953 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29954 ifuncs.
29955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29956 elf_machine_lazy_rel): Likewise.
29957 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29959 elf_machine_lazy_rel): Likewise.
29960 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29961 dl_hwcap via passed in argument.
29962 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29963 Likewise.
29964
5a31b283
AK
299652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29966
29967 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29968
069e52f8
RM
299692011-06-06 Roland McGrath <roland@hack.frob.com>
29970
29971 [BZ #12849]
29972 * manual/fdl-1.1.texi: New file, verbatim from:
29973 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29974 * manual/lgpl-2.1.texi: New file, verbatim from:
29975 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29976 * manual/Makefile (licenses): New variable, list those new file names.
29977 (texis): Use it.
29978 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29979
29980 * manual/fdl.texi: File removed.
29981 * manual/lesser.texi: File removed.
29982 * manual/libc.texinfo (Copying, Documentation License):
29983 Use new @include file names, put @appendix directive before @include.
29984
f16846a5
JJ
299852011-06-04 Jakub Jelinek <jakub@redhat.com>
29986
29987 [BZ #12841]
29988 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29989 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29990 (mq_open): Add __NTH.
29991
3d29045b
L
299922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29995 Assume Intel Core i3/i5/i7 processor if AVX is available.
29996
8c297311
UD
299972011-05-31 Ulrich Drepper <drepper@gmail.com>
29998
29999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30000 typo.
30001
c8fc0c91
UD
300022011-05-31 Andreas Schwab <schwab@redhat.com>
30003
30004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30005 memory. Use alloca_account. Fix memory leak when retrying.
30006
5b27a807
UD
300072011-05-31 Ulrich Drepper <drepper@gmail.com>
30008
356f8bc6
UD
30009 * version.h (RELEASE): Bump for 2.14 release.
30010 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30011
5b27a807
UD
30012 * config.make.in (RANLIB): Remove entry.
30013
01f16ab0
UD
300142011-05-30 Ulrich Drepper <drepper@gmail.com>
30015
41fce8bd
UD
30016 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30017 (libc.pot): Work around missing support for .ksh extension in xgettext.
30018
4769ae77
UD
30019 [BZ #12684]
30020 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30021 if both request failed.
30022 (send_dg): In case of server errors clear resplen or *resplen2.
30023
6b1e7d19
UD
30024 [BZ #12454]
30025 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30026 when there are multiple maps.
30027 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30028 (_dl_fini): Remove test here.
30029
01f16ab0
UD
30030 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30031
b1ebd700
UD
300322011-05-29 Ulrich Drepper <drepper@gmail.com>
30033
7ae22829
UD
30034 [BZ #12350]
30035 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30036 bit from old_res_options.
30037 (gaih_inet): Likewise.
30038
553149f6 30039 [BZ #11099]
18a84741 30040 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30041 as signed.
30042
652ffab1
UD
30043 * resolv/res_init.c (res_setoptions): Make the code more compact.
30044
16985fd0
UD
30045 [BZ #11558]
30046 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30047 set RES_USEVC.
30048
0464f746
UD
30049 [BZ #11634]
30050 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30051
7d17596c
UD
30052 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30053
cf6bbbd7
UD
30054 [BZ #11781]
30055 * malloc/malloc.h: Declare malloc hook variables as volatile.
30056
13f1ab36
UD
30057 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30058 in last patch.
30059
b1ebd700
UD
30060 [BZ #11799]
30061 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30062 raise in the comment.
80e2212d
UD
30063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30065 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30066
ce67228d
UD
300672011-05-28 Ulrich Drepper <drepper@gmail.com>
30068
8887a920
UD
30069 [BZ #12811]
30070 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30071 grow the buffers more if it already has to be sufficient.
30072 (build_wcs_upper_buffer): Likewise.
30073 * posix/regexec.c (check_matching): Likewise.
30074 (clean_state_log_if_needed): Likewise.
30075 (extend_buffers): Don't enlarge buffers beyond size of the input
30076 buffer.
30077 Patches mostly by Emil Wojak <emil@wojak.eu>.
30078 * posix/bug-regex32.c: New file.
30079 * posix/Makefile (tests): Add bug-regex32.
30080
4f031072
UD
30081 * locale/findlocale.c (_nl_find_locale): Return right away if
30082 _nl_explode_name failed.
30083 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30084
d0478f0c
UD
30085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30086
de81b246
UD
30087 * debug/xtrace.sh: Unify messages.
30088 * malloc/memusage.sh: Likewise.
30089
c738465a
UD
30090 [BZ #12813]
30091 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30092 time symbol from vDSO. Substitute with vsyscall if not available.
30093 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30094 __vdso_time.
30095
f1f929d7
UD
30096 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30097 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30099 Add sendmmsg and internal_sendmmsg.
30100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30102 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30103
ce67228d
UD
30104 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30105 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30107
e57420c6
UD
301082011-05-27 Ulrich Drepper <drepper@gmail.com>
30109
a8509ca5
UD
30110 [BZ #12813]
30111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30112 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30113 available.
30114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30115 __vdso_getcpu.
30116
e57420c6
UD
30117 [BZ #12814]
30118 * iconvdata/Makefile (tests): Add bug-iconv9.
30119 * iconvdata/bug-iconv9.c: New file.
30120
4d07db15
AS
301212011-05-27 Andreas Schwab <schwab@redhat.com>
30122
30123 [BZ #12814]
30124 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30125
ea486f69
JJ
301262011-05-25 Jakub Jelinek <jakub@redhat.com>
30127
30128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30129 (struct user_regs_struct): Change intcs field back to cs.
30130
6f038433
UD
301312011-05-25 Ulrich Drepper <drepper@gmail.com>
30132
30133 * po/ja.po: Update from translation team.
30134
67f86a25
UD
301352011-05-23 Ulrich Drepper <drepper@gmail.com>
30136
30137 [BZ #12795]
30138 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30140
def7fbd6
AS
301412011-05-20 Andreas Schwab <schwab@redhat.com>
30142
30143 * stdlib/longlong.h: Update from GCC.
30144
f50ef8f1
AS
301452011-05-23 Andreas Schwab <schwab@redhat.com>
30146
30147 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30148 parameter name.
30149 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30150 Add parameter name.
30151 (__sysconf): Pass it down.
30152
de7ce8f1
UD
301532011-05-22 Ulrich Drepper <drepper@gmail.com>
30154
f2962a71
UD
30155 [BZ #12671]
30156 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30157 some situations.
30158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30159 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30160 add in in __libc_use_alloca calls. Adjust callers.
30161 (glob): Use malloc in some situations.
30162
de7ce8f1
UD
30163 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30164 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30165 pltexit.
30166
aec84f53
UD
301672011-05-21 Ulrich Drepper <drepper@gmail.com>
30168
05bb4a68
UD
30169 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30170 and CLOCK_BOOTTIME_ALARM.
30171
7ea72f99
UD
30172 [BZ #12782]
30173 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30174 is returned.
30175
7e4afad5
UD
30176 * string/_strerror.c (__strerror_r): Print negative errors as signed
30177 numbers.
30178
8e211fec
UD
30179 [BZ #12777]
30180 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30181 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30182 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30183
f7d82dc9
UD
30184 * configure.in: Fix typo in redirection and correct removal of test
30185 files in two cases.
30186
cc9e536d
UD
30187 [BZ #12788]
30188 * locale/setlocale.c (new_composite_name): Fix test to check for
30189 identical name of all categories.
30190
aec84f53
UD
30191 [BZ #12792]
30192 * libio/filedoalloc.c (local_isatty): New function.
30193 (_IO_file_doallocate): Use local_isatty.
30194 * stdio-common/perror.c (perror): In case a new stream is used
30195 forward the stream error.
30196 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30197 error flag.
30198
78e64fdc
RT
301992011-05-20 Ulrich Drepper <drepper@gmail.com>
30200
34a9094f
UD
30201 [BZ #11869]
30202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30203 alloca.
30204 * include/alloca.h (extend_alloca_account): Define.
30205
78e64fdc
RT
30206 [BZ #11857]
30207 * posix/regex.h: Fix comments with documentation of user-accessible
30208 fields after compilation and describe correct free'ing of pattern
30209 after re_compile_pattern.
30210 Patch by Reuben Thomas <rrt@sc3d.org>.
30211
457bddfc
RA
302122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30213
30214 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30215 and -mno-altivec to prevent the compiler from using Altivec and/or
30216 VSX instructions when the corresponding registers are not available.
30217
a4527b51
AS
302182011-05-19 Andreas Schwab <schwab@redhat.com>
30219
30220 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30221
ed690b2f
UD
302222011-05-19 Ulrich Drepper <drepper@gmail.com>
30223
30224 * libio/freopen.c (freopen): Use __dup2, not dup2.
30225 * libio/freopen64.c (freopen64): Likewise.
30226
8db73634
L
302272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30228
30229 [BZ #12775]
30230 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30231 * math/Makefile (tests): Add test-powl.
30232 (CFLAGS-test-powl.c): Define.
30233 * math/test-powl.c: New file.
30234
0a197a9d
L
302352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30236
30237 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30238
ee30c380
UD
302392011-05-17 Ulrich Drepper <drepper@gmail.com>
30240
30241 [BZ #11837]
30242 * iconvdata/gb18030.c: Update to GB18020-2005.
30243
6ce75379
UD
302442011-05-16 Ulrich Drepper <drepper@gmail.com>
30245
a4b89fd8
AR
30246 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30247 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30248 Patch by Aharon Robbins <arnold@skeeve.com>.
30249
ea389b12
UD
30250 [BZ #11892]
30251 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30252 on the stack.
30253
68a3f91f
UD
30254 [BZ #11895]
30255 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30256 through underflows.
30257
15cc7dd1
UD
30258 [BZ #12766]
30259 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30260 point to strings before performing equality test for error_one_per_line
30261 mode.
30262
f3799213
UD
30263 [BZ #11697]
30264 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30265
d79a9c94
UD
30266 [BZ #11820]
30267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30268 (struct user_fpregs_struct): Avoid __uint*_t types.
30269
56e5eb46
UD
30270 [BZ #6420]
30271 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30272 symbol info. Use it instead of calling _dl_addr locally.
30273 (lock_and_info): New function.
30274 (tr_freehook): Call lock_and_info and pass symbol info as additional
30275 parameter to tr_where.
30276 (tr_mallochook): Likewise.
30277 (tr_reallochook): Likewise.
30278 (tr_memalignhook): Likewise.
30279
6ce75379
UD
30280 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30281 used and couldn't be at all thread-safe.
30282
f8a3b5bf
UD
302832011-05-15 Ulrich Drepper <drepper@gmail.com>
30284
94b7cc37
UD
30285 * libio/freopen.c (freopen): Don't close old file descriptor
30286 before the new one is opened. Instead dup the new file descriptor
30287 to the old one after the new stream is created.
30288 * libio/freopen64.c (freopen64): Likewise.
30289 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30290 * libio/fileops.c (_IO_new_file_close_it): Handle new
30291 _IO_FLAGS2_NOCLOSE flag.
30292 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30293 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30294 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30295 _IO_FLAGS2_NOCLOSE flag.
30296 * include/unistd.h: Add hidden_proto for dup3.
30297 Define __have_dup3.
30298 * io/dup3.c: Define hidden symbol.
30299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30300
bd25564e
UD
30301 [BZ #7101]
30302 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30303 when an incomplete long option is used.
30304 * posix/tst-getopt_long1.c: New file.
30305 * posix/Makefile (tests): Add tst-getopt_long1.
30306
c84cfef4
UD
30307 [BZ #10138]
30308 * scripts/config.guess: Update from autoconf-2.68.
30309 * scripts/config.sub: Likewise.
30310
3b85df27
UD
30311 [BZ #10157]
30312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30313 tests into ...
30314 (has_cpuclock): ...this. New function.
30315 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30316 macro here based on has_cpuclock code.
30317
15a856b1
UD
30318 [BZ #10149]
30319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30320 First byte (not low byte) is now always NUL.
30321 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30322
05f399e6
UD
30323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30324 Use non-cancelable interfaces.
30325
10a52685 30326 [BZ #9809]
94ecc67d
UD
30327 * locale/iso-639.def: Add entry for Sorani.
30328
f8a3b5bf
UD
30329 [BZ #11901]
30330 * include/stdlib.h: Move include protection to the right place.
30331 Define abort_msg_s. Declare __abort_msg with it.
30332 * stdlib/abort.c (__abort_msg): Adjust type.
30333 * assert/assert.c (__assert_fail_base): New function. Majority
30334 of code from __assert_fail. Allocate memory for __abort_msg with
30335 mmap.
30336 (__assert_fail): Now call __assert_fail_base.
30337 * assert/assert-perr.c: Remove bulk of implementation. Use
30338 __assert_fail_base.
30339 * include/assert.hL Declare __assert_fail_base.
30340 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30341 mmap.
30342 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30343
1af4e298
UD
303442011-05-14 Ulrich Drepper <drepper@gmail.com>
30345
f8a3b5bf 30346 [BZ #11952]
d26dfc60
MG
30347 [BZ #12453]
30348 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30349 until all modules are registered in the DTV.
30350 * elf/Makefile: Add rules to build and run tst-tls19.
30351 * elf/tst-tls19.c: New file.
30352 * elf/tst-tls19mod1.c: New file.
30353 * elf/tst-tls19mod2.c: New file.
30354 * elf/tst-tls19mod3.c: New file.
30355 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30356
2fc54d6f
UD
30357 [BZ #12083]
30358 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30359 correctly.
30360
98d76b46
UD
30361 [BZ #12601]
30362 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30363 two-byte sequence errors.
30364 * iconvdata/Makefile (tests): Add bug-iconv8.
30365 * iconvdata/bug-iconv8.c: New file.
30366
da3c19ef
UD
30367 [BZ #12626]
30368 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30369 buf2 definition.
30370
ca408c15
UD
30371 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30372
d6f67f7d
UD
30373 [BZ #12432]
30374 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30375 (dummy_getcfa): New function.
30376 (init): Get _Unwind_GetCFA address, use dummy if not found.
30377 (backtrace_helper): In recursion check, also check whether CFA changes.
30378 (__backtrace): Completely initialize arg.
30379
1af4e298 30380 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30381 storing incomplete byte sequence in state object. Avoid testing for
30382 guaranteed too small input if we know there is enough data available.
1af4e298 30383
da62f81b
AS
303842011-05-11 Andreas Schwab <schwab@redhat.com>
30385
30386 * Makeconfig (+link-pie): Indent.
30387 * Rules (binaries-pie): Define if $(have-fpie) and
30388 $(build-shared).
30389 (binaries-shared): Also filter out $(binaries-pie).
30390 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30391 * nscd/Makefile (others-pie): Add nscd.
30392 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30393 ($(objpfx)nscd): Remove command override.
30394 * login/Makefile (others-pie): Add pt_chown.
30395 ($(objpfx)pt_chown): Remove command override.
30396 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30397 remove command overrides.
30398
fcabc0f8
UD
303992011-05-13 Ulrich Drepper <drepper@gmail.com>
30400
20030ae6
UD
30401 * libio/tst_putwc.c: Fix error messages.
30402
fcabc0f8
UD
30403 [BZ #12724]
30404 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30405 currently writing and seek to current position when not.
30406 * libio/Makefile (tests): Add bug-fclose1.
30407 * libio/bug-fclose1.c: New file.
30408
320a5dc0
PB
304092011-05-12 Ulrich Drepper <drepper@gmail.com>
30410
30411 [BZ #12511]
30412 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30413 don't set DF_1_NODELETE here.
30414 (do_lookup_x): When entering new entry test for copy relocation
30415 and if necessary set DF_1_NODELETE flag.
30416 * elf/tst-unique4.cc: New file.
30417 * elf/tst-unique4.h: New file.
30418 * elf/tst-unique4lib.cc: New file.
30419 * elf/Makefile: Add rules to build and run tst-unique4.
30420 Patch by Piotr Bury <pbury@goahead.com>.
30421
22836f52
UD
304222011-05-11 Ulrich Drepper <drepper@gmail.com>
30423
f574184a
UD
30424 [BZ #12052]
30425 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30426
e1fb097f
UD
30427 [BZ #12625]
30428 * misc/mntent_r.c (addmntent): Flush the stream after the output
30429
22836f52
UD
30430 [BZ #12393]
30431 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30432 (is_trusted_path_normalize): Skip initial colon. Append slash
30433 to empty buffer. Duplicate is_trusted_path code but allow
30434 constructed patch to be prefix.
30435 (is_dst): Allow $ORIGIN followed by /.
30436 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30437 Correct testing of result of is_trusted_path_normalize
30438 (decompose_rpath): Fix warning.
30439
7b3b0b2a
UD
304402011-05-10 Ulrich Drepper <drepper@gmail.com>
30441
30442 [BZ #11257]
30443 * grp/initgroups.c (internal_getgrouplist): When we found the service
30444 list through the initgroups entry in nsswitch.conf do not always
30445 continue on a successful lookup. Don't always use the
eac80ce2 30446 __nss_group_database value if it is set.
7b3b0b2a
UD
30447 * nss/nsswitch.conf (initgroups): Change action for successful db
30448 lookup to continue for compatibility.
30449
2a81eaa5
UD
304502011-05-09 Ulrich Drepper <drepper@gmail.com>
30451
be97a69e
UD
30452 [BZ #11532]
30453 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30454 and CP774 modules.
30455 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30456 and CP774 modules.
30457 * iconvdata/tst-tables.sh: Likewise.
30458 * iconvdata/cp770.c: New file.
30459 * iconvdata/cp771.c: New file.
30460 * iconvdata/cp772.c: New file.
30461 * iconvdata/cp773.c: New file.
30462 * iconvdata/cp774.c: New file.
30463 * iconvdata/testdata/CP770: New file.
30464 * iconvdata/testdata/CP770..UTF8: New file.
30465 * iconvdata/testdata/CP771: New file.
30466 * iconvdata/testdata/CP771..UTF8: New file.
30467 * iconvdata/testdata/CP772: New file.
30468 * iconvdata/testdata/CP772..UTF8: New file.
30469 * iconvdata/testdata/CP773: New file.
30470 * iconvdata/testdata/CP773..UTF8: New file.
30471 * iconvdata/testdata/CP774: New file.
30472 * iconvdata/testdata/CP774..UTF8: New file.
30473
30474 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30475 END CHARMAP line.
30476 * iconvdata/gen-8bit-gap.sh: Likewise.
30477 * iconvdata/gen-8bit.sh: Likewise.
30478
c1e9e399
UD
30479 * locale/iso-639.def: Add ary entry.
30480
24c55fb3 30481 [BZ #11258]
96b4b1b0
UD
30482 * locale/C-translit.h.in: Add U20A1 transliteration.
30483
bdc2f971
KB
30484 [BZ #12178]
30485 * locale/iso-639.def: Add wae entry.
30486 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30487
2952b117
UD
30488 [BZ #12545]
30489 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30490 for n.
30491
2a81eaa5
UD
30492 [BZ #12711]
30493 * locale/C-translit.h.in: Add entry for U20B9.
30494 Patch by pravin.d.s@gmail.com.
30495
28377d1b
UD
304962011-05-08 Ulrich Drepper <drepper@gmail.com>
30497
7fb90fb8
UD
30498 [BZ #12713]
30499 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30500 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30501 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30502 in rtld. Use *stat64.
7fb90fb8 30503 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30504 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30505 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30506 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30507 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30508 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30509 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30510 __fstatat64 macros.
7fb90fb8
UD
30511 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30512 * dirent/rewinddir.c: Add libc_hidden_def.
30513 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30514 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30515
28377d1b
UD
30516 * include/dirent.h (__alloc_dir): Add flags parameter.
30517 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30518 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30519 __alloc_dir.
30520 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30521 from fdopendir if O_CLOEXEC is already set.
30522
66bdbaa4
AM
305232011-03-15 Alan Modra <amodra@gmail.com>
30524
30525 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30526 l_tls_firstbyte_offset non-zero. Save padding offset in
30527 l_tls_firstbyte_offset for later use.
30528 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30529 freeing static tls block.
30530
95721191
JN
305312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30532
30533 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30534 where #ifdef was intended. The intent is to prevent ARG_MAX from
30535 being defined by the kernel headers.
30536
f87dfb1f
UD
305372011-05-07 Ulrich Drepper <drepper@gmail.com>
30538
30539 [BZ #12734]
30540 * resolv/resolv.h: Define RES_NOTLDQUERY.
30541 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30542 no-tld-query and set RES_NOTLDQUERY.
30543 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30544 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30545 modern BIND to search name as TLD unless forbidden.
30546
47c3cd7a
UD
305472011-05-07 Petr Baudis <pasky@suse.cz>
30548 Ulrich Drepper <drepper@gmail.com>
30549
30550 [BZ #12393]
30551 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30552 (is_trusted_path): ...to here.
c1e9ea35 30553 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30554 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30555 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30556
8a35c912
PP
305572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30558
30559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30560 __BEGIN/__END_DECLS.
30561
acd41f47
UD
305622011-05-06 Ulrich Drepper <drepper@gmail.com>
30563
30564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30565 NSS_STATUS_NOTFOUND if no record was found.
30566
597df647
AS
305672011-05-05 Andreas Schwab <schwab@redhat.com>
30568
30569 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30570 (headers-not-in-tirpc): Remove rpc/netdb.h
30571 * resolv/netdb.h: Revert last change.
30572
b9af1301
PP
305732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30574
30575 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30576 circular dependency between libgcc.a and libc.a.
30577
4e34d5f5
AS
305782011-05-05 Andreas Schwab <schwab@redhat.com>
30579
30580 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30581 * nis/Makefile: Don't install rpcsvc/*.
30582 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30583 instead of <rpc/types.h>.
30584 (MAXHOSTNAMELEN): Define.
30585
00ee369c
AS
305862011-05-03 Andreas Schwab <schwab@redhat.com>
30587
30588 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30589
0b592a30
MB
305902011-04-28 Maciej Babinski <mbabinski@google.com>
30591
30592 [BZ #12714]
30593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30594 gethostbyname4_r when IPv6 results are possible.
30595
6e04cbbe
UD
305962011-05-02 Ulrich Drepper <drepper@gmail.com>
30597
30598 [BZ #12723]
30599 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30600 _PC_PIPE_BUF handling.
30601
e4ecafe0
BH
306022011-04-30 Bruno Haible <bruno@clisp.org>
30603
30604 [BZ #12717]
30605 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30606 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30607 to 'int'.
30608 * inet/getnameinfo.c (getnameinfo): Likewise.
30609
125ee683
UD
306102011-04-29 Ulrich Drepper <drepper@gmail.com>
30611
30612 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30613 to groups setting in database lookup.
30614 * nss/nsswitch.conf: Add initgroups entry.
30615
b722481a
EB
306162011-04-22 Ulrich Drepper <drepper@gmail.com>
30617
30618 [BZ #12685]
30619 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30620 mode string.
30621 Patch by Eric Blake <eblake@redhat.com>.
30622
4df46dbd
L
306232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30624
30625 * sunrpc/Makefile (need-export-routines): Add svc_run.
30626 (routines): Remove svc_run.
30627 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30628 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30629 * sunrpc/svc_run.c (svc_run): Likewise.
30630 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30631
e84142d2
UD
306322011-04-21 Ulrich Drepper <drepper@gmail.com>
30633
30634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30635 problem in reallocation in last patch.
30636
877175d8
UD
306372011-04-20 Ulrich Drepper <drepper@gmail.com>
30638
30639 * sunrpc/Makefile: Move inclusion of Rules.
30640
ab8eed78
UD
306412011-04-19 Ulrich Drepper <drepper@gmail.com>
30642
30643 * nss/nss_files/files-initgroups.c: New file.
30644 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30645 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30646 _nss_files_initgroups_dyn.
30647
e3d8f584
RS
306482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30649
30650 * elf/elf.h (R_ARM_IRELATIVE): Define.
30651
af190f45
UD
306522011-04-19 Ulrich Drepper <drepper@gmail.com>
30653
30654 * po/ru.po: Update from translation team.
30655
53cf59ef
UD
306562011-04-17 Ulrich Drepper <drepper@gmail.com>
30657
30658 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30659 dependencies.
30660
4c559bcd
MF
306612011-02-06 Mike Frysinger <vapier@gentoo.org>
30662
30663 [BZ #12653]
30664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30665 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30669
4420675c
AS
306702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30671
30672 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30673 differing bytes.
30674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30677
75ea32ab
UD
306782011-04-17 Ulrich Drepper <drepper@gmail.com>
30679
30680 [BZ #12420]
30681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30682 storing it.
30683 * stdlib/bug-getcontext.c: New file.
30684 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30685
27390476
AK
306862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30687
30688 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30689 instructions into .machine "z9-109".
30690 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30691 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30692
10442705
AK
306932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30694
30695 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30696 between environment variables and auxiliary vector.
30697
7b57bfe5
UD
306982011-04-16 Ulrich Drepper <drepper@gmail.com>
30699
30700 * Makefile: Add rules to build linkobj/libc.so.
30701 * include/libc-symbols.h: Define libc_hidden_nolink.
30702 * include/rpc/auth.h: Mark functions which are to be hidden.
30703 * include/rpc/auth_des.h: Likewise.
30704 * include/rpc/auth_unix.h: Likewise.
30705 * include/rpc/clnt.h: Likewise.
30706 * include/rpc/des_crypt.h: Likewise.
30707 * include/rpc/key_prot.h: Likewise.
30708 * include/rpc/pmap_clnt.h: Likewise.
30709 * include/rpc/pmap_prot.h: Likewise.
30710 * include/rpc/pmap_rmt.h: Likewise.
30711 * include/rpc/rpc_msg.h: Likewise.
30712 * include/rpc/svc.h: Likewise.
30713 * include/rpc/svc_auth.h: Likewise.
30714 * include/rpc/xdr.h: Likewise.
30715 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30716 * nss/Makefile: Likewise.
30717 * sunrpc/Makefile: Don't install headers. Build library with normal
30718 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30719 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30720 for the compat linking library. Remove use of INTDEF/INTUSE.
30721 * sunrpc/auth_none.c: Likewise.
30722 * sunrpc/auth_unix.c: Likewise.
30723 * sunrpc/authdes_prot.c: Likewise.
30724 * sunrpc/authuxprot.c: Likewise.
30725 * sunrpc/clnt_gen.c: Likewise.
30726 * sunrpc/clnt_perr.c: Likewise.
30727 * sunrpc/clnt_raw.c: Likewise.
30728 * sunrpc/clnt_simp.c: Likewise.
30729 * sunrpc/clnt_tcp.c: Likewise.
30730 * sunrpc/clnt_udp.c: Likewise.
30731 * sunrpc/clnt_unix.c: Likewise.
30732 * sunrpc/des_crypt.c: Likewise.
30733 * sunrpc/des_soft.c: Likewise.
30734 * sunrpc/get_myaddr.c: Likewise.
30735 * sunrpc/key_call.c: Likewise.
30736 * sunrpc/key_prot.c: Likewise.
30737 * sunrpc/netname.c: Likewise.
30738 * sunrpc/pm_getmaps.c: Likewise.
30739 * sunrpc/pm_getport.c: Likewise.
30740 * sunrpc/pmap_clnt.c: Likewise.
30741 * sunrpc/pmap_prot.c: Likewise.
30742 * sunrpc/pmap_prot2.c: Likewise.
30743 * sunrpc/pmap_rmt.c: Likewise.
30744 * sunrpc/publickey.c: Likewise.
30745 * sunrpc/rpc_cmsg.c: Likewise.
30746 * sunrpc/rpc_common.c: Likewise.
30747 * sunrpc/rpc_dtable.c: Likewise.
30748 * sunrpc/rpc_prot.c: Likewise.
30749 * sunrpc/rpc_thread.c: Likewise.
30750 * sunrpc/rtime.c: Likewise.
30751 * sunrpc/svc.c: Likewise.
30752 * sunrpc/svc_auth.c: Likewise.
30753 * sunrpc/svc_authux.c: Likewise.
30754 * sunrpc/svc_raw.c: Likewise.
30755 * sunrpc/svc_run.c: Likewise.
30756 * sunrpc/svc_simple.c: Likewise.
30757 * sunrpc/svc_tcp.c: Likewise.
30758 * sunrpc/svc_udp.c: Likewise.
30759 * sunrpc/svc_unix.c: Likewise.
30760 * sunrpc/svcauth_des.c: Likewise.
30761 * sunrpc/xcrypt.c: Likewise.
30762 * sunrpc/xdr.c: Likewise.
30763 * sunrpc/xdr_array.c: Likewise.
30764 * sunrpc/xdr_float.c: Likewise.
30765 * sunrpc/xdr_intXX_t.c: Likewise.
30766 * sunrpc/xdr_mem.c: Likewise.
30767 * sunrpc/xdr_rec.c: Likewise.
30768 * sunrpc/xdr_ref.c: Likewise.
30769 * sunrpc/xdr_sizeof.c: Likewise.
30770 * sunrpc/xdr_stdio.c: Likewise.
30771
e6c61494
UD
307722011-04-10 Ulrich Drepper <drepper@gmail.com>
30773
30774 [BZ #12650]
30775 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30776 * sysdeps/ia64/dl-tls.h: Likewise.
30777 * sysdeps/powerpc/dl-tls.h: Likewise.
30778 * sysdeps/s390/dl-tls.h: Likewise.
30779 * sysdeps/sh/dl-tls.h: Likewise.
30780 * sysdeps/sparc/dl-tls.h: Likewise.
30781 * sysdeps/x86_64/dl-tls.h: Likewise.
30782 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30783
34fe483e
AS
307842011-03-14 Andreas Schwab <schwab@redhat.com>
30785
30786 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30787 rpath element also skip the following colon.
30788 (expand_dynamic_string_token): Add is_path parameter and pass
30789 down to DL_DST_REQUIRED and _dl_dst_substitute.
30790 (decompose_rpath): Call expand_dynamic_string_token with
30791 non-zero is_path. Ignore empty rpaths.
30792 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30793 with zero is_path.
30794
f12a32e6
AS
307952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30796
30797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30798 Make cancelable.
30799
38a7d692
UD
308002011-04-09 Ulrich Drepper <drepper@gmail.com>
30801
30802 [BZ #12655]
30803 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30804 Patch by Filipe David Manana <fdmanana@apache.org>.
30805
e451d22b
AS
308062011-04-07 Andreas Schwab <schwab@redhat.com>
30807
30808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30809 Maintain aligned stack.
30810 (CHECK_RSP): Remove unused macro.
30811
dedc7c7b
UD
308122011-04-03 Ulrich Drepper <drepper@gmail.com>
30813
30814 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30816
94521213
UD
308172011-04-02 Ulrich Drepper <drepper@gmail.com>
30818
30819 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30820
8cb700c0 30821 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30822
0354e355
L
308232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30824
30825 [BZ #12518]
30826 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30827 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30828 * sysdeps/x86_64/memmove.c: New file.
30829 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30830 (memcpy): Renamed to ...
30831 (__new_memcpy): This.
30832 (memcpy): Provide GLIBC_2_14 memcpy.
30833 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30834 (memcpy): Provide GLIBC_2_2_5 memcpy.
30835
8593482f
UD
308362011-04-01 Ulrich Drepper <drepper@gmail.com>
30837
30838 [BZ #12631]
30839 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30840
81a5726b
AS
308412011-03-30 Andreas Schwab <schwab@redhat.com>
30842
30843 * misc/syncfs.c: New file.
30844 * misc/Makefile (routines): Add syncfs.
30845 * posix/unistd.h: Declare syncfs.
30846 * sysdeps/unix/syscalls.list: Add syncfs.
30847
00e5419f
AS
308482011-04-01 Andreas Schwab <schwab@redhat.com>
30849
30850 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30851 open_by_handle_at.
30852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30857 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30859
748876bf
UD
308602011-04-01 Ulrich Drepper <drepper@gmail.com>
30861
658e451d
UD
30862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30869
748876bf
UD
30870 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30871 sync_file_range.c with -fexceptions.
30872 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30873 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30874 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30875 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30876 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30877 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30879 sync_file_range as cancellation point
30880 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30881 now a wrapper around __call_sync_file_range with cancellation handling.
30882 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30883 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30884 function name to __call_sync_file_range.
30885 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30886 Add call_sync_file_range.
748876bf 30887
6e63d5e1
AS
308882011-04-01 Andreas Schwab <schwab@redhat.com>
30889
30890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30891 bits/timex.h.
6e63d5e1 30892
46998f74
UD
308932011-04-01 Ulrich Drepper <drepper@gmail.com>
30894
4c1423ed
UD
30895 * iconv/iconv.h: Fix typo in comment.
30896 * io/fcntl.h: Likewise.
30897 * libio/stdio.h: Likewise.
30898 * posix/spawn.h: Likewise.
30899 * posix/unistd.h: Likewise.
30900 * stdlib/stdlib.h: Likewise.
30901 * time/time.h: Likewise.
30902 * wcsmbs/wchar.h: Likewise.
30903
158648c0
UD
30904 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30905 open_by_handle): Add.
30906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30907 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30908 Augment a few comments.
30909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30914 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30915 open_by_handle.
30916
46998f74
UD
30917 * io/fcntl.h (AT_EMPTY_PATH): Define.
30918
83fe108b
UD
309192011-03-30 Ulrich Drepper <drepper@gmail.com>
30920
30921 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30922 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30923 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30924 to...
30925 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30926 * Versions.def: Add GLIBC_2.14.
30927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30928 Export.
83fe108b 30929
bb242059
UD
309302011-03-22 Ulrich Drepper <drepper@gmail.com>
30931
30932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30933 round counter.
30934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30935
c97a1282
L
309362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30937
30938 [BZ #12597]
30939 * string/test-strncmp.c (do_page_test): New function.
30940 (check2): Likewise.
30941 (test_main): Call check2.
30942 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30943
2a115601
UD
309442011-03-20 Ulrich Drepper <drepper@gmail.com>
30945
30946 [BZ #12587]
30947 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30948 Handle cache information in CPU leaf 4.
30949 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30950
8126d904
UD
309512011-03-18 Ulrich Drepper <drepper@gmail.com>
30952
042c49c6 30953 [BZ #12583]
8126d904
UD
30954 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30955 character representation.
30956 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30957
ccfe366e
RA
309582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30959
30960 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30961 END(__isnan) to END(__isnanf) to match function entry point/label
30962 EALIGN(__isnanf,...).
30963
c6e13027
JJ
309642011-03-10 Jakub Jelinek <jakub@redhat.com>
30965
30966 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30967
33f85a3f
UD
309682011-03-10 Ulrich Drepper <drepper@gmail.com>
30969
028478fa
UD
30970 [BZ #12510]
30971 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30972 copy from the symbol referenced in the relocation to initialize the
30973 used variable.
30974 Patch by Piotr Bury <pbury@goahead.com>.
30975 * elf/Makefile: Add rules to build and tst-unique3.
30976 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30977 * elf/tst-unique3.cc: New file.
30978 * elf/tst-unique3.h: New file.
30979 * elf/tst-unique3lib.cc: New file.
30980 * elf/tst-unique3lib2.cc: New file.
30981
33f85a3f
UD
30982 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30983
03592fc7
MF
309842011-03-10 Mike Frysinger <vapier@gentoo.org>
30985
30986 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30987 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30988 to _start.
03592fc7 30989
6a5ee102
UD
309902011-03-06 Ulrich Drepper <drepper@gmail.com>
30991
30992 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30993 to-be-loaded object along a path to loader is ld.so.
30994
7e4ba49c
HJ
309952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30996 Ulrich Drepper <drepper@gmail.com>
30997
30998 * sysdeps/x86_64/memset.S: After aligning destination, code
30999 branches to different locations depending on the value of
31000 misalignment, when multiarch is enabled. Fix this.
31001
310022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31003
31004 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31005 Set _x86_64_preferred_memory_instruction for AMD processsors.
31006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31007 Set bit_Prefer_SSE_for_memop for AMD processors.
31008
13a804de
UD
310092011-03-04 Ulrich Drepper <drepper@gmail.com>
31010
31011 * libio/fmemopen.c (fmemopen): Optimize a bit.
31012
9d25c392
AS
310132011-03-03 Andreas Schwab <schwab@redhat.com>
31014
31015 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31016
a5543c6a
RM
310172011-03-03 Roland McGrath <roland@redhat.com>
31018
31019 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31020
012d35f7
DM
310212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31022
7e4ba49c 31023 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31024 __bzero_ultra1 instead of __memset_ultra1.
31025
4bff6e01
AS
310262011-02-23 Andreas Schwab <schwab@redhat.com>
31027 Ulrich Drepper <drepper@gmail.com>
31028
31029 [BZ #12509]
31030 * include/link.h (struct link_map): Add l_orig_initfini.
31031 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31032 returning unsuccessfully.
31033 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31034 close of a file loaded at startup, restore the original l_initfini
31035 list.
31036 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31037 list, store the pointer.
31038 * elf/Makefile ($(objpfx)noload-mem): New rule.
31039 (noload-ENV): Define.
31040 (tests): Add $(objpfx)noload-mem.
31041 * elf/noload.c: Include <memcheck.h>.
31042 (main): Call mtrace. Close all opened handles.
31043
f2092faf
AS
310442011-02-17 Andreas Schwab <schwab@redhat.com>
31045
31046 [BZ #12454]
31047 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31048 dependencies are missing.
31049
6c8a2e88
ST
310502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31051
f2092faf 31052 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31053 Hurd needs munmap.
31054 * sysdeps/mach/hurd/ifreq.h: New file.
31055
84a42118
PB
310562011-01-27 Petr Baudis <pasky@suse.cz>
31057 Ulrich Drepper <drepper@gmail.com>
31058
071f805e 31059 [BZ 12445]#
84a42118
PB
31060 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31061 to extend_alloca().
31062 * stdio-common/bug23.c: New file.
31063 * stdio-common/Makefile (tests): Add bug23.
31064
e23fe25b
AS
310652010-09-28 Andreas Schwab <schwab@redhat.com>
31066 Ulrich Drepper <drepper@gmail.com>
31067
31068 [BZ #12489]
31069 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31070 before performing relro protection. At old place add assertion
31071 to make sure nothing changed.
31072
d3f02e10
NS
310732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31074 Glauber de Oliveira Costa <glommer@gmail.com>
31075
31076 * elf/elf.h: Add new ARM TLS relocs.
31077
d55fd7a5
RA
310782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31079
31080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31081 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31082 cast from r3.
31083 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31084 'tests' variable.
31085 * sysdeps/wordsize-64/tst-writev.c: New file.
31086
2206397e
RA
310872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31088
31089 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31090 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31091 insns in _dl_start to prevent a TOC reference before relocs are
31092 resolved.
31093
e9433893
UD
310942011-02-15 Ulrich Drepper <drepper@gmail.com>
31095
31096 [BZ #12469]
31097 * Makeconfig: Remove RANLIB definition.
31098 * Makerules: Don't use RANLIB.
31099 * aclocal.m4: Remove ranlib test.
31100 * configure.in: No need to check for ranlib.
31101 * elf/rtld-Rules: Don't use RANLIB.
31102
f75286c6
ST
311032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31104
8e31c82d
ST
31105 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31106 protection macro.
31107 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31108 inclusion protection macro.
31109
f75286c6
ST
31110 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31111 SIGRTMIN and SIGRTMAX and print information in that case only when
31112 SIGRTMIN is defined.
31113
c1d0e639
JJ
311142011-02-11 Jakub Jelinek <jakub@redhat.com>
31115
31116 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31117 arginfo fn returning -1.
31118
31119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31120 and thousands string is zero terminated.
31121
edf9294e
AS
311222011-02-03 Andreas Schwab <schwab@redhat.com>
31123
31124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31125 sysdeps/unix/sysv/linux/bits/socket.h.
31126
2b7e92df
ST
311272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31128
edf9294e
AS
31129 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31130 (__CPU_COUNT): Remove old macros.
31131 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31132 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31133 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31134 (__sched_cpualloc, __sched_cpufree): Add declarations.
31135
a4c7ea7b
UD
311362011-02-05 Ulrich Drepper <drepper@gmail.com>
31137
31138 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31139 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31140 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31141 (readdhstai): Return value of addhstaiX call.
31142 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31143 (addgrbyX): Return value returned by cache_addgr.
31144 (readdgrbyname): Return value returned by addgrbyX.
31145 (readdgrbygid): Likewise.
31146 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31147 (addpwbyX): Return value returned by cache_addpw.
31148 (readdpwbyname): Return value returned by addhstbyX.
31149 (readdpwbyuid): Likewise.
31150 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31151 (addservbyX): Return value returned by cache_addserv.
31152 (readdservbyname): Return value returned by addservbyX:
31153 (readdservbyport): Likewise.
31154 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31155 (addhstbyX): Return value returned by cache_addhst.
31156 (readdhstbyname): Return value returned by addhstbyX.
31157 (readdhstbyaddr): Likewise.
31158 (readdhstbynamev6): Likewise.
31159 (readdhstbyaddrv6): Likewise.
31160 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31161 (readdinitgroups): Return value returned by addinitgroupsX.
31162 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31163 (prune_cache): Keep track of timeout value of re-added entries.
31164 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31165 * nscd/nscd.h: Adjust prototypes of readd* functions.
31166
a0bf67cc
RM
311672011-02-04 Roland McGrath <roland@redhat.com>
31168
31169 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31170 (nis_stats): Likewise.
31171 * nis/nis_modify.c (nis_modify): Likewise.
31172 * nis/nis_remove.c (nis_remove): Likewise.
31173 * nis/nis_add.c (nis_add): Likewise.
31174
31175 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31176
31177 * posix/fnmatch_loop.c: Add some consts.
31178
31179 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31180
435b95eb
L
311812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31182
31183 [BZ #12460]
31184 * config.make.in (config-cflags-novzeroupper): Define.
31185 * configure.in: Substitute libc_cv_cc_novzeroupper.
31186 * elf/Makefile (AVX-CFLAGS): Define.
31187 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31188 (CFLAGS-tst-auditmod4a.c): Likewise.
31189 (CFLAGS-tst-auditmod4b.c): Likewise.
31190 (CFLAGS-tst-auditmod6b.c): Likewise.
31191 (CFLAGS-tst-auditmod6c.c): Likewise.
31192 (CFLAGS-tst-auditmod7b.c): Likewise.
31193 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31194
8517b15e
UD
311952011-02-02 Ulrich Drepper <drepper@gmail.com>
31196
31197 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31198 function to the callback.
31199 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31200
10a656fe
AS
312012011-02-02 Andreas Schwab <schwab@redhat.com>
31202
31203 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31204 of errno.
31205
968dad0a
UD
312062011-01-19 Ulrich Drepper <drepper@gmail.com>
31207
9f94d2ea 31208 [BZ #11724]
968dad0a
UD
31209 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31210 of constructors.
31211 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31212 of destructors.
31213 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31214
31215 [BZ #11724]
31216 * elf/Makefile: Add rules to build and run new test.
31217 * elf/tst-initorder.c: New file.
31218 * elf/tst-initorder.exp: New file.
31219 * elf/tst-initordera1.c: New file.
31220 * elf/tst-initordera2.c: New file.
31221 * elf/tst-initordera3.c: New file.
31222 * elf/tst-initordera4.c: New file.
31223 * elf/tst-initorderb1.c: New file.
31224 * elf/tst-initorderb2.c: New file.
31225 * elf/tst-order-a1.c: New file.
31226 * elf/tst-order-a2.c: New file.
31227 * elf/tst-order-a3.c: New file.
31228 * elf/tst-order-a4.c: New file.
31229 * elf/tst-order-b1.c: New file.
31230 * elf/tst-order-b2.c: New file.
31231 * elf/tst-order-main.c: New file.
31232 New test case by George Gensure <werkt0@gmail.com>.
31233
86e92359
UD
312342010-10-01 Andreas Schwab <schwab@redhat.com>
31235
31236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31237 decoding ACE if AI_CANONIDN.
31238
5d5732b0
UD
312392011-01-18 Ulrich Drepper <drepper@gmail.com>
31240
31241 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31242
a77e8cbc
UD
312432011-01-17 Ulrich Drepper <drepper@gmail.com>
31244
6392473f
UD
31245 * version.h (RELEASE): Bump for 2.13 release.
31246 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31247
620a0529
UD
31248 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31249
18ba70a5
UD
31250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31251 MADV_NOHUGEPAGE.
32465c3e
UD
31252 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31258
c0dafcf1
UD
31259 * posix/getconf.c: Update copyright year.
31260 * catgets/gencat.c: Likewise.
31261 * csu/version.c: Likewise.
31262 * debug/catchsegv.sh: Likewise.
31263 * debug/xtrace.sh: Likewise.
31264 * elf/ldconfig.c: Likewise.
31265 * elf/ldd.bash.in: Likewise.
31266 * elf/sprof.c (print_version): Likewise.
31267 * iconv/iconv_prog.c: Likewise.
31268 * iconv/iconvconfig.c: Likewise.
31269 * locale/programs/locale.c: Likewise.
31270 * locale/programs/localedef.c: Likewise.
31271 * malloc/memusage.sh: Likewise.
31272 * malloc/mtrace.pl: Likewise.
31273 * nscd/nscd.c (print_version): Likewise.
31274 * nss/getent.c: Likewise.
31275
a77e8cbc
UD
31276 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31277 PF_CAIF, and PF_ALG.
31278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31279
77e8bddf
AS
312802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31281
1f20b93a
AS
31282 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31283 (modules-names): Use them.
31284 (ifunc-test-modules, ifunc-pie-tests): Define.
31285 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31286 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31287 (test-extras): Likewise.
31288 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31289 $(compile-command.c).
31290 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31291 (all-built-dso): Define.
31292 (check-textrel.out, check-execstack.out): Depend on it.
31293
77e8bddf
AS
31294 * configure.in: Don't override --enable-multi-arch.
31295
bc425b33
UD
312962011-01-15 Ulrich Drepper <drepper@gmail.com>
31297
31298 [BZ #6812]
31299 * nscd/hstcache.c (tryagain): Define.
31300 (cache_addhst): Return tryagain not notfound for temporary errors.
31301 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31302 failed.
31303
794c3ad3
UD
313042011-01-14 Ulrich Drepper <drepper@gmail.com>
31305
70181fdd
UD
31306 [BZ #10563]
31307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31308 to make the syscall.
31309 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31310
794c3ad3
UD
31311 [BZ #12378]
31312 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31313 and fall back to matching as normal character if the string ends before
31314 the matching ']' is found. This is what POSIX requires.
31315 * posix/testfnm.c: Adjust test result.
31316 * posix/globtest.sh: Adjust test result. Add new test.
31317 * posix/tst-fnmatch.input: Likewise.
31318 * posix/tst-fnmatch2.c: Add new test.
31319
68dc9497
AS
313202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31321
31322 * elf/Makefile (check-execstack): Revert last change. Depend on
31323 check-execstack.h.
31324 (check-execstack.h): New target.
31325 (generated): Add check-execstack.h.
31326 * elf/check-execstack.c: Include "check-execstack.h".
31327 (main): Revert last change.
31328 (handle_file): Return zero if GNU_STACK is absent and
31329 DEFAULT_STACK_PERMS doesn't include PF_X.
31330
451f001b
UD
313312011-01-13 Ulrich Drepper <drepper@gmail.com>
31332
cfa28e56
UD
31333 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31334 in child fails because the descriptor is already closed.
8cf8ce17
UD
31335 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31336 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31337 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31338
1086d70d
UD
31339 [BZ #12397]
31340 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31341 syscall.
31342
451f001b
UD
31343 [BZ #10484]
31344 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31345 temporary buffer used to handle multi lookups locally.
a85b5cb4 31346 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31347
08769175
UD
313482011-01-12 Ulrich Drepper <drepper@gmail.com>
31349
31350 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31351 loader is ld.so.
31352
5e49c52e
UD
313532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31354
31355 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31356 alignment for SSE2.
31357
60522a5f
UD
313582011-01-12 Ulrich Drepper <drepper@gmail.com>
31359
31360 [BZ #12394]
31361 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31362 characters. When rounding increased number of integer digits recompute
31363 number of groups.
31364 * stdio-common/tst-grouping.c: New file.
31365 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31366
f257bbd7
UD
313672011-01-09 Ulrich Drepper <drepper@gmail.com>
31368
31369 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31370 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31371
31372 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31373 void.
31374 * bits/select.h: Likewise.
31375
fa9c15cb
UD
313762011-01-08 Ulrich Drepper <drepper@gmail.com>
31377
31378 * po/ja.po: Update from translation team.
31379
16c2895f
DM
313802011-01-04 David S. Miller <davem@sunset.davemloft.net>
31381
31382 [BZ #11155]
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31384 implementation just like for lxstat, fxstatat, et al.
31385
2543fef2
JM
313862010-12-27 Jim Meyering <meyering@redhat.com>
31387
31388 [BZ #12348]
31389 * posix/regexec.c (build_trtable): Return failure indication upon
31390 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31391
98727dbe
UD
313922010-12-25 Ulrich Drepper <drepper@gmail.com>
31393
5bd6dc5c
UD
31394 [BZ #12201]
31395 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31396 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31397 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31399
97983464
UD
31400 [BZ #12207]
31401 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31402
98727dbe
UD
31403 [BZ #12204]
31404 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31405 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31406
4a531bb0
L
314072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31408
31409 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31410 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31411 script has SORT_BY_INIT_PRIORITY.
31412 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31413 NO_CTORS_DTORS_SECTIONS is defined.
31414 * elf/soinit.c: Likewise.
31415 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31416 NO_CTORS_DTORS_SECTIONS is defined.
31417 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31418 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31419 * sysdeps/sh/init-first.c: Likewise.
31420 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31421
07eb4b71
UD
314222010-12-24 Ulrich Drepper <drepper@gmail.com>
31423
31424 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31425 always use the slow path.
31426
30950a5f
RA
314272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31428
31429 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31430 similar rule which adds the sysdep directories to the header search in
31431 order to pick up the correct platform stackinfo.h.
31432 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31433 perform test if it is, otherwise return successfully without testing.
31434 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31435 DEFAULT_STACK_PERMS define in stackinfo.h.
31436 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31437 defined in stackinfo.h.
31438 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31439 DEFAULT_STACK_PERMS defined in stackinfo.h.
31440 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31441 * sysdeps/ia64/stackinfo.h: Likewise.
31442 * sysdeps/s390/stackinfo.h: Likewise.
31443 * sysdeps/sh/stackinfo.h: Likewise.
31444 * sysdeps/sparc/stackinfo.h: Likewise.
31445 * sysdeps/x86_64/stackinfo.h: Likewise.
31446 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31447 PF_X for powerpc64. Retain PF_X for powerpc32.
31448
db753e2c
UD
314492010-12-19 Ulrich Drepper <drepper@gmail.com>
31450
14b697f7
UD
31451 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31452 accurately.
db753e2c
UD
31453 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31454 GETDENTS_64BIT_ALIGNED.
31455
28300719
UD
314562010-12-14 Ulrich Drepper <dreper@gmail.com>
31457
14b697f7 31458 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31459
4f197237
AS
314602010-12-10 Andreas Schwab <schwab@redhat.com>
31461
dbb0472f
AS
31462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31463 _GNU_SOURCE.
31464
4f197237
AS
31465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31466 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31467 Remove __restrict.
31468 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31469 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31470
fb88ac72
UD
314712010-12-09 Ulrich Drepper <drepper@gmail.com>
31472
31473 [BZ #11655]
31474 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31475 are initialized.
31476
42acbb92
JJ
314772010-12-09 Jakub Jelinek <jakub@redhat.com>
31478
31479 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31480
c038d98d
UD
314812010-12-03 Ulrich Drepper <drepper@gmail.com>
31482
31483 * po/it.po: Update from translation team.
31484
3a4a2499
L
314852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31486
31487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31488 unused codes.
31489
1e24cf6e
UD
314902010-11-30 Ulrich Drepper <drepper@gmail.com>
31491
31492 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31493
a7690819
AS
314942010-11-24 Andreas Schwab <schwab@redhat.com>
31495
31496 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31497 specially.
31498 (gaih_getanswer_slice): Likewise.
31499
3bf8d1b1
JJ
315002010-10-20 Jakub Jelinek <jakub@redhat.com>
31501
31502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31503
6db52fbb
PB
315042010-05-31 Petr Baudis <pasky@suse.cz>
31505
31506 [BZ #11149]
31507 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31508 silently even in the chroot mode.
31509
eaca7569
UD
315102010-11-22 Ulrich Drepper <drepper@gmail.com>
31511
31512 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31513 last patch a bit. Pretty printing
31514
3056dcdb
UD
315152010-05-31 Petr Baudis <pasky@suse.cz>
31516
31517 [BZ #10085]
31518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31519 initialization of skip_initgroups_dyn.
31520
cf7c9078
UD
315212010-11-19 Ulrich Drepper <drepper@gmail.com>
31522
31523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31525
a1fb5e3e
UD
315262010-11-16 Ulrich Drepper <drepper@gmail.com>
31527
31528 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31529
3540d66b
AS
315302010-11-11 Andreas Schwab <schwab@redhat.com>
31531
31532 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31533 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31534 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31535 ($(objpfx)tst-fnmatch-mem): New rule.
31536 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31537 * posix/tst-fnmatch.c (main): Call mtrace.
31538
13b69574
L
315392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31540
31541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31542 Support Intel processor model 6 and model 0x2c.
31543
da93d214
LM
315442010-11-10 Luis Machado <luisgpm@br.ibm.com>
31545
31546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31547 signed comparison.
31548
8ca52c6e
L
315492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31550
31551 [BZ #12205]
31552 * string/test-strncasecmp.c (check_result): New function.
31553 (do_one_test): Use it.
31554 (check1): New function.
31555 (test_main): Use it.
31556 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31557 Support strcasecmp and strncasecmp.
31558
69da074d
UD
315592010-11-08 Ulrich Drepper <drepper@gmail.com>
31560
31561 [BZ #12194]
31562 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31564
ff02d528
L
315652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31566
31567 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31568 IFUNC support.
31569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31570 memset-x86-64.
31571 * sysdeps/x86_64/multiarch/bzero.S: New file.
31572 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31573 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31574 * sysdeps/x86_64/multiarch/memset.S: New file.
31575 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31577 Set bit_Prefer_SSE_for_memop for Intel processors.
31578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31579 Define.
31580 (index_Prefer_SSE_for_memop): Define.
31581 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31582
344d0b54
LM
315832010-11-04 Luis Machado <luisgpm@br.ibm.com>
31584
31585 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31587
c0dde15b
UD
315882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31589
31590 [BZ #12191]
31591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31592 (__x86_64_raw_data_cache_size_half): Likewise.
31593 (__x86_64_raw_shared_cache_size): Likewise.
31594 (__x86_64_raw_shared_cache_size_half): Likewise.
31595
31596 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31597 (__x86_64_raw_data_cache_size_half): Likewise.
31598 (__x86_64_raw_shared_cache_size): Likewise.
31599 (__x86_64_raw_shared_cache_size_half): Likewise.
31600 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31601 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31602 and __x86_64_raw_shared_cache_size_half. Round
31603 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31604 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31605 to multiple of 256 bytes.
31606
0e516e0e
MS
316072010-11-03 Ulrich Drepper <drepper@gmail.com>
31608
31609 [BZ #12167]
31610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31611 of inacessible symlinks. Verify result of symlink before returning it.
31612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31613 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31614
0e012e87
ER
316152010-10-28 Erich Ritz <erichritz@gmail.com>
31616
31617 * math/math.h (isinf): Fix typo in comment.
31618
de0ff7bc
UD
316192010-11-01 Ulrich Drepper <drepper@gmail.com>
31620
31621 * po/da.po: Update from translation team.
31622
fa41c84d
UD
316232010-10-26 Ulrich Drepper <drepper@gmail.com>
31624
31625 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31626 is added to the list.
31627
f0967738
AK
316282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31629 Ulrich Drepper <drepper@gmail.com>
31630
31631 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31632 the global list here. Move code to...
31633 (_dl_add_to_namespace_list): ...here. New function.
31634 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31635 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31636 * elf/dl-load.c (lose): Don't remove the element from the list.
31637 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31638 (_dl_map_object): Likewise.
31639
316402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31641
31642 [BZ #12159]
31643 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31644 into all bytes of SSE register.
31645 Patch by Richard Li <richardpku@gmail.com>.
31646
f0967738 316472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31648
31649 [BZ #12140]
31650 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31651 perturbing.
31652
d0b9e94f
MB
316532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31654
31655 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31656 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31660 submachine.
31661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31662
8e9f92e9
AS
316632010-10-22 Andreas Schwab <schwab@redhat.com>
31664
31665 * include/dlfcn.h (__RTLD_SECURE): Define.
31666 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31667 mode & __RTLD_SECURE instead.
31668 (open_path): Rename preloaded parameter to secure.
31669 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31670 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31671 * elf/dl-deps.c (openaux): Likewise.
31672 * elf/rtld.c (struct map_args): Remove is_preloaded.
31673 (map_doit): Don't use it.
31674 (dl_main): Likewise.
31675 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31676 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31677
bc96fbda
AS
316782010-09-09 Andreas Schwab <schwab@redhat.com>
31679
31680 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31681 (sysd-rules-targets): Remove duplicates.
31682 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31683 rtld-%.$o dependency.
31684
22cd1c9b
AS
316852010-10-18 Andreas Schwab <schwab@redhat.com>
31686
31687 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31688 _dl_map_object do it.
31689
18edac48
UD
316902010-10-19 Ulrich Drepper <drepper@gmail.com>
31691
31692 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31693 fast fma builtins, define the macros in the C99 standard.
31694 (FP_FAST_FMAF): Likewise.
31695 (FP_FAST_FMAL): Likewise.
31696 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31697
31698 * bits/mathdef.h: Update copyright year.
31699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31700
d2050124
MM
317012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31702
31703 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31704 builtins, define the macros in the C99 standard.
31705 (FP_FAST_FMAF): Likewise.
31706 (FP_FAST_FMAL): Likewise.
31707 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31708 multiply/add.
31709 (FP_FAST_FMAF): Likewise.
31710
475facd1
JJ
317112010-10-15 Jakub Jelinek <jakub@redhat.com>
31712
31713 [BZ #3268]
31714 * math/libm-test.inc (fma_test): Some new testcases.
31715 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31716 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31717 y and infinite z. Do multiplication by C already in long double.
31718 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31720 y and infinite z. Do bitwise or of inexact bit into u.d.
31721 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31722 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31723 * sysdeps/i386/fpu/s_fma.S: Removed.
31724 * sysdeps/i386/fpu/s_fmal.S: Removed.
31725
7c08a05c
JJ
317262010-10-16 Jakub Jelinek <jakub@redhat.com>
31727
31728 [BZ #3268]
31729 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31731 computation is not scheduled after fetestexcept. Fix value
31732 of minimum denormal long double.
31733
f3f7372d
JJ
317342010-10-14 Jakub Jelinek <jakub@redhat.com>
31735
31736 [BZ #3268]
31737 * math/libm-test.inc (fma_test): Add some more tests.
31738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31739 correctly.
31740
14d43591
AS
317412010-10-15 Andreas Schwab <schwab@redhat.com>
31742
31743 * scripts/data/localplt-s390-linux-gnu.data: New file.
31744 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31745
5e908464
JJ
317462010-10-13 Jakub Jelinek <jakub@redhat.com>
31747
31748 [BZ #3268]
31749 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31750 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31751 instead of dbl-64.
31752 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31753 inlines.
31754 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31756 if one of x and y is very large and the other is subnormal.
31757 * sysdeps/s390/fpu/s_fmaf.c: New file.
31758 * sysdeps/s390/fpu/s_fma.c: New file.
31759 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31760 * sysdeps/powerpc/fpu/s_fma.S: New file.
31761 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31762 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31763 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31764
317652010-10-12 Jakub Jelinek <jakub@redhat.com>
31766
31767 [BZ #3268]
31768 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31769 fma tests.
31770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31771 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31772 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31773 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31774 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31775 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31776 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31777
b833d51f
UD
317782010-10-12 Ulrich Drepper <drepper@redhat.com>
31779
31780 [BZ #12078]
31781 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31782 * posix/bug-regex31.input: Add test case.
31783
1751705d
UD
317842010-10-11 Ulrich Drepper <drepper@gmail.com>
31785
e9b9cbf5
UD
31786 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31787 * posix/bug-regex31.input: New file.
31788
31789 [BZ #12078]
31790 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31791 (parse_sub_exp): Fix last change, use postorder.
31792
ef06edbe
UD
31793 * posix/bug-regex31.c: New file.
31794 * posix/Makefile: Add rules to build and run bug-regex31.
31795
a129c80d
UD
31796 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31797
31798 [BZ #12078]
31799 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31800
b76b818e
UD
31801 [BZ #12108]
31802 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31803 to have entries in sys_siglist.
31804
1751705d
UD
31805 [BZ #12093]
31806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31807 be NULL.
31808
9ff8d36f
JJ
318092010-10-07 Jakub Jelinek <jakub@redhat.com>
31810
31811 [BZ #3268]
31812 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31813 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31814 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31815 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31816 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31817 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31818 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31819 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31820 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31821 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31822 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31823 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31824 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31825 * math/ftestexcept.c (fetestexcept): Likewise.
31826 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31827 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31828 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31829 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31830 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31831 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31833
af325969
UD
318342010-10-11 Ulrich Drepper <drepper@gmail.com>
31835
c579b202 31836 [BZ #12107]
af325969
UD
31837 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31838 newline.
31839
67a67b95
UD
318402010-10-06 Ulrich Drepper <drepper@gmail.com>
31841
31842 * string/bug-strstr1.c: New file.
31843 * string/Makefile: Add rules to build and run bug-strstr1.
31844
5fb308bc
EB
318452010-10-05 Eric Blake <eblake@redhat.com>
31846
31847 [BZ #12092]
31848 * string/str-two-way.h (two_way_long_needle): Always clear memory
31849 when skipping input due to the shift table.
31850
45db99c7
UD
318512010-10-03 Ulrich Drepper <drepper@gmail.com>
31852
3b111893
UD
31853 [BZ #12005]
31854 * malloc/mcheck.c: Handle large requests.
31855
45db99c7
UD
31856 [BZ #12077]
31857 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31858 for strncmp and strncasecmp.
31859 * string/stratcliff.c: Add tests for strcmp and strncmp.
31860 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31861
cf7a1eb8
NI
318622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31863
31864 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31865 __set_fpscr.
31866
6484ba5e
AJ
318672010-09-30 Andreas Jaeger <aj@suse.de>
31868
31869 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31870 (CGROUP_SUPER_MAGIC): Define.
31871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31872 Handle btrfs and cgroup file systems.
31873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31874 Likewise.
31875
91c42559
LM
318762010-09-27 Luis Machado <luisgpm@br.ibm.com>
31877
31878 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31879 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31880
87a97932
AK
318812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31882
31883 [BZ #12067]
31884 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31885 trying to locate the ELF header.
31886
c21cc9bc
AS
318872010-09-27 Andreas Schwab <schwab@redhat.com>
31888
31889 [BZ #11611]
31890 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31891 Mask out sign-bit copies when constructing f_fsid.
31892
315970f6
PB
318932010-09-24 Petr Baudis <pasky@suse.cz>
31894
31895 * debug/stack_chk_fail_local.c: Add missing licence exception.
31896 * debug/warning-nop.c: Likewise.
31897
1ac7a2c7
JM
318982010-09-15 Joseph Myers <joseph@codesourcery.com>
31899
31900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31901 implementing getdents64 using getdents syscall, set d_type if
31902 __ASSUME_GETDENTS32_D_TYPE.
31903
56801c50
AS
319042010-09-16 Andreas Schwab <schwab@redhat.com>
31905
31906 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31907 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31908
dda51327
UD
319092010-09-21 Ulrich Drepper <drepper@redhat.com>
31910
31911 [BZ #12037]
31912 * posix/unistd.h: Undo change of feature selection for ftruncate from
31913 2010-01-11.
31914
8ffcee4a
UD
319152010-09-20 Ulrich Drepper <drepper@redhat.com>
31916
a545ecd9 31917 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31918 detection.
31919
e24f0a8b
AS
319202010-09-20 Andreas Schwab <schwab@redhat.com>
31921
31922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31923 fanotify_mark.
31924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31925
7291c56f
AS
319262010-09-14 Andreas Schwab <schwab@redhat.com>
31927
31928 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31929 variables after CHECK_SP call.
31930 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31931
bc5fb037
AS
319322010-09-13 Andreas Schwab <schwab@redhat.com>
31933 Ulrich Drepper <drepper@redhat.com>
31934
31935 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31936 re-relocationg ld.so.
31937 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31938 _dl_init_paths call.
31939 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31940 here anymore.
31941
e66e7419
UD
319422010-09-14 Ulrich Drepper <drepper@redhat.com>
31943
31944 * resolv/res_init.c (__res_vinit): Count the default server we added.
31945
c044aa75
CLT
319462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31947 Ulrich Drepper <drepper@redhat.com>
31948
31949 [BZ #11968]
31950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31951 (____longjmp_chk): Use %ebx for saving value across system call.
31952 Add unwind info.
31953
32cf4069
AS
319542010-09-06 Andreas Schwab <schwab@redhat.com>
31955
31956 * manual/Makefile: Don't mix pattern rules with normal rules.
31957
817328ee
AS
319582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31959
31960 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31961 operation.
31962 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31963 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31964 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31965 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31967 Likewise.
31968
29fddf61
UD
319692010-09-04 Ulrich Drepper <drepper@redhat.com>
31970
31971 [BZ #11979]
31972 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31973 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31974
0959ffc9
UD
319752010-09-02 Ulrich Drepper <drepper@redhat.com>
31976
31977 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31978 * sysdeps/x86_64/addmul_1.S: Likewise.
31979 * sysdeps/x86_64/lshift.S: Likewise.
31980 * sysdeps/x86_64/mul_1.S: Likewise.
31981 * sysdeps/x86_64/rshift.S: Likewise.
31982 * sysdeps/x86_64/sub_n.S: Likewise.
31983 * sysdeps/x86_64/submul_1.S: Likewise.
31984
ece29840
ST
319852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31986
0959ffc9
UD
31987 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31988 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31989 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31990 * bits/sched.h [__need_schedparam]
ece29840 31991 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31992 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31993 (__defined_schedparam): Define to 1.
ece29840
ST
31994 (__sched_param): New structure, identical to sched_param.
31995 (__need_schedparam): Undefine.
31996
e53a31fe
MF
319972010-08-31 Mike Frysinger <vapier@gentoo.org>
31998
fdc0c10d
MF
31999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32000 (epoll_create1): Declare.
32001
e53a31fe
MF
32002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32003
a726d796
AS
320042010-08-31 Andreas Schwab <schwab@redhat.com>
32005
32006 [BZ #7066]
32007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32008 shifting retval into place.
32009
2f3e3dc7
UD
320102010-09-01 Ulrich Drepper <drepper@redhat.com>
32011
f2933da9
UD
32012 * nis/rpcsvc/nis.h: Update copyright notice.
32013 * nis/rpcsvc/nis.x: Likewise.
32014 * nis/rpcsvc/nis_callback.h: Likewise.
32015 * nis/rpcsvc/nis_callback.x: Likewise.
32016 * nis/rpcsvc/nis_object.x: Likewise.
32017 * nis/rpcsvc/nis_tags.h: Likewise.
32018 * nis/rpcsvc/yp.h: Likewise.
32019 * nis/rpcsvc/yp.x: Likewise.
32020 * nis/rpcsvc/ypupd.h: Likewise.
32021 * nis/yp_xdr.c: Likewise.
32022 * nis/ypupdate_xdr.c: Likewise.
32023
2f3e3dc7
UD
32024 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32025 mainly the body of pmap_getport. Add parameters to specify timeouts.
32026 (pmap_getport): Use __libc_rpc_getport.
32027 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32028 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32029 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32030
f3dcc2f9
AS
320312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32032
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32034 fanotify_mark.
32035
6d34eb5b
RM
320362010-08-27 Roland McGrath <roland@redhat.com>
32037
32038 * sysdeps/i386/i686/multiarch/Makefile
32039 (CFLAGS-varshift.c): New variable.
32040
9ea3de11
UD
320412010-08-27 Ulrich Drepper <drepper@redhat.com>
32042
c96d23fc
UD
32043 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32044 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32045
9ea3de11
UD
32046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32047
32048 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32049
623aac7f
L
320502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * sysdeps/x86_64/strlen.S: Unroll the loop.
32053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32054 strlen-sse2 strlen-sse2-bsf.
32055 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32056 __strlen_no_bsf if bit_Slow_BSF is set.
32057 (__strlen_sse42): Removed.
32058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32059 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32060
8b2b7715
RM
320612010-08-25 Roland McGrath <roland@redhat.com>
32062
32063 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32064 * sysdeps/x86_64/multiarch/varshift.c: New file.
32065 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32066 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32067 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32068 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32069
e73015f2
L
320702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32071
32072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32073 strlen-sse2 strlen-sse2-bsf.
32074 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32075 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32076 (__strlen_sse2): Removed.
32077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32080 bit_Slow_BSF for Atom.
32081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32082 (index_Slow_BSF): Define.
32083 (HAS_SLOW_BSF): Define.
32084
df24a73e
UD
320852010-08-25 Ulrich Drepper <drepper@redhat.com>
32086
32087 [BZ #10851]
32088 * resolv/res_init.c (__res_vinit): When no server address at all
32089 is given default to loopback.
32090
f2ac4868
RM
320912010-08-24 Roland McGrath <roland@redhat.com>
32092
09055553
RM
32093 * configure.in: Remove config-name.h generation.
32094 * configure: Regenerated.
32095 * config-name.in: File removed.
32096 * scripts/config-uname.sh: New file.
32097 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32098 ($(objdir)config-name.h): New target.
32099
f2ac4868
RM
32100 * sunrpc/rpc_parse.h: Avoid nested comment.
32101
73f27d5e
RH
321022010-08-24 Richard Henderson <rth@redhat.com>
32103 Ulrich Drepper <drepper@redhat.com>
32104 H.J. Lu <hongjiu.lu@intel.com>
32105
32106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32108 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32109 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32110 _mm_alignr_epi8 with _mm_loadu_si128.
32111 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32112 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32113 (__m128i_shift_right): Removed.
32114 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32115 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32116 * sysdeps/x86_64/multiarch/varshift.h: New file.
32117 * sysdeps/x86_64/multiarch/varshift.S: New file.
32118
84b9230c
MF
321192010-08-21 Mike Frysinger <vapier@gentoo.org>
32120
32121 * configure.in: Move assembler checks to before sysdep dir checking.
32122
9bbd0ddc
PB
321232010-08-20 Petr Baudis <pasky@suse.cz>
32124
32125 * LICENSES: Sync the sunrpc license.
32126
9da4bb31
UD
321272010-08-19 Ulrich Drepper <drepper@redhat.com>
32128
a7ab6ec8
UD
32129 * sunrpc/auth_des.c: Update copyright notice once again.
32130 * sunrpc/auth_none.c: Likewise.
32131 * sunrpc/auth_unix.c: Likewise.
32132 * sunrpc/authdes_prot.c: Likewise.
32133 * sunrpc/authuxprot.c: Likewise.
32134 * sunrpc/bindrsvprt.c: Likewise.
32135 * sunrpc/clnt_gen.c: Likewise.
32136 * sunrpc/clnt_perr.c: Likewise.
32137 * sunrpc/clnt_raw.c: Likewise.
32138 * sunrpc/clnt_simp.c: Likewise.
32139 * sunrpc/clnt_tcp.c: Likewise.
32140 * sunrpc/clnt_udp.c: Likewise.
32141 * sunrpc/clnt_unix.c: Likewise.
32142 * sunrpc/des_crypt.c: Likewise.
32143 * sunrpc/des_soft.c: Likewise.
32144 * sunrpc/get_myaddr.c: Likewise.
32145 * sunrpc/getrpcport.c: Likewise.
32146 * sunrpc/key_call.c: Likewise.
32147 * sunrpc/key_prot.c: Likewise.
32148 * sunrpc/openchild.c: Likewise.
32149 * sunrpc/pm_getmaps.c: Likewise.
32150 * sunrpc/pm_getport.c: Likewise.
32151 * sunrpc/pmap_clnt.c: Likewise.
32152 * sunrpc/pmap_prot.c: Likewise.
32153 * sunrpc/pmap_prot2.c: Likewise.
32154 * sunrpc/pmap_rmt.c: Likewise.
32155 * sunrpc/rpc/auth.h: Likewise.
32156 * sunrpc/rpc/auth_unix.h: Likewise.
32157 * sunrpc/rpc/clnt.h: Likewise.
32158 * sunrpc/rpc/des_crypt.h: Likewise.
32159 * sunrpc/rpc/key_prot.h: Likewise.
32160 * sunrpc/rpc/netdb.h: Likewise.
32161 * sunrpc/rpc/pmap_clnt.h: Likewise.
32162 * sunrpc/rpc/pmap_prot.h: Likewise.
32163 * sunrpc/rpc/pmap_rmt.h: Likewise.
32164 * sunrpc/rpc/rpc.h: Likewise.
32165 * sunrpc/rpc/rpc_des.h: Likewise.
32166 * sunrpc/rpc/rpc_msg.h: Likewise.
32167 * sunrpc/rpc/svc.h: Likewise.
32168 * sunrpc/rpc/svc_auth.h: Likewise.
32169 * sunrpc/rpc/types.h: Likewise.
32170 * sunrpc/rpc/xdr.h: Likewise.
32171 * sunrpc/rpc_clntout.c: Likewise.
32172 * sunrpc/rpc_cmsg.c: Likewise.
32173 * sunrpc/rpc_common.c: Likewise.
32174 * sunrpc/rpc_cout.c: Likewise.
32175 * sunrpc/rpc_dtable.c: Likewise.
32176 * sunrpc/rpc_hout.c: Likewise.
32177 * sunrpc/rpc_main.c: Likewise.
32178 * sunrpc/rpc_parse.c: Likewise.
32179 * sunrpc/rpc_parse.h: Likewise.
32180 * sunrpc/rpc_prot.c: Likewise.
32181 * sunrpc/rpc_sample.c: Likewise.
32182 * sunrpc/rpc_scan.c: Likewise.
32183 * sunrpc/rpc_scan.h: Likewise.
32184 * sunrpc/rpc_svcout.c: Likewise.
32185 * sunrpc/rpc_tblout.c: Likewise.
32186 * sunrpc/rpc_util.c: Likewise.
32187 * sunrpc/rpc_util.h: Likewise.
32188 * sunrpc/rpcinfo.c: Likewise.
32189 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32190 * sunrpc/rpcsvc/key_prot.x: Likewise.
32191 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32192 * sunrpc/rpcsvc/mount.x: Likewise.
32193 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32194 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32195 * sunrpc/rpcsvc/rex.x: Likewise.
32196 * sunrpc/rpcsvc/rstat.x: Likewise.
32197 * sunrpc/rpcsvc/rusers.x: Likewise.
32198 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32199 * sunrpc/rpcsvc/spray.x: Likewise.
32200 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32201 * sunrpc/rtime.c: Likewise.
32202 * sunrpc/svc.c: Likewise.
32203 * sunrpc/svc_auth.c: Likewise.
32204 * sunrpc/svc_authux.c: Likewise.
32205 * sunrpc/svc_raw.c: Likewise.
32206 * sunrpc/svc_run.c: Likewise.
32207 * sunrpc/svc_simple.c: Likewise.
32208 * sunrpc/svc_tcp.c: Likewise.
32209 * sunrpc/svc_udp.c: Likewise.
32210 * sunrpc/svc_unix.c: Likewise.
32211 * sunrpc/svcauth_des.c: Likewise.
32212 * sunrpc/xcrypt.c: Likewise.
32213 * sunrpc/xdr.c: Likewise.
32214 * sunrpc/xdr_array.c: Likewise.
32215 * sunrpc/xdr_float.c: Likewise.
32216 * sunrpc/xdr_mem.c: Likewise.
32217 * sunrpc/xdr_rec.c: Likewise.
32218 * sunrpc/xdr_ref.c: Likewise.
32219 * sunrpc/xdr_sizeof.c: Likewise.
32220 * sunrpc/xdr_stdio.c: Likewise.
32221
9da4bb31
UD
32222 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32223 handling.
32224
bdaa77bc
AS
322252010-08-19 Andreas Schwab <schwab@redhat.com>
32226
32227 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32228
fe2f79db
LM
322292010-08-19 Luis Machado <luisgpm@br.ibm.com>
32230
32231 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32233 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32234 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32235 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32236 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32237 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32238 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32240 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32241 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32243 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32244 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32245
b9b42ee0
AB
322462010-07-26 Anton Blanchard <anton@samba.org>
32247
32248 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32249 * malloc/arena.c (heap_trim): Likewise.
32250
1c06ba31
UD
322512010-08-16 Ulrich Drepper <drepper@redhat.com>
32252
32253 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32254 here. Not...
32255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32256 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32257
f8392f40
L
322582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32259
32260 * sysdeps/i386/elf/Makefile: New file.
32261
3162f12e
AS
322622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32263
32264 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32265 from fanotify_init.
32266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32268
28c90b2c
UD
322692010-08-15 Ulrich Drepper <drepper@redhat.com>
32270
32271 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32272 of strncasecmp_l.
1feccb6c 32273 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32274
ca6bb004
UD
322752010-08-14 Ulrich Drepper <drepper@redhat.com>
32276
e9f82e0d
UD
32277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32278 strncase_l-nonascii.
32279 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32280 Add strncase_l-ssse3.
32281 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32282 * sysdeps/x86_64/strcmp.S: Likewise.
32283 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32284 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32285 * sysdeps/x86_64/strncase.S: New file.
32286 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32287 * sysdeps/x86_64/strncase_l.S: New file.
32288 * string/Makefile (strop-tests): Add strncasecmp.
32289 * string/test-strncasecmp.c: New file.
32290
32291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32292 warning.
32293
ca6bb004
UD
32294 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32296
052fa7b3
AS
322972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32298
32299 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32300
962dba78
UD
323012010-08-12 Ulrich Drepper <drepper@redhat.com>
32302
32303 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32305 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32306
bebff237
AM
323072010-05-01 Alan Modra <amodra@gmail.com>
32308
32309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32310 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32311 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32312 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32313 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32314 tidying. Don't tail-call __sigjmp_save for static lib.
32315 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32316 save location.
32317 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32318 (CALL_MCOUNT): Add eh info, and nop after bl.
32319 (TAIL_CALL_SYSCALL_ERROR): New macro.
32320 (PSEUDO_RET): Use it.
32321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32322 Correct save location of integer regs and cr.
32323 (_dl_profile_resolve): Correct cr save location. Delete nops
32324 after bl when SHARED. Reduce cfi size a little by better
32325 placement of cfi directives.
32326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32327 make a stack frame. Instead use parm save area as a temp.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32329 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32331 Don't make a stack frame for parent, use parm save area.
32332 Increase child stack frame to 112 bytes. Don't save unused reg,
32333 and adjust reg usage. Set up cfi on error recovery and
32334 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32336 (__makecontext): Add dummy nop after jump to exit.
32337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32338 Use correct parm save area and cr save, reduce stack frame.
32339 Correct cfi for possible PSEUDO_RET frame setup.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32341 Branch to local label emitted by PSEUDO_RET rather than
32342 __syscall_error.
32343
02637374
AS
323442010-08-12 Andreas Schwab <schwab@redhat.com>
32345
32346 [BZ #11904]
32347 * locale/programs/locale.c (print_assignment): New function.
32348 (show_locale_vars): Use it.
32349
c3e2f19b
UD
323502010-08-11 Ulrich Drepper <drepper@redhat.com>
32351
3cdaa6ad
UD
32352 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32353 field.
32354 (struct statfs64): Likewise.
32355 (_STATFS_F_FLAGS): Define.
32356 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32358 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32359 (ST_VALID): Define locally.
32360 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32361 __statvfs_getflags, use the provided value.
32362 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32363 __ASSUME_STATFS_F_FLAGS.
32364
754f7da3
UD
32365 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32366
10b3bedc
UD
32367 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32368 Add sys/fanotify.h.
32369 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32370 fanotify_mask for GLIBC_2.13.
32371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32372 fanotify_init and fanotify_mark.
32373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32374 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32375
c08fb0d7
UD
32376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32377 Add prlimit.
32378 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32379 prlimit64 for GLIBC_2.13.
32380 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32381 prlimit64.
32382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32383 syscall.
32384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32386 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32387 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32389 add prlimit alias.
32390 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32391
15bac72b
UD
32392 [BZ #11903]
32393 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32394 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32395
c3e2f19b
UD
32396 * nss/Makefile: Add rules to build and run tst-nss-test1.
32397 * shlib-versions: Add entry for libnss_test1.
32398 * nss/nss_test1.c: New file.
32399 * nss/tst-nss-test1.c: New file.
32400
32401 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32402 (__nss_configure_lookup): Set appropriate entry in
32403 __nss_configure_lookup to true.
32404 * nss/nsswitch.h: Define enum with indeces of databases in
32405 databases and __nss_database_custom arrays. Declare
32406 __nss_database_custom.
32407 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32408 to avoid using nscd when custom rules are installed.
32409 * nss/getXXbyYY_r.c: Likewise.
32410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32411
32412 * nss/nss_files/files-parse.c: Whitespace fixes.
32413
f15ce4d8
UD
324142010-08-09 Ulrich Drepper <drepper@redhat.com>
32415
32416 [BZ #11883]
32417 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32418 * posix/fnmatch_loop.c: Likewise.
32419
d22e4cc9
AK
324202010-07-17 Andi Kleen <ak@linux.intel.com>
32421
32422 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32423 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32424 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32425 * Versions.def [GLIBC_2.13]: Add.
32426
805bc17d
UD
324272010-08-06 Ulrich Drepper <drepper@redhat.com>
32428
32429 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32430 Also fail if tpwd after pwuid call is NULL.
32431
5a42321d
ST
324322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32433
32434 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32435 when converting to ms.
32436
fd3ebeda
ST
324372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32438
32439 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32440 EOPNOTSUPP errors with ENOTTY.
32441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32442 EOPNOTSUPP errors with ENOTTY.
32443
73507d3a
UD
324442010-07-31 Ulrich Drepper <drepper@redhat.com>
32445
32446 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32447 Add strcasecmp_l-ssse3.
32448 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32449 strcasecmp.
32450 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32451 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32452 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32453
fe36dd02
UD
324542010-07-30 Ulrich Drepper <drepper@redhat.com>
32455
66f6765a
UD
32456 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32457
42e08a54
UD
32458 * string/Makefile (strop-tests): Add strcasecmp.
32459 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32460 strcasecmp_l-nonascii.
32461 (gen-as-const-headers): Add locale-defines.sym.
32462 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32463 * sysdeps/x86_64/strcasecmp.S: New file.
32464 * sysdeps/x86_64/strcasecmp_l.S: New file.
32465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32466 * sysdeps/x86_64/locale-defines.sym: New file.
32467 * string/test-strcasecmp.c: New file.
32468
fe36dd02
UD
32469 * string/test-strcasestr.c: Test both ends of the range of characters.
32470 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32471
48cbc0d6
RM
324722010-07-29 Roland McGrath <roland@redhat.com>
32473
76e6d6bc 32474 [BZ #11856]
48cbc0d6
RM
32475 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32476
880113d9
UD
324772010-07-27 Ulrich Drepper <drepper@redhat.com>
32478
32479 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32480 for ld.so.
32481
deb9cabb
AS
324822010-07-27 Andreas Schwab <schwab@redhat.com>
32483
32484 * manual/memory.texi (Malloc Tunable Parameters): Document
32485 M_PERTURB.
32486
1c7570ff
RM
324872010-07-26 Roland McGrath <roland@redhat.com>
32488
32489 [BZ #11840]
32490 * configure.in (-fgnu89-inline check): Set and substitute
32491 gnu89_inline, not libc_cv_gnu89_inline.
32492 * configure: Regenerated.
32493 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32494
24fb0f88
UD
324952010-07-26 Ulrich Drepper <drepper@redhat.com>
32496
32497 * string/test-strnlen.c: New file.
32498 * string/Makefile (strop-tests): Add strnlen.
32499 * string/tester.c (test_strnlen): Add a few more test cases.
32500 * string/tst-strlen.c: Better error reporting.
32501
32502 * sysdeps/x86_64/strnlen.S: New file.
32503
8e96b93a
UD
325042010-07-24 Ulrich Drepper <drepper@redhat.com>
32505
32506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32507 lower-latency instructions.
32508
dbc676d4
UD
325092010-07-23 Ulrich Drepper <drepper@redhat.com>
32510
32511 * string/test-strcasestr.c: New file.
32512 * string/test-strstr.c: New file.
32513 * string/Makefile (strop-tests): Add strstr and strcasestr.
32514 * string/str-two-way.h: Don't undefine MAX.
32515 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32516
f6a31e0e
AS
325172010-07-21 Andreas Schwab <schwab@redhat.com>
32518
32519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32520 strcasestr-nonascii.
32521 (CFLAGS-strcasestr-nonascii.c): Define.
32522 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32524 Remove unused attribute.
32525
5dbc3b6c
RM
325262010-07-20 Roland McGrath <roland@redhat.com>
32527
32528 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32529 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32530 ld.so.cache was broken. With it, there is no way to disable dsocaps
32531 like LD_HWCAP_MASK can disable hwcaps.
32532
23d101d8
EPM
325332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32534
32535 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32536
cc9f2e47
UD
325372010-07-16 Ulrich Drepper <drepper@redhat.com>
32538
32539 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32540 call in strcasestr.
32541 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32542 __strcasestr_sse42_nonascii.
32543 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32544 strcasestr-nonascii.c.
32545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32546
77c1b069
LM
325472010-06-15 Luis Machado <luisgpm@br.ibm.com>
32548
32549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32553
440566c3
UD
325542010-07-09 Ulrich Drepper <drepper@redhat.com>
32555
32556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32557 fcntl.
32558
5be9d05d
AS
325592010-07-06 Andreas Schwab <schwab@redhat.com>
32560
c30b7ee2 32561 [BZ #11577]
5be9d05d
AS
32562 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32563 dl_signal_cerror.
32564
8a492a67
UD
325652010-07-06 Ulrich Drepper <drepper@redhat.com>
32566
32567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32568 _PC_PIPE_BUF using F_GETPIPE_SZ.
32569
713df3d5
RM
325702010-07-05 Roland McGrath <roland@redhat.com>
32571
32572 * manual/arith.texi (Rounding Functions): Fix rint description
32573 implicit in round description.
32574
702e8f14
UD
325752010-07-02 Ulrich Drepper <drepper@redhat.com>
32576
32577 * elf/Makefile: Fix linking for a few tests to make recent linker
32578 happy.
32579
52ed8be9
AS
325802010-06-30 Andreas Schwab <schwab@redhat.com>
32581
32582 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32583 $(common-objpfx)libc_nonshared.a.
32584
f47c9a11
LM
325852010-06-21 Luis Machado <luisgpm@br.ibm.com>
32586
32587 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32588 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32589 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32590 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32591 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32594 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32609 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32610 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32611 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32612 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32613 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32614 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32615 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32616 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32617 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32618 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32619 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32620 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32635
6fb8cbcb
L
326362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32637
32638 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32639 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32640 * string/memmove.c (memmove): Renamed to ...
32641 (MEMMOVE): ...this. Default to memmove.
32642 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32643 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32644 (END_CHK): Define.
32645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32646 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32647 mempcpy-ssse3-back memmove-ssse3-back.
32648 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32651 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32652 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32653 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32654 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32655 * sysdeps/x86_64/multiarch/memmove.c: New file.
32656 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32657 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32658 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32659 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32662 Define.
32663 (index_Fast_Copy_Backward): Define.
32664 (HAS_ARCH_FEATURE): Define.
32665 (HAS_FAST_REP_STRING): Define.
32666 (HAS_FAST_COPY_BACKWARD): Define.
32667
4e733bac 326682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32669
32670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32671 Restore proper fallback handling.
32672
63c4ed22
UD
326732010-06-19 Ulrich Drepper <drepper@redhat.com>
32674
ac2b484c
UD
32675 [BZ #11701]
32676 * posix/group_member.c (__group_member): Correct checking loop.
32677
63c4ed22
UD
32678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32679 OOM in getpwuid_r correctly. Return error number when the caller
32680 should return, otherwise -1.
32681 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32682 call returning > 0 value.
32683 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32684
765ade4b
AS
326852010-06-07 Andreas Schwab <schwab@redhat.com>
32686
32687 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32688 libc_nonshared.a from targets in modules-names.
32689
80da2e09
KS
326902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32691
32692 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32693 requires it.
32694
158db122
LM
326952010-06-10 Luis Machado <luisgpm@br.ibm.com>
32696
32697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32701
caa78cf8
AS
327022010-06-02 Andreas Schwab <schwab@redhat.com>
32703
32704 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32705
b2ef2c01
UD
327062010-06-14 Ulrich Drepper <drepper@redhat.com>
32707
32708 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32709 and F_GETPIPE_SZ.
32710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32716
fbd643b6
RM
327172010-06-14 Roland McGrath <roland@redhat.com>
32718
32719 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32720
f32f2869
JJ
327212010-06-07 Jakub Jelinek <jakub@redhat.com>
32722
32723 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32724 __REDIRECT followed by __THROW.
32725 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32726 * posix/getopt.h (getopt): Likewise.
32727
2a50c078
EPM
327282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32729
32730 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32731 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32732 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32733 in AT_FLAGS.
32734 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32735 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32736
eb5ad2eb
LM
327372010-05-28 Luis Machado <luisgpm@br.ibm.com>
32738
32739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32740
3c88fe1e
L
327412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32742
32743 [BZ #11640]
32744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32745 Properly check family and model.
32746
d2f73151
TY
327472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32748
32749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32750
ebd2e13d
LM
327512010-05-24 Luis Machado <luisgpm@br.ibm.com>
32752
32753 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32754
b32b8b45
UD
327552010-05-21 Ulrich Drepper <drepper@redhat.com>
32756
32757 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32758 symbol reference.
32759
9acbe24d
AS
327602010-05-19 Andreas Schwab <schwab@redhat.com>
32761
32762 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32763 symbol reference.
32764
f0ccf6ea
AS
327652010-05-21 Andreas Schwab <schwab@redhat.com>
32766
3d04ff3a
AS
32767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32768 and internal_recvmmsg.
32769 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32770 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32771 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32772 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32773
f0ccf6ea
AS
32774 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32775 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32776 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32777
5b08ac57
AS
327782010-05-20 Andreas Schwab <schwab@redhat.com>
32779
32780 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32781
4828935d
LM
327822010-05-17 Luis Machado <luisgpm@br.ibm.com>
32783
32784 POWER7 optimizations.
32785 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32786 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32787
373d545e
UD
327882010-05-19 Ulrich Drepper <drepper@redhat.com>
32789
32790 * version.h: Update for 2.13 development version.
32791
21a2b1ae
AS
327922010-05-12 Andrew Stubbs <ams@codesourcery.com>
32793
32794 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32795 exceptions. Return 0.
32796
3f7dcb2b
RM
327972010-05-07 Roland McGrath <roland@redhat.com>
32798
32799 * elf/ldconfig.c (main): Add a const.
32800
5f24d53a 328012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32802
a160f8d8
UD
32803 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32804 (args_options): Add no-idn option.
32805 (ahosts_keys_int): Add idn_flags to ai_flags.
32806 (parse_option): Handle 'i' option to clear idn_flags.
32807
5f24d53a
UD
32808 * malloc/malloc.c (_int_free): Possible race in the most recently
32809 added check. Only act on the data if no current modification
32810 happened.
265bb1ce
UD
32811
32812See ChangeLog.17 for earlier changes.