]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix static-binary lazy FPU context allocation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95e7cf29
MR
12013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * csu/init-first.c (_init): Remove the !SHARED condition around
4 FPU control word initialization.
5 * elf/dl-support.c (_dl_fpu_control): New variable.
6 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9 * math/test-fpucw-static.c: New file.
10 * math/test-fpucw-ieee.c: New file.
11 * math/test-fpucw-ieee-static.c: New file.
12 * math/Makefile (tests): Add `test-fpucw-ieee' and
13 `$(tests-static)'.
14 (tests-static): New variable.
15 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16 dependency to...
17 [($(build-shared),yes)]
18 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19 ... this.
20 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21 New dependency.
22
83e43bf0
AM
232013-09-09 Allan McRae <allan@archlinux.org>
24
a9f5ce09
AM
25 [BZ #15939]
26 * manual/string.texi (Collation Functions): Fix typo in
27 strcoll example.
28 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29
34829bc2
AM
30 [BZ #15893]
31 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32
3932737d
AM
33 [BZ #15892]
34 * libio/memstream.c (open_memstream): Fix memory leak.
35 * libio/wmemstream.c (open_wmemstream): Likewise.
36
83e43bf0
AM
37 [BZ #15895]
38 * nscd/netgroupcache.c: Fix nesting of ifdefs.
39
0c66b8e9
WN
402013-09-09 Will Newton <will.newton@linaro.org>
41
42 * malloc/Makefile: Add tst-realloc to tests.
43 * malloc/tst-realloc.c: New file.
44
f6b00fd1
AM
452013-09-09 Allan McRae <allan@archlinux.org>
46
47 [BZ #15844]
48 * COPYING: Update from GNU website to fix FSF address.
49 * COPYING.LIB: Likewise.
50
eec55e16
DM
512013-09-06 David S. Miller <davem@davemloft.net>
52
53 * po/zh_TW.po: Update Chinese (traditional) translation from
54 translation project.
55
1ecbb381
RS
562013-09-06 Richard Sandiford <richard@codesourcery.com>
57 Joseph Myers <joseph@codesourcery.com>
58
59 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60 "localeinfo.h".
61 (obstack_chunk_alloc): New macro.
62 (obstack_chunk_free): Likewise.
63 (record_offset): New function.
64 (init_locale_data): Likewise.
65 (align_locale_data): Likewise.
66 (add_locale_empty): Likewise.
67 (add_locale_raw_data): Likewise.
68 (add_locale_raw_obstack): Likewise.
69 (add_locale_string): Likewise.
70 (add_locale_wstring): Likewise.
71 (add_locale_uint32): Likewise.
72 (add_locale_uint32_array): Likewise.
73 (add_locale_char): Likewise.
74 (start_locale_structure): Likewise.
75 (end_locale_structure): Likewise.
76 (start_locale_prelude): Likewise.
77 (end_locale_prelude): Likewise.
78 (write_locale_data): Take locale_file structure rather than an
79 iovec.
80 * locale/programs/locfile.h: Include "obstack.h".
81 (struct locale_file): Change to store locale file contents instead
82 of header.
83 (init_locale_data): New prototype.
84 (align_locale_data): Likewise.
85 (add_locale_empty): Likewise.
86 (add_locale_raw_data): Likewise.
87 (add_locale_raw_obstack): Likewise.
88 (add_locale_string): Likewise.
89 (add_locale_wstring): Likewise.
90 (add_locale_uint32): Likewise.
91 (add_locale_uint32_array): Likewise.
92 (add_locale_char): Likewise.
93 (start_locale_structure): Likewise.
94 (end_locale_structure): Likewise.
95 (start_locale_prelude): Likewise.
96 (end_locale_prelude): Likewise.
97 (write_locale_data): Update prototype.
98 * locale/programs/3level.h (struct TABLE): Remove result field.
99 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
100 Use new locale_file interface.
101 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
102 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
103 * locale/programs/ld-address.c (address_output): Use new
104 locale_file interface.
105 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
106 NO_ADD_LOCALE.
107 (collate_finish): Don't call collseq_table_finalize.
108 (collate_output): Use new locale_file interface.
109 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
110 in file.
111 (NO_FINALIZE): Change to NO_ADD_LOCALE.
112 (TABLE): Move defines earlier in file.
113 (ELEMENT): Likewise.
114 (DEFAULT): Likewise.
115 (wctrans_table_add): Move macro and inline function earlier in
116 file.
117 (struct wctype_table): Move type earlier in file.
118 (add_locale_wctype_table): New static prototype.
119 (struct locale_ctype_t): Use logical types instead of struct iovec
120 pointers for members.
121 (ctype_output): Use new locale_file interface.
122 (wctype_table_finalize): Change to add_locale_wctype_table. Use
123 new locale_file interface.
124 (allocate_arrays): Update for use of new locale_file interface.
125 * locale/programs/ld-identification.c (identification_output): Use
126 new locale_file interface.
127 * locale/programs/ld-measurement.c (measurement_output): Likewise.
128 * locale/programs/ld-messages.c (messages_output): Likewise.
129 * locale/programs/ld-monetary.c (monetary_output): Likewise.
130 * locale/programs/ld-name.c (name_output): Likewise.
131 * locale/programs/ld-numeric.c (numeric_output): Likewise.
132 * locale/programs/ld-paper.c (paper_output): Likewise.
133 * locale/programs/ld-telephone.c (telephone_output): Likewise.
134 * locale/programs/ld-time.c (time_output): Likewise.
135
e029e2e5
AZ
1362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * benchtests/Makefile: Add memrchr benchmark.
139 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
140 benchmark as memrchr.
141 * benchtests/bench-memrchr-ifunc.c: New file.
142 * benchtests/bench-memrchr.c: New file.
143
bbf6e8e4
WN
1442013-09-06 Will Newton <will.newton@linaro.org>
145
146 * benchtests/Makefile (string-bench): Add memcpy.
147
6c82a2f8
CD
1482013-09-05 Carlos O'Donell <carlos@redhat.com>
149 Cong Wang <amwang@redhat.com>
150
151 * sysdeps/unix/sysv/linux/bits/in.h
152 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
153 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
154 before __USE_KERNEL_IPV6_DEFS uses.
155 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
156 IPPROTO_BEETPH.
157 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
158 sockaddr_in6, or ipv6_mreq.
159
5430fc65
AZ
1602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
163 memory access for final bytes in some large inputs.
164 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
165
4660856c
AZ
1662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167
168 * string/test-memrchr.c: New file.
169 * string/test-memrchr-ifunc.c: New file.
170 * string/Makefile: Add new memrchr testcase.
171
bb8ea713
MF
1722013-09-05 Mike Frysinger <vapier@gentoo.org>
173
174 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
175 fanotify_init returns EPERM.
176
b92a20b5
JM
1772013-09-04 Joseph Myers <joseph@codesourcery.com>
178
179 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
180 errors.
181 (top level): Treat second token from macro or constant entries for
182 allowed headers as allowed.
183 * include/complex.h: Condition internal declarations on
184 [!_ISOMAC].
185 * include/fenv.h: Condition include of <stdbool.h> and internal
186 declarations on [!_ISOMAC].
7447ccd9
CL
187
1882013-09-04 Chris Leonard <cjl@sugarlabs,.org>
189
190 [BZ #15923]
191 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
192
3f2e46a4
JM
1932013-09-04 Joseph Myers <joseph@codesourcery.com>
194
195 * configure.in (--enable-versioning): Remove configure option.
196 (libc_cv_asm_symver_directive): Remove configure test.
197 (libc_cv_ld_version_script_option): Likewise.
198 (VERSIONING): Remove variable and AC_SUBST.
199 (DO_VERSIONING): Remove AC_DEFINE.
200 * configure: Regenerated.
201 * config.h.in (DO_VERSIONING): Remove macro.
202 * Makerules [$(versioning) = yes]: Change conditionals to
203 [$(build-shared) = yes].
204 * config.make.in (versioning): Remove variable.
205 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
206 [$(build-shared) = yes].
207 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
208 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
209 * elf/Makefile [$(versioning) = yes]: Change conditionals to
210 [$(build-shared) = yes].
211 * extra-lib.mk [$(versioning) = yes]: Likewise.
212 * hurd/Makefile [$(versioning) = yes]: Likewise.
213 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
214 [SHARED].
215 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
216 [SHARED].
217 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
218 [SHARED && !NO_HIDDEN].
219 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
220 [SHARED].
221 [SHARED && DO_VERSIONING]: Likewise..
222 * libio/Makefile [$(versioning) = yes]: Change conditionals to
223 [$(build-shared) = yes].
224 * manual/install.texi (--disable-versioning): Remove
225 documentation.
226 * INSTALL: Regenerated.
227 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
228 to [SHARED].
229 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
230 [$(build-shared) = yes].
231 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
232 * sysdeps/i386/i686/multiarch/strstr-c.c
233 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
234 [SHARED && !NO_HIDDEN].
235 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
236 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
237 * sysdeps/powerpc/powerpc32/dl-machine.c
238 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
239 * sysdeps/powerpc/powerpc32/sysdep.h
240 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
241 to [SHARED && PIC && !NO_HIDDEN].
242 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
243 conditional to [SHARED].
244
44558701
WN
2452013-09-04 Will Newton <will.newton@linaro.org>
246
247 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
248 * benchtests/bench-string.h: Include bench-timing.h instead
249 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
250 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
251 call to HP_TIMING_DIFF_INIT.
252 * benchtests/bench-memccpy.c: Use bench-timing.h macros
253 instead of hp-timing.h macros.
254 * benchtests/bench-memchr.c: Likewise.
255 * benchtests/bench-memcmp.c: Likewise.
256 * benchtests/bench-memcpy.c: Likewise.
257 * benchtests/bench-memmem.c: Likewise.
258 * benchtests/bench-memmove.c: Likewise.
259 * benchtests/bench-memset.c: Likewise.
260 * benchtests/bench-rawmemchr.c: Likewise.
261 * benchtests/bench-strcasecmp.c: Likewise.
262 * benchtests/bench-strcasestr.c: Likewise.
263 * benchtests/bench-strcat.c: Likewise.
264 * benchtests/bench-strchr.c: Likewise.
265 * benchtests/bench-strcmp.c: Likewise.
266 * benchtests/bench-strcpy.c: Likewise.
267 * benchtests/bench-strcpy_chk.c: Likewise.
268 * benchtests/bench-strlen.c: Likewise.
269 * benchtests/bench-strncasecmp.c: Likewise.
270 * benchtests/bench-strncat.c: Likewise.
271 * benchtests/bench-strncmp.c: Likewise.
272 * benchtests/bench-strncpy.c: Likewise.
273 * benchtests/bench-strnlen.c: Likewise.
274 * benchtests/bench-strpbrk.c: Likewise.
275 * benchtests/bench-strrchr.c: Likewise.
276 * benchtests/bench-strspn.c: Likewise.
277 * benchtests/bench-strstr.c: Likewise.
278
cae16d66
WN
2792013-09-04 Will Newton <will.newton@linaro.org>
280
281 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
282
ffa3cd7f
JM
2832013-09-03 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #15427]
286 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
287 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
288 * math/libm-test.inc (lgamma_test_data): Add more tests.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
8f02859f
OB
2922013-09-03 Ondřej Bílka <neleai@seznam.cz>
293
294 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
296 Add ifunc.
297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
298 Add strcmp-sse2-unaligned
299 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
300
18d43716
MF
3012013-09-02 Mike Frysinger <vapier@gentoo.org>
302
303 * Versions.def (libc): Add GLIBC_2.19.
304
ac444012
MF
3052013-09-02 Mike Frysinger <vapier@gentoo.org>
306
307 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
308 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
309
b7835e32
JM
3102013-09-02 Joseph Myers <joseph@codesourcery.com>
311
312 [BZ #14155]
313 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
314 intermediate calculations in recurrence.
315 (__ieee754_ynf): Likewise.
316 * math/libm-test.inc (jn_test_data): Do not allow spurious
317 underflow exception. Add more tests.
318 (yn_test_data): Add more tests.
319 * sysdeps/i386/fpu/libm-test-ulps: Update.
320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
321
8220f4f0
OB
3222013-09-02 Ondřej Bílka <neleai@seznam.cz>
323
324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
325
f24a6d08
OB
3262013-08-30 Ondřej Bílka <neleai@seznam.cz>
327
328 * csu/init-first.c: Fix then/than typos.
329 * locale/programs/ld-collate.c: Likewise.
330 * locale/programs/linereader.h: Likewise.
331 * manual/charset.texi: Likewise.
332 * manual/filesys.texi: Likewise.
333 * manual/stdio.texi: Likewise.
334 * manual/string.texi: Likewise.
335 * stdlib/fmtmsg.c: Likewise.
336 * sysdeps/i386/stpncpy.S: Likewise.
337 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
338 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
340 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
341
382466e0
OB
3422013-08-30 Ondřej Bílka <neleai@seznam.cz>
343
344 * elf/dl-open.c: Fix typos.
345 * iconvdata/gbbig5.c: Likewise.
346 * iconvdata/iso-2022-jp.c: Likewise.
347 * iconv/gconv_int.h: Likewise.
348 * iconv/loop.c: Likewise.
349 * nis/rpcsvc/nis.h: Likewise.
350 * resolv/ns_name.c: Likewise.
351 * stdio-common/vfscanf.c: Likewise.
352 * streams/stropts.h: Likewise.
353 * sunrpc/rpc_thread.c: Likewise.
354 * sysdeps/i386/strpbrk.S: Likewise.
355 * sysdeps/ieee754/k_standard.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
358 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
359 * sysdeps/mach/hurd/profil.c: Likewise.
360 * sysdeps/s390/dl-procinfo.h: Likewise.
361 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
362 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
363 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
364 * sysdeps/x86_64/dl-trampoline.S: Likewise.
365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
366
0186c6e9
OB
3672013-08-30 Ondřej Bílka <neleai@seznam.cz>
368
369 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
371
d4e16af1
OB
3722013-08-29 Ondřej Bílka <neleai@seznam.cz>
373
374 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
375 aix specific files.
376 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
384
88335980
TS
3852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
386 Roland McGrath <roland@hack.frob.com>
387
388 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
389 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
390
ed479b02
ST
3912013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
392
393 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
394 __executable_start symbol instead of _start.
395
f1cc4c86
TS
3962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
397
d821f07c
TS
398 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
399 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
400 Move macros to...
401 * sysdeps/gnu/ldsodefs.h: ... this new file.
402
c54290cf
TS
403 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
404 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
405 instead of ELFOSABI_LINUX.
406
0007fc9b 407 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
408 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
409 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
410 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
411 Likewise.
412 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
413 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
415 Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
417 (ibm_extended_long_double): Add ieee_nan member.
418 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
419 (do_test): New function.
420
f1cc4c86
TS
421 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
422 TEST_TRUNC.
423 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
424 functions, renamed from truncdfsf_test, trunctfsf_test,
425 trunctfdf_test.
426 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
427 functions.
428 (do_test): Run all these.
429
6f65e668
OB
4302013-08-29 Ondřej Bílka <neleai@seznam.cz>
431
432 * argp/argp-help.c: Fix typos.
433 * argp/argp-parse.c: Likewise.
434 * debug/backtracesyms.c: Likewise.
435 * elf/elf.h: Likewise.
436 * malloc/malloc.c: Likewise.
437 * nis/nis_print.c: Likewise.
438 * resolv/res_comp.c: Likewise.
439 * stdlib/stdlib.h: Likewise.
440 * sunrpc/clnt_tcp.c: Likewise.
441 * sunrpc/clnt_udp.c: Likewise.
442 * sunrpc/clnt_unix.c: Likewise.
443 * sysdeps/unix/bsd/ptsname.c: Likewise.
444 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
447 Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
449 Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
451 Likewise.
6f65e668
OB
452 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
453
3a309239
SP
4542013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
455
456 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
458
3b813b29
MF
4592013-08-27 Mike Frysinger <vapier@gentoo.org>
460
461 [BZ #15897]
462 * dlfcn/Makefile (tests): Add bug-dl-leaf.
463 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
464 ($(objpfx)bug-dl-leaf): New rule.
465 ($(objpfx)bug-dl-leaf.so): Likewise.
466 ($(objpfx)bug-dl-leaf.out): Likewise.
467 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
468 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
469 * dlfcn/bug-dl-leaf.c: New test.
470 * dlfcn/bug-dl-leaf-lib.c: Likewise.
471 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
472 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
473 (dlclose): Likewise.
474 (dlmopen): Likewise.
475
8cc3269f
RM
4762013-08-27 Roland McGrath <roland@hack.frob.com>
477
7f9d0034
RM
478 * include/netdb.h [!_ISOMAC]:
479 Don't include <tls.h>.
480 (h_errno, __libc_h_errno): Move declaration and macros out of
481 [_LIBC_REENTRANT].
482
fb431262
RM
483 * include/resolv.h [_RESOLV_H_]:
484 Don't include <tls.h>.
485 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
486 * resolv/res_libc.c: Don't include <tls.h>.
487 (_res): Use __attribute__ ((nocommon)) in place of
488 __attribute__ ((section (".bss"))).
489
bd81123a
RM
490 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
491 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
492
c4e42566
RM
493 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
494
f890a59b
RM
495 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
496 only under [SIOCGIFCONF && SIOCGIFNETMASK].
497
498 * resolv/res_mkquery.c: Include <sys/time.h>.
499
5d1f0a09
RM
500 * inet/ifreq.c: Moved to ...
501 * sysdeps/unix/ifreq.c: ... here.
502 * inet/ifreq.c: New file, true stub version.
503
6fcf28b3
RM
504 * socket/sa_len.c: New file.
505 * socket/Makefile (aux): Add it.
506 * sysdeps/unix/sysv/linux/Makefile
507 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
508 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
509 and #include <socket/sa_len.c>.
510 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
511 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
512
e041fb8b
RM
513 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
514 * bits/socket.h: ... here.
515
8cc3269f
RM
516 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
517 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
518 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
519
5d228a43
AS
5202013-08-27 Andreas Schwab <schwab@suse.de>
521
45b8accc
AS
522 [BZ #15736]
523 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
524 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
525 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
526 * string/test-strcasecmp.c (test_main): Run tests in several
527 locales.
528 * string/test-strncasecmp.c (test_main): Likewise.
529
5d228a43
AS
530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
531 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
532 to __strcasecmp_nonascii and __strncasecmp_nonascii.
533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
534 (__strncasecmp_ssse3) [PIC]: Likewise.
535
59d112a4
RM
5362013-08-26 Roland McGrath <roland@hack.frob.com>
537
53234cc3
RM
538 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
539
59d112a4
RM
540 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
541 instead of explicitly declaring xdecrypt.
542 * nis/nss_nis/nis-publickey.c: Likewise.
543
595aba70
SP
5442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
545
546 [BZ #15890]
547 * nscd/aicache.c: Include res_hconf.h.
548 (addhstaiX): Initialize res_hconf.
549
ffabd393
AS
5502013-08-26 Andreas Schwab <schwab@suse.de>
551
552 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
553 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
554
e0a69f5c
SP
5552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
556
557 * nscd/aicache.c (addhstaiX): Fix indentation.
558
8c12f01d
MF
5592013-08-25 Mike Frysinger <vapier@gentoo.org>
560
561 * configure.ac: Quote $build_pt_chown test.
562 * configure: Regenerated.
563
8fe89494
JM
5642013-08-23 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #15532]
567 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
568 * math/s_cexpf.c (__cexpf): Likewise.
569 * math/s_cexpl.c (__cexpl): Likewise.
570 * math/libm-test.inc (cexp_test_data): Correct expected return
571 value for NaN + i0. Add another test.
572
75b181d6
DM
5732013-08-22 David S. Miller <davem@davemloft.net>
574
575 * po/ca.po: Update Catalan translation from translation project.
936241e4 576 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 577
acd06bb1
JM
5782013-08-21 Joseph Myers <joseph@codesourcery.com>
579
580 [BZ #15797]
581 * math/s_fdim.c (__fdim): Check for infinite arguments if result
582 is infinite, not alongside NaN test.
583 * math/s_fdimf.c (__fdimf): Likewise.
584 * math/s_fdiml.c (__fdiml): Likewise.
585 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
586 errno is unchanged.
587
c0c3f78a
OB
5882013-08-21 Ondřej Bílka <neleai@seznam.cz>
589
590 * argp/argp-help.c: Fix typos.
591 * crypt/speeds.c: Likewise.
592 * csu/check_fds.c: Likewise.
593 * elf/dl-load.c: Likewise.
594 * elf/dl-open.c: Likewise.
595 * elf/reldep3.c: Likewise.
596 * elf/reldep.c: Likewise.
597 * elf/sprof.c: Likewise.
598 * iconv/iconv_charmap.c: Likewise.
599 * iconv/skeleton.c: Likewise.
600 * iconv/strtab.c: Likewise.
601 * io/lockf64.c: Likewise.
602 * libio/libioP.h: Likewise.
603 * resolv/gai_notify.c: Likewise.
604 * resolv/ns_name.c: Likewise.
605 * resolv/ns_samedomain.c: Likewise.
606 * resolv/res_send.c: Likewise.
607 * stdlib/random.c: Likewise.
608 * sunrpc/rpc/xdr.h: Likewise.
609 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
610 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
611 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
612 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
614 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
617 * sysdeps/mach/hurd/check_fds.c: Likewise.
618 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
619 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
624 * sysdeps/pthread/aio_notify.c: Likewise.
625 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
626 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
627 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
628 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
629 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
630
46ed1038
LD
6312013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
632
633 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
634 version if bit_Slow_SSE4_2 is set.
635 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
636 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
637
d400dcac
AZ
6382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639
640 [BZ #15867]
641 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
642 trampoline stack frame information.
643 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
645 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
646 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
647 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
648 * sysdeps/unix/sysv/linux/powerpc/init-first.c
649 (_libc_vdso_platform_setup): Initialize the signal trampolines.
650 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
651 sa_flags value.
652 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
653 interrupting a syscall and set with option SA_SIGINFO.
654
42c8fdd8
JM
6552013-08-20 Joseph Myers <joseph@codesourcery.com>
656
c980f2f4
JM
657 [BZ #15531]
658 * math/s_cproj.c (__cproj): Only return an infinity if one part of
659 argument is infinite.
660 * math/s_cprojf.c (__cprojf): Likewise.
661 * math/s_cprojl.c (__cprojl): Likewise.
662 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
663 * math/libm-test.inc (cproj_test_data): Add more tests.
664
0716c4fc
JM
665 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
666
42c8fdd8
JM
667 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
668 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
669 size. Use __ffs to determine corresponding shift.
670
b31469d0
JM
6712013-08-20 Joseph Myers <joseph@codesourcery.com>
672 Roland McGrath <roland@hack.frob.com>
673
674 * Makefile (INSTALL): Remove trailing blank lines from output of
675 makeinfo.
676
4e39af6e
AK
6772013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
678
679 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
680 Align 32 bit compat elf_greg to 8 bytes.
681
f315524e
AA
6822013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
683
684 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
685
1326ba1a
SP
6862013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
687
688 * string/strcoll_l.c (coll_seq): New structure.
689 (get_next_seq_cached): New function.
690 (get_next_seq): New function.
691 (do_compare): New function.
692 (STRCOLL): Use GNU style definition. Simplify implementation
693 by using get_next_seq, get_next_seq_cached and do_compare.
694
91ce4085
FW
6952013-08-16 Florian Weimer <fweimer@redhat.com>
696
697 [BZ #14699]
698 CVE-2013-4237
699 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
700 member.
701 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
702 member.
703 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
704 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
705 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
706 conditional.
707 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
708 GETDENTS_64BIT_ALIGNED.
709 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
710 * manual/filesys.texi (Reading/Closing Directory): Document
711 ENAMETOOLONG return value of readdir_r. Recommend readdir more
712 strongly.
713 * manual/conf.texi (Limits for Files): Add portability note to
714 NAME_MAX, PATH_MAX.
715 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
716
ca0a6bc4
AS
7172013-08-13 Andreas Schwab <schwab@suse.de>
718
719 [BZ #15749]
720 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
721 of fabs.
722 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
723 LDBL_MAX_EXP >= 16384]: Add tests for it.
724
6c1fd795
DM
7252013-08-12 David S. Miller <davem@davemloft.net>
726
727 * version.h (RELEASE): Set to "development".
728 (VERSION): Set to "2.18.90".
729 * NEWS: Add 2.19 section.
730
31ad488d
DM
7312013-08-03 David S. Miller <davem@davemloft.net>
732
733 * po/ko.po: Update Korean translation from translation project.
734
db24e684
DM
7352013-08-01 David S. Miller <davem@davemloft.net>
736
737 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
738 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
739 Bilka.
740
f723285b
DM
7412013-07-30 David S. Miller <davem@davemloft.net>
742
743 * po/fr.po: Update French translation from translation project.
744
3cbc52db
DM
7452013-07-28 David S. Miller <davem@davemloft.net>
746
30bbc0cc
DM
747 * po/cs.po: Update Czech translation from translation project.
748
3cbc52db
DM
749 * po/sv.po: Update Swedish translation from translation project.
750
d492e6d0
DM
7512013-07-27 David S. Miller <davem@davemloft.net>
752
f1a7f492
DM
753 * po/eo.po: Update Esperanto translation from translation project.
754
90e62a4a
DM
755 * po/vi.po: Update Vietnamese translation from translation project.
756
d492e6d0
DM
757 * po/de.po: Update German translation from translation project.
758
d4baa62d
DM
7592013-07-26 David S. Miller <davem@davemloft.net>
760
641aa7b4
DM
761 * po/bg.po: Update Bulgarian translation from translation project.
762
d4baa62d
DM
763 * po/nl.po: Update Dutch translation from translation project.
764 * po/pl.po: Update Polish translation from translation project.
765 * po/ru.po: Update Russian translation from translation project.
766
61a9dcb9
DM
7672013-07-24 David S. Miller <davem@davemloft.net>
768
769 * po/libc.pot: Update.
770
7b1f8b58
AZ
7712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
772
773 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
774 variable page size.
775 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
777 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
778
a8fc7a03
AK
7792013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
780
781 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
782
e4608715
CD
7832013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
784 Andreas Schwab <schwab@suse.de>
785 Roland McGrath <roland@hack.frob.com>
786 Joseph Myers <joseph@codesourcery.com>
787 Carlos O'Donell <carlos@redhat.com>
788
789 [BZ #15755]
790 * config.h.in: Define HAVE_PT_CHOWN.
791 * config.make.in (build-pt-chown): New variable.
792 * configure.in (--enable-pt_chown): New configure option.
793 * configure: Regenerate.
794 * login/Makefile: Include Makeconfig. Build pt_chown only if
795 build-pt-chown is enabled.
796 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
797 pt_chown to fix pty ownership.
798 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
799 CLOSE_ALL_FDS.
800 * manual/install.texi (Configuring and compiling): Mention
801 --enable-pt_chown. Add @findex for grantpt.
802 * INSTALL: Regenerate.
803
da2d62df
DM
8042013-07-20 David S. Miller <davem@davemloft.net>
805
806 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
807 difference between 32-bit and 64-bit.
808
d7e06450
CD
8092013-07-15 Carlos O'Donell <carlos@redhat.com>
810
811 [BZ #15711]
812 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
813 Avoid system header dependency with -ffreestanding.
814 ($(objpfx)bits/syscall%d): Likewise.
815
f959cfd7
DM
8162013-07-13 David S. Miller <davem@davemloft.net>
817
818 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
819 underflows from atanl/atan2l due to bug 15319.
820 (casinh_test_data): Likewise.
821
c61f8513
DM
8222013-07-07 David S. Miller <davem@davemloft.net>
823
824 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
825
72c90ed0
JA
8262013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
827
828 * sysdeps/i386/fpu/libm-test-ulps: Update.
829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
830
52dfbe13
SP
8312013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
832
833 * configure.in (--enable-lock-elision): Fix message text.
834 * INSTALL: Regenerate.
835 * configure: Regenerate.
836
3f169543
AZ
8372013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
840
521c6785
AJ
8412013-07-03 Andreas Jaeger <aj@suse.de>
842
843 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
844 define.
845 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
846 (ptrace_peeksiginfo_args): Add.
847 (__ptrace_peeksiginfo_flags): Add.
848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
849 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
851
d2cc15cb
AM
8522013-07-03 Allan McRae <allan@archlinux.org>
853
854 * sysdeps/i386/fpu/libm-test-ulps: Update.
855
3aaeeca7
DM
8562013-07-02 David S. Miller <davem@davemloft.net>
857
858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
859
5314ed1a
MT
8602013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
861
862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
863
67338156
JM
8642013-07-02 Joseph Myers <joseph@codesourcery.com>
865
866 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
868
1717da59
AK
8692013-07-02 Andi Kleen <ak@linux.intel.com>
870
871 * config.h.in (ENABLE_LOCK_ELISION): Add.
872 * configure.in (--enable-lock-elision): Add option.
873 * manual/install.texi: Document --enable lock elision.
874 * configure: Regenerate
875 * INSTALL: Regenerate.
876
1c81621c
L
8772013-07-02 H.J. Lu <hongjiu.lu@intel.com>
878
879 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
880 SSE4.2 strcasecmp for libc.a.
881 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
882
77f01ab5
JM
8832013-07-02 Joseph Myers <joseph@codesourcery.com>
884
885 [BZ #13304]
886 * soft-fp/op-common.h (_FP_FMA): New macro.
887 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
888 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
889 (_FP_MUL_MEAT_1_imm): ... here.
890 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
891 (_FP_MUL_MEAT_1_wide): ... here.
892 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
893 (_FP_MUL_MEAT_1_hard): ... here.
894 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
895 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
896 (_FP_MUL_MEAT_2_wide): ... here.
897 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
898 (_FP_MUL_MEAT_2_wide_3mul): ... here.
899 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
900 (_FP_MUL_MEAT_2_gmp): ... here.
901 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
902 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
903 (_FP_MUL_MEAT_4_wide): ... here.
904 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
905 (_FP_MUL_MEAT_4_gmp): ... here.
906 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
907 (_FP_WFRACBITS_DW_S): Likewise.
908 (_FP_WFRACXBITS_DW_S): Likewise.
909 (_FP_HIGHBIT_DW_S): Likewise.
910 (FP_FMA_S): Likewise.
911 (_FP_FRAC_HIGH_DW_S): Likewise.
912 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
913 (_FP_WFRACBITS_DW_D): Likewise.
914 (_FP_WFRACXBITS_DW_D): Likewise.
915 (_FP_HIGHBIT_DW_D): Likewise.
916 (FP_FMA_D): Likewise.
917 (_FP_FRAC_HIGH_DW_D): Likewise.
918 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
919 (_FP_WFRACBITS_DW_E): Likewise.
920 (_FP_WFRACXBITS_DW_E): Likewise.
921 (_FP_HIGHBIT_DW_E): Likewise.
922 (FP_FMA_E): Likewise.
923 (_FP_FRAC_HIGH_DW_E): Likewise.
924 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
925 (_FP_WFRACBITS_DW_Q): Likewise.
926 (_FP_WFRACXBITS_DW_Q): Likewise.
927 (_FP_HIGHBIT_DW_Q): Likewise.
928 (FP_FMA_Q): Likewise.
929 (_FP_FRAC_HIGH_DW_Q): Likewise.
930 * soft-fp/fmasf4.c: New file.
931 * soft-fp/fmadf4.c: Likewise.
932 * soft-fp/fmatf4.c: Likewise.
933
6308fd9a
LD
9342013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
935
936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
937 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
938 Silvermont.
939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
940 macro.
941 (index_Slow_SSE4_2): Likewise.
942 (index_Prefer_PMINUB_for_stringop): Likewise.
943 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
944 bit_Slow_SSE4_2 is set.
945 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
946 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
947
89cd9569
RA
9482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
949
950 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
951 rtld_global._dl_hwcap2.
952 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
953 POWER8.
954 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
955 POWER8 feature descriptions defined in _dl_hwcap2.
956 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
957 string handling for POWER8 feature bits.
958 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
959 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
960 _dl_powerpc_cap_flags.
961 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
962 * sysdeps/powerpc/rtld-global-offsets.sym
963 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
964 _dl_hwcap2 in the rtld_global_ro structure.
965
1ae8bfe0
RA
9662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
967
968 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
969 hardware capabilities in support of AT_HWCAP2.
970 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
971 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
972 GLRO(dl_hwcap2).
973 (_dl_show_auxv): Add support for calling _dl_procinfo to display
974 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
975 explicitly the unknown a_type display mechanism is used.
976 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
977 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
978 struct member.
979 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
980 to macro prototype for AT_HWCAP2 support.
981 * sysdeps/i386/dl-procinfo.h: Likewise.
982 * sysdeps/s390/dl-procinfo.h: Likewise.
983 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
984 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
985 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
986 return -1 for unknown a_type display fallback.
987 * sysdeps/sparc/dl-procinfo.h: Likewise.
988 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
989 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
990
8fbec010
JM
9912013-06-28 Joseph Myers <joseph@codesourcery.com>
992
993 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
994 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
995
0432680e
PY
9962013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
997
998 [BZ #12492]
999 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1000 mprotect making __stack_prot writable.
1001
ce61a2ad
NF
10022013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1003 Joseph Myers <joseph@codesourcery.com>
1004
1005 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1006 as being properly aligned.
1007
f91f1c0f
MR
10082013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1009
3d0f5d0c
MR
1010 * dlfcn/modstatic5.c: New file.
1011 * dlfcn/tststatic5.c: New file.
1012 * dlfcn/Makefile (tests): Add tststatic5.
1013 (tests-static): Likewise.
1014 (modules-names): Add modstatic5.
1015 (tststatic5-ENV): New variable.
1016 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1017
f91f1c0f
MR
1018 [BZ #15022]
1019 * elf/dl-support.c (_dl_main_map): New variable.
1020 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1021 (_dl_nns, _dl_load_adds): Set to 1.
1022 (_dl_initial_searchlist): Refer to _dl_main_map.
1023 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1024 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1025 call to _dl_get_origin.
1026 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1027 around call_map.
1028 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1029 * dlfcn/modstatic3.c: New file.
1030 * dlfcn/tststatic3.c: New file.
1031 * dlfcn/tststatic4.c: New file.
1032 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1033 (tests-static): Likewise.
1034 (modules-names): Add modstatic3.
1035 (tststatic3-ENV, tststatic4-ENV): New variables.
1036 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1037 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1038
cbe7d24b
JM
10392013-06-26 Joseph Myers <joseph@codesourcery.com>
1040
1041 * configure.in (CC): Require GCC version 4.4 or later.
1042 * configure: Regenerated.
1043 * manual/install.texi (Tools for Compilation): Update GCC version
1044 requirement.
1045 * INSTALL: Regenerated.
1046
11b8a0e1
LD
10472013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1048
1049 [BZ #15674]
bb5bb87c
L
1050 * string/test-memcmp.c (check2): New.
1051 (main): Call check2.
1052
11b8a0e1
LD
1053 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1054
b0037103
MR
10552013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1056
1057 [BZ #15022]
1058 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1059 over to...
1060 (dl_open_worker) [!SHARED]: ... here.
1061
c18c701d
RA
10622013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1063
1064 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1065
1d17fa5f
RH
10662013-06-25 Richard Henderson <rth@redhat.com>
1067
1068 * locale/programs/locarchive.c: Include <libc-internal.h>
1069
8fcb833a
JM
10702013-06-25 Joseph Myers <joseph@codesourcery.com>
1071
1072 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1073 trailing whitespace removed.
1074
17db6e8d
MF
10752013-06-24 Mike Frysinger <vapier@gentoo.org>
1076
1077 [BZ #10283]
17db6e8d
MF
1078 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1079 * locale/programs/locarchive.c: Include libc-mmap.h.
1080 (prepare_address_space): Take two new outputs (the mmap base and len).
1081 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1082 values.
1083 (create_archive): Declare new mmap base and len values for
1084 prepare_address_space, and store the result in ah.
1085 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1086 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1087 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1088 Declare new mmap base and len values for
1089 prepare_address_space, and store the result in new_ah.
1090 (open_archive): Declare new mmap base and len values for
1091 prepare_address_space, and store the result in ah.
1092 (close_archive): If ah->mmap_base is not NULL, use that and
1093 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1094 * sysdeps/generic/libc-mmap.h: New file.
1095
d605071e
MF
10962013-06-24 Mike Frysinger <vapier@gentoo.org>
1097
1098 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1099 (ALIGN_UP): Likewise.
1100 (PTR_ALIGN_DOWN): Likewise.
1101 (PTR_ALIGN_UP): Likewise.
1102
2f063a6e
RA
11032013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1106 entry mapped to PPC_PLATFORM_POWER8.
1107 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1108 POWER8.
1109 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1110 (_dl_string_platform): Add case for exporting platform position for
1111 POWER8.
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1113 search path to sysdeps/powerpc/powerpc32/power8 directory.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1115 search path to sysdeps/powerpc/powerpc64/power8 directory.
1116 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1117 power7 directories.
1118 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1119 power7 directories.
1120
a31ee4b3
SP
11212013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
a74ca98f
SP
1123 * INSTALL: Regenerate.
1124
a31ee4b3
SP
1125 * nscd/connections.c (nscd_init): Fix comment.
1126
695c378f
JM
11272013-06-22 Joseph Myers <joseph@codesourcery.com>
1128
d8412221
JM
1129 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1130
695c378f
JM
1131 [BZ #15667]
1132 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1133 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1134
d1d54715
MR
11352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1136
1137 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1138 DL_DST_REQ_STATIC.
1139 (DL_DST_REQ_STATIC): Remove macro.
1140
8fdda7af
JM
11412013-06-21 Joseph Myers <joseph@codesourcery.com>
1142
1143 [BZ #7006]
1144 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1145 with a shift of 0 bits.
1146
f3bc5e5a
MR
11472013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1148
1149 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1150 $(tststatic-ENV).
1151
be09e8c9
KK
11522013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1153
1154 [BZ #15655]
1155 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1156
85c2e611
AZ
11572013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158
1159 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1160 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1161 accepts -fno-tree-loop-distribute-patterns.
1162 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1163 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1164 recursive call.
1165 * string/memset.c (memset): Likewise.
1166 * string/test-memmove.c (simple_memmove): Disable loop transformation
1167 to library calls.
1168 * string/test-memset.c (simple_memset): Likewise.
1169 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1170 * benchtests/bench-memset.c (simple_memset): Likewise.
1171 * configure: Regenerated.
1172
c91e0825
JM
11732013-06-20 Joseph Myers <joseph@codesourcery.com>
1174
b8c792af
JM
1175 * math/test-misc.c (main): Ignore fesetround failure when failures
1176 of subsequent rounding tests would be ignored.
1177
c91e0825
JM
1178 [BZ #15654]
1179 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1180 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1181 * math/fegetenv.c (__fegetenv): Return 0.
1182 * math/fegetexcept.c (fegetexcept): Return 0.
1183 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1184 FE_TONEAREST.
1185 * math/feholdexcpt.c (feholdexcept): Return 0.
1186 * math/fesetenv.c (__fesetenv): Return 0.
1187 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1188 argument FE_TONEAREST.
1189 * math/feupdateenv.c (__feupdateenv): Return 0.
1190 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1191
bfcacbde
RM
11922013-06-18 Roland McGrath <roland@hack.frob.com>
1193
1194 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1195 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1196 ($(objpfx)rtld-%.os rules): Use them.
1197
e55a9b25
AZ
11982013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199
1200 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1201 fields.
1202
346d65b3
RM
12032013-06-17 Roland McGrath <roland@hack.frob.com>
1204
12086fb4
RM
1205 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1206 length of target pattern, then descending length of dependency pattern.
1207 * configure.in (AWK): Require gawk 3.1.2 or newer.
1208 * manual/install.texi (Tools for Compilation): Say that we do.
1209 * configure: Regenerated.
1210
346d65b3
RM
1211 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1212 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1213 * scripts/sysd-rules.awk: ... this new script.
1214 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1215 than a glob-style pattern.
1216
1a846317
JM
12172013-06-17 Joseph Myers <joseph@codesourcery.com>
1218
1219 * math/test-misc.c (main): Do not treat incorrectly rounded
1220 conversions as failure unless ROUNDING_TESTS passes.
1221
8fc75e6f
JM
12222013-06-15 Joseph Myers <joseph@codesourcery.com>
1223
3711a167
JM
1224 [BZ #15631]
1225 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1226 restore exception state around main square root computation, then
1227 check for inexactness explicitly.
1228
8fc75e6f
JM
1229 * math/libm-test.inc (fma_test_data): Add another test.
1230
61dd6208
SP
12312013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1232
adf23d2c
SP
1233 * manual/threads.texi (Non-POSIX Extensions): New document
1234 node. Document pthread_getattr_default_np and
1235 pthread_setattr_default_np.
1236
61dd6208
SP
1237 * Versions.def (libpthread): Add GLIBC_2.18.
1238 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1250 Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1252 Likewise.
1253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1254 Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1256 Likewise.
1257
d086fc7b
LD
12582013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1259
1260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1261 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1262
747ef469
SP
12632013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1264 H.J. Lu <hjl.tools@gmail.com>
1265
1266 [BZ #15627]
1267 * sysdeps/x86_64/rtld-memset.c: Remove file.
1268 * sysdeps/x86_64/rtld-memset.S: New file.
1269
1b2feed2
JM
12702013-06-14 Joseph Myers <joseph@codesourcery.com>
1271
1272 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1273 (test_in_one_mode): Take arguments for whether the rounding mode
1274 is supported for each floating-point type.
1275 (do_test): Pass new arguments to test_in_one_mode using
1276 ROUNDING_TESTS.
1277
a58ad3f8
RM
12782013-06-13 Roland McGrath <roland@hack.frob.com>
1279
1280 * posix/tst-waitid.c (do_test): Distinguish different instances of
1281 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1282 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1283 before entering the kernel for waitpid.
1284
c204ab28
SP
12852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
1287 * NEWS: Fix note on clock function precision. Text by Roland
1288 McGrath.
1289
f4a29fba
RM
12902013-06-13 Roland McGrath <roland@hack.frob.com>
1291
1292 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1293 it into place only when and if the sanity check passes.
1294
1f24b9ad
JM
12952013-06-13 Joseph Myers <joseph@codesourcery.com>
1296
1297 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1298 output for whether conversion result is exact. Take argument
1299 indicating whether type is IBM long double.
1300 (round_for_all): Change need_exact field to ibm_ld.
1301 * stdlib/tst-strtod-round.c (struct exactness): New type.
1302 (struct test): Change bool ld_ok field to struct exactness exact.
1303 (TEST): Update all definitions for change to field.
1304 (tests): Regenerate array contents.
1305 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1306 field value. Check for IBM long double here.
1307 (do_test): Update calls to test_in_one_mode.
1308
58206c68
SP
13092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
1311 [BZ #12515]
1312 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1313 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1314
2d6f4c5b 13152013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1316
1317 [BZ #15605]
1318 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1319 generated by the compiler on loop optimizations.
1320 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1321 general definitions.
1322
94f2c076
JM
13232013-06-12 Joseph Myers <joseph@codesourcery.com>
1324
1325 * math/bug-nextafter.c: Include <math-tests.h>.
1326 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1327 the relevant type.
1328 * math/bug-nexttoward.c: Include <math-tests.h>.
1329 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1330 the relevant type.
1331 * math/test-misc.c: Include <math-tests.h>.
1332 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1333 the relevant type.
1334
e0e50a0a
AJ
13352013-06-12 Andreas Jaeger <aj@suse.de>
1336
1337 * po/ia.po: Update Interlingua translation from translation
1338 project.
1339
25061094
SP
13402013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1341
1342 * include/fenv.h: Include stdbool.h.
1343 (struct rm_ctx): New structure.
1344 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1345 Define macro.
1346 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1347 (SET_RESTORE_ROUNDF): Likewise.
1348 (SET_RESTORE_ROUNDL): Likewise.
1349 (SET_RESTORE_ROUND_NOEX): Likewise.
1350 (SET_RESTORE_ROUND_NOEXF): Likewise.
1351 (SET_RESTORE_ROUND_NOEXL): Likewise.
1352 (SET_RESTORE_ROUND_53BIT): Likewise.
1353 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1354 (libc_feresetround_noexf_ctx): Likewise.
1355 (libc_feresetround_noexl_ctx): Likewise.
1356 (libc_feholdsetround_53bit_ctx): Likewise.
1357 (libc_feresetround_53bit_ctx): Likewise.
1358 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1359 (libc_feholdexcept_setround_sse_ctx): New function.
1360 (libc_fesetenv_sse_ctx): Likewise.
1361 (libc_feupdateenv_sse_ctx): Likewise.
1362 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1363 (libc_feholdexcept_setround_387_ctx): Likewise.
1364 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1365 (libc_feholdsetround_387_prec_ctx): Likewise.
1366 (libc_feholdsetround_387_ctx): Likewise.
1367 (libc_feholdsetround_387_53bit_ctx): Likewise.
1368 (libc_feholdsetround_sse_ctx): Likewise.
1369 (libc_feresetround_sse_ctx): Likewise.
1370 (libc_feresetround_387_ctx): Likewise.
1371 (libc_feupdateenv_387_ctx): Likewise.
1372 (libc_feholdexcept_setroundf_ctx): Define macro.
1373 (libc_fesetenvf_ctx): Likewise.
1374 (libc_feupdateenvf_ctx): Likewise.
1375 (libc_feholdsetroundf_ctx): Likewise.
1376 (libc_feresetroundf_ctx): Likewise.
1377 (libc_feholdexcept_setround_ctx): Likewise.
1378 (libc_fesetenv_ctx): Likewise.
1379 (libc_feupdateenv_ctx): Likewise.
1380 (libc_feholdsetround_ctx): Likewise.
1381 (libc_feresetround_ctx): Likewise.
1382 (libc_feholdexcept_setroundl_ctx): Likewise.
1383 (libc_feupdateenvl_ctx): Likewise.
1384 (libc_feholdsetroundl_ctx): Likewise.
1385 (libc_feresetroundl_ctx): Likewise.
1386 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1387 (libc_feresetround_53bit_ctx): Likewise.
1388
59b30555
SP
13892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1390
1391 * locale/iso-639.def: Convert to UTF-8.
1392
f1d73d30
JM
13932013-06-11 Joseph Myers <joseph@codesourcery.com>
1394
1395 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1396 (EXCEPTION_TESTS_double): Likewise.
1397 (EXCEPTION_TESTS_long_double): Likewise.
1398 (EXCEPTION_TESTS): Likewise.
1399 * math/libm-test.inc (test_exceptions): Only test exceptions if
1400 EXCEPTION_TESTS (FLOAT).
1401
94aca5e7
SP
14022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 * benchtests/Makefile (string-bench): Add strcpy_chk and
1405 stpcpy_chk.
1406 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1407 * benchtests/bench-stpcpy_chk.c: New file.
1408 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1409 * benchtests/bench-strcpy_chk.c: New file.
1410 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1411 code.
1412 (do_test): Likewise.
1413
fac0c5f2
RA
14142013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1415
1416 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1417 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1418 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1419 with tabs where appropriate.
1420 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1421 dl-procinfo.h.
1422 [PPC_PLATFORM_PPC440]: Likewise.
1423 [PPC_PLATFORM_PPC464]: Likewise.
1424 [PPC_PLATFORM_PPC476]: Likewise.
1425 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1426 ppc464, and ppc476 platform strings merging from ports/
1427 dl-procinfo.h.
1428
f22bc486
AS
14292013-06-11 Andreas Schwab <schwab@suse.de>
1430
1431 [BZ #14991]
1432 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1433 (from_ucs4_idx): Regenerate.
1434 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1435 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1436 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1437 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1438 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1439 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1440 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1441 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1442 from FROM_LOOP and TO_LOOP specific macros.
1443 (BODY): Handle combining characters.
1444 * iconvdata/BIG5HKSCS.irreversible: Update.
1445 * iconvdata/BIG5HKSCS.precomposed: New file.
1446 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1447 characters.
1448 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1449
c1f75dc3
SP
14502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1451
4eacded2
SP
1452 * include/sys/time.h: Fix indentation and add copyright header.
1453
fec799f8
SP
1454 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1455 (do_test): Likewise.
1456 * string/test-memchr.c (do_one_test): Likewise.
1457 (do_test): Likewise.
1458 * string/test-memcmp.c (do_one_test): Likewise.
1459 (do_test): Likewise.
1460 * string/test-memcpy.c (do_one_test): Likewise.
1461 (do_test): Likewise.
1462 * string/test-memmem.c (do_one_test): Likewise.
1463 (do_test): Likewise.
1464 (do_random_tests): Likewise.
1465 * string/test-memmove.c (do_one_test): Likewise.
1466 (do_test): Likewise.
1467 * string/test-memset.c (do_one_test): Likewise.
1468 (do_test): Likewise.
1469 * string/test-rawmemchr.c (do_one_test): Likewise.
1470 (do_test): Likewise.
1471 * string/test-strcasecmp.c (do_one_test): Likewise.
1472 (do_test): Likewise.
1473 * string/test-strcasestr.c (do_one_test): Likewise.
1474 (do_test): Likewise.
1475 * string/test-strcat.c (do_one_test): Likewise.
1476 (do_test): Likewise.
1477 * string/test-strchr.c (do_one_test): Likewise.
1478 (do_test): Likewise.
1479 * string/test-strcmp.c (do_one_test): Likewise.
1480 (do_test): Likewise.
1481 * string/test-strcpy.c (do_one_test): Likewise.
1482 (do_test): Likewise.
1483 * string/test-string.h: Likewise.
1484 (test_init): Likewise.
1485 * string/test-strlen.c (do_one_test): Likewise.
1486 (do_test): Likewise.
1487 * string/test-strncasecmp.c (do_one_test): Likewise.
1488 (do_test): Likewise.
1489 * string/test-strncat.c (do_one_test): Likewise.
1490 (do_test): Likewise.
1491 * string/test-strncmp.c (do_one_test): Likewise.
1492 (do_test_limit): Likewise.
1493 (do_test): Likewise.
1494 * string/test-strncpy.c (do_one_test): Likewise.
1495 (do_test): Likewise.
1496 * string/test-strnlen.c (do_one_test): Likewise.
1497 (do_test): Likewise.
1498 * string/test-strpbrk.c (do_one_test): Likewise.
1499 (do_test): Likewise.
1500 * string/test-strrchr.c (do_one_test): Likewise.
1501 (do_test): Likewise.
1502 * string/test-strspn.c (do_one_test): Likewise.
1503 (do_test): Likewise.
1504 * string/test-strstr.c (do_one_test): Likewise.
1505 (do_test): Likewise.
1506
97020474
SP
1507 * benchtests/Makefile (string-bench): Add string benchmarks.
1508 * benchtests/bench-bcopy-ifunc.c: New file.
1509 * benchtests/bench-bcopy.c: New file.
1510 * benchtests/bench-bzero-ifunc.c: New file.
1511 * benchtests/bench-bzero.c: New file.
1512 * benchtests/bench-memccpy-ifunc.c: New file.
1513 * benchtests/bench-memccpy.c: New file.
1514 * benchtests/bench-memchr-ifunc.c: New file.
1515 * benchtests/bench-memchr.c: New file.
1516 * benchtests/bench-memcmp-ifunc.c: New file.
1517 * benchtests/bench-memcmp.c: New file.
1518 * benchtests/bench-memmem-ifunc.c: New file.
1519 * benchtests/bench-memmem.c: New file.
1520 * benchtests/bench-memmove-ifunc.c: New file.
1521 * benchtests/bench-memmove.c: New file.
1522 * benchtests/bench-mempcpy-ifunc.c: New file.
1523 * benchtests/bench-mempcpy.c: New file.
1524 * benchtests/bench-memset-ifunc.c: New file.
1525 * benchtests/bench-memset.c: New file.
1526 * benchtests/bench-rawmemchr-ifunc.c: New file.
1527 * benchtests/bench-rawmemchr.c: New file.
1528 * benchtests/bench-stpcpy-ifunc.c: New file.
1529 * benchtests/bench-stpcpy.c: New file.
1530 * benchtests/bench-stpncpy-ifunc.c: New file.
1531 * benchtests/bench-stpncpy.c: New file.
1532 * benchtests/bench-strcasecmp-ifunc.c: New file.
1533 * benchtests/bench-strcasecmp.c: New file.
1534 * benchtests/bench-strcasestr-ifunc.c: New file.
1535 * benchtests/bench-strcasestr.c: New file.
1536 * benchtests/bench-strcat-ifunc.c: New file.
1537 * benchtests/bench-strcat.c: New file.
1538 * benchtests/bench-strchr-ifunc.c: New file.
1539 * benchtests/bench-strchr.c: New file.
1540 * benchtests/bench-strchrnul-ifunc.c: New file.
1541 * benchtests/bench-strchrnul.c: New file.
1542 * benchtests/bench-strcmp-ifunc.c: New file.
1543 * benchtests/bench-strcmp.c: New file.
1544 * benchtests/bench-strcpy-ifunc.c: New file.
1545 * benchtests/bench-strcpy.c: New file.
1546 * benchtests/bench-strcspn-ifunc.c: New file.
1547 * benchtests/bench-strcspn.c: New file.
1548 * benchtests/bench-strlen-ifunc.c: New file.
1549 * benchtests/bench-strlen.c: New file.
1550 * benchtests/bench-strncasecmp-ifunc.c: New file.
1551 * benchtests/bench-strncasecmp.c: New file.
1552 * benchtests/bench-strncat-ifunc.c: New file.
1553 * benchtests/bench-strncat.c: New file.
1554 * benchtests/bench-strncmp-ifunc.c: New file.
1555 * benchtests/bench-strncmp.c: New file.
1556 * benchtests/bench-strncpy-ifunc.c: New file.
1557 * benchtests/bench-strncpy.c: New file.
1558 * benchtests/bench-strnlen-ifunc.c: New file.
1559 * benchtests/bench-strnlen.c: New file.
1560 * benchtests/bench-strpbrk-ifunc.c: New file.
1561 * benchtests/bench-strpbrk.c: New file.
1562 * benchtests/bench-strrchr-ifunc.c: New file.
1563 * benchtests/bench-strrchr.c: New file.
1564 * benchtests/bench-strspn-ifunc.c: New file.
1565 * benchtests/bench-strspn.c: New file.
1566 * benchtests/bench-strstr-ifunc.c: New file.
1567 * benchtests/bench-strstr.c: New file.
1568
c1f75dc3
SP
1569 * benchtests/Makefile: Disable parallel execution of targets.
1570 (string-bench): Add memcpy.
1571 (benchset): New variable to store a list of benchmark sets.
1572 (bench-func): Renamed from bench.
1573 (bench-set): New target.
1574 (bench): Depend on bench-func and bench-set.
1575 * benchtests/README: Add section on benchmark sets.
1576 * benchtests/bench-memcpy-ifunc.c: New file.
1577 * benchtests/bench-memcpy.c: New file.
1578 * benchtests/bench-string.h: New file.
1579
50fd745b
AS
15802013-06-11 Andreas Schwab <schwab@suse.de>
1581
1582 [BZ #15577]
1583 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1584 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1585 values in the triple.
1586 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1587 terminator in the group key.
1588
3ee7e9fe
AJ
15892013-06-11 Andreas Jaeger <aj@suse.de>
1590
1591 * po/zh_TW.po: Update Chinese (traditional) translation from
1592 translation project.
1593
89fb6835
SP
15942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1597 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1598 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1600 (clock_getcpuclockid): Likewise.
1601 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1602 Add weak_alias and libc_hidden_def.
1603 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1604 * rt/clock_gettime.c (clock_gettime): Rename to
1605 __clock_gettime. Add weak_alias and libc_hidden_def.
1606 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1607 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1608 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1609 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1610 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1611 Likewise.
1612 * rt/clock_settime.c (clock_settime): Rename to
1613 __clock_settime. Add weak_alias and libc_hidden_def.
1614 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1615
0efa6f8b
JM
16162013-06-10 Joseph Myers <joseph@codesourcery.com>
1617
b8c61b4b
JM
1618 * mach/err_boot.sub: Remove trailing whitespace.
1619 * mach/err_ipc.sub: Likewise.
1620 * mach/err_mach.sub: Likewise.
1621
0efa6f8b
JM
1622 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1623 (ROUNDING_TESTS_double): Likewise.
1624 (ROUNDING_TESTS_long_double): Likewise.
1625 (ROUNDING_TESTS): Likewise.
1626 * math/libm-test.inc: Include <math-tests.h>.
1627 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1628 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1629 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1630 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1631
50b818bf
SP
16322013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1633
1634 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1635 of assigning.
1636
60d2f8f3
JM
16372013-06-08 Joseph Myers <joseph@codesourcery.com>
1638
4902d2c3
JM
1639 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1640 otherwise empty TRANS lines.
1641 * sysdeps/gnu/errlist.c: Regenerated.
1642
60d2f8f3
JM
1643 * catgets/gencat.c (error_print): Use (void) in function
1644 definition.
1645 * crypt/crypt_util.c (__init_des): Likewise.
1646 * crypt/speeds.c (Stop): Likewise.
1647 (main): Likewise.
1648 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1649 * inet/ruserpass.c (token): Likewise.
1650 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1651 * intl/localealias.c (extend_alias_table): Likewise.
1652 * intl/plural-exp.c (init_germanic_plural): Likewise.
1653 * libio/fcloseall.c (__fcloseall): Likewise.
1654 * libio/genops.c (_IO_flush_all): Likewise.
1655 (_IO_flush_all_linebuffered): Likewise.
1656 (_IO_cleanup): Likewise.
1657 (_IO_iter_begin): Likewise.
1658 (_IO_iter_end): Likewise.
1659 (_IO_list_lock): Likewise.
1660 (_IO_list_unlock): Likewise.
1661 (_IO_list_resetlock): Likewise.
1662 * libio/getchar.c (getchar): Likewise.
1663 * libio/getchar_u.c (getchar_unlocked): Likewise.
1664 * libio/getwchar.c (getwchar): Likewise.
1665 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1666 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1667 * login/getpt.c (__getpt): Likewise.
1668 * login/tst-utmp.c (main): Likewise.
1669 * malloc/hooks.c (__malloc_check_init): Likewise.
1670 * malloc/malloc.c (__malloc_stats): Likewise.
1671 * malloc/mtrace.c (tr_break): Likewise.
1672 (mtrace): Likewise.
1673 (muntrace): Likewise.
1674 * misc/fstab.c (endfsent): Likewise.
1675 * misc/getclktck.c (__getclktck): Likewise.
1676 * misc/getdtsz.c (__getdtablesize): Likewise.
1677 * misc/gethostid.c (gethostid): Likewise.
1678 * misc/getpagesize.c (__getpagesize): Likewise.
1679 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1680 (__get_nprocs): Likewise.
1681 (__get_phys_pages): Likewise.
1682 (__get_avphys_pages): Likewise.
1683 * misc/getttyent.c (getttyent): Likewise.
1684 (setttyent): Likewise.
1685 (endttyent): Likewise.
1686 * misc/getusershell.c (getusershell): Likewise.
1687 (endusershell): Likewise.
1688 (setusershell): Likewise.
1689 (initshells): Likewise.
1690 * misc/hsearch.c (__hdestroy): Likewise.
1691 * misc/sync.c (sync): Likewise.
1692 * misc/syslog.c (closelog_internal): Likewise.
1693 (closelog): Likewise.
1694 * misc/ttyslot.c (ttyslot): Likewise.
1695 * misc/vhangup.c (vhangup): Likewise.
1696 * posix/fork.c (__fork): Likewise.
1697 * posix/getegid.c (__getegid): Likewise.
1698 * posix/geteuid.c (__geteuid): Likewise.
1699 * posix/getgid.c (__getgid): Likewise.
1700 * posix/getpid.c (__getpid): Likewise.
1701 * posix/getppid.c (__getppid): Likewise.
1702 * posix/getuid.c (__getuid): Likewise.
1703 * posix/pause.c (pause): Likewise.
1704 * posix/setpgrp.c (setpgrp): Likewise.
1705 * posix/setsid.c (__setsid): Likewise.
1706 * posix/test-vfork.c (noop): Likewise.
1707 * resolv/gethnamaddr.c (_endhtent): Likewise.
1708 (_gethtent): Likewise.
1709 (ht_endhostent): Likewise.
1710 (gethostent): Likewise.
1711 (dns_service): Likewise.
1712 * stdlib/drand48.c (drand48): Likewise.
1713 * stdlib/lrand48.c (lrand48): Likewise.
1714 * stdlib/mrand48.c (mrand48): Likewise.
1715 * stdlib/rand.c (rand): Likewise.
1716 * stdlib/random.c (__random): Likewise.
1717 * stdlib/setenv.c (clearenv): Likewise.
1718 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1719 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1720 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1721 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1722 (__get_nprocs): Likewise.
1723 (__get_phys_pages): Likewise.
1724 (__get_avphys_pages): Likewise.
1725 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1726 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1727 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1728 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1729 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1730 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1731 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1732 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1733 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1734 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1735 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1736 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1737 * sysdeps/posix/clock.c (clock): Likewise.
1738 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1739 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1740 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1741 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1742 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1744 (__get_nprocs_conf): Likewise.
1745 (__get_phys_pages): Likewise.
1746 (__get_avphys_pages): Likewise.
1747 * time/clock.c (clock): Likewise.
1748 * time/tzset.c (__tzname_max): Likewise.
1749
2e09a79a
JM
17502013-06-07 Joseph Myers <joseph@codesourcery.com>
1751
1752 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1753 (__bswap_32): Do not use "register".
1754 * crypt/crypt.c (_ufc_doit_r): Likewise.
1755 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1756 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1757 * gmon/gmon.c (__monstartup): Likewise.
1758 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1759 * hurd/hurdmalloc.c (more_memory): Likewise.
1760 (malloc): Likewise.
1761 (free): Likewise.
1762 (realloc): Likewise.
1763 (malloc_fork_prepare): Likewise.
1764 (malloc_fork_parent): Likewise.
1765 (malloc_fork_child): Likewise.
1766 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1767 (_svcauth_des): Likewise.
1768 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1769 * inet/inet_net.c (inet_network): Likewise.
1770 * inet/inet_netof.c (inet_netof): Likewise.
1771 * inet/rcmd.c (__validuser2_sa): Likewise.
1772 * io/fts.c (fts_open): Likewise.
1773 (fts_load): Likewise.
1774 (fts_close): Likewise.
1775 (fts_read): Likewise.
1776 (fts_children): Likewise.
1777 (fts_build): Likewise.
1778 (fts_stat): Likewise.
1779 (fts_sort): Likewise.
1780 (fts_alloc): Likewise.
1781 (fts_lfree): Likewise.
1782 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1783 (_IO_file_xsgetn): Likewise.
1784 (_IO_file_xsgetn_mmap): Likewise.
1785 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1786 (_IO_cookie_write): Likewise.
1787 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1788 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1789 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1790 * malloc/obstack.c (_obstack_begin): Likewise.
1791 (_obstack_begin_1): Likewise.
1792 (_obstack_newchunk): Likewise.
1793 (_obstack_allocated_p): Likewise.
1794 (obstack_free): Likewise.
1795 (_obstack_memory_used): Likewise.
1796 * misc/getttyent.c (getttynam): Likewise.
1797 (getttyent): Likewise.
1798 (skip): Likewise.
1799 (value): Likewise.
1800 * misc/getusershell.c (initshells): Likewise.
1801 * misc/syslog.c (__vsyslog_chk): Likewise.
1802 * misc/ttyslot.c (ttyslot): Likewise.
1803 * nis/nis_hash.c (__nis_hash): Likewise.
1804 * posix/fnmatch_loop.c (FCT): Likewise.
1805 * posix/getconf.c (print_all): Likewise.
1806 (main): Likewise.
1807 * posix/getopt.c (exchange): Likewise.
1808 * posix/glob.c (globfree): Likewise.
1809 (prefix_array): Likewise.
1810 (__glob_pattern_type): Likewise.
1811 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1812 (NS_GET32): Likewise.
1813 (NS_PUT16): Likewise.
1814 (NS_PUT32): Likewise.
1815 * resolv/gethnamaddr.c (getanswer): Likewise.
1816 (gethostbyname2): Likewise.
1817 (gethostbyaddr): Likewise.
1818 (_gethtent): Likewise.
1819 (_gethtbyname2): Likewise.
1820 (_gethtbyaddr): Likewise.
1821 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1822 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1823 * resolv/res_init.c (__res_vinit): Likewise.
1824 (net_mask): Likewise.
1825 * resolv/res_mkquery.c (outchar): Likewise.
1826 (PRINT): Likewise.
1827 * stdio-common/printf_fp.c (outchar): Likewise.
1828 (PRINT): Likewise.
1829 * stdio-common/printf_fphex.c (outchar): Likewise.
1830 (PRINT): Likewise.
1831 * stdio-common/printf_size.c (outchar): Likewise.
1832 (PRINT): Likewise.
1833 * stdio-common/test_rdwr.c (main): Likewise.
1834 * stdio-common/tfformat.c (matches): Likewise.
1835 * stdio-common/vfprintf.c (outchar): Likewise.
1836 (printf_unknown): Likewise.
1837 (buffered_vfprintf): Likewise.
1838 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1839 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1840 (ReadFile): Likewise.
1841 * stdlib/qsort.c (SWAP): Likewise.
1842 (_quicksort): Likewise.
1843 * stdlib/setenv.c (__add_to_environ): Likewise.
1844 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1845 * stdlib/strtol_l.c (__strtol_l): Likewise.
1846 * stdlib/tst-strtod.c (main): Likewise.
1847 * stdlib/tst-strtol.c (main): Likewise.
1848 * stdlib/tst-strtoll.c (main): Likewise.
1849 * string/bits/string2.h (__strcmp_cc): Likewise.
1850 (__strcmp_cg): Likewise.
1851 (__strcspn_c1): Likewise.
1852 (__strcspn_c2): Likewise.
1853 (__strcspn_c3): Likewise.
1854 (__strspn_c1): Likewise.
1855 (__strspn_c2): Likewise.
1856 (__strspn_c3): Likewise.
1857 (__strsep_1c): Likewise.
1858 (__strsep_2c): Likewise.
1859 (__strsep_3c): Likewise.
1860 * string/memccpy.c (__memccpy): Likewise.
1861 * string/stpcpy.c (__stpcpy): Likewise.
1862 * string/strcmp.c (strcmp): Likewise.
1863 * string/strrchr.c (strrchr): Likewise.
1864 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1865 Likewise.
1866 * sysdeps/mach/hurd/getcwd.c
1867 (_hurd_canonicalize_directory_name_internal): Likewise.
1868 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1869 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1870 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1871 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1872 Likewise, in both definitions.
1873 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1874 definitions.
1875 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1876 64] (__bswap_64): Likewise.
1877 * time/test_time.c (main): Likewise.
1878 * time/tzfile.c (__tzfile_read): Likewise.
1879 (__tzfile_compute): Likewise.
1880 * time/tzset.c (__tzset_parse_tz): Likewise.
1881 (tzset_internal): Likewise.
1882 (compute_change): Likewise.
1883 * wcsmbs/wcscat.c (__wcscat): Likewise.
1884 * wcsmbs/wcschr.c (wcschr): Likewise.
1885 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1886 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1887 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1888 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1889 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1890 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1891 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1892 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1893 * wcsmbs/wmemset.c (wmemset): Likewise.
1894
9e54314b
JM
18952013-06-06 Joseph Myers <joseph@codesourcery.com>
1896
1897 * scripts/config.guess: Update to version 2013-05-16.
1898 * scripts/config.sub: Update to version 2013-04-24.
1899 * scripts/install-sh: Update to version 2011-11-20.07.
1900 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1901 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1902
350635a5
OB
19032013-06-06 Ondřej Bílka <neleai@seznam.cz>
1904
1905 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1906 * elf/sln.c: Likewise.
1907 * hurd/hurd/ioctl.h: Likewise.
1908 * hurd/hurdmalloc.c: Likewise.
1909 * hurd/xattr.c: Likewise.
1910 * include/shlib-compat.h: Likewise.
1911 * inet/ruserpass.c: Likewise.
1912 * libio/iofgets_u.c: Likewise.
1913 * libio/iofgetws_u.c: Likewise.
1914 * locale/programs/ld-identification.c: Likewise.
1915 * locale/programs/ld-time.c: Likewise.
1916 * mach/msg-destroy.c: Likewise.
1917 * nss/nss_files/files-netgrp.c: Likewise.
1918 * resolv/res_data.c: Likewise.
1919 * soft-fp/op-1.h: Likewise.
1920 * soft-fp/op-2.h: Likewise.
1921 * soft-fp/op-4.h: Likewise.
1922 * soft-fp/op-common.h: Likewise.
1923 * stdio-common/printf_fphex.c: Likewise.
1924 * stdlib/strtod_l.c: Likewise.
1925 * sunrpc/rpc/clnt.h: Likewise.
1926 * sysdeps/generic/framestate.c: Likewise.
1927 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1928 * sysdeps/i386/bsd-setjmp.S: Likewise.
1929 * sysdeps/i386/__longjmp.S: Likewise.
1930 * sysdeps/i386/setjmp.S: Likewise.
1931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1933 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1949 * sysdeps/ieee754/support.c: Likewise.
1950 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1951 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1952 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1953 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1954 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1955 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1956 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1957 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1958 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1959 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1960 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1961 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1962 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1963 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1964 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1965 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1966 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1968
44a988af
OB
19692013-06-05 Ondřej Bílka <neleai@seznam.cz>
1970
25506f09 1971 * posix/transbug.c: Remove executable mode.
44a988af 1972
9c84384c
JM
19732013-06-05 Joseph Myers <joseph@codesourcery.com>
1974
1975 * crypt/speeds.c: Remove trailing whitespace.
1976 * dlfcn/default.c: Likewise.
1977 * elf/ifuncdep2.c: Likewise.
1978 * elf/ifuncmain1.c: Likewise.
1979 * elf/ifuncmain1vis.c: Likewise.
1980 * elf/testobj.h: Likewise.
1981 * elf/tst-stackguard1.c: Likewise.
1982 * gmon/sys/gmon.h: Likewise.
1983 * hurd/hurdmsg.c: Likewise.
1984 * hurd/new-fd.c: Likewise.
1985 * hurd/ports-get.c: Likewise.
1986 * iconvdata/ibm1008_420.c: Likewise.
1987 * inet/tst-getni1.c: Likewise.
1988 * inet/tst-getni2.c: Likewise.
1989 * libio/ioungetc.c: Likewise.
1990 * libio/wfiledoalloc.c: Likewise.
1991 * manual/libm-err-tab.pl: Likewise.
1992 * math/w_dremf.c: Likewise.
1993 * misc/ftruncate.c: Likewise.
1994 * posix/bug-glob2.c: Likewise.
1995 * posix/tst-pcre.c: Likewise.
1996 * posix/wait4.c: Likewise.
1997 * resolv/README: Likewise.
1998 * resolv/res_debug.h: Likewise.
1999 * resolv/tst-inet_ntop.c: Likewise.
2000 * setjmp/bug269-setjmp.c: Likewise.
2001 * soft-fp/extended.h: Likewise.
2002 * soft-fp/op-1.h: Likewise.
2003 * soft-fp/op-2.h: Likewise.
2004 * soft-fp/op-4.h: Likewise.
2005 * soft-fp/op-8.h: Likewise.
2006 * soft-fp/testit.c: Likewise.
2007 * stdio-common/bug16.c: Likewise.
2008 * stdlib/random.c: Likewise.
2009 * sunrpc/rpcsvc/rquota.x: Likewise.
2010 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2011 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2013 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2039 * sysdeps/ieee754/s_lib_version.c: Likewise.
2040 * sysdeps/mach/hurd/check_fds.c: Likewise.
2041 * sysdeps/mach/hurd/getsockname.c: Likewise.
2042 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2043 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2044 * sysdeps/powerpc/bits/link.h: Likewise.
2045 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2046 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2047 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2048 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2049 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2050 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2051 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2052 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2053 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2054 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2057 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2058 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2059 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2060 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2066 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2067 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2068 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2069 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2072 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2077 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2078 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2079 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2086 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2087 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2089 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2092 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2093 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2097 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2100 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2101 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2102 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2104 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2109 * sysdeps/powerpc/sysdep.h: Likewise.
2110 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2111 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2112 * sysdeps/sh/dl-trampoline.S: Likewise.
2113 * sysdeps/sh/memset.S: Likewise.
2114 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2115 * sysdeps/sh/strlen.S: Likewise.
2116 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2117 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2118 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2119 * sysdeps/sparc/sparc32/rem.S: Likewise.
2120 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2121 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2122 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2123 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2124 * sysdeps/sparc/sparc32/urem.S: Likewise.
2125 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2126 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2127 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2128 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2129 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2130 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2131 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2132 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2133 * sysdeps/unix/bsd/times.c: Likewise.
2134 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2135 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2141 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2143 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2144 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2145 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2146 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2147 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2148 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2149 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2151 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2152 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2153 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2154 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2155 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2156 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2157 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2158 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2159 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2160 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2162 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2163 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2164 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2165 * sysdeps/x86_64/strcspn.S: Likewise.
2166
869378a5
RA
21672013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2168
2169 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2170 generated file. Regenerate properly from gen-translit.pl.
2171 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2172 locale/C-translit.h.
2173
840e2943
AS
21742013-06-05 Andreas Schwab <schwab@suse.de>
2175
2176 [BZ #15100]
2177 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2178 week as 6 instead of -1.
2179 * time/tst-strptime.c (day_tests): Add test case.
2180
4c60cb0c
SP
21812013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2182
2183 * sysdeps/generic/math_private.h
2184 (libc_feholdexcept_setround_53bit): Replace with
2185 libc_feholdsetround_53bit.
2186 (libc_feupdateenv_53bit): Replace with
2187 libc_feresetround_53bit.
2188 (SET_RESTORE_ROUND_53BIT): Adjust.
2189
d180203e
SP
21902013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2191
96df079a
SP
2192 * string/test-strchrnul.c: Add copyright header.
2193
d180203e
SP
2194 * posix/tst-getaddrinfo4.c: Increase test timeout.
2195
8b0ccb2d
CD
21962013-06-03 Carlos O'Donell <carlos@redhat.com>
2197
2198 [BZ #15536]
2199 * math/libm-test.inc (MAX_EXP): Remove
2200 (MIN_EXP): Define.
2201 (ulp): Use MIN_EXP - MANT_DIG.
2202 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2203
3b3c4d40
CD
22042013-05-31 Carlos O'Donell <carlos@redhat.com>
2205
2206 * po/be.po: Revert last change.
2207 * po/zh_CN.po: Likewise.
2208 * po/header.pot: Likewise.
2209
fab7ce3f
JM
22102013-05-31 Joseph Myers <joseph@codesourcery.com>
2211
2212 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2213 link-libc-deps to empty as target-specific variable.
2214 * Makerules (link-libc-args): New variable.
2215 (libc-for-link): Likewise.
2216 (link-libc-deps): Likewise.
2217 (lib%.so): Depend on $(link-libc-deps). Link with
2218 $(link-libc-args).
2219 (build-module): Link with $(link-libc-args).
2220 (build-module-asneeded): Likewise.
2221 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2222 list of objects.
2223 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2224 target-specific variable.
2225 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2226 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2227 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2228 libc.
2229 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2230 libc and ld.so.
2231 ($(objpfx)libpcprofile.so): Likewise.
2232 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2233 libc_nonshared.a.
2234 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2235 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2236 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2237 $(link-libc-deps).
2238 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2239 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2240 * login/Makefile ($(objpfx)libutil.so): Likewise.
2241 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2242 * math/Makefile ($(objpfx)libm.so): Likewise.
2243 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2244 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2245 variable instead of depending directly on libc.
2246 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2247 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2248 $(link-libc-deps).
2249 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2250 libc.
2251 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2252 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2253 ($(objpfx)libanl.so): Likewise.
2254 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2255 ld.so.
2256 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2257 $(link-libc-deps).
2258 * sysdeps/i386/fpu/Makefile: Remove file.
2259 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2260 ($(objpfx)libm.so): Remove dependency on ld.so.
2261
eca5920c
PF
22622013-05-30 Patsy Franklin <pfrankli@redhat.com>
2263
2264 [BZ # 15553]
2265 * nis/yp_xdr.c (XDRMAXNAME): Define.
2266 (XDRMAXRECORD): Define.
2267 (xdr_domainname): Use XDRMAXNAME.
2268 (xdr_mapname): Likewise.
2269 (xdr_peername): Likewise.
2270 (xdr_keydat): Use XDRMAXRECORD.
2271 (xdr_valdat): Likewise.
2272
22732013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2274
2275 [BZ #14256]
2276 * manual/errno.texi (ESTALE): Update to account for more than
2277 just NFS file systems.
2278 * sysdeps/gnu/errlist.c: Regenerated.
2279
b9375348
SP
22802013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2281
2282 [BZ #15465]
2283 * elf/Makefile (tests): Add tst-null-argv.
2284 (modules-names): Add tst-null-argv-lib.
2285 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2286 (tst-null-argv-ENV): Set environment for tst-null-argv.
2287 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2288 (RTLD_PROGNAME): New macro.
2289 * elf/tst-null-argv.c: New test case.
2290 * elf/tst-null-argv-lib.c: Library for test case.
2291 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2292 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2293 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2294 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2295 * elf/dl-init.c (call_init): Likewise.
2296 (_dl_init): Likewise.
2297 * elf/dl-load.c (print_search_path): Likewise.
2298 (_dl_map_object): Likewise.
2299 * elf/dl-lookup.c (do_lookup_x): Likewise.
2300 (add_dependency): Likewise.
2301 (_dl_lookup_symbol_x): Likewise.
2302 (_dl_debug_bindings): Likewise.
2303 * elf/dl-open.c (_dl_show_scope): Likewise.
2304 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2305 * elf/dl-version.c (match_symbol): Likewise.
2306 (_dl_check_map_versions): Likewise.
2307 * elf/rtld.c (dl_main): Likewise.
2308 (print_unresolved): Use RTLD_PROGNAME.
2309 (print_missing_version): Likewise.
2310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2311 (elf_machine_rela): Likewise.
2312 * sysdeps/powerpc/powerpc32/dl-machine.c
2313 (__process_machine_rela): Likewise.
2314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2315 Likewise.
2316 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2317 Likewise.
2318 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2319 Likewise.
2320 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2322 Likewise.
2323 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2324 Likewise.
2325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2326
8a9f20c8
CD
23272013-05-28 Carlos O'Donell <carlos@redhat.com>
2328
2329 * po/be.po: Add descriptive title.
2330 * po/zh_CN.po: Likewise.
2331 * po/header.pot: Likewise.
2332
0e60d68e
MF
23332013-05-28 Mike Frysinger <vapier@gentoo.org>
2334
2335 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2336 error message.
2337 (enlarge_archive): Likewise.
2338
56b672e9
BN
23392013-05-28 Ben North <ben@redfrontdoor.org>
2340
2341 * manual/arith.texi (frexp): It is the magnitude of the return
2342 value which lies in [0.5, 1), not the return value itself.
2343
5e056687
AZ
23442013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2345
2346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2347
2b66ef5d
TS
23482013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2349
528c2405
TS
2350 * stdio-common/bug26.c (main): Correct fscanf template.
2351
07b4c13d
TS
2352 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2353 declare _dl_skip_args.
2354
ec9dd97c
TS
2355 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2356 Don't declare.
2357
2b66ef5d
TS
2358 * manual/platform.texi: Add missing @end deftypefun.
2359
4f8dfe27
JM
23602013-05-24 Joseph Myers <joseph@codesourcery.com>
2361
0323d086
JM
2362 [BZ #15529]
2363 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2364 bit of mantissa of 2^16382.
2365 * math/libm-test.inc (hypot_test_data): Add more tests.
2366
dd4259b9
JM
2367 * math/libm-test.inc: Add drem and pow10 to list of tested
2368 functions.
2369 (pow10_test): New function.
2370 (drem_test): Likewise.
2371 (drem_test_tonearest): Likewise.
2372 (drem_test_towardzero): Likewise.
2373 (drem_test_downward): Likewise.
2374 (drem_test_upward): Likewise.
2375 (main): Call the new functions.
2376
4f8dfe27
JM
2377 * math/libm-test.inc (finite_test_data): Remove.
2378 (finite_test): Run tests from isfinite_test_data.
2379 (gamma_test_data): Remove.
2380 (gamma_test): Run tests from lgamma_test_data.
2381 * sysdeps/i386/fpu/libm-test-ulps: Update.
2382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2383
d116b7c4
AZ
23842013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385
2386 * manual/platform.texi: Add PowerPC PPR function set documentation.
2387 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2388 implementation.
2389
e96e3767
CD
23902013-05-24 Carlos O'Donell <carlos@redhat.com>
2391
2392 * math/libm-test.inc (MAX_EXP): Define.
2393 (ULPDIFF): Define.
2394 (ulp): New function.
2395 (check_float_internal): Use ULPDIFF.
2396 (cpow_test): Disable failing test.
2397 (check_ulp): Test ulp() implemetnation.
2398 (main): Call check_ulp before starting tests.
2399
b679a606
JM
24002013-05-24 Joseph Myers <joseph@codesourcery.com>
2401
e8bdba36
JM
2402 * math/gen-libm-test.pl (generate_testfile): Do not handle
2403 START_DATA and END_DATA.
2404 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2405 END_DATA.
2406 (acos_tonearest_test_data): Likewise.
2407 (acos_towardzero_test_data): Likewise.
2408 (acos_downward_test_data): Likewise.
2409 (acos_upward_test_data): Likewise.
2410 (acosh_test_data): Likewise.
2411 (asin_test_data): Likewise.
2412 (asin_tonearest_test_data): Likewise.
2413 (asin_towardzero_test_data): Likewise.
2414 (asin_downward_test_data): Likewise.
2415 (asin_upward_test_data): Likewise.
2416 (asinh_test_data): Likewise.
2417 (atan_test_data): Likewise.
2418 (atanh_test_data): Likewise.
2419 (atan2_test_data): Likewise.
2420 (cabs_test_data): Likewise.
2421 (cacos_test_data): Likewise.
2422 (cacosh_test_data): Likewise.
2423 (carg_test_data): Likewise.
2424 (casin_test_data): Likewise.
2425 (casinh_test_data): Likewise.
2426 (catan_test_data): Likewise.
2427 (catanh_test_data): Likewise.
2428 (cbrt_test_data): Likewise.
2429 (ccos_test_data): Likewise.
2430 (ccosh_test_data): Likewise.
2431 (ceil_test_data): Likewise.
2432 (cexp_test_data): Likewise.
2433 (cimag_test_data): Likewise.
2434 (clog_test_data): Likewise.
2435 (clog10_test_data): Likewise.
2436 (conj_test_data): Likewise.
2437 (copysign_test_data): Likewise.
2438 (cos_test_data): Likewise.
2439 (cos_tonearest_test_data): Likewise.
2440 (cos_towardzero_test_data): Likewise.
2441 (cos_downward_test_data): Likewise.
2442 (cos_upward_test_data): Likewise.
2443 (cosh_test_data): Likewise.
2444 (cosh_tonearest_test_data): Likewise.
2445 (cosh_towardzero_test_data): Likewise.
2446 (cosh_downward_test_data): Likewise.
2447 (cosh_upward_test_data): Likewise.
2448 (cpow_test_data): Likewise.
2449 (cproj_test_data): Likewise.
2450 (creal_test_data): Likewise.
2451 (csin_test_data): Likewise.
2452 (csinh_test_data): Likewise.
2453 (csqrt_test_data): Likewise.
2454 (ctan_test_data): Likewise.
2455 (ctan_tonearest_test_data): Likewise.
2456 (ctan_towardzero_test_data): Likewise.
2457 (ctan_downward_test_data): Likewise.
2458 (ctan_upward_test_data): Likewise.
2459 (ctanh_test_data): Likewise.
2460 (ctanh_tonearest_test_data): Likewise.
2461 (ctanh_towardzero_test_data): Likewise.
2462 (ctanh_downward_test_data): Likewise.
2463 (ctanh_upward_test_data): Likewise.
2464 (erf_test_data): Likewise.
2465 (erfc_test_data): Likewise.
2466 (exp_test_data): Likewise.
2467 (exp_tonearest_test_data): Likewise.
2468 (exp_towardzero_test_data): Likewise.
2469 (exp_downward_test_data): Likewise.
2470 (exp_upward_test_data): Likewise.
2471 (exp10_test_data): Likewise.
2472 (exp2_test_data): Likewise.
2473 (expm1_test_data): Likewise.
2474 (fabs_test_data): Likewise.
2475 (fdim_test_data): Likewise.
2476 (finite_test_data): Likewise.
2477 (floor_test_data): Likewise.
2478 (fma_test_data): Likewise.
2479 (fma_towardzero_test_data): Likewise.
2480 (fma_downward_test_data): Likewise.
2481 (fma_upward_test_data): Likewise.
2482 (fmax_test_data): Likewise.
2483 (fmin_test_data): Likewise.
2484 (fmod_test_data): Likewise.
2485 (fpclassify_test_data): Likewise.
2486 (frexp_test_data): Likewise.
2487 (gamma_test_data): Likewise.
2488 (hypot_test_data): Likewise.
2489 (ilogb_test_data): Likewise.
2490 (isfinite_test_data): Likewise.
2491 (isgreater_test_data): Likewise.
2492 (isgreaterequal_test_data): Likewise.
2493 (isinf_test_data): Likewise.
2494 (isless_test_data): Likewise.
2495 (islessequal_test_data): Likewise.
2496 (islessgreater_test_data): Likewise.
2497 (isnan_test_data): Likewise.
2498 (isnormal_test_data): Likewise.
2499 (issignaling_test_data): Likewise.
2500 (isunordered_test_data): Likewise.
2501 (j0_test_data): Likewise.
2502 (j1_test_data): Likewise.
2503 (jn_test_data): Likewise.
2504 (ldexp_test_data): Likewise.
2505 (lgamma_test_data): Likewise.
2506 (lrint_test_data): Likewise.
2507 (lrint_tonearest_test_data): Likewise.
2508 (lrint_towardzero_test_data): Likewise.
2509 (lrint_downward_test_data): Likewise.
2510 (lrint_upward_test_data): Likewise.
2511 (llrint_test_data): Likewise.
2512 (llrint_tonearest_test_data): Likewise.
2513 (llrint_towardzero_test_data): Likewise.
2514 (llrint_downward_test_data): Likewise.
2515 (llrint_upward_test_data): Likewise.
2516 (log_test_data): Likewise.
2517 (log10_test_data): Likewise.
2518 (log1p_test_data): Likewise.
2519 (log2_test_data): Likewise.
2520 (logb_test_data): Likewise.
2521 (logb_downward_test_data): Likewise.
2522 (lround_test_data): Likewise.
2523 (llround_test_data): Likewise.
2524 (modf_test_data): Likewise.
2525 (nearbyint_test_data): Likewise.
2526 (nextafter_test_data): Likewise.
2527 (nexttoward_test_data): Likewise.
2528 (pow_test_data): Likewise.
2529 (pow_tonearest_test_data): Likewise.
2530 (pow_towardzero_test_data): Likewise.
2531 (pow_downward_test_data): Likewise.
2532 (pow_upward_test_data): Likewise.
2533 (remainder_test_data): Likewise.
2534 (remainder_tonearest_test_data): Likewise.
2535 (remainder_towardzero_test_data): Likewise.
2536 (remainder_downward_test_data): Likewise.
2537 (remainder_upward_test_data): Likewise.
2538 (remquo_test_data): Likewise.
2539 (rint_test_data): Likewise.
2540 (rint_tonearest_test_data): Likewise.
2541 (rint_towardzero_test_data): Likewise.
2542 (rint_downward_test_data): Likewise.
2543 (rint_upward_test_data): Likewise.
2544 (round_test_data): Likewise.
2545 (scalb_test_data): Likewise.
2546 (scalbn_test_data): Likewise.
2547 (scalbln_test_data): Likewise.
2548 (signbit_test_data): Likewise.
2549 (sin_test_data): Likewise.
2550 (sin_tonearest_test_data): Likewise.
2551 (sin_towardzero_test_data): Likewise.
2552 (sin_downward_test_data): Likewise.
2553 (sin_upward_test_data): Likewise.
2554 (sincos_test_data): Likewise.
2555 (sinh_test_data): Likewise.
2556 (sinh_tonearest_test_data): Likewise.
2557 (sinh_towardzero_test_data): Likewise.
2558 (sinh_downward_test_data): Likewise.
2559 (sinh_upward_test_data): Likewise.
2560 (sqrt_test_data): Likewise.
2561 (tan_test_data): Likewise.
2562 (tan_tonearest_test_data): Likewise.
2563 (tan_towardzero_test_data): Likewise.
2564 (tan_downward_test_data): Likewise.
2565 (tan_upward_test_data): Likewise.
2566 (tanh_test_data): Likewise.
2567 (tgamma_test_data): Likewise.
2568 (trunc_test_data): Likewise.
2569 (y0_test_data): Likewise.
2570 (y1_test_data): Likewise.
2571 (yn_test_data): Likewise.
2572 (significand_test_data): Likewise.
2573
b679a606
JM
2574 * math/gen-libm-test.pl (@functions): Remove variable.
2575 (generate_testfile): Don't handle START and END lines.
2576 * math/libm-test.inc (START): New macro.
2577 (END): Likewise.
2578 (END_COMPLEX): Likewise.
2579 (acos_test): Use END macro without arguments.
2580 (acos_test_tonearest): Likewise.
2581 (acos_test_towardzero): Likewise.
2582 (acos_test_downward): Likewise.
2583 (acos_test_upward): Likewise.
2584 (acosh_test): Likewise.
2585 (asin_test): Likewise.
2586 (asin_test_tonearest): Likewise.
2587 (asin_test_towardzero): Likewise.
2588 (asin_test_downward): Likewise.
2589 (asin_test_upward): Likewise.
2590 (asinh_test): Likewise.
2591 (atan_test): Likewise.
2592 (atanh_test): Likewise.
2593 (atan2_test): Likewise.
2594 (cabs_test): Likewise.
2595 (cacos_test): Use END_COMPLEX macro without arguments.
2596 (cacosh_test): Likewise.
2597 (carg_test): Use END macro without arguments.
2598 (casin_test): Use END_COMPLEX macro without arguments.
2599 (casinh_test): Likewise.
2600 (catan_test): Likewise.
2601 (catanh_test): Likewise.
2602 (cbrt_test): Use END macro without arguments.
2603 (ccos_test): Use END_COMPLEX macro without arguments.
2604 (ccosh_test): Likewise.
2605 (ceil_test): Use END macro without arguments.
2606 (cexp_test): Use END_COMPLEX macro without arguments.
2607 (cimag_test): Use END macro without arguments.
2608 (clog_test): Use END_COMPLEX macro without arguments.
2609 (clog10_test): Likewise.
2610 (conj_test): Likewise.
2611 (copysign_test): Use END macro without arguments.
2612 (cos_test): Likewise.
2613 (cos_test_tonearest): Likewise.
2614 (cos_test_towardzero): Likewise.
2615 (cos_test_downward): Likewise.
2616 (cos_test_upward): Likewise.
2617 (cosh_test): Likewise.
2618 (cosh_test_tonearest): Likewise.
2619 (cosh_test_towardzero): Likewise.
2620 (cosh_test_downward): Likewise.
2621 (cosh_test_upward): Likewise.
2622 (cpow_test): Use END_COMPLEX macro without arguments.
2623 (cproj_test): Likewise.
2624 (creal_test): Use END macro without arguments.
2625 (csin_test): Use END_COMPLEX macro without arguments.
2626 (csinh_test): Likewise.
2627 (csqrt_test): Likewise.
2628 (ctan_test): Likewise.
2629 (ctan_test_tonearest): Likewise.
2630 (ctan_test_towardzero): Likewise.
2631 (ctan_test_downward): Likewise.
2632 (ctan_test_upward): Likewise.
2633 (ctanh_test): Likewise.
2634 (ctanh_test_tonearest): Likewise.
2635 (ctanh_test_towardzero): Likewise.
2636 (ctanh_test_downward): Likewise.
2637 (ctanh_test_upward): Likewise.
2638 (erf_test): Use END macro without arguments.
2639 (erfc_test): Likewise.
2640 (exp_test): Likewise.
2641 (exp_test_tonearest): Likewise.
2642 (exp_test_towardzero): Likewise.
2643 (exp_test_downward): Likewise.
2644 (exp_test_upward): Likewise.
2645 (exp10_test): Likewise.
2646 (exp2_test): Likewise.
2647 (expm1_test): Likewise.
2648 (fabs_test): Likewise.
2649 (fdim_test): Likewise.
2650 (finite_test): Likewise.
2651 (floor_test): Likewise.
2652 (fma_test): Likewise.
2653 (fma_test_towardzero): Likewise.
2654 (fma_test_downward): Likewise.
2655 (fma_test_upward): Likewise.
2656 (fmax_test): Likewise.
2657 (fmin_test): Likewise.
2658 (fmod_test): Likewise.
2659 (fpclassify_test): Likewise.
2660 (frexp_test): Likewise.
2661 (gamma_test): Likewise.
2662 (hypot_test): Likewise.
2663 (ilogb_test): Likewise.
2664 (isfinite_test): Likewise.
2665 (isgreater_test): Likewise.
2666 (isgreaterequal_test): Likewise.
2667 (isinf_test): Likewise.
2668 (isless_test): Likewise.
2669 (islessequal_test): Likewise.
2670 (islessgreater_test): Likewise.
2671 (isnan_test): Likewise.
2672 (isnormal_test): Likewise.
2673 (issignaling_test): Likewise.
2674 (isunordered_test): Likewise.
2675 (j0_test): Likewise.
2676 (j1_test): Likewise.
2677 (jn_test): Likewise.
2678 (ldexp_test): Likewise.
2679 (lgamma_test): Likewise.
2680 (lrint_test): Likewise.
2681 (lrint_test_tonearest): Likewise.
2682 (lrint_test_towardzero): Likewise.
2683 (lrint_test_downward): Likewise.
2684 (lrint_test_upward): Likewise.
2685 (llrint_test): Likewise.
2686 (llrint_test_tonearest): Likewise.
2687 (llrint_test_towardzero): Likewise.
2688 (llrint_test_downward): Likewise.
2689 (llrint_test_upward): Likewise.
2690 (log_test): Likewise.
2691 (log10_test): Likewise.
2692 (log1p_test): Likewise.
2693 (log2_test): Likewise.
2694 (logb_test): Likewise.
2695 (logb_test_downward): Likewise.
2696 (lround_test): Likewise.
2697 (llround_test): Likewise.
2698 (modf_test): Likewise.
2699 (nearbyint_test): Likewise.
2700 (nextafter_test): Likewise.
2701 (nexttoward_test): Likewise.
2702 (pow_test): Likewise.
2703 (pow_test_tonearest): Likewise.
2704 (pow_test_towardzero): Likewise.
2705 (pow_test_downward): Likewise.
2706 (pow_test_upward): Likewise.
2707 (remainder_test): Likewise.
2708 (remainder_test_tonearest): Likewise.
2709 (remainder_test_towardzero): Likewise.
2710 (remainder_test_downward): Likewise.
2711 (remainder_test_upward): Likewise.
2712 (remquo_test): Likewise.
2713 (rint_test): Likewise.
2714 (rint_test_tonearest): Likewise.
2715 (rint_test_towardzero): Likewise.
2716 (rint_test_downward): Likewise.
2717 (rint_test_upward): Likewise.
2718 (round_test): Likewise.
2719 (scalb_test): Likewise.
2720 (scalbn_test): Likewise.
2721 (scalbln_test): Likewise.
2722 (signbit_test): Likewise.
2723 (sin_test): Likewise.
2724 (sin_test_tonearest): Likewise.
2725 (sin_test_towardzero): Likewise.
2726 (sin_test_downward): Likewise.
2727 (sin_test_upward): Likewise.
2728 (sincos_test): Likewise.
2729 (sinh_test): Likewise.
2730 (sinh_test_tonearest): Likewise.
2731 (sinh_test_towardzero): Likewise.
2732 (sinh_test_downward): Likewise.
2733 (sinh_test_upward): Likewise.
2734 (sqrt_test): Likewise.
2735 (tan_test): Likewise.
2736 (tan_test_tonearest): Likewise.
2737 (tan_test_towardzero): Likewise.
2738 (tan_test_downward): Likewise.
2739 (tan_test_upward): Likewise.
2740 (tanh_test): Likewise.
2741 (tgamma_test): Likewise.
2742 (trunc_test): Likewise.
2743 (y0_test): Likewise.
2744 (y1_test): Likewise.
2745 (yn_test): Likewise.
2746 (significand_test): Likewise.
2747
bae143d2
OB
27482013-05-24 Ondřej Bílka <neleai@seznam.cz>
2749
2750 [BZ #15381]
2751 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2752
9323d39b
EM
27532013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2754
d4ea44a0 2755 [BZ #14894]
9323d39b
EM
2756 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2757 __ppc_mdoio and __ppc_mdoom.
2758 * manual/platform.texi: Document new functions __ppc_yield,
2759 __ppc_mdoio and __ppc_mdoom.
2760
13e23af7
CD
27612013-05-22 Carlos O'Donell <carlos@redhat.com>
2762
2763 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2764 (main): Mention "tls" pseudo-hwcap is legacy.
2765 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2766
351fe550
JM
27672013-05-22 Joseph Myers <joseph@codesourcery.com>
2768
2769 * math/gen-libm-test.pl (parse_args): Output only string of
2770 arguments as text for test name, not full call or descriptions of
2771 tests for extra outputs.
2772 (generate_testfile): Do not pass function name to parse_args.
2773 Generate this_func variable from START.
2774 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2775 field to arg_str.
2776 (struct test_ff_f_data): Likewise.
2777 (test_ff_f_data_nexttoward): Likewise.
2778 (struct test_fi_f_data): Likewise.
2779 (struct test_fl_f_data): Likewise.
2780 (struct test_if_f_data): Likewise.
2781 (struct test_fff_f_data): Likewise.
2782 (struct test_c_f_data): Likewise.
2783 (struct test_f_f1_data): Likewise. Remove field extra_name.
2784 (struct test_fF_f1_data): Likewise.
2785 (struct test_ffI_f1_data): Likewise.
2786 (struct test_c_c_data): Rename test_name field to arg_str.
2787 (struct test_cc_c_data): Likewise.
2788 (struct test_f_i_data): Likewise.
2789 (struct test_ff_i_data): Likewise.
2790 (struct test_f_l_data): Likewise.
2791 (struct test_f_L_data): Likewise.
2792 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2793 and extra2_name.
2794 (COMMON_TEST_SETUP): New macro.
2795 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2796 (COMMON_TEST_CLEANUP): Likewise.
2797 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2798 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2799 macros.
2800 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2801 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2802 macros.
2803 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2804 (RUN_TEST_fff_f): Take argument string. Call new setup and
2805 cleanup macros.
2806 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2807 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2808 macros.
2809 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2810 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2811 macros.
2812 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2813 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2814 cleanup macros.
2815 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2816 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2817 cleanup macros.
2818 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2819 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2820 cleanup macros.
2821 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2822 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2823 macros.
2824 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2825 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2826 macros.
2827 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2828 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2829 macros.
2830 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2831 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2832 cleanup macros.
2833 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2834 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2835 cleanup macros.
2836 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2837 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2838 macros.
2839 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2840 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2841 cleanup macros.
2842 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2843 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2844 macros.
2845 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2846 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2847 macros.
2848 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2849 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2850 cleanup macros.
2851 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2852
85118d4d
EBM
28532013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2854
2855 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2856 to _sifields.sigfault.
2857 (si_addr_lsb): Define new macro.
2858 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2860 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2861
7a44c18f
CD
28622013-05-03 Carlos O'Donell <carlos at redhat.com>
2863
2864 [BZ #15441]
2865 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2866 returns -1.
2867 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2868 null return -1.
2869 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2870 loading the domain.
2871
b50a7181
JM
28722013-05-22 Joseph Myers <joseph@codesourcery.com>
2873
2874 * math/gen-libm-test.pl (parse_args): Do not include expected
2875 result in test name.
2876 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2878 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2879 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2880 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882
051063c8
SP
28832013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2884
3ce9e010
SP
2885 * benchtests/Makefile: Sort function entries.
2886
051063c8
SP
2887 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2888 tanh, asinh, acosh, atanh.
2889 * benchtests/acos-inputs: New file.
2890 * benchtests/acosh-inputs: New file.
2891 * benchtests/asin-inputs: New file.
2892 * benchtests/asinh-inputs: New file.
2893 * benchtests/atanh-inputs: New file.
2894 * benchtests/cosh-inputs: New file.
2895 * benchtests/log-inputs: New file.
2896 * benchtests/sinh-inputs: New file.
2897 * benchtests/tanh-inputs: New file.
2898
47c22455
DL
28992013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2900
2901 [BZ #15339]
2902 * posix/tst-getaddrinfo4.c: New test.
2903 * posix/Makefile (tests): Add it.
2904
3d04f5db
SP
29052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2906
2907 [BZ #15339]
2908 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2909 when no services were used.
2910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2911 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2912
d5dd6189
AS
29132013-05-21 Andreas Schwab <schwab@suse.de>
2914
2915 [BZ #15014]
2916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2917 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2918 successful.
2919 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2920 redundant variable declarations and reallocation of buffer when
2921 parsing as IPv6 address. Always set NSS status when called from
2922 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2923 buffer too small. Correct computation of needed size.
2924 * nss/Makefile (tests): Add test-digits-dots.
2925 * nss/test-digits-dots.c: New test.
2926
fef94eab
SP
29272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
2929 * benchtests/Makefile: Remove instructions for adding
2930 benchmark tests.
2931 * benchtests/README: New file to explain how to execute and
2932 enhance the benchmark tests.
2933
e39adf43
AS
29342013-05-21 Andreas Schwab <schwab@suse.de>
2935
2936 [BZ #15493]
2937 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2938 * setjmp/tst-sigsetjmp.c: New test.
2939
b2b671b6
OB
29402013-05-20 Ondřej Bílka <neleai@seznam.cz>
2941
2942 * sysdeps/x86_64/memset.S (memset): New implementation.
2943 (__bzero): Likewise.
2944 (__memset_tail): New function.
2945
2d48b41c
OB
29462013-05-20 Ondřej Bílka <neleai@seznam.cz>
2947
2948 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2949 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2950 __memcpy_sse2_unaligned ifunc selection.
2951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2952 Add memcpy-sse2-unaligned.S.
2953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2954 Add: __memcpy_sse2_unaligned.
2955
f16cc3eb
JM
29562013-05-19 Joseph Myers <joseph@codesourcery.com>
2957
3e694268
JM
2958 [BZ #15490]
2959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2960 math_force_eval before restoring floating-point envrionment.
2961 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2962 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2963 Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2965 <math_private.h>.
2966 (__nearbyintl): Use math_force_eval before restoring
2967 floating-point environment.
2968 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2969
db62a907
JM
2970 * math/gen-libm-test.pl (special_functions): Remove.
2971 (parse_args): Don't handle TEST_extra. Handle functions with no
2972 return value.
2973 * math/libm-test.inc (struct test_sincos_data): Replace with
2974 struct test_fFF_11_data.
2975 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2976 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2977 (sincos_test_data): Change element type to struct
2978 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2979 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2980 RUN_TEST_LOOP_sincos.
2981 * math/README.libm-test: Don't mention special handling of
2982 individual functions.
2983 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2985 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2989
f16cc3eb
JM
2990 * math/gen-libm-test.pl (get_variable): Remove function.
2991 (parse_args): Don't show pointer parameters to call in test
2992 names. Use "extra output N" in test names for extra outputs
2993 rather than naming variables.
2994
3779b5b6
JM
29952013-05-18 Joseph Myers <joseph@codesourcery.com>
2996
2ee094ff
JM
2997 [BZ #15488]
2998 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2999 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3000 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3001 double tests.
3002 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3003 disable.
3004 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3005 check_long_double.
3006
3779b5b6
JM
3007 * math/gen-libm-test.pl (@tests): Remove variable.
3008 ($count): Likewise.
3009 (new_test): Remove function.
3010 (show_exceptions): New function.
3011 (special_functions): Use show_exceptions instead of new_test.
3012 (parse_args): Likewise.
3013 (generate_testfile): Pass only function name in generated call to
3014 print_max_error or print_complex_max_error.
3015 (get_ulps): Do not handle complex tests specially.
3016 (output_test): Rename to ...
3017 (get_all_ulps_for_test): ... this. Return a string rather than
3018 printing to a file. Require ulps to be present.
3019 (output_ulps): Generate arrays rather than #defines.
3020 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3021 (struct ulp_data): New type.
3022 (BUILD_COMPLEX_ULP): Remove macro.
3023 (compare_ulp_data): New function.
3024 (find_ulps): Likewise.
3025 (find_test_ulps): Likewise.
3026 (find_function_ulps): Likewise.
3027 (find_complex_function_ulps): Likewise.
3028 (print_max_error): Determine allowed ulps using
3029 find_function_ulps.
3030 (print_complex_max_error): Determine allowed ulps using
3031 find_complex_function_ulps.
3032 (check_float_internal): Determine max ulps using find_test_ulps.
3033 (check_float): Do not take max_ulp parameter. Update call to
3034 check_float_internal.
3035 (check_complex): Likewise.
3036 (check_int): Do not take max_ulp parameter.
3037 (check_long): Likewise.
3038 (check_bool): Likewise.
3039 (check_longlong): Likewise.
3040 (struct test_f_f_data): Remove max_ulp field.
3041 (struct test_ff_f_data): Likewise.
3042 (struct test_ff_f_data_nexttoward): Likewise.
3043 (struct test_fi_f_data): Likewise.
3044 (struct test_fl_f_data): Likewise.
3045 (struct test_if_f_data): Likewise.
3046 (struct test_fff_f_data): Likewise.
3047 (struct test_c_f_data): Likewise.
3048 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3049 (struct test_fF_f1_data): Likewise.
3050 (struct test_ffI_f1_data): Likewise.
3051 (struct test_c_c_data): Remove max_ulp field.
3052 (struct test_cc_c_data): Likewise.
3053 (struct test_f_i_data): Likewise.
3054 (struct test_ff_i_data): Likewise.
3055 (struct test_f_l_data): Likewise.
3056 (struct test_f_L_data): Likewise.
3057 (struct test_sincos_data): Likewise.
3058 (RUN_TEST_f_f): Do not handle ulps.
3059 (RUN_TEST_LOOP_f_f): Likewise.
3060 (RUN_TEST_2_f): Likewise.
3061 (RUN_TEST_LOOP_2_f): Likewise.
3062 (RUN_TEST_fff_f): Likewise.
3063 (RUN_TEST_LOOP_fff_f): Likewise.
3064 (RUN_TEST_c_f): Likewise.
3065 (RUN_TEST_LOOP_c_f): Likewise.
3066 (RUN_TEST_f_f1): Likewise.
3067 (RUN_TEST_LOOP_f_f1): Likewise.
3068 (RUN_TEST_fF_f1): Likewise.
3069 (RUN_TEST_LOOP_fF_f1): Likewise.
3070 (RUN_TEST_fI_f1): Likewise.
3071 (RUN_TEST_LOOP_fI_f1): Likewise.
3072 (RUN_TEST_ffI_f1): Likewise.
3073 (RUN_TEST_LOOP_ffI_f1): Likewise.
3074 (RUN_TEST_c_c): Likewise.
3075 (RUN_TEST_LOOP_c_c): Likewise.
3076 (RUN_TEST_cc_c): Likewise.
3077 (RUN_TEST_LOOP_cc_c): Likewise.
3078 (RUN_TEST_f_i): Likewise.
3079 (RUN_TEST_LOOP_f_i): Likewise.
3080 (RUN_TEST_f_i_tg): Likewise.
3081 (RUN_TEST_LOOP_f_i_tg): Likewise.
3082 (RUN_TEST_ff_i_tg): Likewise.
3083 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3084 (RUN_TEST_f_b): Likewise.
3085 (RUN_TEST_LOOP_f_b): Likewise.
3086 (RUN_TEST_f_b_tg): Likewise.
3087 (RUN_TEST_LOOP_f_b_tg): Likewise.
3088 (RUN_TEST_f_l): Likewise.
3089 (RUN_TEST_LOOP_f_l): Likewise.
3090 (RUN_TEST_f_L): Likewise.
3091 (RUN_TEST_LOOP_f_L): Likewise.
3092 (RUN_TEST_sincos): Likewise.
3093 (RUN_TEST_LOOP_sincos): Likewise.
3094
8269107f
JM
30952013-05-17 Joseph Myers <joseph@codesourcery.com>
3096
bb38759d
JM
3097 [BZ #15480]
3098 [BZ #15485]
3099 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3100 main case of finite arguments, set rounding mode to FE_TONEAREST
3101 and discard exceptions.
3102 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3103 exceptions.
3104 (remainder_tonearest_test_data): New variable.
3105 (remainder_test_tonearest): New function.
3106 (remainder_towardzero_test_data): New variable.
3107 (remainder_test_towardzero): New function.
3108 (remainder_downward_test_data): New variable.
3109 (remainder_test_downward): New function.
3110 (remainder_upward_test_data): New variable.
3111 (remainder_test_upward): New function.
3112 (main): Call the new test functions.
3113
a00bdcf0
JM
3114 * math/libm-test.inc (struct test_f_f1_data): Remove field
3115 extra_init.
3116 (struct test_fF_f1_data): Likewise.
3117 (struct test_ffI_f1_data): Likewise.
3118 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3119 based on value of EXTRA_EXPECTED.
3120 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3121 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3122 EXTRA_VAR based on value of EXTRA_EXPECTED.
3123 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3124 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3125 EXTRA_VAR based on value of EXTRA_EXPECTED.
3126 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3127 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3128 EXTRA_VAR based on value of EXTRA_EXPECTED.
3129 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3130 * math/gen-libm-test.pl (parse_args): Don't output initializers
3131 for extra output values.
3132
de407f79
JM
3133 * math/libm-test.inc (check_int): Expect result to be exactly
3134 equal to expected value and do not handle ulps.
3135 (check_long): Likewise.
3136 (check_longlong): Likewise.
3137
8269107f
JM
3138 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3139 exceptions.
3140 (cimag_test_data): Likewise.
3141 (conj_test_data): Likewise.
3142 (copysign_test_data): Likewise.
3143 (cproj_test_data): Likewise.
3144 (creal_test_data): Likewise.
3145 (fabs_test_data): Likewise.
3146 (fdim_test_data): Likewise.
3147 (finite_test_data): Likewise.
3148 (floor_test_data): Likewise.
3149 (fmax_test_data): Likewise.
3150 (fmin_test_data): Likewise.
3151 (fmod_test_data): Likewise.
3152 (fpclassify_test_data): Likewise.
3153 (frexp_test_data): Likewise.
3154 (ilogb_test_data): Likewise.
3155 (isfinite_test_data): Likewise.
3156 (isgreater_test_data): Likewise.
3157 (isgreaterequal_test_data): Likewise.
3158 (isinf_test_data): Likewise.
3159 (isless_test_data): Likewise.
3160 (islessequal_test_data): Likewise.
3161 (islessgreater_test_data): Likewise.
3162 (isnan_test_data): Likewise.
3163 (isnormal_test_data): Likewise.
3164 (issignaling_test_data): Likewise.
3165 (isunordered_test_data): Likewise.
3166 (ldexp_test_data): Likewise.
3167 (lrint_test_data): Likewise.
3168 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3169 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3170 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3171 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3172 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3173 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3174 test input.
3175 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3176 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3177 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3178 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3179 that test input.
3180 (lrint_downward_test_data): Test for "inexact" exceptions.
3181 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3182 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3183 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3184 test input.
3185 (lrint_upward_test_data): Test for "inexact" exceptions.
3186 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3187 test input.
3188 (llrint_test_data): Test for "inexact" exceptions.
3189 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3190 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3191 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3192 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3193 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3194 (llrint_downward_test_data): Test for "inexact" exceptions.
3195 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3196 (llrint_upward_test_data): Test for "inexact" exceptions.
3197 (logb_test_data): Likewise.
3198 (logb_downward_test_data): Likewise.
3199 (nextafter_test_data): Likewise.
3200 (nexttoward_test_data): Likewise.
3201 (remainder_test_data): Likewise.
3202 (remquo_test_data): Likewise.
3203 (scalbn_test_data): Likewise.
3204 (scalbln_test_data): Likewise.
3205 (signbit_test_data): Likewise.
3206 (sqrt_test_data): Likewise.
3207 (significand_test_data): Likewise.
3208
48a18de1
SP
32092013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3210
3211 [BZ #15424]
3212 * benchtests/bench-modf.c (struct args): Mark arg0 as
3213 volatile.
3214 * scripts/bench.pl: Mark members of struct args as volatile.
3215
13d3b41a
AZ
32162013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3217
68191c1d 3218 [BZ # 15497]
13d3b41a
AZ
3219 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3220 negative infinity on POWER6 or lower.
3221 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3222
2848b105
MR
32232013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3224
3225 [BZ #15442]
3226 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3227 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3228 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3229 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3230 (_FP_SETQNAN): New macro.
3231 (_FP_SETQNAN_SEMIRAW): Likewise.
3232 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3233 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3234 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3235 (FP_EXTEND): Use _FP_FRAC_SNANP.
3236 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3237 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3238 into account.
3239 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3240 New macro.
3241 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3242 Likewise.
3243
323e5cb7
JM
32442013-05-16 Joseph Myers <joseph@codesourcery.com>
3245
c58b274f
JM
3246 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3247 with DIVIDE_BY_ZERO_EXCEPTION.
3248 (gamma_test_data): Likewise.
3249 (lgamma_test_data): Likewise.
3250 (log_test_data): Likewise.
3251 (log10_test_data): Likewise.
3252 (log2_test_data): Likewise.
3253 (tgamma_test_data): Likewise.
3254
0ab34904
JM
3255 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3256 (acos_test_tonearest): Likewise.
3257 (acos_test_towardzero): Likewise.
3258 (acos_test_downward): Likewise.
3259 (acos_test_upward): Likewise.
3260 (acosh_test): Likewise.
3261 (asin_test): Likewise.
3262 (asin_test_tonearest): Likewise.
3263 (asin_test_towardzero): Likewise.
3264 (asin_test_downward): Likewise.
3265 (asin_test_upward): Likewise.
3266 (asinh_test): Likewise.
3267 (atan_test): Likewise.
3268 (atanh_test): Likewise.
3269 (atan2_test): Likewise.
3270 (cabs_test): Likewise.
3271 (cacos_test): Likewise.
3272 (cacosh_test): Likewise.
3273 (casin_test): Likewise.
3274 (casinh_test): Likewise.
3275 (catan_test): Likewise.
3276 (catanh_test): Likewise.
3277 (cbrt_test): Likewise.
3278 (ccos_test): Likewise.
3279 (ccosh_test): Likewise.
3280 (cexp_test): Likewise.
3281 (clog_test): Likewise.
3282 (clog10_test): Likewise.
3283 (cos_test): Likewise.
3284 (cos_test_tonearest): Likewise.
3285 (cos_test_towardzero): Likewise.
3286 (cos_test_downward): Likewise.
3287 (cos_test_upward): Likewise.
3288 (cosh_test): Likewise.
3289 (cosh_test_tonearest): Likewise.
3290 (cosh_test_towardzero): Likewise.
3291 (cosh_test_downward): Likewise.
3292 (cosh_test_upward): Likewise.
3293 (cpow_test): Likewise.
3294 (csin_test): Likewise.
3295 (csinh_test): Likewise.
3296 (csqrt_test): Likewise.
3297 (ctan_test): Likewise.
3298 (ctan_test_tonearest): Likewise.
3299 (ctan_test_towardzero): Likewise.
3300 (ctan_test_downward): Likewise.
3301 (ctan_test_upward): Likewise.
3302 (ctanh_test): Likewise.
3303 (ctanh_test_tonearest): Likewise.
3304 (ctanh_test_towardzero): Likewise.
3305 (ctanh_test_downward): Likewise.
3306 (ctanh_test_upward): Likewise.
3307 (erf_test): Likewise.
3308 (erfc_test): Likewise.
3309 (exp_test): Likewise.
3310 (exp_test_tonearest): Likewise.
3311 (exp_test_towardzero): Likewise.
3312 (exp_test_downward): Likewise.
3313 (exp_test_upward): Likewise.
3314 (exp10_test): Likewise.
3315 (exp2_test): Likewise.
3316 (expm1_test): Likewise.
3317 (fmod_test): Likewise.
3318 (gamma_test): Likewise.
3319 (hypot_test): Likewise.
3320 (j0_test): Likewise.
3321 (j1_test): Likewise.
3322 (jn_test): Likewise.
3323 (lgamma_test): Likewise.
3324 (log_test): Likewise.
3325 (log10_test): Likewise.
3326 (log1p_test): Likewise.
3327 (log2_test): Likewise.
3328 (logb_test_downward): Likewise.
3329 (pow_test): Likewise.
3330 (pow_test_tonearest): Likewise.
3331 (pow_test_towardzero): Likewise.
3332 (pow_test_downward): Likewise.
3333 (pow_test_upward): Likewise.
3334 (remainder_test): Likewise.
3335 (remquo_test): Likewise.
3336 (sin_test): Likewise.
3337 (sin_test_tonearest): Likewise.
3338 (sin_test_towardzero): Likewise.
3339 (sin_test_downward): Likewise.
3340 (sin_test_upward): Likewise.
3341 (sincos_test): Likewise.
3342 (sinh_test): Likewise.
3343 (sinh_test_tonearest): Likewise.
3344 (sinh_test_towardzero): Likewise.
3345 (sinh_test_downward): Likewise.
3346 (sinh_test_upward): Likewise.
3347 (sqrt_test): Likewise.
3348 (tan_test): Likewise.
3349 (tan_test_tonearest): Likewise.
3350 (tan_test_towardzero): Likewise.
3351 (tan_test_downward): Likewise.
3352 (tan_test_upward): Likewise.
3353 (tanh_test): Likewise.
3354 (tgamma_test): Likewise.
3355 (y0_test): Likewise.
3356 (y1_test): Likewise.
3357 (yn_test): Likewise.
3358
323e5cb7
JM
3359 * math/gen-libm-test.pl (adjust_arg): Remove function.
3360 (special_function): Remove argument $in_func. Only handle
3361 generating output for tables of tests, not inside functions.
3362 (parse_args): Likewise.
3363 (generate_testfile): Remove variable $in_func. Update call to
3364 parse_args.
3365 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3366 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3367 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3368 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3369 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3370 (MAX_VALUE_INIT): Rename macro to max_value.
3371 (MIN_VALUE_INIT): Rename macro to min_value.
3372 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3373 (plus_zero): Remove variable.
3374 (minus_zero): Likewise.
3375 (plus_infty): Likewise.
3376 (minus_infty): Likewise.
3377 (qnan_value): Likewise.
3378 (max_value): Likewise.
3379 (min_value): Likewise.
3380 (min_subnorm_value): Likewise.
3381
e054f494
RA
33822013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3383
3384 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3385 uint64_t or uint32_t usage.
3386 * crypt/sha256-block.c: Likewise.
3387 * crypt/sha256-crypt.c: Likewise.
3388 * crypt/sha256.c: Likewise.
3389 * crypt/sha512-block.c: Likewise.
3390 * crypt/sha512-crypt.c: Likewise.
3391 * crypt/sha512.c: Likewise.
3392 * debug/backtrace-tst.c: Likewise.
3393 * debug/pcprofiledump.c: Likewise.
3394 * elf/cache.c: Likewise.
3395 * elf/dl-cache.c: Likewise.
3396 * elf/dl-misc.c: Likewise.
3397 * elf/dl-profile.c: Likewise.
3398 * elf/dl-support.c: Likewise.
3399 * elf/ldconfig.c: Likewise.
3400 * elf/sprof.c: Likewise.
3401 * iconv/dummy-repertoire.c: Likewise.
3402 * iconv/iconv_charmap.c: Likewise.
3403 * iconv/skeleton.c: Likewise.
3404 * iconvdata/8bit-generic.c: Likewise.
3405 * iconvdata/cp737.h: Likewise.
3406 * iconvdata/cp775.h: Likewise.
3407 * iconvdata/ibm1008.h: Likewise.
3408 * iconvdata/ibm1025.h: Likewise.
3409 * iconvdata/ibm1046.h: Likewise.
3410 * iconvdata/ibm1097.h: Likewise.
3411 * iconvdata/ibm1112.h: Likewise.
3412 * iconvdata/ibm1122.h: Likewise.
3413 * iconvdata/ibm1123.h: Likewise.
3414 * iconvdata/ibm1124.h: Likewise.
3415 * iconvdata/ibm1129.h: Likewise.
3416 * iconvdata/ibm1130.h: Likewise.
3417 * iconvdata/ibm1132.h: Likewise.
3418 * iconvdata/ibm1133.h: Likewise.
3419 * iconvdata/ibm1137.h: Likewise.
3420 * iconvdata/ibm1140.h: Likewise.
3421 * iconvdata/ibm1141.h: Likewise.
3422 * iconvdata/ibm1142.h: Likewise.
3423 * iconvdata/ibm1143.h: Likewise.
3424 * iconvdata/ibm1144.h: Likewise.
3425 * iconvdata/ibm1145.h: Likewise.
3426 * iconvdata/ibm1146.h: Likewise.
3427 * iconvdata/ibm1147.h: Likewise.
3428 * iconvdata/ibm1148.h: Likewise.
3429 * iconvdata/ibm1149.h: Likewise.
3430 * iconvdata/ibm1153.h: Likewise.
3431 * iconvdata/ibm1154.h: Likewise.
3432 * iconvdata/ibm1155.h: Likewise.
3433 * iconvdata/ibm1156.h: Likewise.
3434 * iconvdata/ibm1157.h: Likewise.
3435 * iconvdata/ibm1158.h: Likewise.
3436 * iconvdata/ibm1160.h: Likewise.
3437 * iconvdata/ibm1161.h: Likewise.
3438 * iconvdata/ibm1162.h: Likewise.
3439 * iconvdata/ibm1163.h: Likewise.
3440 * iconvdata/ibm1164.h: Likewise.
3441 * iconvdata/ibm1166.h: Likewise.
3442 * iconvdata/ibm1167.h: Likewise.
3443 * iconvdata/ibm12712.h: Likewise.
3444 * iconvdata/ibm1390.h: Likewise.
3445 * iconvdata/ibm1399.h: Likewise.
3446 * iconvdata/ibm16804.h: Likewise.
3447 * iconvdata/ibm4517.h: Likewise.
3448 * iconvdata/ibm4899.h: Likewise.
3449 * iconvdata/ibm4909.h: Likewise.
3450 * iconvdata/ibm4971.h: Likewise.
3451 * iconvdata/ibm5347.h: Likewise.
3452 * iconvdata/ibm803.h: Likewise.
3453 * iconvdata/ibm856.h: Likewise.
3454 * iconvdata/ibm901.h: Likewise.
3455 * iconvdata/ibm902.h: Likewise.
3456 * iconvdata/ibm9030.h: Likewise.
3457 * iconvdata/ibm9066.h: Likewise.
3458 * iconvdata/ibm921.h: Likewise.
3459 * iconvdata/ibm922.h: Likewise.
3460 * iconvdata/ibm9448.h: Likewise.
3461 * iconvdata/isiri-3342.h: Likewise.
3462 * iconvdata/jis0201.h: Likewise.
3463 * include/link.h: Likewise.
3464 * include/netdb.h: Likewise.
3465 * inet/check_native.c: Likewise.
3466 * inet/check_pf.c: Likewise.
3467 * inet/getipv4sourcefilter.c: Likewise.
3468 * inet/getnameinfo.c: Likewise.
3469 * inet/getsourcefilter.c: Likewise.
3470 * inet/htonl.c: Likewise.
3471 * inet/setipv4sourcefilter.c: Likewise.
3472 * inet/setsourcefilter.c: Likewise.
3473 * inet/test-inet6_opt.c: Likewise.
3474 * inet/tst-network.c: Likewise.
3475 * locale/C-collate.c: Likewise.
3476 * locale/C-ctype.c: Likewise.
3477 * locale/C-time.c: Likewise.
3478 * locale/C-translit.h: Likewise.
3479 * locale/loadarchive.c: Likewise.
3480 * locale/programs/3level.h: Likewise.
3481 * locale/programs/charmap.c: Likewise.
3482 * locale/programs/charmap.h: Likewise.
3483 * locale/programs/ld-address.c: Likewise.
3484 * locale/programs/ld-collate.c: Likewise.
3485 * locale/programs/ld-ctype.c: Likewise.
3486 * locale/programs/ld-identification.c: Likewise.
3487 * locale/programs/ld-measurement.c: Likewise.
3488 * locale/programs/ld-messages.c: Likewise.
3489 * locale/programs/ld-monetary.c: Likewise.
3490 * locale/programs/ld-name.c: Likewise.
3491 * locale/programs/ld-numeric.c: Likewise.
3492 * locale/programs/ld-paper.c: Likewise.
3493 * locale/programs/ld-telephone.c: Likewise.
3494 * locale/programs/ld-time.c: Likewise.
3495 * locale/programs/linereader.c: Likewise.
3496 * locale/programs/locale.c: Likewise.
3497 * locale/programs/locarchive.c: Likewise.
3498 * locale/programs/locfile.h: Likewise.
3499 * locale/programs/repertoire.c: Likewise.
3500 * locale/programs/simple-hash.c: Likewise.
3501 * locale/programs/simple-hash.h: Likewise.
3502 * malloc/memusage.c: Likewise.
3503 * malloc/memusagestat.c: Likewise.
3504 * nis/nis_defaults.c: Likewise.
3505 * nis/nis_hash.c: Likewise.
3506 * nis/nis_print.c: Likewise.
3507 * nis/nis_xdr.c: Likewise.
3508 * nscd/connections.c: Likewise.
3509 * nscd/hstcache.c: Likewise.
3510 * nscd/nscd_gethst_r.c: Likewise.
3511 * nscd/nscd_getserv_r.c: Likewise.
3512 * nscd/nscd_helper.c: Likewise.
3513 * nscd/servicescache.c: Likewise.
3514 * nss/makedb.c: Likewise.
3515 * nss/nss_db/db-XXX.c: Likewise.
3516 * nss/nss_db/db-initgroups.c: Likewise.
3517 * nss/nss_db/db-netgrp.c: Likewise.
3518 * nss/nss_files/files-network.c: Likewise.
3519 * nss/nss_files/files-parse.c: Likewise.
3520 * posix/bug-regex5.c: Likewise.
3521 * posix/fnmatch_loop.c: Likewise.
3522 * posix/regcomp.c: Likewise.
3523 * posix/regexec.c: Likewise.
3524 * posix/tst-rfc3484-2.c: Likewise.
3525 * posix/tst-rfc3484-3.c: Likewise.
3526 * posix/tst-rfc3484.c: Likewise.
3527 * resolv/nss_dns/dns-canon.c: Likewise.
3528 * resolv/nss_dns/dns-network.c: Likewise.
3529 * resolv/res_init.c: Likewise.
3530 * resolv/res_mkquery.c: Likewise.
3531 * resolv/tst-aton.c: Likewise.
3532 * stdlib/cxa_atexit.c: Likewise.
3533 * stdlib/cxa_finalize.c: Likewise.
3534 * stdlib/gen-fpioconst.c: Likewise.
3535 * stdlib/strtol_l.c: Likewise.
3536 * string/tst-endian.c: Likewise.
3537 * sunrpc/auth_des.c: Likewise.
3538 * sunrpc/clnt_udp.c: Likewise.
3539 * sunrpc/rtime.c: Likewise.
3540 * sunrpc/svcauth_des.c: Likewise.
3541 * sunrpc/xdr.c: Likewise.
3542 * sunrpc/xdr_intXX_t.c: Likewise.
3543 * sunrpc/xdr_rec.c: Likewise.
3544 * sysdeps/generic/ldconfig.h: Likewise.
3545 * sysdeps/generic/ldsodefs.h: Likewise.
3546 * sysdeps/generic/memusage.h: Likewise.
3547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3557 * sysdeps/posix/getaddrinfo.c: Likewise.
3558 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3559 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3560 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3562 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3563 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3564 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3565 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3566 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3568 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3569 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3570 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3571 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3573 * sysdeps/x86_64/dl-tls.h: Likewise.
3574 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3575 * time/alt_digit.c: Likewise.
3576 * time/era.c: Likewise.
3577 * wcsmbs/tst-c16c32-1.c: Likewise.
3578
8c75f674
JM
35792013-05-16 Joseph Myers <joseph@codesourcery.com>
3580
3581 * math/libm-test.inc (struct test_sincos_data): New type.
3582 (RUN_TEST_LOOP_sincos): New macro.
3583 (sincos_test_data): New variable.
3584 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3585
e6e49e59
RH
35862013-05-16 Richard Henderson <rth@redhat.com>
3587
3588 * math/atest-exp2.c (LIMB64): New macro.
3589 (CONSTSZ): New macro.
3590 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3591 (hexdig): Move ...
3592 (print_mpn_fp): ... to function scope.
3593 (read_mpn_hex): Remove.
3594 (get_log2): Remove.
3595 (exp2_mpn): Use mp_log2.
3596 (main): Use mp_exp1.
3597
15c7c18d
JM
35982013-05-16 Joseph Myers <joseph@codesourcery.com>
3599
105a07df
JM
3600 * math/libm-test.inc: Remove comment about not testing "inexact"
3601 exceptions.
3602 (INEXACT_EXCEPTION): New macro.
3603 (NO_INEXACT_EXCEPTION): Likewise.
3604 (INVALID_EXCEPTION_OK): Update value.
3605 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3606 (OVERFLOW_EXCEPTION_OK): Likewise.
3607 (UNDERFLOW_EXCEPTION_OK): Likewise.
3608 (IGNORE_ZERO_INF_SIGN): Likewise.
3609 (ERRNO_UNCHANGED): Likewise.
3610 (ERRNO_EDOM): Likewise.
3611 (ERRNO_ERANGE): Likewise.
3612 (test_exceptions): Handle testing "inexact" exceptions.
3613 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3614 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3615 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3616 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3617 INEXACT_EXCEPTION.
3618 (rint_towardzero_test_data): Likewise.
3619 (rint_downward_test_data): Likewise.
3620 (rint_upward_test_data): Likewise.
3621
e9eee333
JM
3622 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3623 with OVERFLOW_EXCEPTION.
3624 (exp10_test_data): Likewise.
3625 (exp2_test_data): Likewise.
3626 (expm1_test_data): Likewise.
3627 (lgamma_test_data): Likewise.
3628 (pow_test_data): Likewise.
3629 (tgamma_test_data): Likewise.
3630 (yn_test_data): Remove duplicate test of overflow.
3631
1c38ff73
JM
3632 * math/libm-test.inc (struct test_cc_c_data): New type.
3633 (RUN_TEST_LOOP_cc_c): New macro.
3634 (cpow_test_data): New variable.
3635 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3636
15c7c18d
JM
3637 * math/libm-test.inc (struct test_f_L_data): New type.
3638 (RUN_TEST_LOOP_f_L): New macro.
3639 (llrint_test_data): New variable.
3640 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3641 (llrint_tonearest_test_data): New variable.
3642 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3643 (llrint_towardzero_test_data): New variable.
3644 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3645 (llrint_downward_test_data): New variable.
3646 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3647 (llrint_upward_test_data): New variable.
3648 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3649 (llround_test_data): New variable.
3650 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3651
f137ff13
PC
36522013-05-13 Peter Collingbourne <pcc@google.com>
3653
3654 * math/atest-exp2.c (get_log2): Remove const attribute.
3655
3608cb24
JM
36562013-05-15 Joseph Myers <joseph@codesourcery.com>
3657
3658 * math/libm-test.inc (struct test_f_l_data): New type.
3659 (RUN_TEST_LOOP_f_l): New macro.
3660 (lrint_test_data): New variable.
3661 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3662 (lrint_tonearest_test_data): New variable.
3663 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3664 (lrint_towardzero_test_data): New variable.
3665 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3666 (lrint_downward_test_data): New variable.
3667 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3668 (lrint_upward_test_data): New variable.
3669 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3670 (lround_test_data): New variable.
3671 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3672
39b1f617
PC
36732013-05-15 Peter Collingbourne <pcc@google.com>
3674
1deff3dc
PC
3675 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3676 (EXTRACT_WORDS64) Use where appropriate.
3677 (INSERT_WORDS64) Likewise.
3678
791f3ba0
PC
3679 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3680 constraints with x constraints.
3681 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3682
39b1f617
PC
3683 * malloc/obstack.c (_obstack_compat): Add initializer.
3684
12fba011
EM
36852013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3686
3687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3688 si_trapno and add si_addr_lsb to _sifields.sigfault.
3689 (si_trapno): Remove macro.
3690 (si_addr_lsb): Define new macro.
3691 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3692
d369f531
JM
36932013-05-15 Joseph Myers <joseph@codesourcery.com>
3694
b861c6c4
JM
3695 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3696 instead of TEST_f_l.
3697 (llrint_test_tonearest): Likewise.
3698 (llrint_test_towardzero): Likewise.
3699 (llrint_test_downward): Likewise.
3700 (llrint_test_upward): Likewise.
3701 (llround_test): Likewise.
3702
7abeee12
JM
3703 * math/libm-test.inc (struct test_f_i_data): Add comment.
3704 (RUN_TEST_LOOP_f_b): New macro.
3705 (RUN_TEST_LOOP_f_b_tg): Likewise.
3706 (finite_test_data): New variable.
3707 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3708 (isfinite_test_data): New variable.
3709 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3710 (isinf_test_data): New variable.
3711 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3712 (isnan_test_data): New variable.
3713 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3714 (isnormal_test_data): New variable.
3715 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3716 (issignaling_test_data): New variable.
3717 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3718 (signbit_test_data): New variable.
3719 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3720
cbe8c4d3
JM
3721 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3722 with INVALID_EXCEPTION.
3723 (acosh_test_data): Likewise.
3724 (asin_test_data): Likewise.
3725 (atanh_test_data): Likewise.
3726 (fmod_test_data): Likewise.
3727 (log_test_data): Likewise.
3728 (log10_test_data): Likewise.
3729 (log2_test_data): Likewise.
3730 (pow_test_data): Likewise.
3731 (sqrt_test_data): Likewise.
3732 (y0_test_data): Likewise.
3733 (y1_test_data): Likewise.
3734 (yn_test_data): Likewise.
3735
5575c0e5
JM
3736 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3737 function contents.
3738
d369f531
JM
3739 * math/libm-test.inc (struct test_ff_i_data): New type.
3740 (RUN_TEST_LOOP_ff_i_tg): New macro.
3741 (isgreater_test_data): New variable.
3742 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3743 (isgreaterequal_test_data): New variable.
3744 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3745 (isless_test_data): New variable.
3746 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3747 (islessequal_test_data): New variable.
3748 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3749 (islessgreater_test_data): New variable.
3750 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3751 (isunordered_test_data): New variable.
3752 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3753
781fd748
DM
37542013-05-14 David S. Miller <davem@davemloft.net>
3755
3756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3757
87aa21df
JM
37582013-05-14 Joseph Myers <joseph@codesourcery.com>
3759
5e908270
JM
3760 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3761
f71172e5
JM
3762 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3763 extra_test to int.
3764 (struct test_f_i_data): Change type of max_ulp to int.
3765
8cfa635a
JM
3766 * math/libm-test.inc (test_ffI_f1_data): New type.
3767 (RUN_TEST_LOOP_ffI_f1): New macro.
3768 (remquo_test_data): New variable.
3769 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3770
2bcb36b2
JM
3771 * setjmp/tst-setjmp-fp.c: New file.
3772 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3773 (link-libm): New variable.
3774 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3775
acbd839a
JM
3776 * math/libm-test.inc (struct test_f_i_data): New type.
3777 (RUN_TEST_LOOP_f_i): New macro.
3778 (RUN_TEST_LOOP_f_i_tg): Likewise.
3779 (fpclassify_test_data): New variable.
3780 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3781 (ilogb_test_data): New variable.
3782 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3783
e414d745
JM
3784 * math/libm-test.inc (scalbln_test): Correct function name in END
3785 call.
3786
d9c2a0fd
JM
3787 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3788 (RUN_TEST_LOOP_fI_f1): New macro.
3789 (frexp_test_data): New variable.
3790 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3791
9dc9095d
JM
3792 * math/libm-test.inc (struct test_fF_f1_data): New type.
3793 (RUN_TEST_LOOP_fF_f1): New macro.
3794 (modf_test_data): New variable.
3795 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3796
87aa21df
JM
3797 * math/libm-test.inc (struct test_f_f1_data): New type.
3798 (RUN_TEST_LOOP_f_f1): New macro.
3799 (gamma_test_data): New variable.
3800 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3801 (lgamma_test_data): New variable.
3802 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3803
141af660
CD
38042013-05-13 Carlos O'Donell <carlos@redhat.com>
3805
3806 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3807 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3808 (main): Comment "tls" pseudo-hwcap.
3809
6d33265c
JM
38102013-05-13 Joseph Myers <joseph@codesourcery.com>
3811
68fc074c
JM
3812 * math/libm-test.inc (struct test_fl_f_data): New type.
3813 (RUN_TEST_LOOP_fl_f): New variable.
3814 (scalbln_test_data): New variable.
3815 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3816
243216e1
JM
3817 * math/libm-test.inc (struct test_fi_f_data): New type.
3818 (RUN_TEST_LOOP_fi_f): New macro.
3819 (ldexp_test_data): New variable.
3820 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3821 (scalbn_test_data): New variable.
3822 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3823
6a1992e2
JM
3824 * math/libm-test.inc (struct test_c_f_data): New type.
3825 (RUN_TEST_LOOP_c_f): New macro.
3826 (cabs_test_data): New variable.
3827 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3828 (carg_test_data): New variable.
3829 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3830 (cimag_test_data): New variable.
3831 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3832 (creal_test_data): New variable.
3833 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3834
0e400df5
JM
3835 * math/libm-test.inc (struct test_if_f_data): New type.
3836 (RUN_TEST_LOOP_if_f): New macro.
3837 (jn_test_data): New variable.
3838 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3839 (yn_test_data): New variable.
3840 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3841
6d33265c
JM
3842 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3843
f98ece5f
AZ
38442013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845
3846 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3847 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3848
0f7d347b
SP
38492013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
43fe811b
SP
3851 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3852 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3853 (bench-deps): Add bench-timing.h.
3854 * benchtests-bench-skeleton.c: Include bench-timing.h.
3855 (main): Use TIMING_* macros instead of clock_gettime.
3856 * benchtests/bench-timing.h: New file.
3857
0f7d347b
SP
3858 [BZ #14582]
3859 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3860 Renamed from _LIB_VERSION.
3861 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3862
601a3a5f
JM
38632013-05-12 Joseph Myers <joseph@codesourcery.com>
3864
4f184d30
JM
3865 * math/libm-test.inc (struct test_fff_f_data): New type.
3866 (RUN_TEST_LOOP_fff_f): New macro.
3867 (fma_test_data): New variable.
3868 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3869 (fma_towardzero_test_data): New variable.
3870 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3871 (fma_downward_test_data): New variable.
3872 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3873 (fma_upward_test_data): New variable.
3874 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3875
08198877
JM
3876 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3877 (struct test_c_c_data): New type.
3878 (RUN_TEST_LOOP_c_c): New macro.
3879 (cacos_test_data): New variable.
3880 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3881 (cacosh_test_data): New variable.
3882 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3883 (casin_test_data): New variable.
3884 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3885 (casinh_test_data): New variable.
3886 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3887 (catan_test_data): New variable.
3888 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3889 (catanh_test_data): New variable.
3890 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3891 (ccos_test_data): New variable.
3892 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3893 (ccosh_test_data): New variable.
3894 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3895 (cexp_test_data): New variable.
3896 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3897 (clog_test_data): New variable.
3898 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3899 (clog10_test_data): New variable.
3900 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3901 (conj_test_data): New variable.
3902 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3903 (cproj_test_data): New variable.
3904 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3905 (csin_test_data): New variable.
3906 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3907 (csinh_test_data): New variable.
3908 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3909 (csqrt_test_data): New variable.
3910 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3911 (ctan_test_data): New variable.
3912 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3913 (ctan_tonearest_test_data): New variable.
3914 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3915 (ctan_towardzero_test_data): New variable.
3916 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3917 (ctan_downward_test_data): New variable.
3918 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3919 (ctan_upward_test_data): New variable.
3920 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3921 (ctanh_test_data): New variable.
3922 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3923 (ctanh_tonearest_test_data): New variable.
3924 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3925 (ctanh_towardzero_test_data): New variable.
3926 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3927 (ctanh_downward_test_data): New variable.
3928 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3929 (ctanh_upward_test_data): New variable.
3930 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3931 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3932 of BUILD_COMPLEX.
3933
601a3a5f
JM
3934 * math/libm-test.inc (struct test_ff_f_data): New type.
3935 (struct test_ff_f_data_nexttoward): Likewise.
3936 (RUN_TEST_LOOP_2_f): New macro.
3937 (RUN_TEST_LOOP_ff_f): Likewise.
3938 (atan2_test_data): New variable.
3939 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3940 (copysign_test_data): New variable.
3941 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3942 (fdim_test_data): New variable.
3943 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3944 (fmax_test_data): New variable.
3945 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3946 (fmin_test_data): New variable.
3947 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3948 (fmod_test_data): New variable.
3949 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3950 (hypot_test_data): New variable.
3951 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3952 (nextafter_test_data): New variable.
3953 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3954 (nexttoward_test_data): New variable.
3955 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3956 (pow_test_data): New variable.
3957 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3958 (pow_tonearest_test_data): New variable.
3959 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3960 (pow_towardzero_test_data): New variable.
3961 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3962 (pow_downward_test_data): New variable.
3963 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3964 (pow_upward_test_data): New variable.
3965 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3966 (remainder_test_data): New variable.
3967 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3968 (scalb_test_data): New variable.
3969 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3970 * sysdeps/i386/fpu/libm-test-ulps: Update.
3971
74c57478
JM
39722013-05-11 Joseph Myers <joseph@codesourcery.com>
3973
8329e4da
JM
3974 * math/libm-test.inc (fma_test): Use max_value instead of local
3975 variable fltmax.
3976 (nextafter_test): Likewise.
3977
74c57478
JM
3978 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3979 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3980 (acos_downward_test_data): New variable.
3981 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3982 (acos_upward_test_data): New variable.
3983 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3984 (acosh_test_data): New variable.
3985 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3986 (asin_test_data): New variable.
3987 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3988 (asin_tonearest_test_data): New variable.
3989 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3990 (asin_towardzero_test_data): New variable.
3991 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3992 (asin_downward_test_data): New variable.
3993 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3994 (asin_upward_test_data): New variable.
3995 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3996 (asinh_test_data): New variable.
3997 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3998 (atan_test_data): New variable.
3999 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4000 (atanh_test_data): New variable.
4001 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4002 (cbrt_test_data): New variable.
4003 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4004 (ceil_test_data): New variable.
4005 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4006 (cos_test_data): New variable.
4007 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4008 (cos_tonearest_test_data): New variable.
4009 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4010 (cos_towardzero_test_data): New variable.
4011 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4012 (cos_downward_test_data): New variable.
4013 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4014 (cos_upward_test_data): New variable.
4015 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4016 (cosh_test_data): New variable.
4017 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4018 (cosh_tonearest_test_data): New variable.
4019 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4020 (cosh_towardzero_test_data): New variable.
4021 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4022 (cosh_downward_test_data): New variable.
4023 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4024 (cosh_upward_test_data): New variable.
4025 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4026 (erf_test_data): New variable.
4027 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4028 (erfc_test_data): New variable.
4029 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4030 (exp_test_data): New variable.
4031 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4032 (exp_tonearest_test_data): New variable.
4033 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4034 (exp_towardzero_test_data): New variable.
4035 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4036 (exp_downward_test_data): New variable.
4037 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4038 (exp_upward_test_data): New variable.
4039 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4040 (exp10_test_data): New variable.
4041 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4042 (exp2_test_data): New variable.
4043 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4044 (expm1_test_data): New variable.
4045 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4046 (fabs_test_data): New variable.
4047 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4048 (floor_test_data): New variable.
4049 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4050 (j0_test_data): New variable.
4051 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4052 (j1_test_data): New variable.
4053 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4054 (log_test_data): New variable.
4055 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4056 (log10_test_data): New variable.
4057 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4058 (log1p_test_data): New variable.
4059 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4060 (log2_test_data): New variable.
4061 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4062 (logb_test_data): New variable.
4063 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4064 (logb_downward_test_data): New variable.
4065 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4066 (nearbyint_test_data): New variable.
4067 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4068 (rint_test_data): New variable.
4069 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4070 (rint_tonearest_test_data): New variable.
4071 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4072 (rint_towardzero_test_data): New variable.
4073 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4074 (rint_downward_test_data): New variable.
4075 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4076 (rint_upward_test_data): New variable.
4077 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4078 (round_test_data): New variable.
4079 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4080 (sin_test_data): New variable.
4081 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4082 (sin_tonearest_test_data): New variable.
4083 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4084 (sin_towardzero_test_data): New variable.
4085 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4086 (sin_downward_test_data): New variable.
4087 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4088 (sin_upward_test_data): New variable.
4089 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4090 (sinh_test_data): New variable.
4091 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4092 (sinh_tonearest_test_data): New variable.
4093 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4094 (sinh_towardzero_test_data): New variable.
4095 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4096 (sinh_downward_test_data): New variable.
4097 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4098 (sinh_upward_test_data): New variable.
4099 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4100 (sqrt_test_data): New variable.
4101 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4102 (tan_test_data): New variable.
4103 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4104 (tan_tonearest_test_data): New variable.
4105 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4106 (tan_towardzero_test_data): New variable.
4107 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4108 (tan_downward_test_data): New variable.
4109 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4110 (tan_upward_test_data): New variable.
4111 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4112 (tanh_test_data): New variable.
4113 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4114 (tgamma_test_data): New variable.
4115 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4116 (trunc_test_data): New variable.
4117 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4118 (y0_test_data): New variable.
4119 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4120 (y1_test_data): New variable.
4121 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4122 (significand_test_data): New variable.
4123 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4124
7187d844
CG
41252013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4126
4127 [BZ #12387]
4128 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4129
f63fae73
PT
41302013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4131
4132 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4133
8a67a4b3
AJ
41342013-05-10 Andreas Jaeger <aj@suse.de>
4135
4136 [BZ #15448]
4137 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4138 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4139
51df539d
JM
41402013-05-10 Joseph Myers <joseph@codesourcery.com>
4141
4142 * math/gen-libm-test.pl (adjust_arg): New function.
4143 (special_functions): Handle generating output in both functions
4144 and arrays.
4145 (parse_args): Likewise.
4146 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4147 $in_func argument to parse_args.
4148 * math/libm-test.inc (struct test_f_f_data): New type.
4149 (IF_ROUND_INIT_): New macro.
4150 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4151 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4152 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4153 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4154 (ROUND_RESTORE_): Likewise.
4155 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4156 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4157 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4158 (ROUND_RESTORE_FE_UPWARD): Likewise.
4159 (RUN_TEST_LOOP_f_f): New macro.
4160 (acos_test_data): New variable.
4161 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4162 (acos_tonearest_test_data): New variable.
4163 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4164
5c637fe5
SP
41652013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
4167 * benchtests/bench-skeleton.c (startup): Fix coding style.
4168
ab2b9461
JM
41692013-05-10 Joseph Myers <joseph@codesourcery.com>
4170
4171 [BZ #6809]
4172 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4173 negative infinity argument.
4174 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4175 negative infinity argument.
4176 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4177 negative infinity argument.
4178 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4179 domain errors.
4180
4c0fe6fe
FW
41812013-05-10 Florian Weimer <fweimer@redhat.com>
4182
4183 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4184 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4185 * iconv/iconv_prog.c (main): Likewise.
4186 * locale/programs/charmap-dir.c (charmap_readdir)
4187 (fopen_uncompressed): Likewise.
4188 * locale/programs/locfile.c (siblings_uncached)
4189 (write_locale_data): Use lstat64 instead of lstat.
4190 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4191 stat.
4192
a3375d29
AJ
41932013-05-10 Andreas Jaeger <aj@suse.de>
4194
4195 [BZ #15395]
4196 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4197 localization.
4198 Include <locale.h>.
4199
36129722
CD
42002013-05-09 Carlos O'Donell <carlos@redhat.com>
4201
4202 * elf/dl-close.c (_dl_close_worker): Add comments.
4203
faa7f811
JM
42042013-05-09 Joseph Myers <joseph@codesourcery.com>
4205
ed41ffef
JM
4206 [BZ #15359]
4207 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4208 high part of pi/2.
4209 (__ieee754_rem_pio2l): Update comments.
4210
d0213cd0
JM
4211 [BZ #15429]
4212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4213 high part of pi/2.
4214 (__ieee754_rem_pio2l): Update comments.
4215
0d3e777a
JM
4216 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4217 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4218
24f56066
JM
4219 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4220 M_PI_4l.
4221
faa7f811
JM
4222 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4223 (M_PI_34_LOG10El): Likewise.
4224 (M_PI2_LOG10El): Likewise.
4225 (M_PI4_LOG10El): Likewise.
4226 (M_PI_LOG10El): Likewise.
4227
e9a5e0fd
AZ
42282013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229
4230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4231
d8cd06db
JM
42322013-05-08 Joseph Myers <joseph@codesourcery.com>
4233
a0d9f9d7
JM
4234 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4235 (MINUS_ZERO_INIT): Likewise.
4236 (PLUS_INFTY_INIT): Likewise.
4237 (MINUS_INFTY_INIT): Likewise.
4238 (QNAN_VALUE_INIT): Likewise.
4239 (MAX_VALUE_INIT): Likewise.
4240 (MIN_VALUE_INIT): Likewise.
4241 (MIN_SUBNORM_VALUE_INIT): Likewise.
4242 (plus_zero): Initialize with PLUS_ZERO_INIT.
4243 (minus_zero): Initialize with MINUS_ZERO_INIT.
4244 (plus_infty): Initialize with PLUS_INFTY_INIT.
4245 (minus_infty): Initialize with MINUS_INFTY_INIT.
4246 (qnan_value): Initialize with QNAN_VALUE_INIT.
4247 (max_value): Initialize with MAX_VALUE_INIT.
4248 (min_value): Initialize with MIN_VALUE_INIT.
4249 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4250
ae08db3b
JM
4251 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4252 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4253 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4254 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4255
f44bf14a
JM
4256 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4257 (RUN_TEST_2_f): Likewise.
4258 (RUN_TEST_ff_f): Likewise.
4259 (RUN_TEST_fi_f): Likewise.
4260 (RUN_TEST_fl_f): Likewise.
4261 (RUN_TEST_fff_f): Likewise.
4262 (RUN_TEST_c_f): Likewise.
4263 (RUN_TEST_f_f1): Likewise.
4264 (RUN_TEST_fF_f1): Likewise.
4265 (RUN_TEST_fI_f1): Likewise.
4266 (RUN_TEST_ffI_f1): Likewise.
4267 (RUN_TEST_c_c): Likewise.
4268 (RUN_TEST_cc_c): Likewise.
4269 (RUN_TEST_f_i): Likewise.
4270 (RUN_TEST_f_i_tg): Likewise.
4271 (RUN_TEST_ff_i_tg): Likewise.
4272 (RUN_TEST_f_b): Likewise.
4273 (RUN_TEST_f_b_tg): Likewise.
4274 (RUN_TEST_f_l): Likewise.
4275 (RUN_TEST_f_L): Likewise.
4276 (RUN_TEST_sincos): Likewise.
4277 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4278 whether to show exceptions. Do not include ");\n" in return
4279 value.
4280 (special_functions): Output call to RUN_TEST_sincos instead of
4281 check_float calls. Update calls to new_test.
4282 (parse_args): Output call to single RUN_TEST_* macro instead of
4283 check_* calls and other assignments. Update calls to new_test.
4284
d8cd06db
JM
4285 [BZ #2546]
4286 [BZ #2560]
4287 [BZ #5159]
4288 [BZ #15426]
4289 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4290 input to result for tgamma overflow.
4291 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4292 (gamma_coeff): New variable.
4293 (NCOEFF): New macro.
4294 (gamma_positive): New function.
4295 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4296 underflow here. Use gamma_positive instead of exp (lgamma) for
4297 other arguments.
4298 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4299 (gamma_coeff): New variable.
4300 (NCOEFF): New macro.
4301 (gammaf_positive): New function.
4302 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4303 underflow here. Use gamma_positive instead of exp (lgamma) for
4304 other arguments.
4305 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4306 (gamma_coeff): New variable.
4307 (NCOEFF): New macro.
4308 (gammal_positive): New function.
4309 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4310 underflow here. Use gamma_positive instead of exp (lgamma) for
4311 other arguments.
4312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4313 (gamma_coeff): New variable.
4314 (NCOEFF): New macro.
4315 (gammal_positive): New function.
4316 (__ieee754_gammal_r): Handle positive infinity, overflow and
4317 underflow here. Handle NaN the same as positive infinity. Remove
4318 check x < 0xffffffff for negative integers. Use gamma_positive
4319 instead of exp (lgamma) for other arguments.
4320 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4321 (gamma_coeff): New variable.
4322 (NCOEFF): New macro.
4323 (gammal_positive): New function.
4324 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4325 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4329 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4330 * sysdeps/generic/math_private.h (__gamma_productf): New
4331 prototype.
4332 (__gamma_product): Likewise.
4333 (__gamma_productl): Likewise.
4334 * math/Makefile (libm-calls): Add gamma_product.
4335 * math/libm-test.inc (tgamma_test): Add more tests.
4336 * sysdeps/i386/fpu/libm-test-ulps: Update.
4337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4338
bb7cf681
OB
43392013-05-08 Ondřej Bílka <neleai@seznam.cz>
4340
4341 * benchtests/bench-skeleton.c (main): Preheat CPU.
4342
ba853947
AJ
43432013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4344
4345 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4346
8347c74c
RM
43472013-05-07 Roland McGrath <roland@hack.frob.com>
4348
4349 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4350 and _dl_skip_args_internal.
4351
e8dd4791
CD
43522013-05-07 Carlos O'Donell <carlos@redhat.com>
4353
4354 * manual/message.texi (Message Translation): Talk about users.
4355 Message to key mapping impacts design.
4356
c7405830
RM
43572013-05-06 Roland McGrath <roland@hack.frob.com>
4358
a9173057
RM
4359 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4360
976e2f03
RM
4361 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4362
9723ffc5
RM
4363 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4364 * sysdeps/wordsize-64/glob64.c: ... here.
4365
962e6658
RM
4366 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4367 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4368 New macros.
4369
ee586a6d
RM
4370 * debug/getlogin_r_chk.c: Moved to ...
4371 * login/getlogin_r_chk.c: ... here.
4372 * debug/Makefile (routines): Move getlogin_r_chk to ...
4373 * login/Makefile (routines): ... here.
4374 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4375 * login/Versions (libc: GLIBC_2.4): ... here.
4376
355f9165
RM
4377 * io/poll.c (__poll): Renamed from poll.
4378 Add libc_hidden_def.
4379 (poll): Define as weak alias.
4380
bd9ffde6
RM
4381 * debug/ptsname_r_chk.c: Moved to ...
4382 * login/ptsname_r_chk.c: ... here.
4383 * debug/Makefile (routines): Move ptsname_r_chk to ...
4384 * login/Makefile (routines): ... here.
4385 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4386 * login/Versions (libc: GLIBC_2.4): ... here.
4387
8fb16a04
RM
4388 * posix/getlogin.c: Moved to ...
4389 * login/getlogin.c: ... here.
4390 * posix/getlogin_r.c: Moved to ...
4391 * login/getlogin_r.c: ... here.
4392 * posix/getlogin_r.c: Moved to ...
4393 * login/getlogin_r.c: ... here.
4394 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4395 * login/Makefile (routines): ... here.
4396 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4397 * login/Versions (libc: GLIBC_2.0): ... here.
4398
b99b892f
RM
4399 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4400 (setrlimit): Define as weak alias.
4401
c7405830
RM
4402 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4403 Call __ names for open, ftruncate, and close.
4404 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4405 (truncate): Define as weak alias.
4406
5bf96de5
JM
44072013-05-06 Joseph Myers <joseph@codesourcery.com>
4408
9ea3513c
JM
4409 * math/gen-libm-test.pl (parse_args): Initialize x before each
4410 test of frexp, modf and remquo.
4411
5bf96de5
JM
4412 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4413 test signgam value.
4414
16e616a7
AZ
44152013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4416
4417 [BZ #15418]
4418 [BZ #15419]
4419 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4420 internal tests.
4421 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4422
d5e82754
RM
44232013-05-06 Roland McGrath <roland@hack.frob.com>
4424
4425 * elf/dl-writev.h: New file.
4426 * elf/dl-misc.c: Include it.
4427 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4428 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4429
a7548d41
JM
44302013-05-04 Joseph Myers <joseph@codesourcery.com>
4431
b7dab1e4
JM
4432 * math/libm-test.inc (noXFails): Remove variable.
4433 (noXPasses): Likewise.
4434 (BUILD_COMPLEX_INT): Remove macro.
4435 (print_screen): Remove xfail argument.
4436 (print_screen_max_error): Likewise.
4437 (update_stats): Likewise.
4438 (print_max_error): Likewise. Update calls to other affected
4439 functions.
4440 (print_complex_max_error): Likewise.
4441 (test_single_exception): Update calls to print_screen.
4442 (test_single_errno): Likewise.
4443 (check_float_internal): Remove xfail argument. Update calls to
4444 other affected functions.
4445 (check_float): Likewise.
4446 (check_complex): Likewise.
4447 (check_int): Likewise.
4448 (check_long): Likewise.
4449 (check_bool): Likewise.
4450 (check_longlong): Likewise.
4451 (main): Don't print noXFails and noXPasses.
4452 * math/gen-libm-test.pl (top level): Don't mention expected
4453 failure handling in comment.
4454 (new_test): Don't handle expected failures.
4455 (parse_args): Don't mention expected failure handling in comment.
4456 (generate_testfile): Don't handle expected failures.
4457 (parse_ulps): Likewise.
4458 (print_ulps_file): Likewise.
4459 (get_failure): Remove function.
4460 (output_test): Don't handle expected failures.
4461 * make/README.libm-test: Don't mention expected failure handling.
4462
a7548d41
JM
4463 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4464 (minus_zero): Likewise.
4465 (plus_infty): Likewise.
4466 (minus_infty): Likewise.
4467 (qnan_value): Likewise.
4468 (max_value): Likewise.
4469 (min_value): Likewise.
4470 (min_subnorm_value): Likewise.
4471 (initialize): Do not initialize those variables dynamically.
4472
60bfd54c
RM
44732013-05-03 Roland McGrath <roland@hack.frob.com>
4474
cc0e6ed8
RM
4475 * io/open.c (__open_2): Moved to ...
4476 * io/open_2.c: ... this new file.
4477 * io/open64.c (__open64_2): Moved to ...
4478 * io/open64_2.c: ... this new file.
4479 * io/openat.c (__openat_2): Moved to ...
4480 * io/openat_2.c: ... this new file.
4481 * io/openat64.c (__openat64_2): Moved to ...
4482 * io/openat64_2.c: ... this new file.
4483 * io/Makefile (routines): Add them.
4484 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4485 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4486 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4487 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4488 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4489 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4490 (__openat64): Add hidden_ver.
4491 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4492 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4493
60bfd54c
RM
4494 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4495 Separately conditionalize setting of GLRO(dl_sysinfo) so
4496 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4497 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4498
83e7640f
AZ
44992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4500
4501 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4502 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4503 definition.
4504 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4505 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4506 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4507 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4508 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4509
d5dc2af3
JM
45102013-05-03 Joseph Myers <joseph@codesourcery.com>
4511
c31a5b1e
JM
4512 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4513 test signgam value.
4514
d5dc2af3
JM
4515 * math/libm-test.inc (hypot_test): Do not use
4516 IGNORE_ZERO_INF_SIGN.
4517
164fd39d
AJ
45182013-05-03 Andreas Jaeger <aj@suse.de>
4519
4520 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4521 Linux 3.9.
4522 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4523 (PF_MAX): Adjust for VSOCK change.
4524
8237f48c
AZ
45252013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526
4527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4528
9df02941
CD
45292013-05-02 Carlos O'Donell <carlos@redhat.com>
4530
4531 [BZ #15264]
4532 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4533 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4534 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4535
d422395e
DM
45362013-05-02 David S. Miller <davem@davemloft.net>
4537
4538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4539
a07c5731
OB
45402013-05-01 Ondřej Bílka <neleai@seznam.cz>
4541
4542 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4543
1324e37f
RM
45442013-05-01 Roland McGrath <roland@hack.frob.com>
4545
4546 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4547
0695940b
RS
45482013-05-01 Richard Smith <richard@metafoo.co.uk>
4549
bb5f27ad 4550 [BZ #14952]
0695940b
RS
4551 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4552 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4553 Use __attribute__ ((__gnu_inline__)).
4554 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4555 Don't use __attribute__ ((__gnu_inline__)).
4556
10de07f5
JM
45572013-05-01 Joseph Myers <joseph@codesourcery.com>
4558
4559 [BZ #15423]
4560 * math/s_catan.c (__catan): Handle small real or imaginary part of
4561 input specially to avoid spurious underflow.
4562 * math/s_catanf.c (__catanf): Likewise.
4563 * math/s_catanh.c (__catanh): Likewise.
4564 * math/s_catanhf.c (__catanhf): Likewise.
4565 * math/s_catanhl.c (__catanhl): Likewise.
4566 * math/s_catanl.c (__catanl): Likewise.
4567 * math/libm-test.inc (catan_test): Add more tests.
4568 (catanh_test): Likewise.
4569 * sysdeps/i386/fpu/libm-test-ulps: Update.
4570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4571
cb4d5414
AZ
45722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573
4574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4575
caf84319
JM
45762013-04-30 Joseph Myers <joseph@codesourcery.com>
4577
4578 [BZ #15416]
4579 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4580 accurately for denominator in atan2.
4581 * math/s_catanf.c (__catanf): Likewise.
4582 * math/s_catanh.c (__catanh): Likewise.
4583 * math/s_catanhf.c (__catanhf): Likewise.
4584 * math/s_catanhl.c (__catanhl): Likewise.
4585 * math/s_catanl.c (__catanl): Likewise.
4586 * math/libm-test.inc (catan_test): Add more tests.
4587 (catanh_test): Likewise.
4588 * sysdeps/i386/fpu/libm-test-ulps: Update.
4589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590
d569c6ee
SP
45912013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4592
6dbe713d
SP
4593 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4594
f0ee064b
SP
4595 * benchtests/Makefile (bench): Remove slow benchmarks.
4596 * benchtests/atan-inputs: Add slow benchmark inputs.
4597 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4598 (BENCH_FUNC): Accept variant offset.
4599 (VARIANT): Define.
4600 * benchtests/bench-skeleton.c (main): Run benchmark for each
4601 variant.
4602 * benchtests/cos-inputs: Add slow benchmark inputs.
4603 * benchtests/exp-inputs: Likewise.
4604 * benchtests/pow-inputs: Likewise.
4605 * benchtests/sin-inputs: Likewise.
4606 * benchtests/slowatan-inputs: Remove.
4607 * benchtests/slowatan.c: Remove.
4608 * benchtests/slowcos-inputs: Remove.
4609 * benchtests/slowcos.c: Remove.
4610 * benchtests/slowexp-inputs: Remove.
4611 * benchtests/slowexp.c: Remove.
4612 * benchtests/slowpow-inputs: Remove.
4613 * benchtests/slowpow.c: Remove.
4614 * benchtests/slowsin-inputs: Remove.
4615 * benchtests/slowsin.c: Remove.
4616 * benchtests/slowtan-inputs: Remove.
4617 * benchtests/slowtan.c: Remove.
4618 * benchtests/tan-inputs: Add slow benchmark inputs.
4619 * scripts/bench.pl: Parse comments and directives.
4620
d569c6ee
SP
4621 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4622 in CPPFLAGS.
4623 ($(objpfx)bench-%.c): Remove *-ITER.
4624 * benchtests/bench-modf.c: Remove definition of ITER.
4625 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4626 (main): Loop for DURATION seconds instead of fixed number of
4627 iterations.
4628 * scripts/bench.pl: Don't expect iterations in parameters.
4629
a6a242fe
RM
46302013-04-29 Roland McGrath <roland@hack.frob.com>
4631
4632 * io/fchdir.c (__fchdir): Renamed from fchdir.
4633 (fchdir): Define as weak alias.
4634
f2da7793
JM
46352013-04-29 Joseph Myers <joseph@codesourcery.com>
4636
4637 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4638 (ERRNO_EDOM): Likewise.
4639 (ERRNO_ERANGE): Likewise.
4640 (noErrnoTests): New variable.
4641 (init_max_error): Set errno to 0.
4642 (test_single_errno): New function.
4643 (test_errno): Likewise.
4644 (check_float_internal): Call test_errno. Set errno to 0.
4645 (check_complex): Refer to errno tests in comment.
4646 (check_int): Call test_errno. Set errno to 0.
4647 (check_long): Likewise.
4648 (check_bool): Likewise.
4649 (check_longlong): Likewise.
4650 (cos_test): Use ERRNO_* flags for errno tests instead of
4651 check_int.
4652 (expm1_test): Likewise.
4653 (fmod_test): Likewise.
4654 (ilogb_test): Likewise.
4655 (lgamma_test): Likewise.
4656 (pow_test): Likewise.
4657 (remainder_test): Likewise.
4658 (sin_test): Likewise.
4659 (tan_test): Likewise.
4660 (yn_test): Likewise.
4661 (initialize): Set errno to 0.
4662 (main): Print number of errno tests.
4663 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4664
b1a36ceb
AJ
46652013-04-29 Andreas Jaeger <aj@suse.de>
4666
c3ed8088
AJ
4667 [BZ #15084]
4668 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4669 and RES_USEVC.
4670
f1a24198
AJ
4671 [BZ #15085]
4672 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4673 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4674 unimplemented.
4675
9ce3b2cb
AJ
4676 [BZ #15380]
4677 * stdlib/random.c (__initstate): Return NULL if
4678 __initstate fails.
4679
f1a24198 4680 [BZ #15086]
b1a36ceb
AJ
4681 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4682 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4683 RES_SNGLKUPREOP.
4684
7e7b6f36
AZ
46852013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4686
4687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4688
4d14f449
JM
46892013-04-29 Joseph Myers <joseph@codesourcery.com>
4690
4691 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4692 of individual tests.
4693 (casin_test): Likewise.
4694 (casinh_test): Likewise.
4695
5b4217d7
JM
46962013-04-27 Joseph Myers <joseph@codesourcery.com>
4697
4698 [BZ #15409]
4699 * math/s_catan.c (__catan): Handle arguments with large real or
4700 imaginary part separately without squaring.
4701 * math/s_catanf.c (__catanf): Likewise.
4702 * math/s_catanh.c (__catanh): Likewise.
4703 * math/s_catanhf.c (__catanhf): Likewise.
4704 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4705 and redefine.
4706 (__catanhl): Handle arguments with large real or imaginary part
4707 separately without squaring.
4708 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4709 and redefine.
4710 (__catanl): Handle arguments with large real or imaginary part
4711 separately without squaring.
4712 * math/libm-test.inc (catan_test): Add more tests.
4713 (catanh_test): Likewise.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4716
4220c3ef
AJ
47172013-04-27 Andreas Jaeger <aj@suse.de>
4718
4719 [BZ #15007]
4720 * stdlib/stdlib.h: Update guards for qecvt.
4721 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4722 <stdlib.h>.
4723
4721b2d1
AM
47242013-04-27 Allan McRae <allan@archlinux.org>
4725
4726 * sysdeps/i386/fpu/libm-test-ulps: Update.
4727
f0302940
JM
47282013-04-26 Joseph Myers <joseph@codesourcery.com>
4729
9457fd95
JM
4730 [BZ #15406]
4731 * math/s_catan.c: Include <float.h>.
4732 (__catan): Ensure underflow exception occurs for underflowed
4733 result.
4734 * math/s_catanf.c: Include <float.h>.
4735 (__catanf): Ensure underflow exception occurs for underflowed
4736 result.
4737 * math/s_catanh.c: Include <float.h>.
4738 (__catanh): Ensure underflow exception occurs for underflowed
4739 result.
4740 * math/s_catanhf.c: Include <float.h>.
4741 (__catanhf): Ensure underflow exception occurs for underflowed
4742 result.
4743 * math/s_catanhl.c: Include <float.h>.
4744 (__catanhl): Ensure underflow exception occurs for underflowed
4745 result.
4746 * math/s_catanl.c: Include <float.h>.
4747 (__catanl): Ensure underflow exception occurs for underflowed
4748 result.
4749 * math/libm-test.inc (catan_test): Add more tests.
4750 (catanh_test): Likewise.
4751
f0302940
JM
4752 [BZ #15405]
4753 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4754 underflowed result.
4755 * math/s_ccoshf.c (__ccoshf): Likewise.
4756 * math/s_ccoshl.c (__ccoshl): Likewise.
4757 * math/s_csin.c (__csin): Likewise.
4758 * math/s_csinf.c (__csinf): Likewise.
4759 * math/s_csinh.c (__csinh): Likewise.
4760 * math/s_csinhf.c (__csinhf): Likewise.
4761 * math/s_csinhl.c (__csinhl): Likewise.
4762 * math/s_csinl.c (__csinl): Likewise.
4763 * math/libm-test.inc (ccos_test): Add more tests.
4764 (ccosh_test): Likewise.
4765 (csin_test): Likewise.
4766 (csinh_test): Likewise.
4767
aa630f59
AZ
47682013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769
4770 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4771 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4772 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4773 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4774 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4775 powerpc/power5+/fpu folders.
4776 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4777
4778
1b835983
MT
47792013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4780
4781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4782
73709b26
JM
47832013-04-25 Joseph Myers <joseph@codesourcery.com>
4784
4785 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4786 additions to variable.
4787 [$(config-machine) = x86_64] (modules-names): Likewise.
4788 ($(objpfx)tst-audit3): Remove dependency.
4789 ($(objpfx)tst-audit3.out): Likewise.
4790 ($(objpfx)tst-audit4): Likewise.
4791 ($(objpfx)tst-audit4.out): Likewise.
4792 ($(objpfx)tst-audit5): Likewise.
4793 ($(objpfx)tst-audit5.out): Likewise.
4794 ($(objpfx)tst-audit6): Likewise.
4795 ($(objpfx)tst-audit6.out): Likewise.
4796 ($(objpfx)tst-audit7): Likewise.
4797 ($(objpfx)tst-audit7.out): Likewise.
4798 (tst-audit3-ENV): Remove variable.
4799 (tst-audit4-ENV): Likewise.
4800 (tst-audit5-ENV): Likewise.
4801 (tst-audit6-ENV): Likewise.
4802 (tst-audit7-ENV): Likewise.
4803 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4804 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4805 addition to variable.
4806 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4810 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4811 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4812 tst-audit3, tst-audit4 and tst-audit5.
4813 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4814 tst-audit6 and tst-audit7.
4815 [$(subdir) = elf] (modules-names): Add audit modules for those
4816 tests.
4817 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4818 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4819 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4820 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4821 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4822 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4823 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4824 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4825 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4826 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4827 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4828 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4829 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4830 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4831 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4832 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4833 Likewise.
4834 [$(subdir) = elf && $(config-cflags-avx) = yes]
4835 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4836 [$(subdir) = elf && $(config-cflags-avx) = yes]
4837 (CFLAGS-tst-auditmod4a.c): Likewise.
4838 [$(subdir) = elf && $(config-cflags-avx) = yes]
4839 (CFLAGS-tst-auditmod4b.c): Likewise.
4840 [$(subdir) = elf && $(config-cflags-avx) = yes]
4841 (CFLAGS-tst-auditmod6b.c): Likewise.
4842 [$(subdir) = elf && $(config-cflags-avx) = yes]
4843 (CFLAGS-tst-auditmod6c.c): Likewise.
4844 [$(subdir) = elf && $(config-cflags-avx) = yes]
4845 (CFLAGS-tst-auditmod7b.c): Likewise.
4846 * elf/tst-audit3.c: Move to ...
4847 * sysdeps/x86_64/tst-audit3.c: ... here.
4848 * elf/tst-audit4.c: Move to ...
4849 * sysdeps/x86_64/tst-audit4.c: ... here.
4850 * elf/tst-audit5.c: Move to ...
4851 * sysdeps/x86_64/tst-audit5.c: ... here.
4852 * elf/tst-audit6.c: Move to ...
4853 * sysdeps/x86_64/tst-audit6.c: ... here.
4854 * elf/tst-audit7.c: Move to ...
4855 * sysdeps/x86_64/tst-audit7.c: ... here.
4856 * elf/tst-auditmod3a.c: Move to ...
4857 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4858 * elf/tst-auditmod3b.c: Move to ...
4859 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4860 * elf/tst-auditmod4a.c: Move to ...
4861 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4862 * elf/tst-auditmod4b.c: Move to ...
4863 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4864 * elf/tst-auditmod5a.c: Move to ...
4865 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4866 * elf/tst-auditmod5b.c: Move to ...
4867 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4868 * elf/tst-auditmod6a.c: Move to ...
4869 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4870 * elf/tst-auditmod6b.c: Move to ...
4871 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4872 * elf/tst-auditmod6c.c: Move to ...
4873 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4874 * elf/tst-auditmod7a.c: Move to ...
4875 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4876 * elf/tst-auditmod7b.c: Move to ...
4877 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4878
1ef74943
PP
48792013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4880
4881 [BZ #15366]
4882 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4883 define unconditionally.
4884 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4885 define unconditionally.
4886 (INT8_C, INT16_C, etc.): Likewise.
4887
93fd48c5
MR
48882013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4889
ae9552cf
MR
4890 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4891 __ehdr_start with hidden visibility.
4892
93fd48c5
MR
4893 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4894
418601aa
CD
48952013-04-24 Carlos O'Donell <carlos@redhat.com>
4896
4897 * math/libm-test.inc (cos_test): Use accurate hex constants.
4898 (sincost_test): Likewise.
4899
2f38fbfe
JM
49002013-04-24 Joseph Myers <joseph@codesourcery.com>
4901
5e221800
JM
4902 * math/libm-test.inc (catan_test): Add more tests.
4903 (catanh_test): Likewise.
4904
77f143fd
JM
4905 * math/s_catanf.c (__catanf): Use suffixed floating-point
4906 constants.
4907 * math/s_catanhf.c (__catanhf): Likewise.
4908 * math/s_catanhl.c (__catanhl): Likewise.
4909 * math/s_catanl.c (__catanl): Likewise.
4910
2f38fbfe
JM
4911 [BZ #15394]
4912 * math/s_catan.c (__catan): Calculate imaginary part of result
4913 with log1p not log unless computing log of number close to 0.
4914 * math/s_catanf.c (__catanf): Likewise.
4915 * math/s_catanl.c (__catanl): Likewise.
4916 * math/s_catanh.c (__catanh): Calculate real part of result with
4917 log1p not log unless computing log of number close to 0.
4918 * math/s_catanhf.c (__catanhf): Likewise.
4919 * math/s_catanhl.c (__catanhl): Likewise.
4920 * math/libm-test.inc (catan_test): Add more tests.
4921 (catanh_test): Likewise.
4922 * sysdeps/i386/fpu/libm-test-ulps: Update.
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4924
45d69176
SP
49252013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4926
4927 * benchtests/Makefile: Mention files in which fast and slow
4928 paths of math functions are implemented.
4929
87f51853
RM
49302013-04-23 Roland McGrath <roland@hack.frob.com>
4931
4932 * sysdeps/posix/timespec_get.c: New file.
4933
3c026539
AZ
49342013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935
4936 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4937 POWER.
4938 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4939 for POWER.
4940 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4941 powerpc/power5/fpu folders.
4942 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4943 * benchtests/Makefile: Add modf testcase.
4944 * benchtests/bench-modf.c: New file: Benchmark test for mo
4945
ff491d14
SP
49462013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 [BZ #14888]
4949 * time/Makefile (tests): Add tst-strptime-whitespace.
4950 * time/strptime_l.c (get_number): Use ISSPACE.
4951 (__strptime_internal): Likewise.
4952 * time/tst-strptime-whitespace.c: New test case.
4953
7ed3f4e8
AS
49542013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4955
4956 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4957 member.
4958 (_nss_files_init): Set it here.
4959
5c95f7b6
HC
49602013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4961
4962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4963 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4964 unsigned.
4965
d34c9158
JBG
49662013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4967
4968 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4969
2169712d
SP
49702013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4971
4972 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4973 size just once.
4974
29c5de99
DM
49752013-04-21 David S. Miller <davem@davemloft.net>
4976
4977 * po/ru.po: Update Russion translation from translation project.
4978
ccdad15d
AC
49792013-04-17 Adam Conrad <adconrad@0c3.net>
4980
4981 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4982 and setfsgid.
4983
0f122b8d
CD
49842013-04-17 Carlos O'Donell <carlos@redhat.com>
4985
5c5b07da 4986 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4987 * configure: Regenerate.
5c5b07da 4988 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4989 Add example to error message.
4990 * sysdeps/i386/configure: Regenerate.
4991
037714dd
SP
49922013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
4994 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4995 slowtan.
4996 * benchtests/cos-inputs: New file.
4997 * benchtests/slowcos-inputs: New file.
4998 * benchtests/slowcos.c: New file.
4999 * benchtests/slowtan-inputs: New file.
5000 * benchtests/slowtan.c: New file.
5001 * benchtests/tan-inputs: New file.
5002
e913141d
RM
50032013-04-16 Roland McGrath <roland@hack.frob.com>
5004
5005 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5006 considered kosher.
5007
a2964074
SP
50082013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5009
4856bcd2
SP
5010 * benchtests/Makefile: Include cppflags-iterator.mk to add
5011 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5012
a2964074
SP
5013 * Makefile.in (bench-clean): New target.
5014 * benchtests/Makefile (bench-clean): Likewise.
5015
9fbf9aca
DH
50162013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5017
5018 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5019
207d1e2a
TS
50202013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5021
5022 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5023
306dfba9
AS
50242013-04-15 Andreas Schwab <schwab@suse.de>
5025
5026 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5028 * nscd/pwdcache.c (cache_addpw): Likewise.
5029 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5030 more than recsize.
5031
206a6699
SP
50322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5033
5034 * benchtests/Makefile (bench): Write all output to
5035 bench-out.tmp together.
5036
0582f6b3
AS
50372013-04-15 Andreas Schwab <schwab@suse.de>
5038
5039 * nscd/nscd.c (main): Don't fork again after closing files.
5040
acb4325f
SP
50412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
5cb26d0a
SP
5043 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5044
acb4325f
SP
5045 * benchtests/Rules (bench-deps): Collect dependencies into a
5046 single variable. Add Makefile to dependencies.
5047 ($(objpfx)bench-%.c): Depend on bench-deps.
5048
47792506
RM
50492013-04-12 Roland McGrath <roland@hack.frob.com>
5050 Xavier Roche <roche+kml2@exalead.com>
5051
5052 [BZ #15361]
5053 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5054 just that it's a file descriptor.
5055 * manual/llio.texi (Synchronizing AIO Operations): Update description
5056 for EBADF error from aio_fsync.
5057
8fc1bee5
SP
50582013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5059
5060 * Rules (bench): Move target definition...
5061 * benchtests/Makefile: ... here.
5062
aba5e333
CD
50632013-04-11 Carlos O'Donell <carlos@redhat.com>
5064
5065 * math/libm-test.inc (cos_test): Fix PI/2 test.
5066 (sincos_test): Likewise.
5067 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5068 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5069
273cdee8
AS
50702013-04-11 Andreas Schwab <schwab@suse.de>
5071
6ecec3b6
AS
5072 [BZ #13988]
5073 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5074 accept exponent character only when digits were seen.
5075 * stdio-common/Makefile (tests): Add bug26.
5076 * stdio-common/bug26.c: New file.
5077
273cdee8
AS
5078 [BZ #14293]
5079 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5080 non-freeable.
5081
8da491f5
SP
50822013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5083
01dc6df9
SP
5084 * Makeconfig (rtld-prefix): Define built linker prefix.
5085 * Rules (run-bench): Use it.
5086 * math/Makefile (run-regen-ulps): Likewise.
5087
8da491f5
SP
5088 * Rules (bench): Remove eval.
5089
abe7f530
SP
50902013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5091 Roland McGrath <roland@hack.frob.com>
5092 Ondrej Bilka <neleai@seznam.cz>
5093
5094 [BZ #15346]
5095 * time/getdate.c: Include ctype.h and alloca.h.
5096 (__getdate_r): Trim leading and trailing spaces of input.
5097 * time/tst-getdate.c (tests): Add tests with leading and
5098 trailing spaces.
5099
61c23e62
RM
51002013-04-08 Roland McGrath <roland@hack.frob.com>
5101
5102 [BZ #14280]
5103 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5104 when computing value.
5105
7208a313
CD
51062013-04-06 Carlos O'Donell <carlos@redhat.com>
5107
085b2d41
CD
5108 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5109 Use testrun.sh to run libm tests.
5110
7208a313
CD
5111 [BZ #15309]
5112 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5113
872c0acd
MM
51142013-04-06 Marko Myllynen <myllynen@redhat.com>
5115
5116 [BZ #15264]
5117 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5118
26510bdd
CD
51192013-04-06 Carlos O'Donell <carlos@redhat.com>
5120
5121 * Makefile.in (regen-ulps): New target.
5122 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5123 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5124 [ifneq (no,$(PERL)] (regen-ulps): New target.
5125 [ifeq (no,$(PERL)] (regen-ulps): New target.
5126 * math/libm-test.inc (ulps_file_name): Define.
5127 (output_dir): New variable.
5128 (options): Add "output-dir" option.
5129 (parse_opt): Handle 'o' case.
5130 (main): If output_dir is non-NULL use it as a prefix
5131 otherwise use "".
5132 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5133
a01f19c8
CD
51342013-04-06 Carlos O'Donell <carlos@redhat.com>
5135
5136 [BZ #10060, #10062]
5137 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5138 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5139 fail configure if __sync_val_compare_and_swap is not inlined.
5140 * sysdeps/i386/configure: Regenerate.
5141 * configure.in: Build for i686 when configured for i386.
5142 * configure: Regenerate.
5143 * README: Remove i386 reference.
5144
b7a329a5
CD
51452013-04-06 Carlos O'Donell <carlos@redhat.com>
5146
5147 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5149
bf0f50df
TS
51502013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5151
ee091edf
TS
5152 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5153 (lmsnanval): New variables.
5154 (F): Add conversion tests.
5155 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5156 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5157
a8b792d6
TS
5158 * stdio-common/tstdiomisc.c (F): Properly collect individual
5159 tests' results.
5160
a1cbf437
TS
5161 [BZ #14686, #15336]
5162 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5163 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5164 Instead, use input NaN values or generate a qNaN by arithmetic
5165 operation. Also fix bugs to comply with the standard.
5166 * math/libm-test.inc (remainder_test): Add more tests.
5167
8b43a0c9
TS
5168 [BZ #15335, #15342]
5169 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5171 input NaN values or generate a qNaN by arithmetic operation.
5172
d91da4ce
TS
5173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5174 unreachable code.
5175
bf0f50df
TS
5176 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5177 definitions.
5178
05e166c8
JM
51792013-04-03 Joseph Myers <joseph@codesourcery.com>
5180
5181 [BZ #14478]
5182 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5183 underflowed result.
5184 * math/s_cexpf.c (__cexpf): Likewise.
5185 * math/s_cexpl.c (__cexpl): Likewise.
5186 * math/libm-test.inc (cexp_test): Add more tests.
5187
1cef1b19
AS
51882013-04-03 Andreas Schwab <schwab@suse.de>
5189
5190 [BZ #15330]
5191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5192 order arrays from heap if bigger than alloca cutoff.
5193
74d87055
TS
51942013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5195
5196 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5197 (SNAN_TESTS_double): Refer to GCC PR56831.
5198 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5199 GCC PR56828.
5200
d755bba4
SP
52012013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5202
90d5d5bb
SP
5203 * Rules (bench): Move bench.out after the run is complete.
5204
73e0cd5d
SP
5205 * Rules (bench): Echo currently running benchmark.
5206
64aabd4b
SP
5207 * benchtests/Makefile (bench): Add atan and slowatan.
5208 * benchtests/atan-inputs: New file.
5209 * benchtests/slowatan-inputs: New file.
5210 * benchtests/slowatan.c: New file.
5211
c871eccd
SP
5212 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5214 its value.
5215
d755bba4
SP
5216 [BZ #15305]
5217 * sysdeps/unix/sysv/linux/kernel-features.h
5218 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5219 __ASSUME_XFS_RESTRICTED_CHOWN.
5220 * sysdeps/unix/sysv/linux/pathconf.c
5221 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5222 Save and restore errno.
5223
52ce4860
JM
52242013-04-02 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #15327]
5227 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5228 arguments using __kernel_casinh.
5229 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5230 arguments using __kernel_casinhf.
5231 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5232 arguments using __kernel_casinhl.
5233 * math/libm-test.inc (cacosh_test): Add more tests.
5234 * sysdeps/i386/fpu/libm-test-ulps: Update.
5235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5236
81f311c2
SP
52372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5238
e7906a47
SP
5239 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5241
92e3664b
SP
5242 * bench/Makefile (bench): Add sin and slowsin.
5243 * benchtests/sin-inputs: New file.
5244 * benchtests/slowsin-inputs: New file.
5245 * benchtests/slowsin.c: New file.
5246
81f311c2
SP
5247 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5248 (bench): Add slowexp and slowpow.
5249 (exp-ITER): Increase iterations.
5250 (pow-ITER): Likewise.
5251 * benchtests/exp-inputs: Change input.
5252 * benchtests/pow-inputs: Likewise.
5253 * benchtests/slowexp-inputs: New file.
5254 * benchtests/slowexp.c: New file.
5255 * benchtests/slowpow-inputs: New file.
5256 * benchtests/slowpow.c: New file.
5257
ab0f1aa9
AZ
52582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259
5260 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5261 instructions.
5262 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5263 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5264 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5265 * benchtests/Makefile: Add rint benchtest.
5266 * benchtests/rint-inputs: Input for rint benchtest.
5267
57267616
TS
52682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5269
5270 * Versions.def (libm): Add GLIBC_2.18.
5271 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5272 hidden libm prototypes.
5273 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5274 * math/Makefile (libm-calls): Add s_issignaling.
5275 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5276 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5277 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5278 declaration.
5279 * math/math.h [__USE_GNU] (issignaling): New macro.
5280 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5281 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5283 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5286 * manual/arith.texi (issignaling): New section.
5287 * manual/libm-err-tab.pl (@all_functions): Update comment.
5288 * math/gen-libm-test.pl (parse_args): Apply special handling for
5289 issignaling.
5290 * math/libm-test.inc (print_float, issignaling_test): New
5291 functions.
5292 (check_float_internal): Add issignaling checks.
5293 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5294 default definition.
5295 * sysdeps/powerpc/math-tests.h: New file.
5296 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5297 tests.
5298 * math/test-snan.c (TEST_FUNC): Likewise.
5299
6142896d
DM
53002013-03-30 David S. Miller <davem@davemloft.net>
5301
5302 * po/de.po: Update from translation team.
5303
ccc8cadf
JM
53042013-03-30 Joseph Myers <joseph@codesourcery.com>
5305
5306 [BZ #10357]
5307 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5308 imaginary part less than 1.0 and real part less than 0.5
5309 specially.
5310 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5311 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5312 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5313 (cacos_test): Add more tests.
5314 (casin_test): Likewise.
5315 (casinh_test): Likewise.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
0f6a8d4b
SP
53192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5320
0d1029de
SP
5321 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5322 ONE with its value.
5323
c2d94018
SP
5324 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5325 (__pow_mp): Replace ONE and MONE with their values.
5326 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5328 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5329 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5330 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5331 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5332
27ec37f1
SP
5333 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5334
a64d7e0e
SP
5335 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5336 (__pow_mp): Replace ZERO and MZERO with their values.
5337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5339 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5341 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5342 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5343 (__sqr): Likewise.
5344
d26dd3eb
SP
5345 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5346
0f6a8d4b
SP
5347 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5348
e57b0c61
RM
53492013-03-28 Roland McGrath <roland@hack.frob.com>
5350
5351 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5352 Declare with __attribute__ ((weak)).
5353 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5354 Call __call_tls_dtors only if it's not NULL.
5355
356b3480
RM
53562013-03-28 Roland McGrath <roland@hack.frob.com>
5357
288f7d79
RM
5358 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5359 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5360 magic __ehdr_start linker symbol if it's defined.
5361 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5362 them up here if it was already done.
5363
dc0a0263
RM
5364 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5365 (_dl_aux_init): Use const in cast when setting it.
5366 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5367 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5368 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5369
3d3436ae
RM
5370 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5371 Declare them here.
5372 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5373 * csu/libc-tls.c: Nor here.
5374 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5375
356b3480
RM
5376 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5377 (__libc_message): Never call vsyslog.
5378
b0f1246a
AM
53792013-03-28 Alan Modra <amodra@gmail.com>
5380
5381 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5382 Define as empty.
5383 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5384 Likewise.
5385
fbbe2b9a
AZ
53862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387
5388 [BZ #15214]
5389 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5390 underflow.
5391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5392
1728ab37
SP
53932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5394
7a86be6e
SP
5395 [BZ #15304]
5396 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5397 Don't add gid passed as argument.
5398
1728ab37
SP
5399 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5400
3a7182a1
JM
54012013-03-27 Joseph Myers <joseph@codesourcery.com>
5402
5403 [BZ #15307]
5404 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5405 imaginary part between 1.0 and 1.5 and real part less than 0.5
5406 specially.
5407 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5408 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5409 * math/libm-test.inc (cacos_test): Add more tests.
5410 (casin_test): Likewise.
5411 (casinh_test): Likewise.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414
6f2e90e7
SP
54152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5416
5739f705
SP
5417 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5418 constants.
5419 (norm): Likewise.
5420 (denorm): Likewise.
5421 (__dbl_mp): Likewise.
5422 (add_magnitudes): Likewise.
5423 (sub_magnitudes): Likewise.
5424 (__add): Likewise.
5425 (__sub): Likewise.
5426 (__mul): Likewise.
5427 (__sqr): Likewise.
5428 (__inv): Likewise.
5429 (__dvd): Likewise.
5430
e375e83d
SP
5431 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5432 commented code.
5433 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5434 (__dubcos): Likewise.
5435 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5436 (__ieee754_acos): Likewise.
5437 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5438 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5439 (__exp1): Likewise.
5440 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5442 (log1): Likewise.
5443 (my_log2): Likewise.
5444 (checkint): Likewise.
5445 * sysdeps/ieee754/dbl-64/e_remainder.c
5446 (__ieee754_remainder): Likewise.
5447 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5449 (bsloww): Likewise.
5450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5451
6f2e90e7
SP
5452 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5453 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5454 MANTISSA_STORE_T to store computations on mantissa. Use
5455 macros for rounding and division.
5456 (denorm): Likewise.
5457 (__dbl_mp): Likewise.
5458 (add_magnitudes): Likewise.
5459 (sub_magnitudes): Likewise.
5460 (__mul): Likewise.
5461 (__sqr): Likewise.
5462 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5463 powers of two in terms of TWOPOW macro.
5464 (mp_no): Make type of mantissa as MANTISSA_T.
5465 [!RADIXI]: Define RADIXI.
5466 [!TWO52]: Define TWO52.
5467 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5468
fce14d4e
AZ
54692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5470
5471 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5472 llroundl symbol when building for PPC32.
5473
9ad027fb
MW
54742013-03-24 Mark H Weaver <mhw@netris.org>
5475
5476 * manual/arith.texi (Normalization Functions): Fix prototypes for
5477 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5478
e42a38dd
AZ
54792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5480
5481 [BZ #13889]
5482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5483 high value to check if expl overflow.
5484 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5485 to check for underflow and overflow.
5486 * math/libm-test.inc: Add exp test.
5487
2e0fb521
DL
54882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5489
5490 [BZ #11120]
5491 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5492 with NOT_IN_libc.
5493
b5784d95
AZ
54942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495
5496 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5497 symbol.
5498
5aa4a1a1
TS
54992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5500
bdef0be7
TS
5501 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5502 wrap blocks consisting of several statements.
5503
5aa4a1a1
TS
5504 * sysdeps/generic/math-tests.h: New file.
5505 * sysdeps/i386/fpu/math-tests.h: Likewise.
5506 * math/test-snan.c: Include it.
5507 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5508
98c48fe5
JM
55092013-03-21 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #15285]
5512 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5513 (__ieee754_j0l): Do not improve calculations using cos of twice
5514 input for inputs above LDBL_MAX / 2.0L.
5515 (__ieee754_y0l): Likewise.
5516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5517 (__ieee754_j1l): Do not improve calculations using cos of twice
5518 input for inputs above LDBL_MAX / 2.0L.
5519 (__ieee754_y1l): Likewise.
5520 * math/libm-test.inc (j0_test): Add another test.
5521 (j1_test): Likewise.
5522 (y0_test): Likewise.
5523 (y1_test): Likewise.
5524 * sysdeps/i386/fpu/libm-test-ulps: Update.
5525
3775a8bc
SP
55262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5527
5528 * Rules ($(objpfx)bench-%.c): Include code from a C source
5529 file.
5530
0a1b2ae6
JM
55312013-03-21 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #15287]
5534 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5535 imaginary part 1.0 and real part less than 0.5 specially.
5536 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5537 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5538 * math/libm-test.inc (cacos_test): Add more tests.
5539 (casin_test): Likewise.
5540 (casinh_test): Likewise.
5541 * sysdeps/i386/fpu/libm-test-ulps: Update.
5542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5543
b33d4ce4
SP
55442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5545
5546 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5547 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5548
bef0b507
JM
55492013-03-20 Joseph Myers <joseph@codesourcery.com>
5550
5551 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5552 * config.make.in (config-cflags-sse4): Remove variable.
5553 (config-cflags-avx): Likewise.
5554 (config-cflags-sse2avx): Likewise.
5555 (config-cflags-novzeroupper): Likewise.
5556 (config-asflags-i686): Likewise.
5557 (have-mfma4): Likewise.
5558 (have-as-vis3): Likewise.
5559 (MIG): Likewise.
5560 * configure.in (MIG): Do not AC_SUBST.
5561 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5562 (libc_cv_cc_sse4): Do not AC_SUBST.
5563 (libc_cv_cc_avx): Likewise.
5564 (libc_cv_cc_sse2avx): Likewise.
5565 (libc_cv_cc_novzeroupper): Likewise.
5566 (libc_cv_cc_fma4): Likewise.
5567 (libc_cv_as_i686): Likewise.
5568 (libc_cv_sparc_as_vis3): Likewise.
5569 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5570 LIBC_CONFIG_VAR.
5571 (config-asflags-i686): Likewise.
5572 (config-cflags-avx): Likewise.
5573 (config-cflags-sse2avx): Likewise.
5574 (have-mfma4): Likewise.
5575 (config-cflags-novzeroupper): Likewise.
5576 * sysdeps/mach/configure.in (MIG): Likewise.
5577 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5578 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5579 LIBC_CONFIG_VAR.
5580 (config-cflags-avx): Likewise.
5581 (config-cflags-sse2avx): Likewise.
5582 (have-mfma4): Likewise.
5583 (config-cflags-novzeroupper): Likewise.
5584 * configure: Regenerated.
5585 * sysdeps/i386/configure: Likewise.
5586 * sysdeps/mach/configure: Likewise.
5587 * sysdeps/sparc/configure: Likewise.
5588 * sysdeps/x86_64/configure: Likewise.
5589
912cc4b3
RM
55902013-03-20 Roland McGrath <roland@hack.frob.com>
5591
5592 [BZ #14812]
5593 * locale/programs/localedef.c (options): Put N_ translation marker
5594 on argument names, not just descriptions.
5595
04eed2b0
MS
55962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5597
5598 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5599
a065ceff
OB
56002013-03-20 Ondřej Bílka <neleai@seznam.cz>
5601
9bb2a810 5602 [BZ #14176]
a065ceff
OB
5603 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5604
a600e5ce
RM
56052013-03-19 Roland McGrath <roland@hack.frob.com>
5606
5607 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5608 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5609 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5610 [!BEFORE_ABORT] (before_abort): New function.
5611 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5612 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5613 (writev_for_fatal): New function.
5614 (WRITEV_FOR_FATAL): New macro; call that.
5615 (backtrace_and_maps): New function.
5616 (BEFORE_ABORT): New macro; call that.
5617 (struct str_list): Type removed.
5618 (__libc_message, __libc_fatal): Functions removed.
5619 Include <sysdeps/posix/libc_fatal.c> instead.
5620
6b18bea6
JM
56212013-03-19 Joseph Myers <joseph@codesourcery.com>
5622
5623 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5624 constants.
5625 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5626 double constants.
5627
aaa8cb4b
AS
56282013-03-19 Andreas Schwab <schwab@suse.de>
5629
44673770
AS
5630 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5631 * sysdeps/gnu/configure: Regenerate.
5632
aaa8cb4b
AS
5633 * configure.in: Substitute libc_cv_rtlddir.
5634 * configure: Regenerate.
5635 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5636 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5637 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5638 * elf/Makefile (install-others, CFLAGS-interp.c)
5639 (ldso_install, common-ldd-rewrite): Likewise.
5640 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5641 $(inst_slibdir)/$(rtld-installed-name).
5642 * scripts/rellns-sh: Add -p option.
5643 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5644 for source.
5645
d3cfc668
SP
56462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5647
5648 * manual/nptl.texi: Renamed to ...
5649 * manual/threads.texi: ... this.
5650 * manual/Makefile (chapters): Update.
5651
0e2b9cdd
RM
56522013-03-18 Roland McGrath <roland@hack.frob.com>
5653
5654 [BZ #14812]
5655 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5656 on argument names, not just descriptions.
0e2b9cdd
RM
5657 * malloc/memusagestat.c (options): Likewise.
5658 * nss/getent.c (options): Likewise.
63270c24
RM
5659
56602013-03-18 Benno Schulenberg <bensberg@justemail.net>
5661
5662 [BZ #14812]
5663 * iconv/iconv_prog.c (options): Put N_ translation marker
5664 on argument names, not just descriptions.
5665 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5666
b2e1393c
OB
56672013-03-18 Ondrej Bilka <neleai@seznam.cz>
5668
5669 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5670 implementation which is faster on all x86_64 architectures.
5671 Tested on AMD, Intel Nehalem, SNB, IVB.
5672 * sysdeps/x86_64/strnlen.S: Likewise.
5673
5674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5675 Remove all multiarch strlen and strnlen versions.
5676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5677 Remove strlen and strnlen related parts.
5678
5679 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5680 Inline strlen part.
5681 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5682
5683 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5684 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5685 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5686 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5687 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5688 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5689
ec4ff04d
CD
56902013-03-17 Carlos O'Donell <carlos@redhat.com>
5691
5692 * manual/memory.texi (Malloc Tunable Parameters):
5693 Sort parameters alphabetically. Add comments for missing entries.
5694
cd18e90a
DM
56952013-03-17 David S. Miller <davem@davemloft.net>
5696
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5698
2a185d32
JM
56992013-03-16 Joseph Myers <joseph@codesourcery.com>
5700
d2f9799e
JM
5701 [BZ #15283]
5702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5703 for arguments at most half maximum finite value.
5704 * math/libm-test.inc (j0_test): Add more tests.
5705 (j1_test): Likewise.
5706 (y0_test): Likewise.
5707 (y1_test): Likewise.
5708 * sysdeps/i386/fpu/libm-test-ulps: Update.
5709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5710
2a185d32
JM
5711 [BZ #14155]
5712 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5713 1 / x and functions P and Q for arguments above 0x1p256L.
5714 (__ieee754_y0l): Likewise.
5715 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5716 (__ieee754_y1l): Likewise.
5717 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5718 (j1_test): Likewise.
5719 (y0_test): Likewise.
5720 (y1_test): Likewise.
5721
6cbec759
TS
57222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5723
5724 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5725 variable.
5726
bc16e260
RM
57272013-03-15 Roland McGrath <roland@hack.frob.com>
5728
aefc9b8c
RM
5729 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5730 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5731 zero since it's initialized to EXEC_PAGESIZE.
5732
bc16e260
RM
5733 * sysdeps/unix/sysv/linux/ldsodefs.h
5734 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5735 * sysdeps/generic/ldsodefs.h: ... here.
5736
a57da955
TS
57372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5738
af00a34d
TS
5739 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5740
495ded2c
TS
5741 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5742 math/test-snan.c.
5743 * math/test-snan.c: Renamed from
5744 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5745 * math/Makefile (tests): Add test-snan.
5746 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5747 test-powerpc-snan.
5748
777b0332
TS
5749 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5750 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5751 functions.
5752 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5753 __builtin_nan family of functions.
5754 * math/libm-test.inc (initialize): Initialize qnan_value with
5755 __builtin_nan family of functions.
5756 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5757 Remove variables.
5758 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5759 Remove functions.
5760 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5761 storage class. Initialize qNaN_var and sNaN_var with
5762 __builtin_nan and __builtin_nans families of functions,
5763 respectively.
5764
64d063b8
TS
5765 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5766 (sqrt_test): Remove duplicate test with qNaN input.
5767 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5768 (round_test, signbit_test, significand_test): Note missing +/-Inf
5769 as well as qNaN tests.
5770
67e971f1
TS
5771 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5772 qNaN_var. Fix a few strings, too.
5773 * math/libm-test.inc (nan_value): Rename to qnan_value.
5774 * math/gen-libm-test.pl (%beautify): Adjust to that.
5775 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5776 * math/test-misc.c (main): Likewise.
5777 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5778 to __qnan_bytes, and __qnan_union, respectively.
5779 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5780 Likewise.
5781 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5782 and lqnanval, respectively.
5783 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5784 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5785 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5786 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5787
64487e12
TS
5788 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5789 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5790 doubles.
5791
e015e27b
TS
5792 * math/test-misc.c (main): Fix copy'n'pastos.
5793 * misc/tst-efgcvt.c (special): Likewise.
5794
a57da955
TS
5795 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5796 Remove declarations.
5797
1e380345
SP
57982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5799
5800 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5801 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5802 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5803 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5804
ef26eece
AZ
58052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5806
5807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5808 macro to return vdso values correctly in IFUNC implementations.
5809 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5810 Optimization by using IFUNC.
5811
8cfdb7e0
SP
58122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5813 Richard Henderson <rth@redhat.com>
5814 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5815
5816 * Makefile.in (bench): New target.
5817 * NEWS: Mention the benchmark framework.
5818 * Rules (bench): Likewise.
5819 (binaries-bench): Generate binaries for functions to
5820 benchmark.
5821 * benchtests/Makefile: New makefile for benchmark tests.
5822 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5823 programs.
5824 * benchtests/exp-inputs: New input file for EXP function.
5825 * benchtests/pow-inputs: New input file for POW function.
5826 * scripts/bench.pl: New script to generate source files for
5827 benchmark programs.
5828
bcda9880
SP
58292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
d22ca8cd
SP
5831 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5833 computations on mantissa. Use macros for rounding and
5834 division.
5835 (denorm): Likewise.
5836 (__dbl_mp): Likewise.
5837 (add_magnitudes): Likewise.
5838 (sub_magnitudes): Likewise.
5839 (__mul): Likewise.
5840 (__sqr): Likewise.
5841 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5842 powers of two in terms of TWOPOW macro.
5843 (mp_no): Make type of mantissa as MANTISSA_T.
5844 [!RADIXI]: Define RADIXI.
5845 [!TWO52]: Define TWO52.
5846 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5847
bcda9880
SP
5848 * manual/nptl.texi (cindex): Modify threads to pthreads.
5849
06d5adfb
JM
58502013-03-15 Joseph Myers <joseph@codesourcery.com>
5851
5852 * sysdeps/x86_64/preconfigure: Regenerated.
5853
41c7328e
JM
58542013-03-14 Joseph Myers <joseph@codesourcery.com>
5855
5856 [BZ #14155]
5857 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5858 0x1p28 and above.
5859 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5860 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5861 0x1p28 and above.
5862 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5863 * math/libm-test.inc (j0_test): Do not allow one spurious
5864 underflow exception.
5865 (y1_test): Likewise.
5866
e25cfa60
SP
58672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5868
0409959c
SP
5869 * manual/Makefile (chapters): Add nptl.
5870 * manual/debug.texi (Debugging Support): Add link to Threads
5871 chapter.
5872 * manual/nptl.texi: New file.
5873
e25cfa60
SP
5874 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5875
58a1335e
PB
58762013-03-14 Petr Baudis <pasky@ucw.cz>
5877
5878 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5879 for non-NULL pointer before the memory validity test. Pointed
5880 out by Holger Brunck <holger.brunck@keymile.com>.
5881
9dc7c64f
AS
58822013-03-13 Andreas Schwab <schwab@suse.de>
5883
5884 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5885 instead of .os.
5886
54206aa6
JM
58872013-03-13 Joseph Myers <joseph@codesourcery.com>
5888
5889 * timezone/zic.c: Update from tzcode 2013b.
5890
e98cdb38
CD
58912013-03-12 Carlos O'Donell <carlos@redhat.com>
5892
5893 * manual/install.texi (Configuring and compiling):
5894 Mention i686 and i586.
5895 * INSTALL: Regenerate.
5896
9967e003
RM
58972013-03-12 Roland McGrath <roland@hack.frob.com>
5898
5899 * sysdeps/init_array/elf-init.c: New file.
5900 * csu/elf-init.c
5901 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5902 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5903
5904 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5905 __gmon_start__ as global, but as static with a .preinit_array pointer.
5906 * sysdeps/init_array/gmon-start.c: New file. Use that.
5907 * sysdeps/init_array/crti.S: New file, empty except for comments.
5908 * sysdeps/init_array/crtn.S: Likewise.
5909
e6b5a293 59102013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5911
5912 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5913 definining bcopy.
80f844c9
OB
5914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5915 Remove Prefer_SSE_for_memop.
5916 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5917 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5918 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5920 memset-x86-64.
80f844c9 5921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5922 Remove bzero, memset ifunc support.
80f844c9
OB
5923 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5924 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5925 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5926 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5927
fb6b0fcb
AS
59282013-03-11 Andreas Schwab <schwab@suse.de>
5929
5930 [BZ #15234]
5931 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5932 by SHLIB_COMPAT.
5933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5934 (GLIBC_2.16): Remove pthread_atfork.
5935
3e6bd4b1
PP
59362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5937
5938 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5939 (ptestcases.h): Likewise.
5940
222d7f00
RM
59412013-03-08 Roland McGrath <roland@hack.frob.com>
5942
5943 * Makeconfig ($(common-objpfx)config.status): Depend on
5944 sysdeps/*/preconfigure{,.in} too.
5945
1ba4f030
JM
59462013-03-08 Joseph Myers <joseph@codesourcery.com>
5947
a222d91a
JM
5948 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5949 (__free_hook): Use void * instead of __malloc_ptr_t.
5950 (__malloc_hook): Likewise.
5951 (__realloc_hook): Likewise.
5952 (__memalign_hook): Likewise.
5953 (__after_morecore_hook): Likewise.
5954 * malloc/arena.c (save_malloc_hook): Likewise.
5955 (save_free_hook): Likewise.
5956 * malloc/hooks.c (malloc_hook_ini): Likewise.
5957 (realloc_hook_ini): Likewise.
5958 (memalign_hook_ini): Likewise.
5959 * malloc/malloc.c (malloc_hook_ini): Likewise.
5960 (realloc_hook_ini): Likewise.
5961 (memalign_hook_ini): Likewise.
5962 (__free_hook): Likewise.
5963 (__malloc_hook): Likewise.
5964 (__realloc_hook): Likewise.
5965 (__memalign_hook): Likewise.
5966 (__libc_malloc): Likewise.
5967 (__libc_free): Likewise.
5968 (__libc_realloc): Likewise.
5969 (__libc_memalign): Likewise.
5970 (__libc_valloc): Likewise.
5971 (__libc_pvalloc): Likewise.
5972 (__libc_calloc): Likewise.
5973 (__posix_memalign): Likewise.
5974 * malloc/morecore.c (__sbrk): Likewise.
5975 (__default_morecore): Likewise.
5976
5cc45e10
JM
5977 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5978
dd54b864
JM
5979 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5980 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5981 __malloc_ptrdiff_t.
5982
1ba4f030
JM
5983 * malloc/malloc.h (__malloc_size_t): Remove macro.
5984 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5985 __malloc_size_t.
5986 (old_memalign_hook): Likewise.
5987 (old_realloc_hook): Likewise.
5988 (struct hdr): Likewise.
5989 (flood): Likewise.
5990 (mallochook): Likewise.
5991 (memalignhook): Likewise.
5992 (reallochook): Likewise.
5993 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5994 (tr_old_realloc_hook): Likewise.
5995 (tr_old_memalign_hook): Likewise.
5996 (tr_mallochook): Likewise.
5997 (tr_reallochook): Likewise.
5998 (tr_memalignhook): Likewise.
5999
edf66e57
AZ
60002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001
6002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6003 default_ldbl_pack and using as default implementation.
6004 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6005 implementation.
6006 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6007 redundant definition.
6008 (ldbl_insert_mantissa): Likewise.
6009 (ldbl_canonicalize): Likewise.
6010 (ldbl_nearbyint): Likewise.
6011 (ldbl_pack): Rename to ldbl_pack_ppc.
6012 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6013 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6014 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6015
6d9145d8
SP
60162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6017
6018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6019 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6021 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6023 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6024 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6025 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6026
4dd4e157
AJ
60272013-03-07 Andreas Jaeger <aj@suse.de>
6028
6029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6030 bits/mman-linux.h.
6031
adbb8027
SP
60322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6033
ce544b5b
SP
6034 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6035 Include mpa.h and declare __MPEXP.
6036 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6038 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6040 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6041 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6042 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6043
4cc149fd
SP
6044 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6045 (__slowpow): Use long double EXPL and LOGL functions to
6046 compute POW.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6048 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6051 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6053
e6ebd4a7
SP
6054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6055 intermediate variable to calculate exponent.
6056 (__sqr): Likewise.
6057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6058 Likewise.
6059 (__sqr): Likewise.
6060
82a9811d
SP
6061 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6062 [!NO__SQR]: Define __sqr.
6063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6064 and NO__SQR. Remove all code except __mul and __sqr. Include
6065 sysdeps/ieee754/dbl-64/mpa.c.
6066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6067
adbb8027
SP
6068 [BZ #12723]
6069 * posix/Makefile (tests): Add tst-pathconf.
6070 * posix/tst-pathconf.c: New test case.
6071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6072 _PC_PIPE_BUF.
6073 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6074
39120df9
PF
60752013-03-06 Patsy Franklin <pfrankli@redhat.com>
6076
6077 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6078
67525cb8
AJ
60792013-03-06 Andreas Jaeger <aj@suse.de>
6080
664a9ce4
AJ
6081 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6082 definition via __MAP_ANONYMOUS.
6083
8e39047d
AJ
6084 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6085 it's not part of Linux headers.
6086
67525cb8
AJ
6087 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6088 (MAP_HUGE_MASK): Define.
6089
6090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6091 Define.
6092 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6094 Define.
6095 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6096 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6097 Define.
6098 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6100 Define.
6101 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6102
6103 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6104 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6105 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6106 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6107 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6109
6110 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6111 Handle f2fs.
6112
6113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6114 Handle f2fs and efivarfs.
6115
6116 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6117 f2fs.
6118
6119 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6120 (EFIVARFS_MAGIC): Add.
6121 (F2FS_LINK_MAX): Add.
6122
e1b42695
PP
61232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6124
6125 * stdio-common/vfprintf.c: Replace __builtin_expect with
6126 __glibc_unlikely.
6127
2d67d91a
JM
61282013-03-06 Joseph Myers <joseph@codesourcery.com>
6129
6130 [BZ #13550]
6131 * sysdeps/generic/bp-sym.h: Remove file.
6132 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6133 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6134 <bp-sym.h> and <bp-asm.h>.
6135 (__longjmp): Don't use BP_SYM.
6136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6137 and <bp-asm.h>.
6138 (memcpy): Don't use BP_SYM.
6139 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6140 <bp-sym.h> and <bp-asm.h>.
6141 (memcpy): Don't use BP_SYM.
6142 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6143 <bp-asm.h>.
6144 (memcpy): Don't use BP_SYM.
6145 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6146 <bp-asm.h>.
6147 (memset): Don't use BP_SYM.
6148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6150 (__bzero): Don't use BP_SYM.
6151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6153 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6154 <bp-sym.h> and <bp-asm.h>.
6155 (memcmp): Don't use BP_SYM. Remove comment about bounded
6156 pointers.
6157 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6158 <bp-sym.h> and <bp-asm.h>.
6159 (memcpy): Don't use BP_SYM.
6160 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6161 <bp-sym.h> and <bp-asm.h>.
6162 (memset): Don't use BP_SYM.
6163 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6164 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6165 (__bzero): Don't use BP_SYM.
6166 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6167 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6168 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6169 <bp-sym.h> and <bp-asm.h>.
6170 (strncmp): Don't use BP_SYM. Remove comment about bounded
6171 pointers.
6172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6173 <bp-sym.h> and <bp-asm.h>.
6174 (memcpy): Don't use BP_SYM.
6175 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6176 <bp-sym.h> and <bp-asm.h>.
6177 (memset): Don't use BP_SYM.
6178 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6179 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6180 (__bzero): Don't use BP_SYM.
6181 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6182 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6184 <bp-sym.h> and <bp-asm.h>.
6185 (__memchr): Don't use BP_SYM.
6186 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6187 <bp-sym.h> and <bp-asm.h>.
6188 (memcmp): Don't use BP_SYM. Remove comment about bounded
6189 pointers.
6190 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6191 <bp-sym.h> and <bp-asm.h>.
6192 (memcpy): Don't use BP_SYM.
6193 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6194 <bp-sym.h> and <bp-asm.h>.
6195 (__mempcpy): Don't use BP_SYM.
6196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6197 <bp-sym.h> and <bp-asm.h>.
6198 (__memrchr): Don't use BP_SYM.
6199 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6200 <bp-sym.h> and <bp-asm.h>.
6201 (memset): Don't use BP_SYM.
6202 (__bzero): Likewise.
6203 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6204 <bp-sym.h> and <bp-asm.h>.
6205 (__rawmemchr): Don't use BP_SYM.
6206 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6207 <bp-sym.h> and <bp-asm.h>.
6208 (__STRCMP): Don't use BP_SYM.
6209 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6210 <bp-sym.h> and <bp-asm.h>.
6211 (strchr): Don't use BP_SYM.
6212 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6213 <bp-sym.h> and <bp-asm.h>.
6214 (__strchrnul): Don't use BP_SYM.
6215 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6216 <bp-sym.h> and <bp-asm.h>.
6217 (strlen): Don't use BP_SYM.
6218 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (strncmp): Don't use BP_SYM. Remove comment about bounded
6221 pointers.
6222 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6223 <bp-sym.h> and <bp-asm.h>.
6224 (__strnlen): Don't use BP_SYM.
6225 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6226 <bp-sym.h> and <bp-asm.h>.
6227 (__GI__setjmp): Don't use BP_SYM.
6228 (_setjmp): Likewise.
6229 (__sigsetjmp): Likewise.
6230 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6231 (L(start_addresses)): Don't use BP_SYM.
6232 (_start): Likewise.
6233 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6234 <bp-asm.h>.
6235 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6236 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6237 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6238 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6239 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6240 <bp-asm.h>.
6241 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6242 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6243 about bounded pointers.
6244 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6245 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6246 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6247 <bp-asm.h>.
6248 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6249 about bounded pointers. Remove GKM FIXME comments.
6250 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6251 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6252 <bp-asm.h>.
6253 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6254 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6255 Remove GKM FIXME comments.
6256 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6257 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6258 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6259 <bp-asm.h>.
6260 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6261 about bounded pointers. Remove GKM FIXME comment.
6262 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6263 and <bp-asm.h>.
6264 (strncmp): Don't use BP_SYM. Remove comment about bounded
6265 pointers.
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6267 <bp-sym.h> and <bp-asm.h>.
6268 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6270 <bp-sym.h> and <bp-asm.h>.
6271 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6272 comment.
6273
cdcf361f
PP
62742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6275
6276 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6277 call free(NULL).
6278
3c4a2b15
DM
62792013-03-05 David S. Miller <davem@davemloft.net>
6280
6281 * po/es.po: Update from translation team.
6282
cdcf361f 62832013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6284
6285 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6286 <bits/mman-linux.h>.
6287 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6288 is fine.
6289 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6290 <bits/mman-linux.h> to end of file.
6291 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6292 is fine.
6293 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6294 <bits/mman-linux.h> to end of file.
6295 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6296 is fine.
6297 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6298 <bits/mman-linux.h> to end of file.
6299
6300 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6301 (MCL_CURRENT, MCL_FUTURE): Define here.
6302
5f67c04f
AK
63032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6304
8a4473cc 6305 [BZ #15232]
5f67c04f
AK
6306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6307 attribute_hidden.
6308 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6309
c3e94a95
AK
63102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6311
6312 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6313 fourth parameter needed for rt_sigprocmask syscall.
6314 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6315 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6316 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6317 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6318 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6319 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6320
cfb6382a
JM
63212013-03-04 Joseph Myers <joseph@codesourcery.com>
6322
6323 [BZ #13550]
6324 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6325 comment about bounded pointers.
6326 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6327 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6328
539d8e01
AJ
63292013-03-04 Andreas Jaeger <aj@suse.de>
6330
6331 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6332 common definitions.
6333
6334 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6335 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6336 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6338 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6340
2e167a70 63412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6342
6343 [BZ #15055]
6344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6345 __ieee754_sqrl instead of __sqrl.
6346
68508633
JM
63472013-03-01 Joseph Myers <joseph@codesourcery.com>
6348
6349 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6350 * sysdeps/powerpc/fpu_control.h: ... here.
6351 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6352 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6353 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6354 * sysdeps/powerpc/bits/mathinline.h: ... here.
6355
7775448e
RM
63562013-03-01 Roland McGrath <roland@hack.frob.com>
6357
6358 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6359 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6360 to just [NEED_DL_SYSINFO_DSO].
6361 * elf/dl-support.c: Likewise.
6362 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6363 * elf/rtld.c (dl_main): Likewise.
6364 * elf/setup-vdso.h (setup_vdso): Likewise.
6365 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6366 * sysdeps/unix/sysv/linux/dl-sysdep.c
6367 (_dl_discover_osversion): Likewise.
6368
4e9b5995
CD
63692013-03-01 Carlos O'Donell <carlos@redhat.com>
6370
6371 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6372 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6373
e23872c8
SP
63742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6375
e5c74c63
SP
6376 * NEWS: Mention libm performance improvements and non-x86 PI
6377 futex support.
6378
e23872c8
SP
6379 * csu/libc-start.c (__pthread_initialize_minimal): Change
6380 function arguments.
6381 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6382
b5510883
JM
63832013-02-28 Joseph Myers <joseph@codesourcery.com>
6384
6385 [BZ #13550]
6386 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6387 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6388 <bp-sym.h> and <bp-asm.h>.
6389 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6390 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6391 and <bp-asm.h>.
6392 (memcpy): Don't use BP_SYM.
6393 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6394 <bp-asm.h>.
6395 (__mpn_add_n): Don't use BP_SYM.
6396 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6397 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6398 and <bp-asm.h>.
6399 (__mpn_addmul_1): Don't use BP_SYM.
6400 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6401 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6402 <bp-sym.h>.
6403 (_setjmp): Don't use BP_SYM.
6404 (__novmx_setjmp): Likewise.
6405 (__GI__setjmp): Likewise.
6406 (__vmx_setjmp): Likewise.
6407 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6408 <bp-sym.h>.
6409 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6410 (__bzero): Don't use BP_SYM.
6411 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6412 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6413 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (memcpy): Don't use BP_SYM.
6416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6417 <bp-sym.h> and <bp-asm.h>.
6418 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6419 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6420 <bp-sym.h> and <bp-asm.h>.
6421 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6422 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6423 <bp-asm.h>.
6424 (__mpn_lshift): Don't use BP_SYM.
6425 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6426 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6427 <bp-asm.h>.
6428 (memset): Don't use BP_SYM.
6429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6431 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6432 <bp-asm.h>.
6433 (__mpn_mul_1): Don't use BP_SYM.
6434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6436 <bp-sym.h> and <bp-asm.h>.
6437 (memcmp): Don't use BP_SYM.
6438 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (memcpy): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (memset): Don't use BP_SYM.
6444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (strncmp): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6448 <bp-sym.h> and <bp-asm.h>.
6449 (memcpy): Don't use BP_SYM.
6450 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6451 <bp-sym.h> and <bp-asm.h>.
6452 (memset): Don't use BP_SYM.
6453 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6454 <bp-sym.h> and <bp-asm.h>.
6455 (__memchr): Don't use BP_SYM.
6456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6457 <bp-sym.h> and <bp-asm.h>.
6458 (memcmp): Don't use BP_SYM.
6459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6460 <bp-sym.h> and <bp-asm.h>.
6461 (memcpy): Don't use BP_SYM.
6462 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6463 <bp-sym.h> and <bp-asm.h>.
6464 (__mempcpy): Don't use BP_SYM.
6465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6466 <bp-sym.h> and <bp-asm.h>.
6467 (__memrchr): Don't use BP_SYM.
6468 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6469 <bp-sym.h> and <bp-asm.h>.
6470 (memset): Don't use BP_SYM.
6471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6472 <bp-sym.h> and <bp-asm.h>.
6473 (__rawmemchr): Don't use BP_SYM.
6474 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6475 <bp-sym.h> and <bp-asm.h>.
6476 (__STRCMP): Don't use BP_SYM.
6477 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6478 <bp-sym.h> and <bp-asm.h>.
6479 (strchr): Don't use BP_SYM.
6480 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6481 <bp-sym.h> and <bp-asm.h>.
6482 (__strchrnul): Don't use BP_SYM.
6483 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6484 <bp-sym.h> and <bp-asm.h>.
6485 (strlen): Don't use BP_SYM.
6486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6487 <bp-sym.h> and <bp-asm.h>.
6488 (strncmp): Don't use BP_SYM.
6489 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6490 <bp-sym.h> and <bp-asm.h>.
6491 (__strnlen): Don't use BP_SYM.
6492 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6493 <bp-asm.h>.
6494 (__mpn_rshift): Don't use BP_SYM.
6495 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6496 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (__sigsetjmp): Don't use BP_SYM.
6499 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6500 (L(start_addresses)): Don't use BP_SYM.
6501 (_start): Likewise.
6502 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6503 <bp-asm.h>.
6504 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6505 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6506 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6507 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6508 <bp-asm.h>.
6509 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6510 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6511 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6512 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6513 <bp-asm.h>.
6514 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6515 comments.
6516 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6517 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6518 <bp-asm.h>.
6519 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6520 FIXME comments.
6521 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6522 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6523 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6524 <bp-asm.h>.
6525 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6526 comment.
6527 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6528 and <bp-asm.h>.
6529 (strncmp): Don't use BP_SYM,
6530 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6531 <bp-asm.h>.
6532 (__mpn_sub_n): Don't use BP_SYM.
6533 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6534 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6535 and <bp-asm.h>.
6536 (__mpn_submul_1): Don't use BP_SYM.
6537 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6539 <bp-sym.h> and <bp-asm.h>.
6540 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6542 <bp-sym.h> and <bp-asm.h>.
6543 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6544 comment.
6545
8d19fe64
SP
65462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6549 Use ZK to minimize writes to Z.
6550 (sub_magnitudes): Simplify code a bit.
6551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6552 Use ZK to minimize writes to Z.
6553 (sub_magnitudes): Simplify code a bit.
6554
85bd816a
RM
65552013-02-27 Roland McGrath <roland@hack.frob.com>
6556
6557 * csu/gmon-start.c: Add special exception to license text.
6558
b5977bf2
RH
65592013-02-27 Richard Henderson <rth@redhat.com>
6560
6561 * scripts/config.guess: Update from config.git.
6562 * scripts/config.sub: Likewise.
6563
11d6e2f2
SP
65642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6565
09c14ed2
SP
6566 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6567
a688864e
SP
6568 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6569
6295157a
SP
6570 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6571
b8de2202
SP
6572 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6573
11d6e2f2
SP
6574 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6575
7e80ddb8
RM
65762013-02-26 Roland McGrath <roland@hack.frob.com>
6577
6578 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6579 [$(build-shared = yes].
7e80ddb8 6580
7da6d9ed
SP
65812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6582
45f05884
SP
6583 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6584 (__mul): Reduce iterations for calculating mantissa.
6585
2236d359
SP
6586 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6587 MPTWO.
6588 (__mpranred): Likewise.
6589
7da6d9ed
SP
6590 [BZ #15160]
6591 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6592 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6593
b7688c42
PE
65942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6595
6596 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6597 Define __attribute__.
6598
53a5c423
SP
65992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6600
6601 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6602 unused.
6603 * posix/regex_internal.h (__attribute): Remove.
6604 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6605 (re_string_context_at): Likewise.
6606 (bitset_not): Use __attribute__ and mark function as possibly
6607 unused.
6608 (bitset_merge): Likewise.
6609 (bitset_mask): Likewise.
6610 (re_string_char_size_at): Likewise.
6611 (re_string_wchar_at): Likewise.
6612 (re_string_elem_size_at): Likewise.
6613
60f5a8b5
SP
66142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6615
2a983a2e
SP
6616 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6617 code.
6618 (cc32): Likewise.
6619
e69804d1
SP
6620 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6621 (__acr): Likewise.
6622 (__cpy): Likewise.
6623 (norm): Likewise.
6624 (denorm): Likewise.
6625 (__dbl_mp): Likewise.
6626 (add_magnitudes): Likewise.
6627 (sub_magnitudes): Likewise.
6628 (__mul): Likewise.
6629 (__inv): Likewise.
6630
2f22a1e8
SP
6631 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6632 style.
6633
8930ddc7
SP
6634 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6635 style.
6636
dc60cb11
SP
6637 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6638 code.
6639
60f5a8b5
SP
6640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6641 up changes with default code.
6642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6643 Likewise.
6644
b4d1fd33
AM
66452013-02-24 Allan McRae <allan@archlinux.org>
6646
faf6f8bc
AM
6647 * manual/socket.texi (The Internet Namespace): Order menu items
6648 to match that in the file.
6649
b4d1fd33
AM
6650 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6651 node listing of the info page menu.
6652
2366713d
JM
66532013-02-21 Joseph Myers <joseph@codesourcery.com>
6654
6655 [BZ #13550]
6656 * sysdeps/i386/bp-asm.h: Remove file.
6657 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6658 (PARMS): Do not use macros from bp-asm.h.
6659 (S1): Likewise.
6660 (S2): Likewise.
6661 (SIZE): Likewise.
6662 (__mpn_add_n): Do not use BP_SYM
6663 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6664 "bp-asm.h".
6665 (PARMS): Do not use macros from bp-asm.h.
6666 (S1): Likewise.
6667 (SIZE): Likewise.
6668 (__mpn_addmul_1): Do not use BP_SYM
6669 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6670 "bp-asm.h".
6671 (PARMS): Do not use macros from bp-asm.h.
6672 (SIGMSK): Likewise.
6673 (_setjmp): Likewise. Do not use BP_SYM.
6674 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6675 "bp-asm.h".
6676 (PARMS): Do not use macros from bp-asm.h.
6677 (SIGMSK): Likewise.
6678 (setjmp): Likewise. Do not use BP_SYM.
6679 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6680 "bp-asm.h".
6681 (PARMS): Do not use macros from bp-asm.h.
6682 (__frexp): Do not use BP_SYM.
6683 (frexp): Likewise.
6684 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6685 "bp-asm.h".
6686 (PARMS): Do not use macros from bp-asm.h.
6687 (__frexpf): Do not use BP_SYM.
6688 (frexpf): Likewise.
6689 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6690 "bp-asm.h".
6691 (PARMS): Do not use macros from bp-asm.h.
6692 (__frexpl): Do not use BP_SYM.
6693 (frexpl): Likewise.
6694 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6695 "bp-asm.h".
6696 (PARMS): Do not use macros from bp-asm.h.
6697 (__remquo): Do not use BP_SYM.
6698 (remquo): Likewise.
6699 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6700 "bp-asm.h".
6701 (PARMS): Do not use macros from bp-asm.h.
6702 (__remquof): Do not use BP_SYM.
6703 (remquof): Likewise.
6704 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6705 "bp-asm.h".
6706 (PARMS): Do not use macros from bp-asm.h.
6707 (__remquol): Do not use BP_SYM.
6708 (remquol): Likewise.
6709 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6710 "bp-asm.h".
6711 (PARMS): Do not use macros from bp-asm.h.
6712 (DEST): Likewise.
6713 (SRC): Likewise.
6714 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6715 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6716 "bp-asm.h".
6717 (PARMS): Do not use macros from bp-asm.h.
6718 (strlen): Do not use BP_SYM.
6719 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6720 "bp-asm.h".
6721 (PARMS): Do not use macros from bp-asm.h.
6722 (S1): Likewise.
6723 (S2): Likewise.
6724 (SIZE): Likewise.
6725 (__mpn_add_n): Do not use BP_SYM.
6726 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6727 "bp-asm.h".
6728 (PARMS): Do not use macros from bp-asm.h.
6729 (S1): Likewise.
6730 (SIZE): Likewise.
6731 (__mpn_addmul_1): Do not use BP_SYM.
6732 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6733 weak_alias.
6734 (bzero): Likewise.
6735 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6736 "bp-asm.h".
6737 (PARMS): Do not use macros from bp-asm.h.
6738 (S): Likewise.
6739 (SIZE): Likewise.
6740 (__mpn_lshift): Do not use BP_SYM.
6741 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6742 "bp-asm.h".
6743 (PARMS): Do not use macros from bp-asm.h.
6744 (DEST): Likewise.
6745 (SRC): Likewise.
6746 (LEN): Likewise.
6747 (memcpy): Likewise. Do not use BP_SYM.
6748 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6749 libc_hidden_def and weak_alias.
6750 (mempcpy): Do not use BP_SYM in weak_alias.
6751 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6752 "bp-asm.h".
6753 (PARMS): Do not use macros from bp-asm.h.
6754 (DEST): Likewise.
6755 (LEN): Likewise.
6756 [!BZERO_P] (CHR): Likewise.
6757 (memset): Likewise. Do not use BP_SYM.
6758 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6759 "bp-asm.h".
6760 (PARMS): Do not use macros from bp-asm.h.
6761 (S1): Likewise.
6762 (SIZE): Likewise.
6763 (__mpn_mul_1): Do not use BP_SYM.
6764 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6765 "bp-asm.h".
6766 (PARMS): Do not use macros from bp-asm.h.
6767 (S): Likewise.
6768 (SIZE): Likewise.
6769 (__mpn_rshift): Do not use BP_SYM.
6770 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6771 "bp-asm.h".
6772 (PARMS): Do not use macros from bp-asm.h.
6773 (STR): Likewise.
6774 (CHR): Likewise.
6775 (strchr): Likewise. Do not use BP_SYM.
6776 (index): Do not use BP_SYM in weak_alias.
6777 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6778 "bp-asm.h".
6779 (PARMS): Do not use macros from bp-asm.h.
6780 (DEST): Likewise.
6781 (SRC): Likewise.
6782 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6783 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 (PARMS): Do not use macros from bp-asm.h.
6786 (strlen): Do not use BP_SYM.
6787 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6788 "bp-asm.h".
6789 (PARMS): Do not use macros from bp-asm.h.
6790 (S1): Likewise.
6791 (S2): Likewise.
6792 (SIZE): Likewise.
6793 (__mpn_sub_n): Do not use BP_SYM.
6794 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6795 "bp-asm.h".
6796 (PARMS): Do not use macros from bp-asm.h.
6797 (S1): Likewise.
6798 (SIZE): Likewise.
6799 (__mpn_submul_1): Do not use BP_SYM.
6800 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6801 "bp-asm.h".
6802 (PARMS): Do not use macros from bp-asm.h.
6803 (S1): Likewise.
6804 (S2): Likewise.
6805 (SIZE): Likewise.
6806 (__mpn_add_n): Do not use BP_SYM.
6807 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6808 weak_alias.
6809 (bzero): Likewise.
6810 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6811 "bp-asm.h".
6812 (PARMS): Do not use macros from bp-asm.h.
6813 (BLK2): Likewise.
6814 (LEN): Likewise.
6815 (memcmp): Do not use BP_SYM.
6816 (bcmp): Do not use BP_SYM in weak_alias.
6817 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6818 "bp-asm.h".
6819 (PARMS): Do not use macros from bp-asm.h.
6820 (DEST): Likewise.
6821 (SRC): Likewise.
6822 (LEN): Likewise.
6823 (memcpy): Likewise. Do not use BP_SYM.
6824 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6825 "bp-asm.h".
6826 (PARMS): Do not use macros from bp-asm.h.
6827 (DEST): Likewise.
6828 (SRC): Likewise.
6829 (LEN): Likewise.
6830 (memmove): Likewise. Do not use BP_SYM.
6831 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6832 "bp-asm.h".
6833 (PARMS): Do not use macros from bp-asm.h.
6834 (DEST): Likewise.
6835 (SRC): Likewise.
6836 (LEN): Likewise.
6837 (__mempcpy): Likewise. Do not use BP_SYM.
6838 (mempcpy): Do not use BP_SYM in weak_alias.
6839 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6840 "bp-asm.h".
6841 (PARMS): Do not use macros from bp-asm.h.
6842 (DEST): Likewise.
6843 (LEN): Likewise.
6844 [!BZERO_P] (CHR): Likewise.
6845 (memset): Likewise. Do not use BP_SYM.
6846 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6847 "bp-asm.h".
6848 (PARMS): Do not use macros from bp-asm.h.
6849 (STR2): Likewise.
6850 (strcmp): Do not use BP_SYM.
6851 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6852 "bp-asm.h".
6853 (PARMS): Do not use macros from bp-asm.h.
6854 (STR): Likewise.
6855 (DELIM): Likewise.
6856 [USE_AS_STRTOK_R] (SAVE): Likewise.
6857 (FUNCTION): Likewise. Do not use BP_SYM.
6858 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6859 aliases.
6860 (strtok_r): Likewise.
6861 (__GI___strtok_r): Likewise.
6862 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6863 (PARMS): Do not use macros from bp-asm.h.
6864 (S): Likewise.
6865 (SIZE): Likewise.
6866 (__mpn_lshift): Do not use BP_SYM.
6867 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6868 (PARMS): Do not use macros from bp-asm.h.
6869 (STR): Likewise.
6870 (CHR): Likewise.
6871 (__memchr): Do not use BP_SYM.
6872 (memchr): Do not use BP_SYM in weak_alias.
6873 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6874 (PARMS): Do not use macros from bp-asm.h.
6875 (BLK2): Likewise.
6876 (LEN): Likewise.
6877 (memcmp): Do not use BP_SYM.
6878 (bcmp): Do not use BP_SYM in weak_alias.
6879 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6880 (PARMS): Do not use macros from bp-asm.h.
6881 (S1): Likewise.
6882 (SIZE): Likewise.
6883 (__mpn_mul_1): Do not use BP_SYM.
6884 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6885 "bp-asm.h".
6886 (PARMS): Do not use macros from bp-asm.h.
6887 (STR): Likewise.
6888 (CHR): Likewise.
6889 (__rawmemchr): Do not use BP_SYM.
6890 (rawmemchr): Do not use BP_SYM in weak_alias.
6891 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6892 (PARMS): Do not use macros from bp-asm.h.
6893 (S): Likewise.
6894 (SIZE): Likewise.
6895 (__mpn_rshift): Do not use BP_SYM.
6896 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6897 (PARMS): Do not use macros from bp-asm.h.
6898 (SIGMSK): Likewise.
6899 (__sigsetjmp): Likewise. Do not use BP_SYM.
6900 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6901 (_start): Do not use BP_SYM.
6902 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6903 (PARMS): Do not use macros from bp-asm.h.
6904 (DEST): Likewise.
6905 (SRC): Likewise.
6906 (__stpcpy): Likewise. Do not use BP_SYM.
6907 (stpcpy): Do not use BP_SYM in weak_alias.
6908 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6909 "bp-asm.h".
6910 (PARMS): Do not use macros from bp-asm.h.
6911 (DEST): Likewise.
6912 (SRC): Likewise.
6913 (LEN): Likewise.
6914 (__stpncpy): Likewise. Do not use BP_SYM.
6915 (stpncpy): Do not use BP_SYM in weak_alias.
6916 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6917 (PARMS): Do not use macros from bp-asm.h.
6918 (STR): Likewise.
6919 (CHR): Likewise.
6920 (strchr): Likewise. Do not use BP_SYM.
6921 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6922 "bp-asm.h".
6923 (PARMS): Do not use macros from bp-asm.h.
6924 (STR): Likewise.
6925 (CHR): Likewise.
6926 (__strchrnul): Likewise. Do not use BP_SYM.
6927 (strchrnul): Do not use BP_SYM in weak_alias.
6928 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6929 "bp-asm.h".
6930 (PARMS): Do not use macros from bp-asm.h.
6931 (STOP): Likewise.
6932 (strcspn): Do not use BP_SYM.
6933 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6934 "bp-asm.h".
6935 (PARMS): Do not use macros from bp-asm.h.
6936 (STR): Likewise.
6937 (STOP): Likewise.
6938 (strpbrk): Likewise. Do not use BP_SYM.
6939 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6940 "bp-asm.h".
6941 (PARMS): Do not use macros from bp-asm.h.
6942 (STR): Likewise.
6943 (CHR): Likewise.
6944 (strrchr): Likewise. Do not use BP_SYM.
6945 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6946 (PARMS): Do not use macros from bp-asm.h.
6947 (SKIP): Likewise.
6948 (strspn): Do not use BP_SYM.
6949 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (STR): Likewise.
6952 (DELIM): Likewise.
6953 (SAVE): Likewise.
6954 (FUNCTION): Likewise. Do not use BP_SYM.
6955 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6956 aliases.
6957 (strtok_r): Likewise.
6958 (__GI___strtok_r): Likewise.
6959 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6960 (PARMS): Do not use macros from bp-asm.h.
6961 (S1): Likewise.
6962 (S2): Likewise.
6963 (SIZE): Likewise.
6964 (__mpn_sub_n): Do not use BP_SYM.
6965 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6966 "bp-asm.h".
6967 (PARMS): Do not use macros from bp-asm.h.
6968 (S1): Likewise.
6969 (SIZE): Likewise.
6970 (__mpn_submul_1): Do not use BP_SYM.
6971 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6972 <bp-sym.h>.
6973 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6974 and <bp-asm.h>.
6975 (PARMS): Do not use macros from bp-asm.h.
6976 (FLAGS): Likewise.
6977 (PTID): Likewise.
6978 (TLS): Likewise.
6979 (CTID): Likewise.
6980 (__clone): Do not use BP_SYM.
6981 (clone): Do not use BP_SYM in weak_alias.
6982 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6983 and <bp-asm.h>.
6984 (PARMS): Do not use macros from bp-asm.h.
6985 (LEN): Likewise.
6986 (__mmap64): Do not use BP_SYM.
6987 (mmap64): Do not use BP_SYM in weak_alias.
6988 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (PARMS): Do not use macros from bp-asm.h.
6991 (__posix_fadvise64_l64): Do not use BP_SYM.
6992 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6993 (PARMS): Do not use macros from bp-asm.h.
6994 (NSOPS): Likewise.
6995 (semtimedop): Do not use BP_SYM.
6996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6997 and <bp-asm.h>.
6998
582a3cff
AM
69992013-02-21 Allan McRae <allan@archlinux.org>
7000
7001 * manual/message.texi (Charset conversion in gettext):
7002 Move @end statement to beginning of line.
7003
bab8a695
SP
70042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7005
80945231
SP
7006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7007 static.
7008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7009 Likewise.
7010
bab8a695
SP
7011 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7012 (denorm): Likewise.
7013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7015
e21d7aa7
AK
70162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7017
7018 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7019 tail-call to the resolved function if pltexit isn't needed.
7020
4c7a4263
SP
70212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
7023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7024 or Y being zero as being unlikely.
7025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7026 Likewise.
7027
41f49342
CD
70282013-02-20 Carlos O'Donell <carlos@redhat.com>
7029
7030 * manual/nss.texi (System Databases and Name Service Switch):
7031 Remove frobnicate @pxref.
7032
50022a93
TS
70332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7034
7035 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7036 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7037
08cbd996
PM
70382013-02-20 Petr Machata <pmachata@redhat.com>
7039
7040 * elf/elf.h (R_ARM_TARGET1): New macro.
7041 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7042 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7043 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7044 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7045 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7046 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7047 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7048 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7049 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7050 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7051 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7052 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7053 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7054 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7055 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7056 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7057 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7058 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7059 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7060 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7061 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7062 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7063 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7064 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7065 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7066 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7067 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7068 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7069 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7070 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7071 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7072 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7073 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7074 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7075 (R_ARM_THM_GOT_BREL12): Likewise.
7076 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7077 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7078 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7079 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7080 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7081 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7082 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7083 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7084 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7085
c7b275d6
TS
70862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7087
7088 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7089 __attribute_used__ to __attribute__ ((unused)).
7090
20cd7fb3
SP
70912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7094 powerpc mpa.c.
7095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7096 comment formatting.
7097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7098
92945b52
JM
70992013-02-19 Joseph Myers <joseph@codesourcery.com>
7100
7101 [BZ #13550]
7102 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7103 Remove macro.
7104 (ENTER): Remove both macro definitions.
7105 (LEAVE): Likewise.
7106 (CHECK_BOUNDS_LOW): Likewise.
7107 (CHECK_BOUNDS_HIGH): Likewise.
7108 (CHECK_BOUNDS_BOTH): Likewise.
7109 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7110 (RETURN_BOUNDED_POINTER): Likewise.
7111 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7112 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7113 (POP_ERRNO_LOCATION_RETURN): Likewise.
7114 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7115 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7116 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7117 macros.
7118 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7119 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7120 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7121 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7122 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7123 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7124 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7125 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7126 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7127 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7128 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7129 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7130 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7131 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7132 removed macros.
7133 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7134 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7135 macros.
7136 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7137 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7138 * sysdeps/i386/i586/memset.S (memset): Likewise.
7139 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7141 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7142 macros.
7143 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7144 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7145 Change uses of L(2) to L(out).
7146 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7147 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7148 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7149 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7150 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7151 removed macros.
7152 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7153 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7154 macros.
7155 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7156 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7157 (RETURN): Do not use macro LEAVE.
7158 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7159 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7160 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7161 * sysdeps/i386/i686/memset.S (memset): Likewise.
7162 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7163 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7164 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7165 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7166 Likewise.
7167 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7168 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7169 L(1_2) and L(1_3) into L(1).
7170 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7171 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7172 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7173 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7174 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7175 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7176 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7177 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7178 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7179 macros.
7180 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7181 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7182 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7183 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7184 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7185 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7186 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7187 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7188 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7189 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7190 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7191 * sysdeps/i386/strspn.S (strspn): Likewise.
7192 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7193 conditional code.
7194 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7195 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7196 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7197 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7198 L(1_3) into L(1_1).
7199 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7200 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7201 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7202 macros.
7203 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7204
2389741a
JJ
72052013-02-19 Jakub Jelinek <jakub@redhat.com>
7206
7207 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7208 macro.
7209
2016b3cd
SP
72102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
e4f22324
SP
7212 * math/atest-exp.c (exp_mpn): Remove ROUND.
7213 * math/atest-exp2.c (exp_mpn): Likewise.
7214 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7215
2016b3cd
SP
7216 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7217 * stdlib/tst-tls-atexit-lib.c: Likewise.
7218 * stdlib/tst-tls-atexit.c: Likewise.
7219
4be9b544
MF
72202013-02-18 Mike Frysinger <vapier@gentoo.org>
7221
7222 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7223 and __attribute_alloc_size__.
7224
2f62b9ee
MF
72252013-02-18 Mike Frysinger <vapier@gentoo.org>
7226
7227 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7228 __attribute_alloc_size__.
7229 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7230 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7231
6ff444c4
MF
72322013-02-18 Mike Frysinger <vapier@gentoo.org>
7233
7234 * include/programs/xmalloc.h: New file.
7235 * catgets/gencat.c: Include it.
7236 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7237 * elf/pldd.c: Likewise.
7238 * iconv/iconv_charmap.c: Likewise.
7239 * iconv/iconvconfig.c: Likewise.
7240 * iconv/strtab.c: Likewise.
7241 * locale/programs/locale.c: Likewise.
7242 * locale/programs/localedef.h: Likewise.
7243 * locale/programs/simple-hash.c: Likewise.
7244 * nscd/nscd.h: Likewise.
7245 * nss/makedb.c: Likewise.
7246 * sysdeps/generic/ldconfig.h: Likewise.
7247
be179c8a
SP
72482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7249
ba384f6e
SP
7250 * Versions.def: Add GLIBC_2.18.
7251 * include/link.h (struct link_map): New member l_tls_dtor_count.
7252 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7253 (__call_tls_dtors): Likewise.
7254 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7255 __cxa_thread_atexit_impl.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7257 Likewise.
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7259 Likewise.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7261 Likewise.
7262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7263 Likewise.
7264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7266 Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7268 Likewise.
7269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7271 Likewise.
7272 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7273 (tests): Add test case tst-tls-atexit.
7274 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7275 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7276 (GLIBC_PRIVATE): Add __call_tls_dtors.
7277 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7278 for libstdc++.
7279 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7280 * stdlib/tst-tls-atexit.c: New test case.
7281 * stdlib/tst-tls-atexit-lib.c: New test case.
7282
ffaa74cf 7283 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7284
be179c8a
SP
7285 * elf/Versions (ld): Add _dl_find_dso_for_object.
7286 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7287 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7288 (dl_open_worker): Use _dl_find_dso_for_object.
7289 * elf/dl-sym.c (do_sym): Likewise.
7290 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7291
f78b5caa
AK
72922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7293
7294 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7295 Syntactic changes only.
7296 (_dl_runtime_profile): Do a tail-call to the resolved function.
7297
29691210
JM
72982013-02-17 Joseph Myers <joseph@codesourcery.com>
7299
7300 [BZ #13550]
7301 * sysdeps/x86_64/bp-asm.h: Remove file.
7302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7303 <bp-sym.h> and <bp-asm.h>.
7304 (__clone): Do not use BP_SYM.
7305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7306 <bp-sym.h> and <bp-asm.h>.
7307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7308 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7309 "bp-asm.h".
7310 (_setjmp): Do not use BP_SYM.
7311 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7312 "bp-asm.h".
7313 (setjmp): Do not use BP_SYM.
7314 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7315 libc_hidden_def.
7316 (mempcpy): Do not use BP_SYM in weak_alias.
7317 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7318 "bp-asm.h".
7319 (strchr): Do not use BP_SYM.
7320 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7321 "bp-asm.h".
7322 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7323 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7324 (_start): Do not use BP_SYM.
7325 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7326 "bp-asm.h".
7327 (strcat): Do not use BP_SYM.
7328 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7329 "bp-asm.h".
7330 (STRCMP): Do not use BP_SYM.
7331 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7332 "bp-asm.h".
7333 (STRCPY): Do not use BP_SYM.
7334 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7335 "bp-asm.h".
7336 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7337 "bp-asm.h".
7338 (FUNCTION): Do not use BP_SYM.
7339 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7340 weak_alias.
7341 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7342
f238fd19
AJ
73432013-02-17 Andreas Jaeger <aj@suse.de>
7344
7345 * time/Versions: Sort entries.
7346 * string/Versions: Likewise.
7347 * resolv/Versions: Likewise.
7348 * posix/Versions: Likewise.
7349 * iconv/Versions: Likewise.
7350 * elf/Versions: Likewise.
7351 * wcsmbs/Versions: Likewise.
7352
bd07f23c 73532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7354
22af19f9
SP
7355 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7356 loop termination condition.
7357
4709fe76
SP
7358 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7359 variable to calculate EZ.
7360 (__sqr): Likewise.
2d0e0f29
SP
7361
7362 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7363 the lower precision input.
7364
daaa7713
JM
73652013-02-15 Joseph Myers <joseph@codesourcery.com>
7366
7367 [BZ #13550]
7368 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7369 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7370 (run-via-rtld-prefix): Do not handle %-bp tests.
7371 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7372 (all-object-suffixes): Remove .ob.
7373 (bppfx): Remove variable.
7374 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7375 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7376 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7377 [$(build-bounded) = yes] (libtype.ob): Likewise.
7378 * Makerules (elide-routines.ob): Remove variable.
7379 (do-tests-clean): Do not handle *-bp.out.
7380 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7381 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7382 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7383 (tests): Do not include $(tests-bp.out).
7384 (xtests): Do not include $(xtests-bp.out).
7385 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7386 [$(build-bounded) = yes] ($(addprefix
7387 $(objpfx),$(binaries-bounded))): Remove rule.
7388 ($(objpfx)%-bp.out): Remove rule.
7389 * config.make.in (build-bounded): Remove variable.
7390 * crypt/Makefile [$(build-bounded) = yes]
7391 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7392 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7393 append to variable.
7394 [$(build-bounded) = yes] (install-lib): Likewise.
7395 [$(build-bounded) = yes] (generated): Likewise.
7396 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7397 Remove rule.
7398 * intl/Makefile [$(build-bounded) = yes]
7399 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7400 * math/Makefile [$(build-bounded) = yes]
7401 ($(tests:%=$(objpfx)%-bp): Likewise.
7402 * misc/Makefile [$(build-bounded) = yes]
7403 ($(objpfx)tst-tsearch-bp): Likewise.
7404 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7405 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7406 Remove dependency.
7407 * string/Makefile (o-objects.ob): Remove variable.
7408 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7409 (CFLAGS-.ob): Remove variable.
7410 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7411 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7412 both definitions of variable.
7413 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7414 (ASFLAGS-.ob): Remove variable.
7415
e97ed6dd
JM
74162013-02-14 Joseph Myers <joseph@codesourcery.com>
7417
2bdd4ca6
JM
7418 [BZ #13550]
7419 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7420 Remove __BOUNDED_POINTERS__ from condition.
7421 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7422 * string/bits/string2.h [!__NO_STRING_INLINES &&
7423 !__BOUNDED_POINTERS__]: Likewise.
7424 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7425 Likewise.
7426 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7427 Remove conditional code.
7428 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7429 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7430 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7431 condition.
7432
e97ed6dd
JM
7433 [BZ #13550]
7434 * csu/libc-start.c: Do not include <bp-sym.h>.
7435 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7436 * elf/dl-open.c: Do not include <bp-sym.h>.
7437 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7438 * math/fegetenv.c: Do not include <bp-sym.h>.
7439 (fegetenv): Do not use BP_SYM in versioned symbols.
7440 * nptl/sysdeps/pthread/bits/libc-lockP.h
7441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7442 <bp-sym.h>.
7443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7444 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7446 (__pthread_mutex_destroy): Likewise.
7447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7448 (__pthread_mutex_lock): Likewise.
7449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7450 (__pthread_mutex_trylock): Likewise.
7451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7452 (__pthread_mutex_unlock): Likewise.
7453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7454 (__pthread_mutexattr_init): Likewise.
7455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7456 (__pthread_mutexattr_destroy): Likewise.
7457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7458 (__pthread_mutexattr_settype): Likewise.
7459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7460 (__pthread_rwlock_init): Likewise.
7461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7462 (__pthread_rwlock_destroy): Likewise.
7463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7464 (__pthread_rwlock_rdlock): Likewise.
7465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7466 (__pthread_rwlock_tryrdlock): Likewise.
7467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7468 (__pthread_rwlock_wrlock): Likewise.
7469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7470 (__pthread_rwlock_trywrlock): Likewise.
7471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7472 (__pthread_rwlock_unlock): Likewise.
7473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7474 (__pthread_key_create): Likewise.
7475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7476 (__pthread_setspecific): Likewise.
7477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7478 (__pthread_getspecific): Likewise.
7479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7480 Likewise.
7481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7482 (_pthread_cleanup_push_defer): Likewise.
7483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7484 (_pthread_cleanup_pop_restore): Likewise.
7485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7486 (pthread_setcancelstate): Likewise.
7487 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7488 <bp-sym.h>.
7489 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7490 (memchr): Do not use BP_SYM in weak_alias.
7491 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7492 (fegetenv): Do not use BP_SYM in versioned symbols.
7493 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7494 (fesetenv): Do not use BP_SYM in versioned symbols.
7495 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7496 (feupdateenv): Do not use BP_SYM in versioned symbols.
7497 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7498 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7499 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7500 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7501 (open64): Do not use BP_SYM in weak_alias.
7502 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7503 (fegetenv): Do not use BP_SYM in versioned symbols.
7504 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7505 (fesetenv): Do not use BP_SYM in versioned symbols.
7506 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7507 (feupdateenv): Do not use BP_SYM in versioned symbols.
7508 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7509 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7510 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7511 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7512 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7513 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7514 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7515 <bp-sym.h>.
7516 (__libc_start_main): Do not use BP_SYM.
7517
d6752ccd
SP
75182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
cb57ce60
SP
7520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7521 redundant return line.
7522 (norm): Likewise.
7523 (denorm): Likewise.
7524 (dbl_mp): Likewise.
7525 (sub_magnitudes): Likewise.
7526 (__add): Likewise.
7527 (__sub): Likewise.
7528 (__mul): Likewise.
7529 (__inv): Likewise.
7530 (__dvd): Likewise.
7531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7532 (norm): Likewise.
7533 (denorm): Likewise.
7534 (dbl_mp): Likewise.
7535 (sub_magnitudes): Likewise.
7536 (__add): Likewise.
7537 (__sub): Likewise.
7538 (__mul): Likewise.
7539 (__inv): Likewise.
7540 (__dvd): Likewise.
7541
f414520d
SP
7542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7543 instead of __mul.
7544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7545 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7546 (cc32): Likewise.
7547
d6752ccd
SP
7548 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7549 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7551 of __mul for squares.
7552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7553 function
7554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7555 Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7557 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7558
70d9946a
JM
75592013-02-13 Joseph Myers <joseph@codesourcery.com>
7560
7561 [BZ #13550]
7562 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7563 code.
7564 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7565 prototype or function definition. Rename ubp_* variables and
7566 parameters. Remove argv definitions conditional on
7567 [__BOUNDED_POINTERS__].
7568 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7569 * elf/dl-runtime.c (_dl_fixup): Likewise.
7570 * include/set-hooks.h (RUN_HOOK): Likewise.
7571 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7572 definition.
7573 * string/strcpy.c (strcpy): Do not use __unbounded.
7574 * sysdeps/generic/frame.h (struct layout): Likewise.
7575 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7576 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7577 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7578 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7579 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7580 (__backtrace): Likewise.
7581 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7582 use __ptrvalue.
7583 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7584 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7585 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7588 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7589 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7590 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7591 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7592 Do not use __unbounded.
7593 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7594 Rename __unboundedrlimits parameter to rlimits in prototype.
7595 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7596 Do not use __unbounded.
7597 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7598 not use __ptrvalue.
7599 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7600 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7601 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7602 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7603 __ptrvalue or __unbounded.
7604 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7605 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7606 use __unbounded.
7607 (__new_msgctl): Do not use __ptrvalue.
7608 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7609 __unbounded.
7610 (__libc_msgrcv): Do not use __ptrvalue.
7611 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7612 startup_info): Do not use __unbounded.
7613 (__libc_start_main): Likewise. Rename ubp_* variables and
7614 parameters. Remove argv definitions conditional on
7615 [__BOUNDED_POINTERS__].
7616 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7617 __ptrvalue.
7618 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7619 use __unbounded.
7620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7621 or __ptrvalue.
7622 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7623 use __unbounded.
7624 (__new_shmctl): Do not use __ptrvalue.
7625 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7626 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7627 Likewise.
7628 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7630 (__libc_sigaction): Likewise.
7631 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7633 Likewise.
7634 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7635
cc7834d6
OB
76362013-02-13 Ondřej Bílka <neleai@seznam.cz>
7637
ffb1ec7b 7638 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7639
7640 * string/mempcpy.c: Implement by calling memcpy.
7641
bdf02814
SP
76422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7643
c2af38aa
SP
7644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7645
4e92d59e
SP
7646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7647 evaluation.
7648
909279a5
SP
7649 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7650 values in the mantissa.
7651
bdf02814
SP
7652 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7653 minimize writes to Z.
7654 (sub_magnitudes): Simplify code a bit.
7655
cd525923
RM
76562013-02-12 Roland McGrath <roland@hack.frob.com>
7657
7658 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7659 from the message. The linker prefixes all warnings with that already.
7660
7e2f0d2d
AS
76612013-02-12 Andreas Schwab <schwab@suse.de>
7662
a445af0b
AS
7663 [BZ #15078]
7664 * posix/regexec.c (extend_buffers): Add parameter min_len.
7665 (check_matching): Pass minimum needed length.
7666 (clean_state_log_if_needed): Likewise.
7667 (get_subexp): Likewise.
7668 * posix/Makefile (tests): Add bug-regex34.
7669 (bug-regex34-ENV): Define.
7670 * posix/bug-regex34.c: New file.
7671
7e2f0d2d
AS
7672 [BZ #11561]
7673 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7674 elements compare against the byte sequence of it, not its name.
7675 * posix/Makefile (tests): Add bug-regex35.
7676 (bug-regex35-ENV): Define.
7677 * posix/bug-regex35.c: New file.
7678
a175b684
TV
76792013-02-11 Tom de Vries <tom@codesourcery.com>
7680
7681 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7682 comment.
7683 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7684 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7685 (CHECK_EOL): Add undef.
7686
310998fe 76872013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7688
7689 * bits/stdlib-bsearch.h: New file.
7690 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7691 * stdlib/stdlib.h: Likewise.
41eda41d 7692
8ded91fb
RM
76932013-02-11 Roland McGrath <roland@hack.frob.com>
7694
7695 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7696 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7697 declaration.
7698 * manual/search.texi (Array Search Function): Add missing const in
7699 lfind prototype.
7700 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7701 declaration to use rlim_t.
7702 (Basic Scheduling Functions): Remove erroneous const from
7703 sched_getparam prototype. Remove erroneous * from
7704 sched_get_priority_max and sched_get_priority_min prototypes.
7705 (Resource Usage): Fix summary @comment on vtimes to refer to
7706 sys/vtimes.h rather than vtimes.h.
7707 Add missing *s in vtimes prototype.
7708 (Limits on Resources): Fix ulimit prototype to return long int.
7709 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7710 prototypes to use long int rather than double.
7711 (BSD Random): Fix initstate and setstate to use char *, not void *.
7712 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7713 prototype to make second argument 'struct aiocb64 *const[]'.
7714 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7715 (Status of AIO Operations): Remove erroneous const in aio_return and
7716 aio_return64 prototypes.
7717 (Synchronizing I/O): Fix sync prototype to return void.
7718 * manual/startup.texi (Suboptions): Remove an erroneous const in
7719 getsubopt prototype.
7720 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7721 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7722 use size_t rather than int.
7723 (Scanning All Users): Likewise for getpwent_r.
7724 (Setting Groups): Add missing const to setgroups prototype.
7725 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7726 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7727 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7728 'const void *' rather than 'const char *'.
7729 (Host Address Functions): Likewise for inet_ntop.
7730 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7731 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7732 ssize_t for return value.
7733 (Sending Data): Likewise for send, sendto, sendmsg.
7734 (Socket Option Functions): Add a missing const in setsockopt prototype.
7735 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7736 use wchar_t for the argument.
7737 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7738 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7739 take no arguments.
7740 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7741 double/float/long double for second argument.
7742 Fix return types of significand, significandf, significandl.
7743 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7744 argument in fchmod prototype.
7745 (File Owner): Use uid_t and gid_t in fchown prototype.
7746 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7747 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7748 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7749 use 'const struct dirent **' as argument types to CMP function pointer
7750 argument.
7751 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7752 (File Times): Fix summary magic @comment for struct utimbuf and utime
7753 to refer to utime.h, not time.h.
7754 * manual/string.texi (Argz Functions): Add missing const in
7755 argz_extract and argz_next prototypes.
7756 (Finding Tokens in a String): Likewise for basename.
7757 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7758 (Copying and Concatenation): Fix typo in wmemmove prototype.
7759 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7760 (Signal Stack): Remove erroneous const in sigstack prototype.
7761 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7762 prototype.
7763 (Simple Calendar Time): Likewise for stime.
7764 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7765 prototype.
7766 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7767 say sys/sysctl.h instead.
7768 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7769 and vsyslog prototypes.
7770
fe77fe6d
TV
77712013-02-11 Tom de Vries <tom@codesourcery.com>
7772
7773 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7774 Remove.
7775
3a09b620
RM
77762013-02-11 Roland McGrath <roland@hack.frob.com>
7777
7778 * misc/sys/mman.h: Fix typo in mremap comment.
7779
550a0b89
RM
77802013-02-08 Roland McGrath <roland@hack.frob.com>
7781
7782 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7783 the '\0' terminator.
7784
a2da1673
JM
77852013-02-08 Joseph Myers <joseph@codesourcery.com>
7786
7787 [BZ #13550]
7788 * debug/segfault.c: Don't include <bp-checks.h>.
7789 * sysdeps/generic/bp-checks.h: Remove file.
7790 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7791 (__GETDENTS): Don't use CHECK_N.
7792 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7793 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7794 (__getgroups): Don't use CHECK_N.
7795 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7796 (setgroups): Don't use CHECK_N.
7797 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7798 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7799 (__libc_msgrcv): Don't use CHECK_N.
7800 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7801 (__libc_msgsnd): Don't use CHECK_N.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7803 <bp-checks.h>.
7804 (__libc_pread): Don't use CHECK_N.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7806 include <bp-checks.h>.
7807 (__libc_pread64): Don't use CHECK_N.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7809 include <bp-checks.h>.
7810 (__libc_pwrite): Don't use CHECK_N.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7812 include <bp-checks.h>.
7813 (__libc_pwrite64): Don't use CHECK_N.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7815 <bp-checks.h>.
7816 (__libc_pread): Don't use CHECK_N.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7818 include <bp-checks.h>.
7819 (__libc_pread64): Don't use CHECK_N.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7821 include <bp-checks.h>.
7822 (__libc_pwrite): Don't use CHECK_N.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7824 include <bp-checks.h>.
7825 (__libc_pwrite64): Don't use CHECK_N.
7826 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7827 (do_pread): Don't use CHECK_N.
7828 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7829 (do_pread64): Don't use CHECK_N.
7830 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7831 (do_pwrite): Don't use CHECK_N.
7832 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7833 (do_pwrite64): Don't use CHECK_N.
7834 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7835 (__libc_readv): Don't use CHECK_N.
7836 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7837 (semop): Don't use CHECK_N.
7838 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7839 <bp-checks.h>.
7840 (semtimedop): Don't use CHECK_N.
7841 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7842 (__libc_pread): Don't use CHECK_N.
7843 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7844 <bp-checks.h>.
7845 (__libc_pread64): Don't use CHECK_N.
7846 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7847 <bp-checks.h>.
7848 (__libc_pwrite): Don't use CHECK_N.
7849 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7850 <bp-checks.h>.
7851 (__libc_pwrite64): Don't use CHECK_N.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7853 <bp-checks.h>.
7854 (__libc_msgrcv): Don't use CHECK_N.
7855 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7856 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7857 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7858 (__libc_writev): Don't use CHECK_N.
7859
b84660a8
RM
78602013-02-08 Roland McGrath <roland@hack.frob.com>
7861
7f3e75f8
RM
7862 * string/strcpy.c: Removed unused variable.
7863
b84660a8
RM
7864 * Makeconfig (+sysdep-includes): Define with := rather than =.
7865 Use an existing include/ subdir of each sysdeps dir before it.
7866
471514d3
CD
78672013-02-08 Carlos O'Donell <carlos@redhat.com>
7868
7869 * nscd/connection.c (register_traced_file): Comment function.
7870 [HAVE_INOTIFY] (union __inev): Define.
7871 [HAVE_INOTIFY] (inotify_check_files): New function.
7872 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7873 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7874 clear_db_cache.
7875 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7876
b2d3c3be
CD
78772013-02-08 Carlos O'Donell <carlos@redhat.com>
7878
7879 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7880 loaded if not already and that a failure is permanent.
7881
b39949d2
CD
78822013-02-08 Carlos O'Donell <carlos@redhat.com>
7883
ddacd1db 7884 [BZ #15006]
b39949d2
CD
7885 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7886 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7887
b2c9eff4
JM
78882013-02-08 Joseph Myers <joseph@codesourcery.com>
7889
f3aae3f3
JM
7890 [BZ #13550]
7891 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7892 (CHECK_1_NULL_OK): Likewise.
7893 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7894 (__fxstat): Do not use CHECK_1.
7895 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7896 <bp-checks.h>.
7897 (___fxstat64): Do not use CHECK_1.
7898 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7899 <bp-checks.h>.
7900 (__fxstatat): Do not use CHECK_1.
7901 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7902 <bp-checks.h>.
7903 (__fxstatat64): Do not use CHECK_1.
7904 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7905 <bp-checks.h>.
7906 (__fxstat): Do not use CHECK_1.
7907 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7908 <bp-checks.h>.
7909 (__fxstatat): Do not use CHECK_1.
7910 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7911 <bp-checks.h>.
7912 (__getresgid): Do not use CHECK_1.
7913 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7914 <bp-checks.h>.
7915 (__getresuid): Do not use CHECK_1.
7916 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7917 <bp-checks.h>.
7918 (__lxstat): Do not use CHECK_1.
7919 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7920 <bp-checks.h>.
7921 (__old_msgctl): Do not use CHECK_1.
7922 (__new_msgctl): Likewise.
7923 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7924 <bp-checks.h>.
7925 (__new_setrlimit): Do not use CHECK_1.
7926 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7927 <bp-checks.h>.
7928 (__old_shmctl): Do not use CHECK_1.
7929 (__new_shmctl): Likewise.
7930 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7931 <bp-checks.h>.
7932 (__xstat): Do not use CHECK_1.
7933 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7934 (__lxstat): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7936 <bp-checks.h>.
7937 (___lxstat64): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7939 (__old_msgctl): Do not use CHECK_1.
7940 (__new_msgctl): Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7942 <bp-checks.h>.
7943 (__gettimeofday): Do not use CHECK_1.
7944 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7945 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7946 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7947 <bp-checks.h>.
7948 (__gettimeofday): Do not use CHECK_1.
7949 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7950 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7951 (__new_shmctl): Do not use CHECK_1.
7952 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7953 <bp-checks.h>.
7954 (do_sigtimedwait): Do not use CHECK_1.
7955 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7956 <bp-checks.h>.
7957 (do_sigwaitinfo): Do not use CHECK_1.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7959 <bp-checks.h>.
7960 (msgctl): Do not use CHECK_1.
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7962 <bp-checks.h>.
7963 (shmctl): Do not use CHECK_1.
7964 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7965 (ustat): Do not use CHECK_1.
7966 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7967 <bp-checks.h>.
7968 (__fxstat): Do not use CHECK_1.
7969 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7970 <bp-checks.h>.
7971 (__fxstatat): Do not use CHECK_1.
7972 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7973 <bp-checks.h>.
7974 (__lxstat): Do not use CHECK_1.
7975 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7976 <bp-checks.h>.
7977 (__xstat): Do not use CHECK_1.
7978 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7979 (__xstat): Do not use CHECK_1.
7980 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7981 (___xstat64): Do not use CHECK_1.
7982
b2c9eff4
JM
7983 [BZ #13550]
7984 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7985 definitions.
7986 (CHECK_BOUNDS_HIGH): Likewise.
7987 * string/strcpy.c: Do not include <bp-checks.h>.
7988 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7989
f1d70dad
RM
79902013-02-07 Roland McGrath <roland@hack.frob.com>
7991
7992 * nscd/nscd-client.h (__nscd_drop_map_ref):
7993 Add __attribute__ ((unused)).
7994 * nis/nss-nisplus.h (niserr2nss): Likewise.
7995
7996 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7997 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7998
7999 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8000 Remove inline keyword.
8001 * include/rounding-mode.h (round_away): Likewise.
8002 * libio/wfileops.c (adjust_wide_data): Likewise.
8003 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8004 (__m128i_strloadu_tolower): Likewise.
8005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8006 (__m128i_strloadu_tolower): Likewise.
8007 * time/mktime.c (ydhms_diff): Likewise.
8008 * locale/elem-hash.h (elem_hash): Likewise.
8009 * locale/setlocale.c (setdata): Likewise.
8010 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8011 (re_string_wchar_at): Likewise.
8012 (bitset_not, bitset_merge, bitset_mask): Likewise.
8013 [!(__GNUC__ > 3)] (inline): Remove macro.
8014 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8015 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8016 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8017 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8018 * string/memcmp.c (memcmp_bytes): Likewise.
8019 * locale/programs/locarchive.c (compute_hashval): Likewise.
8020 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8021 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8022 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8023 * nss/getent.c (print_rpc, print_protocols): Likewise.
8024 (print_passwd, print_group, print_aliases): Likewise.
8025 * nis/nss-nisplus.h (niserr2nss): Likewise.
8026 * nscd/connections.c (restart_p): Likewise.
8027 Change return type to bool.
8028
eab55bfb
RM
80292013-02-05 Roland McGrath <roland@hack.frob.com>
8030
7bd642f5
RM
8031 * Makeconfig (all-Depend-files): Add existing
8032 $(sorted-subdirs:=/Depend) files.
8033 (all-subdirs): Remove nss.
8034 * sysdeps/unix/inet/Subdirs: Add it here instead.
8035 * hesiod/Depend: New file.
8036
573c29b2
RM
8037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8038 instead of calling alloca.
8039
b2e25af0
RM
8040 * io/lseek.c (__lseek): Rename to __libc_lseek.
8041 Define __lseek as an alias.
8042
eab55bfb
RM
8043 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8044
9a0d1941
CD
80452013-02-04 Carlos O'Donell <carlos@redhat.com>
8046
8047 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8048 else clause and remove check for non-standard endianness.
8049
b83bbec4
DM
80502013-02-04 David S. Miller <davem@davemloft.net>
8051
8052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8053
6277fdab
JM
80542013-02-04 Joseph Myers <joseph@codesourcery.com>
8055
8056 [BZ #13550]
8057 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8058 (__ubp_memchr): Remove prototype.
8059 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8060 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8061 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8062 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8063 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8064 Remove alias.
8065 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8066 (__ubp_memchr): Likewise.
8067 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8068 (__ubp_memchr): Likewise.
8069 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8070 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8071 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8072 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8073 CHECK_STRING.
8074 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8075 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8076 (__getcwd): Do not use CHECK_STRING.
8077 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8078 <bp-checks.h>.
8079 (__real_chown): Do not use CHECK_STRING.
8080 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8081 <bp-checks.h>.
8082 (fchownat): Do not use CHECK_STRING.
8083 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8084 CHECK_STRING.
8085 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8086 <bp-checks.h>.
8087 (__lchown): Do not use CHECK_STRING.
8088 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8089 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8090 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8091 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8093 include <bp-checks.h>.
8094 (truncate64): Do not use CHECK_STRING.
8095 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8096 <bp-checks.h>.
8097 (__real_chown): Do not use CHECK_STRING.
8098 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8099 <bp-checks.h>.
8100 (__lchown): Do not use CHECK_STRING.
8101 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8102 <bp-checks.h>.
8103 (__chown): Do not use CHECK_STRING.
8104 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8105 <bp-checks.h>.
8106 (truncate64): Do not use CHECK_STRING.
8107 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8108 Likewise.
8109 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8110 (__xmknod): Do not use CHECK_STRING.
8111 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8112 <bp-checks.h>.
8113 (__xmknodat): Do not use CHECK_STRING.
8114 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8115 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8116
903ae060
AS
81172013-02-04 Andreas Schwab <schwab@suse.de>
8118
8119 [BZ #14142]
8120 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8121 * include/netdb.h: Likewise for h_errno.
8122 * elf/tst-stackguard1.c: Include <tls.h>.
8123
542f9466
JK
81242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8125
8126 * elf/link.h (struct link_map): Extend the l_addr comment.
8127 * include/link.h (struct link_map): Likewise.
8128
e782a927
JM
81292013-02-01 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #13550]
8132 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8133 (BOUNDED_1): Remove macro.
8134 * debug/backtrace.c: Don't include <bp-checks.h>.
8135 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8136 (__backtrace): Likewise.
8137 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8138 <bp-checks.h>.
8139 (__backtrace): Don't use BOUNDED_1.
8140 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8141 <bp-checks.h>.
8142 (__backtrace): Don't use BOUNDED_1.
8143 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8144 (__backtrace): Don't use BOUNDED_1.
8145 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8146 (shmat): Don't use BOUNDED_N.
8147
8cf28c5e
JM
81482013-01-31 Joseph Myers <joseph@codesourcery.com>
8149
3a7ac8a0
JM
8150 [BZ #13550]
8151 * sysdeps/generic/bp-start.h: Remove file.
8152 * csu/libc-start.c: Don't include <bp-start.h>.
8153 (LIBC_START_MAIN): Set up __environ directly instead of using
8154 INIT_ARGV_and_ENVIRON.
8155 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8156 <bp-start.h>.
8157
f3499f95
JM
8158 [BZ #13550]
8159 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8160 definitions.
8161 (CHECK_FCNTL): Likewise.
8162 (CHECK_N_PAGES): Likewise.
8163
32a45bea
JM
8164 [BZ #13550]
8165 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8166 definitions.
8167 (CHECK_SIGSET_NULL_OK): Likewise.
8168 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8169 <bp-checks.h>.
8170 (sigpending): Don't use CHECK_SIGSET.
8171 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8172 <bp-checks.h>.
8173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8174 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8175 <bp-checks.h>.
8176 (do_sigsuspend): Don't use CHECK_SIGSET.
8177 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8178 use CHECK_SIGSET.
8179 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8180 (do_sigwait): Don't use CHECK_SIGSET.
8181 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8182 use CHECK_SIGSET.
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8184 include <bp-checks.h>.
8185 (sigpending): Don't use CHECK_SIGSET.
8186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8187 include <bp-checks.h>.
8188 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8189 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8190 <bp-checks.h>.
8191 (sigpending): Don't use CHECK_SIGSET.
8192 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8193 <bp-checks.h>.
8194 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8195
2e8a5c8c
JM
8196 [BZ #13550]
8197 * sysdeps/generic/bp-semctl.h: Remove file.
8198 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8199 <bp-checks.h> and <bp-semctl.h>.
8200 (__old_semctl): Don't use CHECK_SEMCTL.
8201 (__new_semctl): Likewise.
8202 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8203 and <bp-semctl.h>.
8204 (__old_semctl): Don't use CHECK_SEMCTL.
8205 (__new_semctl): Likewise.
8206 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8207 <bp-checks.h> and <bp-semctl.h>.
8208 (__old_semctl): Don't use CHECK_SEMCTL.
8209 (__new_semctl): Likewise.
8210 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8211 <bp-checks.h> and <bp-semctl.h>.
8212 (semctl): Don't use CHECK_SEMCTL.
8213
c2d54929
JM
8214 [BZ #13550]
8215 * Makerules (elide-bp-thunks): Remove variable.
8216 (elide-routines.oS): Don't use $(elide-bp-thunks).
8217 (elide-routines.os): Likewise.
8218 (elide-routines.o): Likewise.
8219 (elide-routines.op): Likewise.
8220 (elide-routines.og): Likewise.
8221 (objects): Don't use $(bp-thunks).
8222 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8223 include.
8224 (common-generated): Do not add s-proto-bp.d.
8225 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8226 (int): Likewise.
8227 (typ): Likewise.
8228 Do not generate makefile rules for bounded-pointer thunks.
8229 * sysdeps/generic/bp-thunks.h: Remove file.
8230 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8231 * sysdeps/unix/s-proto-bp.S: Likewise.
8232
8cf28c5e
JM
8233 [BZ #15062]
8234 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8235 parts of result separately when argument is not close to line from
8236 -i to i and one part of argument is small.
8237 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8238 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8239 * math/libm-test.inc (cacos_test): Add more tests.
8240 (casin_test): Likewise.
8241 (casinh_test): Likewise.
8242 * sysdeps/i386/fpu/libm-test-ulps: Update.
8243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8244
c4e33b8d
DM
82452013-01-31 David S. Miller <davem@davemloft.net>
8246
8247 * po/de.po: Update from translation team.
8248
3b60b421
MK
82492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8250
8251 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8252
bb931195
TS
82532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8254
b5a5da23
TS
8255 * configure.in (_AC_PROG_CC_C89): New definition.
8256 * configure: Regenerate.
8257
bb931195
TS
8258 * configure.in (AC_PROG_CPP): New definition.
8259 * configure: Regenerate.
8260
8c53a12c
JM
82612013-01-23 Joseph Myers <joseph@codesourcery.com>
8262
8263 * debug/tst-backtrace.h: New file.
8264 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8265 (ret): Remove variable.
8266 (x): Likewise.
8267 (FAIL): Remove macro.
8268 (NO_INLINE): Likewise.
8269 (fn1): Use match function instead of strstr.
8270 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8271 (ret): Remove variable.
8272 (x): Likewise.
8273 (FAIL): Remove macro.
8274 (NO_INLINE): Likewise.
8275 (fn): Use match function instead of strstr.
8276 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8277 (ret): Remove variable.
8278 (x): Likewise.
8279 (FAIL): Remove macro.
8280 (NO_INLINE): Likewise.
8281 (handle_signal): Use match function instead of strstr.
8282 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8283 (ret): Remove variable.
8284 (x): Likewise.
8285 (FAIL): Remove macro.
8286 (NO_INLINE): Likewise.
8287 (handle_signal): Use match function instead of strstr.
8288
4858fa2a
RM
82892013-01-23 Roland McGrath <roland@hack.frob.com>
8290
8291 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8292
bae8e7f5
DM
82932013-01-23 David S. Miller <davem@davemloft.net>
8294
8295 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8296 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8297 argument of CAS if possible.
8298 * sysdeps/sparc/sparc64/bits/atomic.h
8299 (__arch_compare_and_exchange_val_32_acq): Likewise.
8300 (__arch_compare_and_exchange_val_64_acq): Likewise.
8301
9cbbc4ae
PT
83022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8303
8304 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8305 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8306 Include <limits.h>.
67b3f58c 8307 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8308
5655a0b5
AC
83092013-01-23 Adam Conrad <adconrad@0c3.net>
8310
8311 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8312 (LDFLAGS-tst-array5): Likewise.
8313
052aff95
JM
83142013-01-23 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #15036]
8317 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8318 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8319 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8320 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8321
7c1e01aa
DM
83222013-01-21 David S. Miller <davem@davemloft.net>
8323
8324 * sysdeps/sparc/backtrace.c: New file.
8325 * sysdeps/sparc/sparc32/backtrace.h: New file.
8326 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8327 * sysdeps/sparc/sparc64/backtrace.h: New file.
8328 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8329 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8330 -funwind-tables.
8331
ab087e0a
AS
83322013-01-21 Andreas Schwab <schwab@suse.de>
8333
8334 [BZ #15020]
8335 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8336 closed its stdout.
8337
ed689c2f
AS
83382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8339
8340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8341 "mpa2.h".
8342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8343
31d470ac
JM
83442013-01-18 Joseph Myers <joseph@codesourcery.com>
8345 Mark Mitchell <mark@codesourcery.com>
8346 Tom de Vries <tom@codesourcery.com>
8347 Paul Pluzhnikov <ppluzhnikov@google.com>
8348
8349 * debug/tst-backtrace2.c: New file.
8350 * debug/tst-backtrace3.c: Likewise.
8351 * debug/tst-backtrace4.c: Likewise.
8352 * debug/tst-backtrace5.c: Likewise.
8353 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8354 (CFLAGS-tst-backtrace3.c): Likewise.
8355 (CFLAGS-tst-backtrace4.c): Likewise.
8356 (CFLAGS-tst-backtrace5.c): Likewise.
8357 (LDFLAGS-tst-backtrace2): Likewise.
8358 (LDFLAGS-tst-backtrace3): Likewise.
8359 (LDFLAGS-tst-backtrace4): Likewise.
8360 (LDFLAGS-tst-backtrace5): Likewise.
8361 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8362 tst-backtrace4 and tst-backtrace5.
8363
90567f30 83642013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8365 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8366
8367 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8368 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8370 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8372 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8373 "+r" and remove output regs list as redundant. Add explicit inline
8374 asm to specify register of return val to work around compiler codegen
8375 bug. Remove (int) cast on return value. Add return type parameter to
8376 use in macro so that this macro does not truncate return value for
8377 64-bit values.
8378 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8379 pass to INTERNAL_VSYSCALL_NCS.
8380 (INLINE_VSYSCALL): Add 'long int' as return type to
8381 INTERNAL_VSYSCALL_NCS macro invocation.
8382 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8383 INTERNAL_VSYSCALL_NCS macro invocation.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8385
d3b9ea61
SP
83862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8387
0b57daeb
SP
8388 [BZ #14496]
8389 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8390 Fix application of SIMD FP exception mask.
8391
caa99d06
SP
8392 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8393 mp_no from a power of two.
8394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8395 __mpexp_twomm1. Use __pow_mp.
8396
d3b9ea61
SP
8397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8398 multiplication.
8399
1dbaee3c
DM
84002013-01-17 David S. Miller <davem@davemloft.net>
8401
8402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8403
728d7b43
JM
84042013-01-17 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #15023]
8407 * include/complex.h: Condition contents on [!_COMPLEX_H].
8408 (__kernel_casinhf): New prototype.
8409 (__kernel_casinh): Likewise.
8410 (__kernel_casinhl): Likewise.
8411 * math/Makefile (libm_calls): Add k_casinh.
8412 * math/k_casinh.c: New file.
8413 * math/k_casinhf.c: Likewise.
8414 * math/k_casinhl.c: Likewise.
8415 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8416 finite nonzero arguments.
8417 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8418 finite nonzero arguments.
8419 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8420 finite nonzero arguments.
8421 * math/s_casinh.c: Do not include <float.h>.
8422 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8423 * math/s_casinhf.c: Do not include <float.h>.
8424 (__casinhf): Move code for finite nonzero arguments to
8425 k_casinhf.c.
8426 * math/s_casinhl.c: Do not include <float.h>.
8427 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8428 redefine.
8429 (__casinhl): Move code for finite nonzero arguments to
8430 k_casinhl.c.
8431 * math/libm-test.inc (cacos_test): Add more tests.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8434
2a26ef3a
PT
84352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8436
8437 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8438 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8439 [!HAVE_MREMAP]: Remove [defined linux] case.
8440 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8441
a897655d
SP
84422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
8444 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8445
881ebe89 84462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8447
8448 * elf/elf.h (R_386_SIZE32): New relocation.
8449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8450 R_386_SIZE32.
8451 (elf_machine_rela): Likewise.
8452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8453 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8454
59981e9b
JM
84552013-01-17 Joseph Myers <joseph@codesourcery.com>
8456
8457 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8458 (FP_FAST_FMA): Do not define.
8459 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8460 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8461 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8462 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8463 !_SOFT_FLOAT]: Likewise.
8464 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8465 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8466 value.
8467 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8468 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8469 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8470 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8471 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8472 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8473 file.
8474
cfa8054f
AS
84752013-01-16 Andreas Schwab <schwab@suse.de>
8476
8477 [BZ #14327]
8478 * include/stdlib.h (__mktemp): Add declaration.
8479 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8480 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8481
dd930cc5
SP
84822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8483
881ebe89
SP
8484 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8485 definitions.
8486 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8487 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8488 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8489 definitions here.
8490 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8491 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8492 definitions.
8493 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8494 and ONE.
8495 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8496 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8497 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8498 definitions.
8499 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8500 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8501 definitions.
8502 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8503
dd930cc5
SP
8504 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8505
c19a9f89
DM
85062013-01-15 David S. Miller <davem@davemloft.net>
8507
1aa61767
DM
8508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8509 trunc{,f} to libm-sysdep_routes.
8510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8512 file.
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8515 file.
8516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8517 file.
8518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8522 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8524 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8525 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8526
c42d5e98
DM
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8528 nearbyint{,f} to libm-sysdep_routes.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8531 New file.
8532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8533 file.
8534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8535 New file.
8536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8537 file.
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8541 file.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8544 file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8548
c19a9f89
DM
8549 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8550 libc_feholdexcept and libc_fesetenv.
8551
357679d2
MF
85522013-01-15 Mike Frysinger <vapier@gentoo.org>
8553
8554 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8555
65a82e3d
DM
85562013-01-14 David S. Miller <davem@davemloft.net>
8557
8b954ab9
DM
8558 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8559 (SPARC_ASM_VIS2_IFUNC): Likewise.
8560 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8562 use of 'siam' instruction.
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8564 Likewise.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8566 Likewise.
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8568 Likewise.
8569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8574 file.
8575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8576 file.
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8578 file.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8580 file.
8581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8586 new VIS2 routines.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8590 Likewise.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8596 routines to libm-sysdep_routines.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8598
65a82e3d
DM
8599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8600 fdim/fdimf to libm-sysdep_routines.
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8602 file.
8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8605 file.
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8609 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8610 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8611 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8612 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8613
e34ab705
SP
86142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8615
2a91b573
SP
8616 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8617 to optimize copies.
8618
1066a534
SP
8619 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8622
e34ab705
SP
8623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8624 local variable MPTWO.
8625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8626 Likewise.
8627
aba5e596
MF
86282013-01-13 Mike Frysinger <vapier@gentoo.org>
8629
8630 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8631 GLOB_NOESCAPE.
8632
e557e9e5
MF
86332013-01-13 Mike Frysinger <vapier@gentoo.org>
8634
8635 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8636
0428cec9
MF
86372013-01-13 Mike Frysinger <vapier@gentoo.org>
8638
8639 * manual/pattern.texi (glob_t): Document gl_flags.
8640 (glob64_t): Likewise.
8641
8794a964
DM
86422013-01-11 David S. Miller <davem@davemloft.net>
8643
66438c3f
RM
8644 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8645 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8646 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8647 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8648 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8649 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8650 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8651 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8652 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8653 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8654 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8655 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8656 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8657
4ae4244d
DM
8658 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8659 sparc V9 rather than using V8 code.
8660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8662
8794a964
DM
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8664 Move to...
8665 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8666 Here.
8667
6270516e
RM
86682013-01-11 Roland McGrath <roland@hack.frob.com>
8669
8670 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8671 not in the main loop.
8672 * configure: Regenerated.
8673
6a57d931
JM
86742013-01-11 Joseph Myers <joseph@codesourcery.com>
8675
8676 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8677 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8678 to just #else.
8679 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8680 [!__GLIBC_HAVE_LONG_LONG] case.
8681 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8682 condition to just #else.
8683 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8684 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8685 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8686 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8687 unconditional.
8688 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8689 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8690 #elif condition to just #else.
8691 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8692 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8693 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8694 #elif condition to just #else.
8695
0e8529e9
SE
86962013-01-11 Steve Ellcey <sellcey@mips.com>
8697
8698 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8699 (EF_MIPS_ARCH_64): Fix value.
8700 (EF_MIPS_ARCH_32R2): New.
8701 (EF_MIPS_ARCH_64R2): New.
8702
740b3dbe
L
87032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8704
8705 * Makeconfig (+link-pie-before-libc): New.
8706 (+link-pie-after-libc): Likewise.
8707 (+link-pie-tests): Likewise.
8708 (+link-pie): Rewritten.
8709 (link-before-libc): Remove $(config-LDFLAGS).
8710 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8711 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8712 (config-LDFLAGS): Renamed to ...
8713 (rtld-LDFLAGS): This.
8714 (rtld-tests-LDFLAGS): New macro.
8715 (link-libc-rpath-link): Likewise.
8716 (link-libc-tests-rpath-link): Likewise.
8717 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8718 (link-libc): Prepand $(link-libc-rpath-link).
8719 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8720 (test-program-prefix): New macro.
8721 (test-via-rtld-prefix): Likewise.
8722 (test-program-cmd): Likewise.
8723 (host-test-program-cmd): Likewise.
8724 * Makefile ($(common-objpfx)testrun.sh): Replace
8725 $(run-program-prefix) with $(test-program-prefix).
8726 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8727 $(rtld-LDFLAGS).
8728 ($(common-objpfx)shlib.lds): Likewise.
8729 (build-module-helper): Likewise.
8730 ($(common-objpfx)format.lds): Likewise.
8731 * Rules (binaries-pie-tests): New.
8732 (binaries-pie-notests): Likewise.
8733 (binaries-pie): Rewritten.
8734 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8735 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8736 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8737 (make-test-out): Replace $(host-built-program-cmd) with
8738 $(host-test-program-cmd).
8739 * config.make.in (build-hardcoded-path-in-tests): New variable.
8740 * configure.in (--enable-hardcoded-path-in-tests): New configure
8741 option.
8742 (hardcoded_path_in_tests): New AC_SUBST.
8743 * configure: Regenerated.
8744 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8745 $(built-program-cmd) with $(test-program-cmd).
8746 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8747 (test_program_cmd): This.
8748 * elf/Makefile ($(objpfx)order.out): Run test with
8749 $(test-program-prefix).
8750 ($(objpfx)order2.out): Likewise.
8751 ($(objpfx)tst-initorder.out): Likewise.
8752 ($(objpfx)tst-initorder2.out): Likewise.
8753 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8754 $(test-program-cmd).
8755 ($(objpfx)tst-array1-static.out): Likewise.
8756 ($(objpfx)tst-array2.out): Likewise.
8757 ($(objpfx)tst-array3.out): Likewise.
8758 ($(objpfx)tst-array4.out): Likewise.
8759 ($(objpfx)tst-array5.out): Likewise.
8760 ($(objpfx)tst-array5-static.out): Likewise.
8761 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8762 $(test-program-cmd).
8763 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8764 $(run-program-prefix) with $(test-program-prefix).
8765 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8766 (test_program_prefix): This.
8767 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8768 $(run-program-prefix) with $(test-program-prefix).
8769 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8770 (test_program_prefix): This.
8771 * iconvdata/tst-tables.sh: Likewise.
8772 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8773 $(run-program-prefix) with $(test-program-prefix).
8774 ($(objpfx)tst-translit.out): Likewise.
8775 ($(objpfx)tst-gettext2.out): Likewise.
8776 ($(objpfx)tst-gettext4.out): Likewise.
8777 ($(objpfx)tst-gettext6.out): Likewise.
8778 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8779 (test_program_prefix): This.
8780 * intl/tst-gettext2.sh: Likewise.
8781 * intl/tst-gettext4.sh Likewise.
8782 * intl/tst-gettext6.sh: Likewise.
8783 * intl/tst-translit.sh: Likewise.
8784 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8785 with $(test-program-cmd).
8786 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8787 $(run-program-prefix) with $(test-program-prefix).
8788 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8789 (test_program_prefix): This.
8790 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8791 $(run-program-prefix) with $(test-program-prefix).
8792 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8793 (test_program_prefix): This.
8794 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8795 * posix/Makefile ($(objpfx)globtest.out): Replace
8796 $(run-via-rtld-prefix) and $(test-wrapper) with
8797 $(test-program-prefix) and $(test-via-rtld-prefix).
8798 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8799 $(test-program-prefix).
8800 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8801 $(host-test-program-cmd).
8802 (tst-spawn-ARGS): Likewise.
8803 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8804 $(test-program-prefix).
8805 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8806 (test_via_rtld_prefix): This.
8807 (test_wrapper): Renamed to ...
8808 (test_program_prefix): This.
8809 (run_program_prefix): Replaced by test_program_prefix.
8810 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8811 (test_program_prefix): This.
8812 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8813 with $(host-test-program-cmd).
8814 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8815 $(run-program-prefix) with $(test-program-prefix).
8816 ($(objpfx)tst-printf.out): Likewise.
8817 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8818 $(test-program-cmd).
8819 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8820 (test_program_prefix): This.
8821 * stdio-common/tst-unbputc.sh: Likewise.
8822 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8823 $(run-program-prefix) with $(test-program-prefix).
8824 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8825 (test_program_prefix): This.
8826 * string/Makefile ($(objpfx)tst-svc.out): Replace
8827 $(built-program-cmd) with $(test-program-cmd).
8828
c6fe55cf
AJ
88292013-01-11 Andreas Jaeger <aj@suse.de>
8830
8831 [BZ #15003]
8832 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8833 value. Sync with Linux 3.7.
8834
9e6919c8
DM
88352013-01-10 David S. Miller <davem@davemloft.net>
8836
8837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8838 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8839 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8840
1c9f1a02
RM
88412013-01-10 Roland McGrath <roland@hack.frob.com>
8842
8843 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8844 never set.
8845 * configure: Regenerated.
8846
b9de2dde
DM
88472013-01-10 David S. Miller <davem@davemloft.net>
8848
8849 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8850 sparc V9 rather than using V8 code.
8851 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8853
e7f68ef4
RM
88542013-01-10 Roland McGrath <roland@hack.frob.com>
8855
8856 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8857 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8858 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8859 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8860 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8861 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8862 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8863 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8864 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8865 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8866 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8867 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8868 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8869 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8870 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8871 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8872 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8873 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8874 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8875 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8876 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8877 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8878 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8879 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8880 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8881 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8882 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8883
5a47cc9c
DM
88842013-01-10 David S. Miller <davem@davemloft.net>
8885
8886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8887
4cf8f209
L
88882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8889
8890 * posix/Makefile (tests-static): New variable.
8891 (tests): Add $(tests-static).
8892 (tst-exec-static-ARGS): New variable.
8893 (tst-spawn-static-ARGS): Likewise.
8894 * posix/tst-exec-static.c: New file.
8895 * posix/tst-spawn-static.c: Likewise.
8896 * posix/tst-exec.c: Support run directly.
8897 * posix/tst-spawn.c: Likewise.
8898
fed0faa1
JM
88992013-01-10 Joseph Myers <joseph@codesourcery.com>
8900
828beb13
JM
8901 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8902 long.
8903 * math/bits/mathcalls.h (llrint): Likewise.
8904 (llround): Likewise.
8905 * stdlib/stdlib.h (struct drand48_data): Likewise.
8906 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8907 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8908 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8909 Likewise.
8910 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8911 Likewise.
8912 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8913 (elf_greg_t): Likewise.
8914 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8915 (__jmp_buf): Likewise.
8916 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8917 definitions.
8918 (llrint): Likewise, for all definitions.
8919 (llrintl): Likewise.
8920
fed0faa1
JM
8921 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8922 Remove [__GNUC__] condition.
8923 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8924 condition to just [__USE_ISOC99].
8925 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8926
1a20cb20
L
89272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8928
8929 [BZ #14200]
8930 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8931 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8932 defined.
8933 (_POSIX_V6_ILP32_OFF32): Likewise.
8934 (_XBS5_ILP32_OFF32): Likewise.
8935 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8936 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8937
751b85f7
SP
89382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8939
7490eb81
SP
8940 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8941
751b85f7
SP
8942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8943 doubles __mpexp_twomm1. Adjust usage.
8944 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8945 Remove.
8946
988197f0
AS
89472013-01-10 Andreas Schwab <schwab@suse.de>
8948
8949 [BZ #14964]
8950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8951 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8952
e83d7298
DM
89532013-01-09 David S. Miller <davem@davemloft.net>
8954
034ed64b 8955 [BZ #15003]
e83d7298
DM
8956 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8957 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8958 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8959 TCP_FASTOPEN): Define.
8960 (tcp_repair_opt): New structure.
8961 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8962 enum values.
8963 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8964 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8965 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8966 (tcp_cookie_transactions): New structure.
8967
d5e0b9bd
AB
89682013-01-09 Anton Blanchard <anton@samba.org>
8969
8970 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8971 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8972 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8973 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8974
0c07e3ea
JM
89752013-01-09 Joseph Myers <joseph@codesourcery.com>
8976
8977 * include/features.h (__USE_ANSI): Remove.
8978
232f7002
RM
89792013-01-09 Roland McGrath <roland@hack.frob.com>
8980
ad98e30c
RM
8981 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8982
232f7002
RM
8983 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8984
950c99ca
SP
89852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8986
b5792741
SP
8987 * sysdeps/s390/fpu/libm-test-ulps: Update.
8988
47cf2278
SP
8989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8990
950c99ca
SP
8991 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8992 (__acr): Likewise.
8993 (__cpy): Likewise.
8994 (norm): Likewise.
8995 (denorm): Likewise.
8996 (__mp_dbl): Likewise.
8997 (__dbl_mp): Likewise.
8998 (add_magnitudes): Likewise.
8999 (sub_magnitudes): Likewise.
9000 (__add): Likewise.
9001 (__sub): Likewise.
9002 (__mul): Likewise.
9003 (__inv): Likewise.
9004 (__dvd): Likewise.
9005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9006 (__acr): Likewise.
9007 (__cpy): Likewise.
9008 (norm): Likewise.
9009 (denorm): Likewise.
9010 (__mp_dbl): Likewise.
9011 (__dbl_mp): Likewise.
9012 (add_magnitudes): Likewise.
9013 (sub_magnitudes): Likewise.
9014 (__add): Likewise.
9015 (__sub): Likewise.
9016 (__mul): Likewise.
9017 (__inv): Likewise.
9018 (__dvd): Likewise.
9019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9020 (__acr): Likewise.
9021 (__cpy): Likewise.
9022 (norm): Likewise.
9023 (denorm): Likewise.
9024 (__mp_dbl): Likewise.
9025 (__dbl_mp): Likewise.
9026 (add_magnitudes): Likewise.
9027 (sub_magnitudes): Likewise.
9028 (__add): Likewise.
9029 (__sub): Likewise.
9030 (__mul): Likewise.
9031 (__inv): Likewise.
9032 (__dvd): Likewise.
9033
eede9df9
JM
90342013-01-08 Joseph Myers <joseph@codesourcery.com>
9035
9036 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9037 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9038 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9039 2 && __USE_EXTERN_INLINES]: Likewise.
9040
c40ea3d9
AJ
90412013-01-08 Andreas Jaeger <aj@suse.de>
9042
9043 [BZ# 14985]
9044 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9045 Remove.
9046 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9047 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9048
2ccdea26
AB
90492013-01-07 Anton Blanchard <anton@samba.org>
9050
9051 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9052 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9053 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9054 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9055 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9056 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9057 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9060 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9061 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9062 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9071 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9072 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9074 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9075 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9076 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9077 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9078 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9079 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9080 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9081 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9084 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9085 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9087 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9089 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9091 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9093 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9094
a9708fed
JM
90952013-01-07 Joseph Myers <joseph@codesourcery.com>
9096
375607b9
JM
9097 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9098 (__MALLOC_PMT): Likewise.
9099 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9100 [__GNUC__], only on [_LIBC].
9101 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9102 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9103 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9104 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9105 forward declaration.
9106 (realloc_hook_ini): Likewise.
9107 (memalign_hook_ini): Likewise.
9108 (__libc_memalign): Do not use __MALLOC_PMT in variable
9109 declaration.
9110 (__libc_valloc): Likewise.
9111 (__libc_pvalloc): Likewise.
9112 (__libc_calloc): Likewise.
9113 (__posix_memalign): Likewise.
9114
a9708fed
JM
9115 [BZ #14996]
9116 * math/s_casinh.c: Include <float.h>.
9117 (__casinh): Do not do computation with squaring and square root
9118 for large arguments.
9119 * math/s_casinhf.c: Include <float.h>.
9120 (__casinhf): Do not do computation with squaring and square root
9121 for large arguments.
9122 * math/s_casinhl.c: Include <float.h>.
9123 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9124 (__casinhl): Do not do computation with squaring and square root
9125 for large arguments.
9126 * math/libm-test.inc (casin_test): Add more tests.
9127 (casinh_test): Likewise.
9128 * sysdeps/i386/fpu/libm-test-ulps: Update.
9129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9130
afec409a
L
91312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9134 (__x86_64_raw_data_cache_size): Likewise.
9135 (__x86_64_data_cache_size_half): Likewise.
9136 (__x86_64_raw_data_cache_size_half): Likewise.
9137 (__x86_64_shared_cache_size): Likewise.
9138 (__x86_64_raw_shared_cache_size): Likewise.
9139 (__x86_64_shared_cache_size_half): Likewise.
9140 (__x86_64_raw_shared_cache_size_half): Likewise.
9141 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9142 to ...
9143 (__x86_data_cache_size): This.
9144 (__x86_64_raw_data_cache_size): Renamed to ...
9145 (__x86_raw_data_cache_size): This.
9146 (__x86_64_data_cache_size_half): Renamed to ...
9147 (__x86_data_cache_size_half): This.
9148 (__x86_64_raw_data_cache_size_half): Renamed to ...
9149 (__x86_raw_data_cache_size_half): This.
9150 (__x86_64_shared_cache_size): Renamed to ...
9151 (__x86_shared_cache_size): This.
9152 (__x86_64_raw_shared_cache_size): Renamed to ...
9153 (__x86_raw_shared_cache_size): This.
9154 (__x86_64_shared_cache_size_half): Renamed to ...
9155 (__x86_shared_cache_size_half): This.
9156 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9157 (__x86_raw_shared_cache_size_half): This.
9158 * sysdeps/x86_64/memcpy.S: Updated.
9159 * sysdeps/x86_64/memset.S: Likewise.
9160 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9161 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9163
0b3986d0
DM
91642013-01-04 David S. Miller <davem@davemloft.net>
9165
9166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9167
e47686e9
AS
91682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9169
d643bac1
AS
9170 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9171 1 to avoid redefinition warning.
9172 (__USE_GNU): Don't define.
9173 (init_signaling_nan): Protoize.
9174
e47686e9
AS
9175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9176
b18decba
SP
91772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9178
fffb407f
SP
9179 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9181 (__cpymn): Likewise.
9182 (norm): Remove commented code.
9183 (denorm): Likewise.
9184 (__mp_dbl): Likewise.
9185 (__inv): Likewise.
9186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9187 (__cpymn): Likewise.
9188 (norm): Remove commented code.
9189 (denorm): Likewise.
9190 (__mp_dbl): Likewise.
9191 (__inv): Likewise.
9192
b18decba
SP
9193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9194 mp_no value for 1.0 and 2.0.
9195 (norm): Use RADIXI instead of radixi.d.
9196 (denorm): Likewise.
9197 (__mul): Use 0.0 instead of zero.d.
9198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9199 mp_no value for 1.0 and 2.0.
9200 (norm): Use RADIXI instead of radixi.d.
9201 (denorm): Likewise.
9202 (__mul): Use 0.0 instead of zero.d.
9203
cdc1c96f
JM
92042013-01-04 Joseph Myers <joseph@codesourcery.com>
9205
9206 [BZ #14994]
9207 * math/s_casinh.c (__casinh): Reduce finite argument to first
9208 quadrant then set signs of results at the end.
9209 * math/s_casinhf.c (__casinhf): Likewise.
9210 * math/s_casinhl.c (__casinhl): Likewise.
9211 * math/libm-test.inc (casin_test): Add more tests.
9212 (casinh_test): Likewise.
9213 * sysdeps/i386/fpu/libm-test-ulps: Update.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9215
302913e1
SP
92162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9217
6420d207
SP
9218 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9219
a9e48ab4
SP
9220 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9221
b7837264
SP
9222 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9223 declarations.
9224 (denorm): Likewise.
9225 (__mp_dbl): Likewise.
9226 (__inv): Likewise.
9227
f8af25d2
SP
9228 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9229 and adjust the header comment.
9230
302913e1
SP
9231 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9232 variable name from declaration.
9233
5d7dd1ca
L
92342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9237 Initialize COMMON_CPUID_INDEX_7 element.
9238 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9239 (CPUID_RTM): Likewise.
9240 (HAS_RTM): Likewise.
9241 (COMMON_CPUID_INDEX_7): New enum.
9242
2f5f40f4
AS
92432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9244
9245 [BZ #14981]
9246 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9247 size is zero, record memory as freed.
9248
4056f4a0
AJ
92492013-01-03 Andreas Jaeger <aj@suse.de>
9250
9251 * po/ia.po: Add new Interlingua translation.
9252
ab15736f 92532012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9254
9255 * locale/programs/localedef.c: Fix description of '--posix' flag.
9256
568035b7
JM
92572013-01-02 Joseph Myers <joseph@codesourcery.com>
9258
e6898b8d
JM
9259 * NEWS: Update dates in second copyright notice.
9260 * README: Update copyright dates in example.
9261 * manual/libc.texinfo: Update copyright dates.
9262 * scripts/test-installation.pl: Update copyright date in --version
9263 output.
9264
0e2f9562
JM
9265 * hurd/ctty-input.c: Fix copyright notice formatting.
9266 * hurd/ctty-output.c: Likewise.
9267 * hurd/dtable.c: Likewise.
9268 * hurd/hurd-raise.c: Likewise.
9269 * hurd/hurdprio.c: Likewise.
9270 * hurd/msgportdemux.c: Likewise.
9271 * misc/sys/file.h: Likewise.
9272 * misc/sys/ioctl.h: Likewise.
9273 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9274 * sysdeps/mach/hurd/chdir.c: Likewise.
9275 * sysdeps/mach/hurd/fchdir.c: Likewise.
9276 * sysdeps/mach/hurd/rename.c: Likewise.
9277 * sysdeps/mach/hurd/rmdir.c: Likewise.
9278 * sysdeps/mach/hurd/seekdir.c: Likewise.
9279 * sysdeps/mach/hurd/setsid.c: Likewise.
9280 * sysdeps/posix/wait3.c: Likewise.
9281
568035b7
JM
9282 * All files with FSF copyright notices: Update copyright dates
9283 using scripts/update-copyrights.
9284 * intl/plural.c: Regenerated.
9285 * locale/programs/charmap-kw.h: Likewise.
9286 * locale/programs/locfile-kw.h: Likewise.
9287
da08f647
SP
92882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9289
0f5477af
SP
9290 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9291 four values.
9292
44e0d4c2
SP
9293 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9294 calculation loop and add branch prediction.
9295
4d55b4e5
SP
9296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9297 check access beyond bounds of m1np.
9298
da08f647
SP
9299 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9300 MPTWO.
9301 (__inv): Remove local variable MPTWO to use the global
9302 constant.
9303 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9305 variable MPTWO.
9306 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9307 MP3HALFS static const.
9308
8e051029
DM
93092013-01-01 David S. Miller <davem@davemloft.net>
9310
9311 * po/ca.po: Update from translation team.
9312
f4cf5f2d
JM
93132013-01-01 Joseph Myers <joseph@codesourcery.com>
9314
9315 * scripts/update-copyrights: New file.
9316 * Makeconfig: Reformat copyright notice.
9317 * ctype/ctype.h: Likewise.
9318 * debug/swprintf_chk.c: Likewise.
9319 * elf/dl-cache.c: Likewise.
9320 * elf/dl-debug.c: Likewise.
9321 * elf/dl-object.c: Likewise.
9322 * grp/initgroups.c: Likewise.
9323 * hurd/Makefile: Likewise.
9324 * hurd/hurd/signal.h: Likewise.
9325 * hurd/hurdfault.c: Likewise.
9326 * hurd/hurdioctl.c: Likewise.
9327 * hurd/hurdlookup.c: Likewise.
9328 * hurd/intr-msg.c: Likewise.
9329 * iconv/gconv_open.c: Likewise.
9330 * libio/swprintf.c: Likewise.
9331 * locale/lc-ctype.c: Likewise.
9332 * locale/nl_langinfo.c: Likewise.
9333 * mach/Machrules: Likewise.
9334 * mach/Makefile: Likewise.
9335 * malloc/obstack.h: Likewise.
9336 * manual/Makefile: Likewise.
9337 * manual/tsort.awk: Likewise.
9338 * misc/bits/stab.def: Likewise.
9339 * nis/nis_print_group_entry.c: Likewise.
9340 * nis/nis_table.c: Likewise.
9341 * nis/nss_compat/compat-pwd.c: Likewise.
9342 * nis/nss_compat/compat-spwd.c: Likewise.
9343 * po/Makefile: Likewise.
9344 * posix/fnmatch.c: Likewise.
9345 * posix/regex.h: Likewise.
9346 * resolv/Makefile: Likewise.
9347 * resolv/nss_dns/dns-network.c: Likewise.
9348 * resolv/res_hconf.c: Likewise.
9349 * scripts/gen-sorted.awk: Likewise.
9350 * soft-fp/soft-fp.h: Likewise.
9351 * stdio-common/printf.h: Likewise.
9352 * stdlib/monetary.h: Likewise.
9353 * stdlib/random.c: Likewise.
9354 * stdlib/random_r.c: Likewise.
9355 * sysdeps/generic/Makefile: Likewise.
9356 * sysdeps/gnu/Makefile: Likewise.
9357 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9380 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9381 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9385 * sysdeps/mach/hurd/errnos.awk: Likewise.
9386 * sysdeps/mach/hurd/fork.c: Likewise.
9387 * sysdeps/mach/hurd/getcwd.c: Likewise.
9388 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9389 * sysdeps/mach/hurd/mmap.c: Likewise.
9390 * sysdeps/mach/hurd/utimes.c: Likewise.
9391 * sysdeps/mach/hurd/xmknod.c: Likewise.
9392 * sysdeps/posix/profil.c: Likewise.
9393 * sysdeps/posix/readdir_r.c: Likewise.
9394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9395 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9396 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9397 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9401 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9403 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9404 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9405 * sysdeps/pthread/lio_listio.c: Likewise.
9406 * sysdeps/sparc/dl-procinfo.h: Likewise.
9407 * sysdeps/unix/i386/sysdep.S: Likewise.
9408 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9409 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9410 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9411 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9413 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9414 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9415 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9416 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9417 * sysdeps/wordsize-32/divdi3.c: Likewise.
9418 * time/sys/time.h: Likewise.
9419 * wcsmbs/Makefile: Likewise.
9420
0549fbba
DM
94212013-01-01 David S. Miller <davem@davemloft.net>
9422
a141f1a7
DM
9423 * po/fr.po: Update from translation team.
9424
0549fbba
DM
9425 * catgets/gencat.c: Update copyright year.
9426 * csu/version.c: Likewise.
9427 * debug/catchsegv.sh: Likewise.
9428 * debug/pcprofiledump.c: Likewise.
9429 * debug/xtrace.sh: Likewise.
9430 * elf/ldconfig.c: Likewise.
9431 * elf/ldd.bash.in: Likewise.
9432 * elf/pldd.c: Likewise.
9433 * elf/sotruss.ksh: Likewise.
9434 * elf/sprof.c: Likewise.
9435 * iconv/iconv_prog.c: Likewise.
9436 * iconv/iconvconfig.c: Likewise.
9437 * locale/programs/locale.c: Likewise.
9438 * locale/programs/localedef.c: Likewise.
9439 * login/programs/pt_chown.c: Likewise.
9440 * malloc/memusage.sh: Likewise.
9441 * malloc/memusagestat.c: Likewise.
9442 * malloc/mtrace.pl: Likewise.
9443 * nscd/nscd.c: Likewise.
9444 * nss/getent.c: Likewise.
9445 * nss/makedb.c: Likewise.
9446 * posix/getconf.c: Likewise.
9447
18ea052c
SP
94482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9449
9450 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9451 numbers.
9452
9c89fca6
MF
94532012-12-30 Mike Frysinger <vapier@gentoo.org>
9454
9455 * math/bits/mathcalls.h (modf): Use __nonnull.
9456
085ec079
SP
94572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9458
9459 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9460 (split): Use macro CN instead of the bare value.
9461 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9462 could be used.
9463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9464 instead of the bare value.
9465 (power1): Likewise.
9466
6d9f97e1
SP
94672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
d63f73be
SP
9469 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9470 __ATAN_TWOM.
9471 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9472
6d9f97e1
SP
9473 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9474 their values.
9475 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9477 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9478 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9479
4c4febf5
AJ
94802012-12-28 Andreas Jaeger <aj@suse.de>
9481
af5843ef
AJ
9482 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9483 values are from Linux 3.7.
9484
4c4febf5
AJ
9485 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9486 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9487
99136f82
SP
94882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9489
2f216c3c 9490 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9491 TRUE case.
9492
99136f82
SP
9493 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9494 (norm): Likewise.
9495 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9496 variables with preprocessor constants.
9497 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9498 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9499 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9500
7fffbdff
BH
95012012-12-27 Bruno Haible <bruno@clisp.org>
9502
9503 [BZ #14317]
9504 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9505 only if needed.
9506
b76eb5f0
SP
95072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9508
31a7fe5c
SP
9509 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9510 and use variable directly.
9511 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9512
b76eb5f0
SP
9513 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9514 MPONE.
9515 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9517 variable MPONE.
9518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9520 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9521 include directive. Remove local variable MPONE.
9522 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9523 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9524 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9525
2c8bfe7d
DM
95262012-12-25 David S. Miller <davem@davemloft.net>
9527
9528 * version.h (RELEASE): Set to "development".
9529 (VERSION): Set to "2.17.90".
9530 * NEWS: Add 2.18 section.
9531
147d03b0
DM
95322012-12-21 David S. Miller <davem@davemloft.net>
9533
9534 * po/hr.po: Update from translation team.
9535
a8ebb2b9
AK
95362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9537
9538 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9539
95b4f1b6
SE
95402012-12-19 Steve Ellcey <sellcey@mips.com>
9541
b2d94007 9542 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9543
cedb2a90
MS
95442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9545
9546 * manual/contrib.texi (Contributors): Spelling correction.
9547
bbf527d6
DM
95482012-12-15 David S. Miller <davem@davemloft.net>
9549
9550 * po/ru.po: Update from translation team.
9551
bc38c906
DM
95522012-12-13 David S. Miller <davem@davemloft.net>
9553
85429b1a
DM
9554 * NEWS: Mention IFUNC testsuite enhancements.
9555
d283e353
DM
9556 * po/pl.po: Update from translation team.
9557 * po/bg.po: Likewise.
9558
bc38c906
DM
9559 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9560 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9561
a181b0d7
DM
95622012-12-11 David S. Miller <davem@davemloft.net>
9563
4641d57e
DM
9564 * po/sv.po: Update from translation team.
9565
f7bc6495
DM
9566 * po/vi.po: Update from translation team.
9567
6fc9048f
DM
9568 * po/cs.po: Update from translation team.
9569
a181b0d7
DM
9570 * po/de.po: Update from translation team.
9571 * po/eo.po: Likewise.
9572 * po/nl.po: Likewise.
9573
f70bfe80
SP
95742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
3c8b4190
SP
9576 [BZ #14246]
9577 * manual/argp.texi (Argp Helper Functions): Move node to follow
9578 Argp Parsing State.
9579
f70bfe80
SP
9580 [BZ #14872]
9581 * manual/conf.texi (Limits on File System Capacity): Mention if
9582 terminating null is included in the max size.
9583
188f0adf
AJ
95842012-12-10 Andreas Jaeger <aj@suse.de>
9585
9586 * po/cs.po: Update from translation team.
9587
56e7d3ad
SP
95882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9589
9590 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9591 void pointer and cast to uintptr_t.
9592 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9593 path.
9594 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9595 * sysdeps/s390/s390-64/memset.S: Likewise.
9596
76f2d2ea 95972012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9598
9599 [BZ #14833]
9600 * menual/message.texi (Message Translation): Fix typos.
9601 (Helper programs for gettext): Likewise.
9602
67cbf9a2
AS
96032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9604
9605 [BZ #14898]
9606 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9607 Change to -1.
9608
682d0e9a
DM
96092012-12-07 David S. Miller <davem@davemloft.net>
9610
9611 * po/libc.pot: Update.
9612
573cd484
RH
96132012-12-07 Richard Henderson <rth@redhat.com>
9614
7e9da188 9615 [BZ #10114]
573cd484
RH
9616 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9617 normal/normal case to before the switch.
9618 (_FP_DIV): Likewise.
9619
e933a943
MF
96202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9621 Mike Frysinger <vapier@gentoo.org>
9622
9623 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9624 check for __NR_fadvise64_64.
9625
82123268
CM
96262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9627
9628 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9629 0, not just to plain "0" as a statement.
9630 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9631 with cw.
9632
d9814526
JM
96332012-12-06 Joseph Myers <joseph@codesourcery.com>
9634
9635 * NEWS: Use sourceware.org in Bugzilla URL.
9636
7728c574
SP
96372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
f16946dd
SP
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9640 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9641
5704bbcb
SP
9642 * stdio-common/tst-put-error.c (do_test): Add newline to the
9643 padded test to ensure flush.
9644
17aa0516
JL
96452012-12-05 Jeff Law <law@redhat.com>
9646
9647 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9648
363313b5
JM
96492012-12-05 Joseph Myers <joseph@codesourcery.com>
9650
effbd42a
JM
9651 * README: Don't refer to ports add-on as distributed separately.
9652 Mention AArch64 in list of systems supported in the ports add-on.
9653
87600365
JM
9654 * LICENSES: Add more non-FSF copyright and license notices.
9655
a0d7066a
JM
9656 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9657 ((unused)).
9658
66ca5a5b
JM
9659 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9660
363313b5
JM
9661 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9662 10000 as width of padded output.
9663
b37984ad
JM
96642012-12-04 Joseph Myers <joseph@codesourcery.com>
9665
9003570a
JM
9666 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9667
b37984ad
JM
9668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9669 variable LX with __attribute__ ((unused)).
9670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9671 Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9675 with __attribute__ ((unused)).
9676
c8df52ec
DM
96772012-12-04 David S. Miller <davem@abraco.davemloft.net>
9678
9679 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9680
b3b099af
JM
96812012-12-04 Joseph Myers <joseph@codesourcery.com>
9682
c33aa6e3
JM
9683 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9684 (CFLAGS-nldbl-acos.c): New variable.
9685 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9686 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9687 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9688 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9689 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9690 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9691 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9692 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9693 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9694 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9695 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9696 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9697 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9698 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9699 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9700 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9701 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9702 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9703 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9704 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9705 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9706 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9707 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9708 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9709 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9710 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9711 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9712 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9713 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9755 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9756 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9757 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9758 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9759 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9760 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9761 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9762 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9763 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9764 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9765 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9766 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9767 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9768 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9773 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9774 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9775 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9776 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9777 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9778 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9779 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9780 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9781 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9782
20f0018d
JM
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9784 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9785
b3b099af
JM
9786 [BZ #14914]
9787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9788 whole low double instead of just low 47 bits when splitting values
9789 into two parts.
9790
029264d1
AM
97912012-12-03 Allan McRae <allan@archlinux.org>
9792
9793 * manual/stdio.texi (Predefined Printf Handlers): Remove
9794 @hsep and @vsep usage.
9795
c9d6789e
MF
97962012-12-03 Mike Frysinger <vapier@gentoo.org>
9797
9798 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9799 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9800
4b7634a5
JL
98012012-12-03 Jeff Law <law@redhat.com>
9802
9803 * time/sys/time.h (settimeofday): Do not mark TV argument
9804 as __nonnull.
9805
eb6cbd24
MF
98062012-12-01 Mike Frysinger <vapier@gentoo.org>
9807
9808 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9809 when currently writing and seek to current position when not.
9810 * libio/Makefile (tests): Remove bug-fclose1.
9811 * libio/bug-fclose1.c: Delete.
9812
f638872a
JM
98132012-12-01 Joseph Myers <joseph@codesourcery.com>
9814
9815 * manual/arith.texi (feenableexcept): Fix typo.
9816 (fedisableexcept): Likewise.
9817
48085d14
RM
98182012-11-30 Roland McGrath <roland@hack.frob.com>
9819
9820 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9821 second, differently-typed declaration, rather than a cast.
9822
1a538b9f
SP
98232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9824
9825 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9826 * include/rpc/svc.h: ... here.
9827
d07f2ff1 98282012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9829
9830 [BZ #13013]
9831 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9832 depending n and resplen2 to catch cases where answer
9833 equals answerp2.
9834
c93ec1f0
CD
98352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9836
9837 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9838 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9839
37db69de
MF
98402012-11-29 Mike Frysinger <vapier@gentoo.org>
9841
9842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9843
e10c4e4f
RM
98442012-11-29 Roland McGrath <roland@hack.frob.com>
9845
9846 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9847
2af1b328
JL
98482012-11-28 Jeff Law <law@redhat.com>
9849
9850 [BZ #13761]
9851 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9852 dataset_temporary. Track alloca usage into alloca_used.
9853 If dataset is large allocate and release it via malloc/free.
9854
111db5b1
FW
98552012-06-04 Florian Weimer <fweimer@redhat.com>
9856
f06cc227 9857 [BZ #14197]
111db5b1
FW
9858 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9859
dd694abd
DM
98602012-11-28 David S. Miller <davem@davemloft.net>
9861
9862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9863
9984dd01
JM
98642012-11-28 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #14803]
9867 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9868 of pi/2 rounded to nearest to 64 bits.
9869 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9870 nearest to 64 bits.
9871 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9872 bits.
9873
14bc93a9
JL
98742012-11-28 Jeff Law <law@redhat.com>
9875 Martin Osvald <mosvald@redhat.com>
9876
9877 [BZ #14889]
9878 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9879 * sunrpc/svc.c: Include time.h.
9880 (__svc_accept_failed): New function.
9881 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9882 any reason other than EINTR, call __svc_accept_failed.
9883 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9884 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9885
e3c6aa3a
AS
98862012-11-28 Andreas Schwab <schwab@suse.de>
9887
9888 * scripts/abilist.awk: Also handle indirect functions in .opd
9889 section.
9890
1bead169
JM
98912012-11-28 Joseph Myers <joseph@codesourcery.com>
9892
9893 [BZ #13881]
9894 * sysdeps/x86/fpu/powl_helper.c: New file.
9895 * sysdeps/x86/fpu/Makefile: Likewise.
9896 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9897 (p3): New object.
9898 (__ieee754_powl): Use __powl_helper for finite arguments except
9899 integer exponents below 8.
9900 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9901 (p3): New object.
9902 (__ieee754_powl): Use __powl_helper for finite arguments except
9903 integer exponents below 8.
9904 * math/libm-test.inc (pow_test): Add more tests and enable some
9905 previously disabled tests.
9906 * sysdeps/i386/fpu/libm-test-ulps: Update.
9907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9908
0817d63d
SP
99092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9910 Carlos O'Donell <carlos_odonell@mentor.com>
9911
9912 * nss/makedb.c (is_prime): Assert that input is odd and greater
9913 than 4. Note that fact in a comment too.
9914 (next_prime): Add 4 to input.
9915
de2fd463
SP
99162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9917
9918 [BZ #11741]
9919 * libio/Makefile (tests): Add test case tst-fwrite-error.
9920 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9921 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9922 * libio/tst-fwrite-error.c: New test case.
9923
c515fb51
L
99242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9927 before casting to void *.
9928 * include/libc-internal.h (__pointer_type): New macro.
9929 (__integer_if_pointer_type_sub): Likewise.
9930 (__integer_if_pointer_type): Likewise.
9931 (cast_to_integer): Likewise.
9932 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9933 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9934 before casting to atomic64_t.
9935 (atomic_exchange_acq): Likewise.
9936 (__arch_exchange_and_add_body): Likewise.
9937 (__arch_add_body): Likewise.
9938 (atomic_add_negative): Likewise.
9939 (atomic_add_zero): Likewise.
9940
4cf77aa9
JM
99412012-11-26 Joseph Myers <joseph@codesourcery.com>
9942
9943 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9944 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9945 (add_fdes): Likewise.
9946 (linear_search_fdes): Likewise.
9947 (binary_search_unencoded_fdes): Likewise.
9948
d260b3b4
AS
99492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9950
9951 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9952
67060746
AC
99532012-11-24 Adam Conrad <adconrad@0c3.net>
9954
9955 * configure.in: Autodetect C++ header directories.
9956 * configure: Regenerated.
9957
800938a1
MF
99582012-11-23 Mike Frysinger <vapier@gentoo.org>
9959
9960 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9961
4e6e34e6
AS
99622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9963
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9965
7c7feb47
JM
99662012-11-22 Joseph Myers <joseph@codesourcery.com>
9967
7184dcdf
JM
9968 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9969 LDBL_MANT_DIG == 106]: Disable some tests.
9970 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9971 Likewise.
9972 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9973 Likewise.
9974
0a42601f
JM
9975 [BZ #14871]
9976 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9977 input for small inputs. Return +/- pi/2 for large inputs.
9978 * math/libm-test.inc (atan_test): Add more tests.
9979
79c9b9fe
JM
9980 * sysdeps/generic/unwind-dw2-fde-glibc.c
9981 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9982 __attribute__ ((unused)).
9983
c60d3bf2
JM
9984 [BZ #14645]
9985 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9986 x * y if x and y are nonzero and z is zero.
9987
ef1e0867
JM
9988 [BZ #14811]
9989 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9990 nonzero exponents with absolute value below 0x1p-117 to +/-
9991 0x1p-117.
9992
1468ded3
JM
9993 [BZ #14869]
9994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9995 up arguments below 2**-450, not just those below 2**-500.
9996 * math/libm-test.inc (hypot_test): Add another test.
9997
8e27e3cc
JM
9998 [BZ #14868]
9999 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10000 Return a+b for ratio over 2**120, not 2**60.
10001 * math/libm-test.inc (hypot_test): Add another test.
10002
c9c0279b
JM
10003 * math/libm-test.inc (clog_test): Use
10004 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10005 (clog10_test): Likewise.
10006
7c7feb47
JM
10007 [BZ #6778]
10008 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10009
fff1530e
AS
100102012-11-22 Andreas Schwab <schwab@suse.de>
10011
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013
94558d30
PT
100142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10015
10016 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10017 printf output with newline.
10018
7e1be741
L
100192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10020
6bfea974
L
10021 [BZ #14865]
10022 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10023 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10024 -z nodlopen, -z initfirst and -z execstack support.
10025 * configure: Regenerated.
10026
7e1be741
L
10027 * elf/elf.h (DF_1_NODIRECT): New macro.
10028 (DF_1_IGNMULDEF): Likewise.
10029 (DF_1_NOKSYMS): Likewise.
10030 (DF_1_NOHDR): Likewise.
10031 (DF_1_EDITED): Likewise.
10032 (DF_1_NORELOC): Likewise.
10033 (DF_1_SYMINTPOSE): Likewise.
10034 (DF_1_GLOBAUDIT): Likewise.
10035 (DF_1_SINGLETON): Likewise.
10036 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10037 DT_1_SUPPORTED_MASK bits.
10038 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10039
105ce2ce
CD
100402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10041
10042 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10043
123be9de
TS
100442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10045
d072f3f7
TS
10046 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10047 macro.
10048
123be9de
TS
10049 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10050 (sendmmsg): Move declarations...
10051 * socket/sys/socket.h: ... here.
10052 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10053 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10054 include it from...
10055 * socket/recvmmsg.c: ... this new file.
10056 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10057 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10058 definition of __sendmmsg hidden.
10059 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10060 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10061 Move ENOSYS stub into and include it from...
10062 * socket/sendmmsg.c: ... this new file.
10063 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10064 (sysdep_routines): Move recvmmsg and sendmmsg...
10065 * socket/Makefile (routines): ... here.
10066 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10067 (GLIBC_PRIVATE): Add __sendmmsg.
10068 * include/sys/socket.h (__sendmmsg): Add declarations.
10069 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10070 sendmmsg.
10071
cf9a5d18
JM
100722012-11-20 Joseph Myers <joseph@codesourcery.com>
10073
10074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10075 variable I1 with __attribute__ ((unused)).
10076 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10077
ecd4caf9
JM
100782012-11-19 Joseph Myers <joseph@codesourcery.com>
10079
be14d48f
JM
10080 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10081 DUMMY variables with __attribute__ ((unused)).
10082
ecd4caf9
JM
10083 * bits/byteswap.h: Include <bits/types.h>.
10084 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10085
986cab95
PT
100862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10087
10088 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10089 string_t. Do not manually set errno.
10090 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10091 length with __strnlen. Make sure to both set errno and return it on
10092 failure.
10093
6d33cc9d
DM
100942012-11-19 David S. Miller <davem@davemloft.net>
10095
10096 With help from Joseph Myers.
10097 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10098 very large arguments properly.
10099 * math/libm-test.inc (atan_test): New tests.
10100 (atan2_test): New tests.
10101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10103
ee663277
JM
101042012-11-19 Joseph Myers <joseph@codesourcery.com>
10105
877f2d8e
JM
10106 [BZ #14856]
10107 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10108 Define to 3.
10109
116fc08a
JM
10110 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10111 [POSIX] (EADDRNOTAVAIL): Likewise.
10112 [POSIX] (EAFNOSUPPORT): Likewise.
10113 [POSIX] (EALREADY): Likewise.
10114 [POSIX] (ECONNABORTED): Likewise.
10115 [POSIX] (ECONNREFUSED): Likewise.
10116 [POSIX] (ECONNRESET): Likewise.
10117 [POSIX] (EDESTADDRREQ): Likewise.
10118 [POSIX] (EDQUOT): Likewise.
10119 [POSIX] (EHOSTUNREACH): Likewise.
10120 [POSIX] (EIDRM): Likewise.
10121 [POSIX] (EISCONN): Likewise.
10122 [POSIX] (ELOOP): Likewise.
10123 [POSIX] (EMULTIHOP): Likewise.
10124 [POSIX] (ENETDOWN): Likewise.
10125 [POSIX] (ENETUNREACH): Likewise.
10126 [POSIX] (ENOBUFS): Likewise.
10127 [POSIX] (ENODATA): Likewise.
10128 [POSIX] (ENOLINK): Likewise.
10129 [POSIX] (ENOMSG): Likewise.
10130 [POSIX] (ENOPROTOOPT): Likewise.
10131 [POSIX] (ENOSR): Likewise.
10132 [POSIX] (ENOSTR): Likewise.
10133 [POSIX] (ENOTCONN): Likewise.
10134 [POSIX] (ENOTSOCK): Likewise.
10135 [POSIX] (EOPNOTSUPP): Likewise.
10136 [POSIX] (EOVERFLOW): Likewise.
10137 [POSIX] (EPROTO): Likewise.
10138 [POSIX] (EPROTONOSUPPORT): Likewise.
10139 [POSIX] (EPROTOTYPE): Likewise.
10140 [POSIX] (ESTALE): Likewise.
10141 [POSIX] (ETIME): Likewise.
10142 [POSIX] (ETXTBSY): Likewise.
10143 [POSIX] (EWOULDBLOCK): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10145 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10146 [POSIX] (SEEK_CUR): Likewise.
10147 [POSIX] (SEEK_END): Likewise.
10148 [POSIX || UNIX98] (mode_t): Do not require.
10149 [POSIX] (off_t): Likewise.
10150 [POSIX] (pid_t): Likewise.
10151 [POSIX] (sys/stat.h): Do not allow header.
10152 [POSIX] (unistd.h): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10154 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10156 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10157 require.
10158 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10159 sigevent): Specify elements.
10160 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10161 entry.
10162 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10163 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10164
a483863f
JM
10165 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10166 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10167 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10168 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10169 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10170 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10171 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10172 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10174 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10175 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10176 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10177 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10178 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10179 Likewise.
10180 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10181 Likewise.
10182 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10183 Likewise.
10184 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10185 Likewise.
10186 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10187 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10188 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10189 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10191 Specify lower bound on value.
10192 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10195 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10198 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10199 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10200 value.
10201 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10202 as optional.
10203 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10208 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10210 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10217 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10219 entry.
10220 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10221 optional.
10222 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10228 Likewise.
10229 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10234 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10235 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10236 as optional.
10237 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10241 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10242 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10243 specify as optional.
10244 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10247 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10248 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10249 [XPG3] (NL_LANGMAX): Likewise.
10250 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10251 [POSIX || XPG3] (NL_NMAX): Likewise.
10252 [POSIX || XPG3] (NL_SETMAX): Likewise.
10253 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10254 [XPG3] (NZERO): Likewise.
10255 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10256 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10257 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10258 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10259 (REG_ERANGE): Expect.
10260 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10261 optional-constant.
10262 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10263 Use (void) in prototype.
10264 [POSIX] (*_t): Allow.
10265 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10266 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10267 (WRDE_BADVAL): Expect.
10268
5ba924e3
JM
10269 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10270 expect.
10271 [XPG3 || XPG4] (O_RSYNC): Likewise.
10272 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10273 Likewise.
10274 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10275 [XPG3 || XPG4] (sigqueue): Likewise.
10276 [XPG3 || XPG4] (sigtimedwait): Likewise.
10277 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10278 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10279 [XPG3 || XPG4] (vsnprintf): Likewise.
10280 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10281 Likewise.
10282 [XPG3 || XPG4] (blksize_t): Likewise.
10283 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10284 Likewise.
10285 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10286 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10287 [XPG3 || XPG4] (struct itimerspec): Likewise.
10288 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10289 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10290 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10291 [XPG3 || XPG4] (clockid_t): Likewise.
10292 [XPG3 || XPG4] (timer_t): Likewise.
10293 [XPG3 || XPG4] (clock_getres): Likewise.
10294 [XPG3 || XPG4] (clock_gettime): Likewise.
10295 [XPG3 || XPG4] (clock_settime): Likewise.
10296 [XPG3 || XPG4] (nanosleep): Likewise.
10297 [XPG3 || XPG4] (timer_create): Likewise.
10298 [XPG3 || XPG4] (timer_delete): Likewise.
10299 [XPG3 || XPG4] (timer_gettime): Likewise.
10300 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10301 [XPG3 || XPG4] (timer_settime): Likewise.
10302 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10303 [XPG3 || XPG4] (getlogin_r): Likewise.
10304 [XPG3 || XPG4] (pread): Likewise.
10305 [XPG3 || XPG4] (pthread_atfork): Likewise.
10306 [XPG3 || XPG4] (pwrite): Likewise.
10307
ee663277
JM
10308 [BZ #14835]
10309 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10310 <bits/siginfo.h>.
10311
942caa16
PT
103122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10313
e19af380
PT
10314 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10315 finalizing MALLSTREAM.
10316
942caa16
PT
10317 * sysdeps/mach/hurd/syncfs.c: New file.
10318
cfde9b46
SP
103192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10320
10321 [BZ #14719]
10322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10323 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10325 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10326 (_nss_dns_gethostbyname4_r): Likewise.
10327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10328 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10329
f6da27e5
PH
103302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10331
10332 [BZ #13763]
10333 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10334
6665d4a2
SM
103352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10336
1f51ee92
SM
10337 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10338 * elf/cache.c (print_entry): Print ",AArch64" for
10339 FLAG_AARCH64_LIB64
10340
6665d4a2
SM
10341 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10342 * elf/cache.c (print_entry): Print ",hard-float" for
10343 FLAG_ARM_LIBHF.
10344
05b227bd
DM
103452012-11-18 David S. Miller <davem@davemloft.net>
10346
10347 With help from Joseph Myers.
10348 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10349 cutoff to 2**-13.
10350 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10351 cutoff to 2**-25.
10352 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10353 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10354 small.
10355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10356 * math/libm-test.inc (y0_test): New tests.
10357 (y1_test): New tests.
10358 * sysdeps/i386/fpu/libm-test-ulps: Update.
10359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10361
786b0b67
AS
103622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10363
10364 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10365 64-bit targets.
10366 * configure: Regenerated.
10367
8e18b86d
DM
103682012-11-17 David S. Miller <davem@davemloft.net>
10369
10370 [BZ #14811]
10371 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10372 nonzero exponents with absolute value below 0x1p-128 to +/-
10373 0x1p-128.
10374
531f1ae0
JM
103752012-11-17 Joseph Myers <joseph@codesourcery.com>
10376
12df29e2
JM
10377 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10378
150dc1a0
JM
10379 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10380
531f1ae0
JM
10381 * posix/getconf-speclist.c: New file.
10382 * posix/posix-envs.def: Likewise.
10383 * posix/confstr.c (START_ENV_GROUP): New macro.
10384 (END_ENV_GROUP): Likewise.
10385 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10386 (KNOWN_PRESENT_ENV_STRING): Likewise.
10387 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10388 (UNKNOWN_ENVIRONMENT): Likewise.
10389 (confstr): Include posix-envs.def instead of handling
10390 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10391 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10392 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10393 (END_ENV_GROUP): Likewise.
10394 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10395 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10396 (UNKNOWN_ENVIRONMENT): Likewise.
10397 (__sysconf): Include posix-envs.def instead of handling associated
10398 cases directly here.
10399 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10400 preprocessing getconf-speclist.c rather than running getconf or
10401 generating empty file.
10402
a93f9cbc
PT
104032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10404
10405 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10406
d64d9f87
AL
104072012-11-16 Andrej Lajovic <natrij@gmail.com>
10408
10409 [BZ #14672]
10410 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10411
447885eb
DM
104122012-11-16 David S. Miller <davem@davemloft.net>
10413
10414 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10415 smaller than LDBL_EPSILON/2.0L, just return xm1.
10416
bcbf9830
L
104172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * elf/tst-array1.c (init): Set constructor priority to 1000.
10420 (fini): Set destructor priority to 1000.
10421 * elf/tst-array2dep.c: Likewise.
10422
2b766585
SP
104232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10424
10425 [BZ #11741]
10426 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10427 (_IO_new_file_xsputn): Also return EOF if none of the input
10428 data was written when overflow failed.
10429 * libio/iopadn.c (_IO_padn): Likewise.
10430 * libio/iowpadn.c (_IO_wpadn): Likewise.
10431 * stdio-common/tst-put-error.c: Add copyright notice.
10432 (do_test): Add case for printing padded string.
10433 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10434 _IO_padn returned error.
10435 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10436 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10437 return EOF.
10438
b1848fde
SP
104392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10440
10441 * libio/libioP.h: Add comment note that the references to C++
10442 bits are now obsolete.
10443
2fd89785
MS
104442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10445
10446 * math/libm-test.inc (check_complex): Use asprintf.
10447
e3ea5409
JM
104482012-11-14 Joseph Myers <joseph@codesourcery.com>
10449
10450 * debug/pcprofiledump.c (print_version): Update copyright year.
10451 * malloc/memusagestat.c (print_version): Likewise.
10452
2e64d265
L
104532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 [BZ #14831]
10456 * elf/Makefile (tests): Add tst-audit8.
10457 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10458 ($(objpfx)tst-audit8.out): New target.
10459 (tst-audit8-ENV): New variable.
10460 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10461 audit if l_reloc_result is NULL.
10462 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10463 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10464 * elf/tst-audit8.c: New file.
10465
c485e4d2
MS
104662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10467
10468 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10469 * misc/Makefile (CFLAGS-select.c): Define.
10470 * posix/Makefile (CFLAGS-pause.c): Define.
10471
3a0d900a
DM
104722012-11-13 David S. Miller <davem@davemloft.net>
10473
10474 * crypt/Makefile: Move test targets after toplevel Rules
10475 inclusion. Grab any necessary sysdep routines when linking.
10476 * crypt/md5.c (md5_process_block): Remove define, we will always
10477 name it __md5_process_block.
10478 (md5_finish_ctx): Update md5_process_block call.
10479 (md5_stream): Likewise.
10480 (md5_process_bytes): Likewise.
10481 (md5_process_block): Rename to __md5_process_block and move to ...
10482 * crypt/md5-block.c: ... here.
10483 * crypt/sha256.c (sha256_process_block): Move to ...
10484 * crypt/sha256-block.c: ... here.
10485 * crypt/sha512.c (sha512_process_block): Move to ...
10486 * crypt/sha512-block.c: ... here.
10487 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10488 path.
10489 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10490 * sysdeps/sparc/sparc64/multiarch/Makefile
10491 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10492 crypt subdir.
10493 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10494 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10495 multiarch changes.
10496 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10497 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10498 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10499 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10500 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10501 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10502 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10503 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10504 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10505 file.
10506 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10507 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10508 file.
10509 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10510
8ca89318
JM
105112012-11-13 Joseph Myers <joseph@codesourcery.com>
10512
e27d476a
JM
10513 * timezone/tzselect.ksh: Update from tzcode git revision
10514 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10515 * timezone/zdump.c: Likewise.
10516 * timezone/zic.c: Likewise.
10517 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10518 in TZVERSION setting, not $(PKGVERSION).
10519 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10520 REPORT_BUGS_TO settings.
10521
8ca89318
JM
10522 [BZ #14838]
10523 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10524 macro.
10525
47594329
MS
105262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10527
10528 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10529 detection to immediately after _FP_ROUND().
10530 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10531 bits are 0.
10532
640ac3f1
DM
105332012-11-11 David S. Miller <davem@davemloft.net>
10534
10535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10536 inttypes.h
10537 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10538 __close rather than their public counterparts.
10539
3d2577bb
JM
105402012-11-10 Joseph Myers <joseph@codesourcery.com>
10541
10542 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10543 file.
10544 [UNIX98] (sem_timedwait): Do not expect.
10545 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10546 [XPG4 || UNIX98] (sockatmark): Do not expect.
10547 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10548 (clock_getcpuclockid): Do not expect.
10549 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10550 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10551 Do not expect.
10552 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10553 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10554 [UNIX98] (vwscanf): Likewise.
10555 [UNIX98] (vswscanf): Likewise.
10556
fb1ae1ee
JM
105572012-11-09 Joseph Myers <joseph@codesourcery.com>
10558
9ec6f8bd
JM
10559 * timezone/version.h: Remove file.
10560 * timezone/README: Do not refer to version.h.
10561 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10562 $(objpfx)version.h.
10563 ($(objpfx)zdump.o): Likewise.
c3f81911 10564 ($(objpfx)version.h): New target.
9ec6f8bd 10565
0aa8f8a1
JM
10566 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10567 2012i.
10568 * timezone/README: Don't mention modification to tzselect.ksh.
10569 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10570 work on unmodified tzselect.ksh. Substitute version numbers in
10571 tzselect.ksh.
10572
4e87147f
JM
10573 * Makefile (format-me): Remove.
10574 (INSTALL): Adjust indentation. Use commands directly instead of
10575 using $(format-me).
10576
8b748aed
JM
10577 * aclocal.m4 (ACX_PKGVERSION): New macro.
10578 (ACX_BUGURL): Likewise.
10579 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10580 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10581 (REPORT_BUGS_TO): Likewise.
10582 * configure: Regenerated.
10583 * config.h.in (PKGVERSION): New macro.
10584 (REPORT_BUGS_TO): Likewise.
10585 * config.make.in (PKGVERSION): New variable.
10586 (PKGVERSION_TEXI): Likewise.
10587 (REPORT_BUGS_TO): Likewise.
10588 (REPORT_BUGS_TEXI): Likewise.
10589 * Makefile (format-me): Use -I$(common-objpfx)manual.
10590 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10591 ($(common-objpfx)manual/%): New target.
10592 (manual/%): Remove target.
10593 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10594 (print_version): Use PKGVERSION.
10595 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10596 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10597 and REPORT_BUGS_TO.
10598 ($(objpfx)xtrace): Likewise.
10599 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10600 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10601 (print_version): Use PKGVERSION.
10602 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10603 (do_version): Use PKGVERSION.
10604 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10605 REPORT_BUGS_TO.
10606 (common-ldd-rewrite): Likewise.
10607 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10608 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10609 (print_version): Use PKGVERSION.
10610 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10611 * elf/pldd.c (argp_program_bug_address): Remove variable.
10612 (more_help): New function.
10613 (argp): Use more_help.
10614 (print_version): Use PKGVERSION.
10615 * elf/sln.c (main): Use PKGVERSION.
10616 (usage): Use REPORT_BUGS_TO.
10617 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10618 (top level): Use PKGVERSION.
10619 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10620 (print_version): Use PKGVERSION.
10621 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10622 (print_version): Use PKGVERSION.
10623 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10624 (print_version): Use PKGVERSION.
10625 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10626 (print_version): Use PKGVERSION.
10627 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10628 (print_version): Use PKGVERSION.
10629 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10630 (print_version): Use PKGVERSION.
10631 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10632 and BUGURL.
10633 ($(objpfx)memusage): Likewise.
10634 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10635 (do_version): Use PKGVERSION.
10636 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10637 (print_version): Use PKGVERSION.
10638 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10639 ($PKGVERSION): New variable.
10640 ($REPORT_BUGS_TO): Likewise.
10641 (usage): Use $REPORT_BUGS_TO.
10642 (top level): Use $PKGVERSION.
10643 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10644 ($(objpfx)pkgvers.texi): New rule.
10645 ($(objpfx)stamp-pkgvers): Likewise.
10646 * manual/install.texi: Include pkgvers.texi.
10647 (--with-pkgversion): Document new configure option.
10648 (--with-bugurl): Likewise.
10649 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10650 than necessarily for this particular distribution. Use
10651 REPORT_BUGS_TO for where to report bugs.
10652 * INSTALL: Regenerated.
10653 * manual/libc.texinfo: Include pkgvers.texi.
10654 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10655 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10656 (print_version): Use PKGVERSION.
10657 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10658 (print_version): Use PKGVERSION.
10659 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10660 (print_version): Use PKGVERSION.
10661 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10662 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10663 macro.
10664 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10665 (print_version): Use PKGVERSION.
10666 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10667 (print_version): Use PKGVERSION.
10668 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10669 and PKGVERSION.
10670
92e4b6a9
JM
10671 * timezone/checktab.awk: Update from tzcode 2012i.
10672 * timezone/ialloc.c: Likewise.
10673 * timezone/private.h: Likewise.
10674 * timezone/scheck.c: Likewise.
10675 * timezone/tzfile.h: Likewise.
10676 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10677 (TZVERSION): Hardcode tzcode version number.
10678 * timezone/zdump.c: Update from tzcode 2012i.
10679 * timezone/zic.c: Likewise.
10680 * timezone/version.h: New file.
10681 * timezone/README: Describe version.h. Update upstream location.
10682
9bde902c
JM
10683 [BZ #14824]
10684 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10685 (mktemp): Enable declaration.
10686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10690 Likewise.
10691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10692 Likewise.
10693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10694 Likewise.
10695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10696 Likewise.
10697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10698 Likewise.
10699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10700 Likewise.
10701
fb1ae1ee
JM
10702 [BZ #14821]
10703 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10704 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10705 for copies of such integer values.
10706 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10707 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10708
2c1adbcb
AJ
107092012-11-09 Andreas Jaeger <aj@suse.de>
10710
10711 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10712 definitions and declarations that are provided by
10713 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10714
d0f8457e
AK
107152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10716
3a235abb 10717 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10718 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10719 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10720 definition.
10721
57241e26
MS
107222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10723
10724 * elf/elf.h: Update comment before AArch64 relocations.
10725
60e8270d
DM
107262012-11-07 David S. Miller <davem@davemloft.net>
10727
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10730 (__start_context): Declare.
10731 (__makecontext_ret): Delete.
10732 (__makecontext): Hook up __start_context instead of
10733 __makecontext_ret.
10734 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10735 (sysdep_routines): Add __start_context when in stdlib.
10736
0fbb0fbc
JM
107372012-11-07 Joseph Myers <joseph@codesourcery.com>
10738
10739 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10740 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10741 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10742 hardcoded "nm".
10743 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10744 (READELF): New variable. Use it instead of hardcoded "readelf".
10745
eb48db7e
L
107462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10749 * sysdeps/x86/Makefile: Here.
10750 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10751 * sysdeps/x86/tst-xmmymm.sh: This.
10752
05bcf62a
JM
107532012-11-07 Joseph Myers <joseph@codesourcery.com>
10754
c4b6cf53
JM
10755 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10756 expectations.
10757 [UNIX98] (pthread_barrier_t): Do not expect.
10758 [UNIX98] (pthread_barrierattr_t): Likewise.
10759 [UNIX98] (pthread_spinlock_t): Likewise.
10760 [UNIX98] (pthread_barrier_destroy): Likewise.
10761 [UNIX98] (pthread_barrier_init): Likewise.
10762 [UNIX98] (pthread_barrier_wait): Likewise.
10763 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10764 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10765 [UNIX98] (pthread_barrierattr_init): Likewise.
10766 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10767 [UNIX98] (pthread_getcpuclockid): Likewise.
10768 [UNIX98] (pthread_mutex_timedlock): Likewise.
10769 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10770 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10771 [UNIX98] (pthread_sigmask): Likewise.
10772 [UNIX98] (pthread_spin_destroy): Likewise.
10773 [UNIX98] (pthread_spin_init): Likewise.
10774 [UNIX98] (pthread_spin_lock): Likewise.
10775 [UNIX98] (pthread_spin_trylock): Likewise.
10776 [UNIX98] (pthread_spin_unlock): Likewise.
10777 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10778 Do not expect.
10779 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10781 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10782 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10783 [XPG3 || XPG4] (pthread_key_t): Likewise.
10784 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10785 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10786 [XPG3 || XPG4] (pthread_once_t): Likewise.
10787 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10788 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10790 [XPG3 || XPG4] (pthread_t): Likewise.
10791
cbe6e120
JM
10792 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10793 not expect.
10794 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10795
1b126443
JM
10796 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10797 Change function return type to int.
10798
b961a573
JM
10799 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10800 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10801 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10802 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10803 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10804 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10805 [!POSIX] (posix_madvise): Likewise.
10806 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10807 && !UNIX98].
10808 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10809 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10810 (mode_t): Likewise.
10811 (posix_mem_offset): Likewise.
10812 (posix_typed_mem_get_info): Likewise.
10813 (posix_typed_mem_open): Likewise.
10814
9e188909
JM
10815 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10816 Change condition to [XOPEN2K8].
10817
05bcf62a
JM
10818 * conform/conformtest.pl: Preprocess allow-header data with -x c
10819 instead of from stdin.
10820 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10821 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10822 [C99-based standards] (cerfc): Likewise.
10823 [C99-based standards] (cexp2): Likewise.
10824 [C99-based standards] (cexpm1): Likewise.
10825 [C99-based standards] (clog10): Likewise.
10826 [C99-based standards] (clog1p): Likewise.
10827 [C99-based standards] (clog2): Likewise.
10828 [C99-based standards] (clgamma): Likewise.
10829 [C99-based standards] (ctgamma): Likewise.
10830 [C99-based standards] (cerff): Likewise.
10831 [C99-based standards] (cerfcf): Likewise.
10832 [C99-based standards] (cexp2f): Likewise.
10833 [C99-based standards] (cexpm1f): Likewise.
10834 [C99-based standards] (clog10f): Likewise.
10835 [C99-based standards] (clog1pf): Likewise.
10836 [C99-based standards] (clog2f): Likewise.
10837 [C99-based standards] (clgammaf): Likewise.
10838 [C99-based standards] (ctgammaf): Likewise.
10839 [C99-based standards] (cerfl): Likewise.
10840 [C99-based standards] (cerfcl): Likewise.
10841 [C99-based standards] (cexp2l): Likewise.
10842 [C99-based standards] (cexpm1l): Likewise.
10843 [C99-based standards] (clog10l): Likewise.
10844 [C99-based standards] (clog1pl): Likewise.
10845 [C99-based standards] (clog2l): Likewise.
10846 [C99-based standards] (clgammal): Likewise.
10847 [C99-based standards] (ctgammal): Likewise.
10848 * conform/data/inttypes.h-data [C99-based standards]: Include
10849 stdint.h-data. Remove all expectations for stdint.h contents.
10850 [C99-based standards] (PRI*): Do not allow.
10851 [C99-based standards] (SCN*): Likewise.
10852 [C99-based standards] (*_t): Likewise.
10853 [C99-based-standards] (PRId8): Expect macro.
10854 [C99-based-standards] (PRIi8): Likewise.
10855 [C99-based-standards] (PRIo8): Likewise.
10856 [C99-based-standards] (PRIu8): Likewise.
10857 [C99-based-standards] (PRIx8): Likewise.
10858 [C99-based-standards] (PRIX8): Likewise.
10859 [C99-based-standards] (SCNd8): Likewise.
10860 [C99-based-standards] (SCNi8): Likewise.
10861 [C99-based-standards] (SCNo8): Likewise.
10862 [C99-based-standards] (SCNu8): Likewise.
10863 [C99-based-standards] (SCNx8): Likewise.
10864 [C99-based-standards] (PRIdLEAST8): Likewise.
10865 [C99-based-standards] (PRIiLEAST8): Likewise.
10866 [C99-based-standards] (PRIoLEAST8): Likewise.
10867 [C99-based-standards] (PRIuLEAST8): Likewise.
10868 [C99-based-standards] (PRIxLEAST8): Likewise.
10869 [C99-based-standards] (PRIXLEAST8): Likewise.
10870 [C99-based-standards] (SCNdLEAST8): Likewise.
10871 [C99-based-standards] (SCNiLEAST8): Likewise.
10872 [C99-based-standards] (SCNoLEAST8): Likewise.
10873 [C99-based-standards] (SCNuLEAST8): Likewise.
10874 [C99-based-standards] (SCNxLEAST8): Likewise.
10875 [C99-based-standards] (PRIdFAST8): Likewise.
10876 [C99-based-standards] (PRIiFAST8): Likewise.
10877 [C99-based-standards] (PRIoFAST8): Likewise.
10878 [C99-based-standards] (PRIuFAST8): Likewise.
10879 [C99-based-standards] (PRIxFAST8): Likewise.
10880 [C99-based-standards] (PRIXFAST8): Likewise.
10881 [C99-based-standards] (SCNdFAST8): Likewise.
10882 [C99-based-standards] (SCNiFAST8): Likewise.
10883 [C99-based-standards] (SCNoFAST8): Likewise.
10884 [C99-based-standards] (SCNuFAST8): Likewise.
10885 [C99-based-standards] (SCNxFAST8): Likewise.
10886 [C99-based-standards] (PRId16): Likewise.
10887 [C99-based-standards] (PRIi16): Likewise.
10888 [C99-based-standards] (PRIo16): Likewise.
10889 [C99-based-standards] (PRIu16): Likewise.
10890 [C99-based-standards] (PRIx16): Likewise.
10891 [C99-based-standards] (PRIX16): Likewise.
10892 [C99-based-standards] (SCNd16): Likewise.
10893 [C99-based-standards] (SCNi16): Likewise.
10894 [C99-based-standards] (SCNo16): Likewise.
10895 [C99-based-standards] (SCNu16): Likewise.
10896 [C99-based-standards] (SCNx16): Likewise.
10897 [C99-based-standards] (PRIdLEAST16): Likewise.
10898 [C99-based-standards] (PRIiLEAST16): Likewise.
10899 [C99-based-standards] (PRIoLEAST16): Likewise.
10900 [C99-based-standards] (PRIuLEAST16): Likewise.
10901 [C99-based-standards] (PRIxLEAST16): Likewise.
10902 [C99-based-standards] (PRIXLEAST16): Likewise.
10903 [C99-based-standards] (SCNdLEAST16): Likewise.
10904 [C99-based-standards] (SCNiLEAST16): Likewise.
10905 [C99-based-standards] (SCNoLEAST16): Likewise.
10906 [C99-based-standards] (SCNuLEAST16): Likewise.
10907 [C99-based-standards] (SCNxLEAST16): Likewise.
10908 [C99-based-standards] (PRIdFAST16): Likewise.
10909 [C99-based-standards] (PRIiFAST16): Likewise.
10910 [C99-based-standards] (PRIoFAST16): Likewise.
10911 [C99-based-standards] (PRIuFAST16): Likewise.
10912 [C99-based-standards] (PRIxFAST16): Likewise.
10913 [C99-based-standards] (PRIXFAST16): Likewise.
10914 [C99-based-standards] (SCNdFAST16): Likewise.
10915 [C99-based-standards] (SCNiFAST16): Likewise.
10916 [C99-based-standards] (SCNoFAST16): Likewise.
10917 [C99-based-standards] (SCNuFAST16): Likewise.
10918 [C99-based-standards] (SCNxFAST16): Likewise.
10919 [C99-based-standards] (PRId32): Likewise.
10920 [C99-based-standards] (PRIi32): Likewise.
10921 [C99-based-standards] (PRIo32): Likewise.
10922 [C99-based-standards] (PRIu32): Likewise.
10923 [C99-based-standards] (PRIx32): Likewise.
10924 [C99-based-standards] (PRIX32): Likewise.
10925 [C99-based-standards] (SCNd32): Likewise.
10926 [C99-based-standards] (SCNi32): Likewise.
10927 [C99-based-standards] (SCNo32): Likewise.
10928 [C99-based-standards] (SCNu32): Likewise.
10929 [C99-based-standards] (SCNx32): Likewise.
10930 [C99-based-standards] (PRIdLEAST32): Likewise.
10931 [C99-based-standards] (PRIiLEAST32): Likewise.
10932 [C99-based-standards] (PRIoLEAST32): Likewise.
10933 [C99-based-standards] (PRIuLEAST32): Likewise.
10934 [C99-based-standards] (PRIxLEAST32): Likewise.
10935 [C99-based-standards] (PRIXLEAST32): Likewise.
10936 [C99-based-standards] (SCNdLEAST32): Likewise.
10937 [C99-based-standards] (SCNiLEAST32): Likewise.
10938 [C99-based-standards] (SCNoLEAST32): Likewise.
10939 [C99-based-standards] (SCNuLEAST32): Likewise.
10940 [C99-based-standards] (SCNxLEAST32): Likewise.
10941 [C99-based-standards] (PRIdFAST32): Likewise.
10942 [C99-based-standards] (PRIiFAST32): Likewise.
10943 [C99-based-standards] (PRIoFAST32): Likewise.
10944 [C99-based-standards] (PRIuFAST32): Likewise.
10945 [C99-based-standards] (PRIxFAST32): Likewise.
10946 [C99-based-standards] (PRIXFAST32): Likewise.
10947 [C99-based-standards] (SCNdFAST32): Likewise.
10948 [C99-based-standards] (SCNiFAST32): Likewise.
10949 [C99-based-standards] (SCNoFAST32): Likewise.
10950 [C99-based-standards] (SCNuFAST32): Likewise.
10951 [C99-based-standards] (SCNxFAST32): Likewise.
10952 [C99-based-standards] (PRId64): Likewise.
10953 [C99-based-standards] (PRIi64): Likewise.
10954 [C99-based-standards] (PRIo64): Likewise.
10955 [C99-based-standards] (PRIu64): Likewise.
10956 [C99-based-standards] (PRIx64): Likewise.
10957 [C99-based-standards] (PRIX64): Likewise.
10958 [C99-based-standards] (SCNd64): Likewise.
10959 [C99-based-standards] (SCNi64): Likewise.
10960 [C99-based-standards] (SCNo64): Likewise.
10961 [C99-based-standards] (SCNu64): Likewise.
10962 [C99-based-standards] (SCNx64): Likewise.
10963 [C99-based-standards] (PRIdLEAST64): Likewise.
10964 [C99-based-standards] (PRIiLEAST64): Likewise.
10965 [C99-based-standards] (PRIoLEAST64): Likewise.
10966 [C99-based-standards] (PRIuLEAST64): Likewise.
10967 [C99-based-standards] (PRIxLEAST64): Likewise.
10968 [C99-based-standards] (PRIXLEAST64): Likewise.
10969 [C99-based-standards] (SCNdLEAST64): Likewise.
10970 [C99-based-standards] (SCNiLEAST64): Likewise.
10971 [C99-based-standards] (SCNoLEAST64): Likewise.
10972 [C99-based-standards] (SCNuLEAST64): Likewise.
10973 [C99-based-standards] (SCNxLEAST64): Likewise.
10974 [C99-based-standards] (PRIdFAST64): Likewise.
10975 [C99-based-standards] (PRIiFAST64): Likewise.
10976 [C99-based-standards] (PRIoFAST64): Likewise.
10977 [C99-based-standards] (PRIuFAST64): Likewise.
10978 [C99-based-standards] (PRIxFAST64): Likewise.
10979 [C99-based-standards] (PRIXFAST64): Likewise.
10980 [C99-based-standards] (SCNdFAST64): Likewise.
10981 [C99-based-standards] (SCNiFAST64): Likewise.
10982 [C99-based-standards] (SCNoFAST64): Likewise.
10983 [C99-based-standards] (SCNuFAST64): Likewise.
10984 [C99-based-standards] (SCNxFAST64): Likewise.
10985 [C99-based-standards] (PRIdMAX): Likewise.
10986 [C99-based-standards] (PRIiMAX): Likewise.
10987 [C99-based-standards] (PRIoMAX): Likewise.
10988 [C99-based-standards] (PRIuMAX): Likewise.
10989 [C99-based-standards] (PRIxMAX): Likewise.
10990 [C99-based-standards] (PRIXMAX): Likewise.
10991 [C99-based-standards] (SCNdMAX): Likewise.
10992 [C99-based-standards] (SCNiMAX): Likewise.
10993 [C99-based-standards] (SCNoMAX): Likewise.
10994 [C99-based-standards] (SCNuMAX): Likewise.
10995 [C99-based-standards] (SCNxMAX): Likewise.
10996 [C99-based-standards] (PRIdPTR): Likewise.
10997 [C99-based-standards] (PRIiPTR): Likewise.
10998 [C99-based-standards] (PRIoPTR): Likewise.
10999 [C99-based-standards] (PRIuPTR): Likewise.
11000 [C99-based-standards] (PRIxPTR): Likewise.
11001 [C99-based-standards] (PRIXPTR): Likewise.
11002 [C99-based-standards] (SCNdPTR): Likewise.
11003 [C99-based-standards] (SCNiPTR): Likewise.
11004 [C99-based-standards] (SCNoPTR): Likewise.
11005 [C99-based-standards] (SCNuPTR): Likewise.
11006 [C99-based-standards] (SCNxPTR): Likewise.
11007 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11008 allow.
11009 * conform/data/stdint.h-data: Update comments to clarify
11010 requirements.
11011 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11012 type.
11013 [C99-based standards] (INT8_MAX): Likewise.
11014 [C99-based standards] (INT16_MIN): Likewise.
11015 [C99-based standards] (INT16_MAX): Likewise.
11016 [C99-based standards] (INT32_MIN): Likewise.
11017 [C99-based standards] (INT32_MAX): Likewise.
11018 [C99-based standards] (INT64_MIN): Likewise.
11019 [C99-based standards] (INT64_MAX): Likewise.
11020 [C99-based standards] (UINT8_MAX): Likewise.
11021 [C99-based standards] (UINT16_MAX): Likewise.
11022 [C99-based standards] (UINT32_MAX): Likewise.
11023 [C99-based standards] (UINT64_MAX): Likewise.
11024 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11025 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11026 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11027 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11028 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11029 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11030 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11031 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11032 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11033 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11034 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11035 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11036 [C99-based standards] (INT_FAST8_MIN): Likewise.
11037 [C99-based standards] (INT_FAST8_MAX): Likewise.
11038 [C99-based standards] (INT_FAST16_MIN): Likewise.
11039 [C99-based standards] (INT_FAST16_MAX): Likewise.
11040 [C99-based standards] (INT_FAST32_MIN): Likewise.
11041 [C99-based standards] (INT_FAST32_MAX): Likewise.
11042 [C99-based standards] (INT_FAST64_MIN): Likewise.
11043 [C99-based standards] (INT_FAST64_MAX): Likewise.
11044 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11045 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11046 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11047 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11048 [C99-based standards] (INTPTR_MIN): Likewise.
11049 [C99-based standards] (INTPTR_MAX): Likewise.
11050 [C99-based standards] (UINTPTR_MAX): Likewise.
11051 [C99-based standards] (INTMAX_MIN): Likewise.
11052 [C99-based standards] (INTMAX_MAX): Likewise.
11053 [C99-based standards] (UINTMAX_MAX): Likewise.
11054 [C99-based standards] (PTRDIFF_MIN): Likewise.
11055 [C99-based standards] (PTRDIFF_MAX): Likewise.
11056 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11057 [C99-based standards] (SIZE_MAX): Likewise.
11058 [C99-based standards] (WCHAR_MAX): Likewise.
11059 [C99-based standards] (WINT_MAX): Likewise.
11060 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11061 constraint on value.
11062 [C99-based standards] (WCHAR_MIN): Likewise.
11063 [C99-based standards] (WINT_MIN): Likewise.
11064 [C99-based standards] (*_t): Allow.
11065 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11066 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11067 Include math.h-data and complex.h-data. Remove all expectations
11068 of math.h and complex.h contents.
11069 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11070 at end of line.
11071 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11072 (struct tm): Expect tag.
11073 [C99-based-standards] (wcstof): Expect function.
11074 [C99-based-standards] (wcstold): Likewise.
11075 [C99-based-standards] (wcstoll): Likewise.
11076 [C99-based-standards] (wcstoull): Likewise.
11077 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11078 macro-int-constant. Specify type.
11079 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11080 constraint on value.
11081 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11082 Specify type.
11083 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11084 Specify value.
11085 [ISO C standards]: Do not allow headers.
11086 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11087 wcs[abcdefghijklmnopqrstuvwxyz]*.
11088 [ISO C standards] (*_t): Do not allow.
11089 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11090 Expect function.
11091 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11092 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11093 Specify type.
11094 [ISO C standards]: Do not allow headers.
11095 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11096 is[abcdefghijklmnopqrstuvwxyz]*.
11097 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11098 to[abcdefghijklmnopqrstuvwxyz]*.
11099 [ISO C standards] (*_t): Do not allow.
11100 * conform/data/stdalign.h-data: New file.
11101 * conform/data/stdbool.h-data: Likewise.
11102 * conform/data/stdnoreturn.h-data: Likewise.
11103
7514feb8
RM
111042012-11-07 Roland McGrath <roland@hack.frob.com>
11105
11106 [BZ #14815]
11107 * manual/filesys.texi (Directory Entries): Typo fix.
11108 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11109
19b2ecfc
MS
111102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11111
11112 * elf/elf.h (EM_AARCH64): New macro.
11113 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11114 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11115 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11116 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11117 (R_AARCH64_TLSDESC): Likewise.
11118 (NT_ARM_TLS): Likewise.
11119 (NT_ARM_HW_BREAK): Likewise.
11120 (NT_ARM_HW_WATCH): Likewise.
11121
60e235ee
JM
111222012-11-07 Joseph Myers <joseph@codesourcery.com>
11123
11124 [BZ #14811]
11125 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11126 (__ieee754_powl): Saturate nonzero exponents with absolute value
11127 below 0x1p-79 to +/- 0x1p-79.
11128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11129 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11130 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11131 nonzero exponents with absolute value below 0x1p-32 to +/-
11132 0x1p-32.
11133 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11134 (__ieee754_powl): Saturate nonzero exponents with absolute value
11135 below 0x1p-79 to +/- 0x1p-79.
11136 * math/libm-test.inc (pow_test): Add more tests.
11137
0ab234b7
AK
111382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11139
11140 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11141 _dl_s390_cap_flags with kernel. Increase string length.
11142 (_dl_s390_platforms): Add z196 and zEC12.
11143
45832f74
JM
111442012-11-07 Joseph Myers <joseph@codesourcery.com>
11145
11146 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11147 Change XOPEN21K to XOPEN2K.
11148
19218757
MK
111492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11150
11151 * string/memmove.c: Use memcpy when possible.
11152
c5f45721
AJ
111532012-11-06 Andreas Jaeger <aj@suse.de>
11154
11155 * po/eo.po: Update from translation team.
11156
82477c28
JM
111572012-11-06 Joseph Myers <joseph@codesourcery.com>
11158
11159 [BZ #14793]
11160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11161 exponent and small x and y exponents, scale x or y up. Increase
11162 by 2 the exponent used in scaling up.
11163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11165 * math/libm-test.inc (fma_test): Add more tests.
11166 (fma_test_towardzero): Likewise.
11167 (fma_test_downward): Likewise.
11168 (fma_test_upward): Likewise.
11169
99252c8c
JM
111702012-11-05 Joseph Myers <joseph@codesourcery.com>
11171
acfa885f
JM
11172 [BZ #14805]
11173 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11174 fenv_t *.
11175
99252c8c
JM
11176 [BZ #14801]
11177 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11178 namespace for names of struct fields.
11179 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11180 fenv_t fields.
11181 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11182 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11183
d6d98dea
ST
111842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11185
11186 [BZ #3665]
11187 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11188
e10bb107
TS
111892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11190
11191 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11192 PTR_DEMANGLE.
11193
11194 [BZ #5246]
11195 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11196 PTR_DEMANGLE.
11197
a0c2940d
JM
111982012-11-04 Joseph Myers <joseph@codesourcery.com>
11199
11200 [BZ #14797]
11201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11202 definitely overflow as x * y not x * y + z.
11203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11205 * math/libm-test.inc (fma_test): Add more tests.
11206 (fma_test_towardzero): Likewise.
11207 (fma_test_downward): Likewise.
11208 (fma_test_upward): Likewise.
11209
b830319d
TS
112102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11211
11212 [BZ #157]
11213
11214 * include/stub-tag.h: Remove file.
11215 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11216 '#include' of it.
11217 * manual/maint.texi (Porting): Don't reference it.
11218 * Makerules ($(objpfx)stubs): Likewise.
11219 * dirent/closedir.c: Don't include <stub-tag.h>.
11220 * dirent/dirfd.c: Likewise.
11221 * dirent/fdopendir.c: Likewise.
11222 * dirent/getdents.c: Likewise.
11223 * dirent/getdents64.c: Likewise.
11224 * dirent/opendir.c: Likewise.
11225 * dirent/readdir.c: Likewise.
11226 * dirent/readdir64.c: Likewise.
11227 * dirent/readdir64_r.c: Likewise.
11228 * dirent/readdir_r.c: Likewise.
11229 * dirent/rewinddir.c: Likewise.
11230 * dirent/seekdir.c: Likewise.
11231 * dirent/telldir.c: Likewise.
11232 * gmon/profil.c: Likewise.
11233 * grp/setgroups.c: Likewise.
11234 * inet/if_index.c: Likewise.
11235 * io/access.c: Likewise.
11236 * io/chdir.c: Likewise.
11237 * io/chmod.c: Likewise.
11238 * io/chown.c: Likewise.
11239 * io/close.c: Likewise.
11240 * io/dup.c: Likewise.
11241 * io/dup2.c: Likewise.
11242 * io/dup3.c: Likewise.
11243 * io/euidaccess.c: Likewise.
11244 * io/faccessat.c: Likewise.
11245 * io/fchdir.c: Likewise.
11246 * io/fchmod.c: Likewise.
11247 * io/fchmodat.c: Likewise.
11248 * io/fchown.c: Likewise.
11249 * io/fchownat.c: Likewise.
11250 * io/fcntl.c: Likewise.
11251 * io/flock.c: Likewise.
11252 * io/fstatfs.c: Likewise.
11253 * io/fstatfs64.c: Likewise.
11254 * io/fstatvfs.c: Likewise.
11255 * io/fstatvfs64.c: Likewise.
11256 * io/futimens.c: Likewise.
11257 * io/fxstat.c: Likewise.
11258 * io/fxstat64.c: Likewise.
11259 * io/fxstatat.c: Likewise.
11260 * io/fxstatat64.c: Likewise.
11261 * io/getcwd.c: Likewise.
11262 * io/isatty.c: Likewise.
11263 * io/lchmod.c: Likewise.
11264 * io/lchown.c: Likewise.
11265 * io/link.c: Likewise.
11266 * io/linkat.c: Likewise.
11267 * io/lseek.c: Likewise.
11268 * io/lseek64.c: Likewise.
11269 * io/lxstat64.c: Likewise.
11270 * io/mkdir.c: Likewise.
11271 * io/mkdirat.c: Likewise.
11272 * io/mkfifo.c: Likewise.
11273 * io/mkfifoat.c: Likewise.
11274 * io/open.c: Likewise.
11275 * io/open64.c: Likewise.
11276 * io/openat.c: Likewise.
11277 * io/openat64.c: Likewise.
11278 * io/pipe.c: Likewise.
11279 * io/pipe2.c: Likewise.
11280 * io/poll.c: Likewise.
11281 * io/posix_fadvise.c: Likewise.
11282 * io/posix_fadvise64.c: Likewise.
11283 * io/posix_fallocate.c: Likewise.
11284 * io/posix_fallocate64.c: Likewise.
11285 * io/read.c: Likewise.
11286 * io/readlink.c: Likewise.
11287 * io/readlinkat.c: Likewise.
11288 * io/rmdir.c: Likewise.
11289 * io/sendfile.c: Likewise.
11290 * io/sendfile64.c: Likewise.
11291 * io/statfs.c: Likewise.
11292 * io/statfs64.c: Likewise.
11293 * io/statvfs.c: Likewise.
11294 * io/statvfs64.c: Likewise.
11295 * io/symlink.c: Likewise.
11296 * io/symlinkat.c: Likewise.
11297 * io/ttyname.c: Likewise.
11298 * io/ttyname_r.c: Likewise.
11299 * io/umask.c: Likewise.
11300 * io/unlink.c: Likewise.
11301 * io/unlinkat.c: Likewise.
11302 * io/utime.c: Likewise.
11303 * io/utimensat.c: Likewise.
11304 * io/write.c: Likewise.
11305 * io/xmknod.c: Likewise.
11306 * io/xmknodat.c: Likewise.
11307 * io/xstat.c: Likewise.
11308 * io/xstat64.c: Likewise.
11309 * login/getpt.c: Likewise.
11310 * login/grantpt.c: Likewise.
11311 * login/unlockpt.c: Likewise.
11312 * math/e_acoshl.c: Likewise.
11313 * math/e_acosl.c: Likewise.
11314 * math/e_asinl.c: Likewise.
11315 * math/e_atan2l.c: Likewise.
11316 * math/e_atanhl.c: Likewise.
11317 * math/e_coshl.c: Likewise.
11318 * math/e_expl.c: Likewise.
11319 * math/e_fmodl.c: Likewise.
11320 * math/e_gammal_r.c: Likewise.
11321 * math/e_hypotl.c: Likewise.
11322 * math/e_j0l.c: Likewise.
11323 * math/e_j1l.c: Likewise.
11324 * math/e_jnl.c: Likewise.
11325 * math/e_lgammal_r.c: Likewise.
11326 * math/e_log10l.c: Likewise.
11327 * math/e_log2l.c: Likewise.
11328 * math/e_logl.c: Likewise.
11329 * math/e_powl.c: Likewise.
11330 * math/e_rem_pio2l.c: Likewise.
11331 * math/e_sinhl.c: Likewise.
11332 * math/e_sqrtl.c: Likewise.
11333 * math/fclrexcpt.c: Likewise.
11334 * math/fedisblxcpt.c: Likewise.
11335 * math/feenablxcpt.c: Likewise.
11336 * math/fegetenv.c: Likewise.
11337 * math/fegetexcept.c: Likewise.
11338 * math/fegetround.c: Likewise.
11339 * math/feholdexcpt.c: Likewise.
11340 * math/fesetenv.c: Likewise.
11341 * math/fesetround.c: Likewise.
11342 * math/feupdateenv.c: Likewise.
11343 * math/fgetexcptflg.c: Likewise.
11344 * math/fraiseexcpt.c: Likewise.
11345 * math/fsetexcptflg.c: Likewise.
11346 * math/ftestexcept.c: Likewise.
11347 * math/k_cosl.c: Likewise.
11348 * math/k_rem_pio2l.c: Likewise.
11349 * math/k_sinl.c: Likewise.
11350 * math/k_tanl.c: Likewise.
11351 * math/s_asinhl.c: Likewise.
11352 * math/s_atanl.c: Likewise.
11353 * math/s_cbrtl.c: Likewise.
11354 * math/s_erfl.c: Likewise.
11355 * math/s_expm1l.c: Likewise.
11356 * math/s_log1pl.c: Likewise.
11357 * math/s_tanhl.c: Likewise.
11358 * misc/acct.c: Likewise.
11359 * misc/brk.c: Likewise.
11360 * misc/chflags.c: Likewise.
11361 * misc/chroot.c: Likewise.
11362 * misc/fchflags.c: Likewise.
11363 * misc/fgetxattr.c: Likewise.
11364 * misc/flistxattr.c: Likewise.
11365 * misc/fremovexattr.c: Likewise.
11366 * misc/fsetxattr.c: Likewise.
11367 * misc/fsync.c: Likewise.
11368 * misc/ftruncate.c: Likewise.
11369 * misc/futimes.c: Likewise.
11370 * misc/futimesat.c: Likewise.
11371 * misc/getdomain.c: Likewise.
11372 * misc/getdtsz.c: Likewise.
11373 * misc/gethostid.c: Likewise.
11374 * misc/gethostname.c: Likewise.
11375 * misc/getloadavg.c: Likewise.
11376 * misc/getpagesize.c: Likewise.
11377 * misc/getsysstats.c: Likewise.
11378 * misc/getxattr.c: Likewise.
11379 * misc/gtty.c: Likewise.
11380 * misc/ioctl.c: Likewise.
11381 * misc/lgetxattr.c: Likewise.
11382 * misc/listxattr.c: Likewise.
11383 * misc/llistxattr.c: Likewise.
11384 * misc/lremovexattr.c: Likewise.
11385 * misc/lsetxattr.c: Likewise.
11386 * misc/lutimes.c: Likewise.
11387 * misc/madvise.c: Likewise.
11388 * misc/mincore.c: Likewise.
11389 * misc/mlock.c: Likewise.
11390 * misc/mlockall.c: Likewise.
11391 * misc/mmap.c: Likewise.
11392 * misc/mprotect.c: Likewise.
11393 * misc/msync.c: Likewise.
11394 * misc/munlock.c: Likewise.
11395 * misc/munlockall.c: Likewise.
11396 * misc/munmap.c: Likewise.
11397 * misc/preadv.c: Likewise.
11398 * misc/preadv64.c: Likewise.
11399 * misc/ptrace.c: Likewise.
11400 * misc/pwritev.c: Likewise.
11401 * misc/pwritev64.c: Likewise.
11402 * misc/readv.c: Likewise.
11403 * misc/reboot.c: Likewise.
11404 * misc/remap_file_pages.c: Likewise.
11405 * misc/removexattr.c: Likewise.
11406 * misc/revoke.c: Likewise.
11407 * misc/select.c: Likewise.
11408 * misc/setdomain.c: Likewise.
11409 * misc/setegid.c: Likewise.
11410 * misc/seteuid.c: Likewise.
11411 * misc/sethostid.c: Likewise.
11412 * misc/sethostname.c: Likewise.
11413 * misc/setregid.c: Likewise.
11414 * misc/setreuid.c: Likewise.
11415 * misc/setxattr.c: Likewise.
11416 * misc/sstk.c: Likewise.
11417 * misc/stty.c: Likewise.
11418 * misc/swapoff.c: Likewise.
11419 * misc/swapon.c: Likewise.
11420 * misc/sync.c: Likewise.
11421 * misc/syncfs.c: Likewise.
11422 * misc/syscall.c: Likewise.
11423 * misc/truncate.c: Likewise.
11424 * misc/ualarm.c: Likewise.
11425 * misc/usleep.c: Likewise.
11426 * misc/ustat.c: Likewise.
11427 * misc/utimes.c: Likewise.
11428 * misc/vhangup.c: Likewise.
11429 * misc/writev.c: Likewise.
11430 * posix/_exit.c: Likewise.
11431 * posix/alarm.c: Likewise.
11432 * posix/execve.c: Likewise.
11433 * posix/fexecve.c: Likewise.
11434 * posix/fork.c: Likewise.
11435 * posix/fpathconf.c: Likewise.
11436 * posix/getaddrinfo.c: Likewise.
11437 * posix/getegid.c: Likewise.
11438 * posix/geteuid.c: Likewise.
11439 * posix/getgid.c: Likewise.
11440 * posix/getgroups.c: Likewise.
11441 * posix/getlogin.c: Likewise.
11442 * posix/getlogin_r.c: Likewise.
11443 * posix/getpgid.c: Likewise.
11444 * posix/getpid.c: Likewise.
11445 * posix/getppid.c: Likewise.
11446 * posix/getresgid.c: Likewise.
11447 * posix/getresuid.c: Likewise.
11448 * posix/getsid.c: Likewise.
11449 * posix/getuid.c: Likewise.
11450 * posix/glob64.c: Likewise.
11451 * posix/nanosleep.c: Likewise.
11452 * posix/pathconf.c: Likewise.
11453 * posix/pause.c: Likewise.
11454 * posix/posix_madvise.c: Likewise.
11455 * posix/pread.c: Likewise.
11456 * posix/pread64.c: Likewise.
11457 * posix/pwrite.c: Likewise.
11458 * posix/pwrite64.c: Likewise.
11459 * posix/sched_getaffinity.c: Likewise.
11460 * posix/sched_getp.c: Likewise.
11461 * posix/sched_gets.c: Likewise.
11462 * posix/sched_primax.c: Likewise.
11463 * posix/sched_primin.c: Likewise.
11464 * posix/sched_rr_gi.c: Likewise.
11465 * posix/sched_setaffinity.c: Likewise.
11466 * posix/sched_setp.c: Likewise.
11467 * posix/sched_sets.c: Likewise.
11468 * posix/sched_yield.c: Likewise.
11469 * posix/setgid.c: Likewise.
11470 * posix/setlogin.c: Likewise.
11471 * posix/setpgid.c: Likewise.
11472 * posix/setresgid.c: Likewise.
11473 * posix/setresuid.c: Likewise.
11474 * posix/setsid.c: Likewise.
11475 * posix/setuid.c: Likewise.
11476 * posix/sleep.c: Likewise.
11477 * posix/spawni.c: Likewise.
11478 * posix/sysconf.c: Likewise.
11479 * posix/times.c: Likewise.
11480 * posix/wait.c: Likewise.
11481 * posix/wait3.c: Likewise.
11482 * posix/wait4.c: Likewise.
11483 * posix/waitpid.c: Likewise.
11484 * resolv/gai_sigqueue.c: Likewise.
11485 * resource/getpriority.c: Likewise.
11486 * resource/getrlimit.c: Likewise.
11487 * resource/getrusage.c: Likewise.
11488 * resource/nice.c: Likewise.
11489 * resource/setpriority.c: Likewise.
11490 * resource/setrlimit.c: Likewise.
11491 * resource/ulimit.c: Likewise.
11492 * rt/aio_cancel.c: Likewise.
11493 * rt/aio_fsync.c: Likewise.
11494 * rt/aio_read.c: Likewise.
11495 * rt/aio_sigqueue.c: Likewise.
11496 * rt/aio_suspend.c: Likewise.
11497 * rt/aio_write.c: Likewise.
11498 * rt/clock_getres.c: Likewise.
11499 * rt/clock_gettime.c: Likewise.
11500 * rt/clock_nanosleep.c: Likewise.
11501 * rt/clock_settime.c: Likewise.
11502 * rt/lio_listio.c: Likewise.
11503 * rt/mq_close.c: Likewise.
11504 * rt/mq_getattr.c: Likewise.
11505 * rt/mq_notify.c: Likewise.
11506 * rt/mq_open.c: Likewise.
11507 * rt/mq_receive.c: Likewise.
11508 * rt/mq_send.c: Likewise.
11509 * rt/mq_setattr.c: Likewise.
11510 * rt/mq_timedreceive.c: Likewise.
11511 * rt/mq_timedsend.c: Likewise.
11512 * rt/mq_unlink.c: Likewise.
11513 * rt/shm_open.c: Likewise.
11514 * rt/shm_unlink.c: Likewise.
11515 * rt/timer_create.c: Likewise.
11516 * rt/timer_delete.c: Likewise.
11517 * rt/timer_getoverr.c: Likewise.
11518 * rt/timer_gettime.c: Likewise.
11519 * rt/timer_settime.c: Likewise.
11520 * setjmp/__longjmp.c: Likewise.
11521 * setjmp/setjmp.c: Likewise.
11522 * signal/kill.c: Likewise.
11523 * signal/killpg.c: Likewise.
11524 * signal/raise.c: Likewise.
11525 * signal/sigaction.c: Likewise.
11526 * signal/sigaltstack.c: Likewise.
11527 * signal/sigblock.c: Likewise.
11528 * signal/sigignore.c: Likewise.
11529 * signal/sigintr.c: Likewise.
11530 * signal/signal.c: Likewise.
11531 * signal/sigpause.c: Likewise.
11532 * signal/sigpending.c: Likewise.
11533 * signal/sigqueue.c: Likewise.
11534 * signal/sigreturn.c: Likewise.
11535 * signal/sigset.c: Likewise.
11536 * signal/sigsetmask.c: Likewise.
11537 * signal/sigstack.c: Likewise.
11538 * signal/sigsuspend.c: Likewise.
11539 * signal/sigtimedwait.c: Likewise.
11540 * signal/sigvec.c: Likewise.
11541 * signal/sigwait.c: Likewise.
11542 * signal/sigwaitinfo.c: Likewise.
11543 * signal/sysv_signal.c: Likewise.
11544 * socket/accept.c: Likewise.
11545 * socket/accept4.c: Likewise.
11546 * socket/bind.c: Likewise.
11547 * socket/connect.c: Likewise.
11548 * socket/getpeername.c: Likewise.
11549 * socket/getsockname.c: Likewise.
11550 * socket/getsockopt.c: Likewise.
11551 * socket/isfdtype.c: Likewise.
11552 * socket/listen.c: Likewise.
11553 * socket/recv.c: Likewise.
11554 * socket/recvfrom.c: Likewise.
11555 * socket/recvmsg.c: Likewise.
11556 * socket/send.c: Likewise.
11557 * socket/sendmsg.c: Likewise.
11558 * socket/sendto.c: Likewise.
11559 * socket/setsockopt.c: Likewise.
11560 * socket/shutdown.c: Likewise.
11561 * socket/sockatmark.c: Likewise.
11562 * socket/socket.c: Likewise.
11563 * socket/socketpair.c: Likewise.
11564 * stdio-common/ctermid.c: Likewise.
11565 * stdio-common/cuserid.c: Likewise.
11566 * stdio-common/remove.c: Likewise.
11567 * stdio-common/rename.c: Likewise.
11568 * stdio-common/renameat.c: Likewise.
11569 * stdio-common/tempname.c: Likewise.
11570 * stdlib/getcontext.c: Likewise.
11571 * stdlib/makecontext.c: Likewise.
11572 * stdlib/setcontext.c: Likewise.
11573 * stdlib/swapcontext.c: Likewise.
11574 * stdlib/system.c: Likewise.
11575 * streams/fattach.c: Likewise.
11576 * streams/fdetach.c: Likewise.
11577 * streams/getmsg.c: Likewise.
11578 * streams/getpmsg.c: Likewise.
11579 * streams/putmsg.c: Likewise.
11580 * streams/putpmsg.c: Likewise.
11581 * sysdeps/unix/bsd/getpt.c: Likewise.
11582 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11583 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11584 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11586 Likewise.
11587 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11588 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11589 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11590 * sysvipc/msgctl.c: Likewise.
11591 * sysvipc/msgget.c: Likewise.
11592 * sysvipc/msgrcv.c: Likewise.
11593 * sysvipc/msgsnd.c: Likewise.
11594 * sysvipc/semctl.c: Likewise.
11595 * sysvipc/semget.c: Likewise.
11596 * sysvipc/semop.c: Likewise.
11597 * sysvipc/semtimedop.c: Likewise.
11598 * sysvipc/shmat.c: Likewise.
11599 * sysvipc/shmctl.c: Likewise.
11600 * sysvipc/shmdt.c: Likewise.
11601 * sysvipc/shmget.c: Likewise.
11602 * termios/tcdrain.c: Likewise.
11603 * termios/tcflow.c: Likewise.
11604 * termios/tcflush.c: Likewise.
11605 * termios/tcgetattr.c: Likewise.
11606 * termios/tcgetpgrp.c: Likewise.
11607 * termios/tcsendbrk.c: Likewise.
11608 * termios/tcsetattr.c: Likewise.
11609 * termios/tcsetpgrp.c: Likewise.
11610 * time/adjtime.c: Likewise.
11611 * time/clock.c: Likewise.
11612 * time/getitimer.c: Likewise.
11613 * time/gettimeofday.c: Likewise.
11614 * time/setitimer.c: Likewise.
11615 * time/settimeofday.c: Likewise.
11616 * time/stime.c: Likewise.
11617 * time/time.c: Likewise.
11618
116192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11620
a20492cf
PT
11621 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11622 /usr/old/bin.
11623
72e182e3
PT
11624 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11625 instead of spaces.
11626 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11627
fbeafede
JM
116282012-11-03 Joseph Myers <joseph@codesourcery.com>
11629
5b5b04d6
JM
11630 [BZ #14796]
11631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11632 FE_TONEAREST before applying Dekker multiplication and Knuth
11633 addition. Clear inexact exceptions and check for exact zero
11634 results afterwards.
11635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11638 * math/libm-test.inc (fma_test): Add more tests.
11639 (fma_test_towardzero): Likewise.
11640 (fma_test_downward): Likewise.
11641 (fma_test_upward): Likewise.
11642 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11643 function.
11644 (libc_fesetround): New macro.
11645 (libc_fesetroundf): Likewise.
11646 (libc_fesetroundl): Likewise.
11647 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11648 function.
11649 (libc_fesetround_387): Likewise.
11650 (libc_fesetroundf): New macro.
11651 (libc_fesetround): Likewise.
11652 (libc_fesetroundl): Likewise.
11653 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11654 function.
11655 (libc_fesetroundf): New macro.
11656 (libc_fesetround): Likewise.
11657 (libc_fesetroundl): Likewise.
11658 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11659 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11660 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11661 libm_hidden_ver.
11662 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11663 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11664 libm_hidden_def.
11665 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11666 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11667 libm_hidden_ver.
11668 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11669 libm_hidden_def.
11670
fbeafede
JM
11671 [BZ #3439]
11672 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11673 integer constant usable in #if and use that to give value to enum
11674 constant.
11675 (FE_DIVBYZERO): Likewise.
11676 (FE_UNDERFLOW): Likewise.
11677 (FE_OVERFLOW): Likewise.
11678 (FE_INVALID): Likewise.
11679 (FE_INVALID_SNAN): Likewise.
11680 (FE_INVALID_ISI): Likewise.
11681 (FE_INVALID_IDI): Likewise.
11682 (FE_INVALID_ZDZ): Likewise.
11683 (FE_INVALID_IMZ): Likewise.
11684 (FE_INVALID_COMPARE): Likewise.
11685 (FE_INVALID_SOFTWARE): Likewise.
11686 (FE_INVALID_SQRT): Likewise.
11687 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11688 (FE_TONEAREST): Likewise.
11689 (FE_TOWARDZERO): Likewise.
11690 (FE_UPWARD): Likewise.
11691 (FE_DOWNWARD): Likewise.
11692 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11693 (FE_DIVBYZERO): Likewise.
11694 (FE_OVERFLOW): Likewise.
11695 (FE_UNDERFLOW): Likewise.
11696 (FE_INEXACT): Likewise.
11697 (FE_TONEAREST): Likewise.
11698 (FE_DOWNWARD): Likewise.
11699 (FE_UPWARD): Likewise.
11700 (FE_TOWARDZERO): Likewise.
11701 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11702 (FE_UNDERFLOW): Likewise.
11703 (FE_OVERFLOW): Likewise.
11704 (FE_DIVBYZERO): Likewise.
11705 (FE_INVALID): Likewise.
11706 (FE_TONEAREST): Likewise.
11707 (FE_TOWARDZERO): Likewise.
11708 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11709 (FE_OVERFLOW): Likewise.
11710 (FE_UNDERFLOW): Likewise.
11711 (FE_DIVBYZERO): Likewise.
11712 (FE_INEXACT): Likewise.
11713 (FE_TONEAREST): Likewise.
11714 (FE_TOWARDZERO): Likewise.
11715 (FE_UPWARD): Likewise.
11716 (FE_DOWNWARD): Likewise.
11717 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11718 (FE_DIVBYZERO): Likewise.
11719 (FE_OVERFLOW): Likewise.
11720 (FE_UNDERFLOW): Likewise.
11721 (FE_INEXACT): Likewise.
11722 (FE_TONEAREST): Likewise.
11723 (FE_DOWNWARD): Likewise.
11724 (FE_UPWARD): Likewise.
11725 (FE_TOWARDZERO): Likewise.
11726
105ca950
CM
117272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11728
11729 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11730
a542b389
AS
117312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11732
11733 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11734 commands. Quote $PWD.
11735 (blacklist_exports): Don't use remove_newlines. Replace "declare
11736 -x" by "export".
11737 (remove_newlines): Remove.
11738
f62c8abc
L
117392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11742 * stdlib/stdlib.h (atof): Moved to ...
11743 * include/bits/stdlib-float.h: Here. New file.
11744 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11745 * stdlib/bits/stdlib-float.h: New file.
11746 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11747 -mno-sse -mno-mmx.
11748 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11749 <xmmintrin.h>.
11750
0155d5b2
JM
117512012-11-02 Joseph Myers <joseph@codesourcery.com>
11752
a68d0680
JM
11753 * conform/conformtest.pl (@headers): Add fenv.h.
11754 * conform/data/fenv.h-data: New file.
11755 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11756 include of <math/fenv.h>.
11757
caf7f573
JM
11758 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11759 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11760 && !UNIX98]. Enables tests for XOPEN2K8.
11761 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11762 POSIX2008]: Likewise.
11763
6c073ad6
JM
11764 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11765 (struct rusage): Do not expect type or its members.
11766
0155d5b2
JM
11767 [BZ #3439]
11768 * math/math.h (FP_NAN): Define macro to integer constant usable in
11769 #if and use that to give value to enum constant.
11770 (FP_INFINITE): Likewise.
11771 (FP_ZERO): Likewise.
11772 (FP_SUBNORMAL): Likewise.
11773 (FP_NORMAL): Likewise.
11774
b5dcacb4
AS
117752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11776
11777 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11778 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11779 arguments.
11780
f7934be8
RM
117812012-11-02 Roland McGrath <roland@hack.frob.com>
11782
11783 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11784 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11785 autoconf-time if not.
11786 * configure.in: Remove AC_PREREQ.
11787
d7d08bde
TMQMF
117882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11789
11790 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11791 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11792 of the internal implementation.
11793
dcdae19a
JM
117942012-11-02 Joseph Myers <joseph@codesourcery.com>
11795
11796 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11797 except include of <misc/sys/syslog.h>.
11798
d6cffd3e
AS
117992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11800
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11802 function returns with a NULL context exit with zero.
11803
b3563932
TMQMF
118042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11805
11806 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11807
b288a93d
L
118082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11811 (run_program_cmd): This.
11812 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11813 (tst_langinfo): New variable. Use it.
11814
a2421a68
SAS
118152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11816
11817 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11818 floating point opcodes.
11819
6f796e1b
TS
118202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11821
7402596b
TS
11822 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11823 variable.
11824
d0d4f868
TS
11825 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11826
6f796e1b
TS
11827 * sysdeps/mach/hurd/powerpc: Remove directory.
11828 * sysdeps/mach/powerpc: Likewise.
11829
4da224a2
AS
118302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11831
11832 * scripts/check-local-headers.sh: Ignore c++ headers.
11833
341dd673
TS
118342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11835
11836 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11837 __libc_cleanup_region_start argument.
11838
473611b2
JM
118392012-11-01 Joseph Myers <joseph@codesourcery.com>
11840
11841 [BZ #14784]
11842 [BZ #14785]
11843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11844 x * y using scaling, not as x * y + z.
11845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11847 * math/libm-test.inc (fma_test): Add more tests.
11848 (fma_test_towardzero): Likewise.
11849 (fma_test_downward): Likewise.
11850 (fma_test_upward): Likewise.
11851
4078da3d
TS
118522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11853
11854 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11855
903252aa
JM
118562012-10-31 Joseph Myers <joseph@codesourcery.com>
11857
11858 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11859 New variable.
11860
cbc818d0
TS
118612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11862
11863 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11864
5a03cb1e
AS
118652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11866
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11868 Fix sort order.
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11870 Likewise.
11871
90aff2ff
TMQMF
118722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11873
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11875 Fix the order of the list for glibc 2.17.
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11877 Likewise.
11878
1818fcb7
AS
118792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11880
11881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11882
ef82f4da
JM
118832012-10-31 Joseph Myers <joseph@codesourcery.com>
11884
16a0e2ec
JM
11885 [BZ #14610]
11886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11887 for low part of x being zero before using __atanl (y).
11888 * math/libm-test.inc (atan2_test): Add another test.
11889
0eb69512
JM
11890 * manual/install.texi (Configuring and compiling): Document
11891 general use of test-wrapper and test-wrapper-env.
11892 * INSTALL: Regenerated.
11893
ef82f4da
JM
11894 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11895 (__fma): Do not extract and scale down low bits on after-rounding
11896 systems when result rounded to normal precision would have normal
11897 exponent.
11898 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11899 (__fmal): Do not extract and scale down low bits on after-rounding
11900 systems when result rounded to normal precision would have normal
11901 exponent.
11902 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11903 (__fmal): Do not extract and scale down low bits on after-rounding
11904 systems when result rounded to normal precision would have normal
11905 exponent.
11906 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11907 macro.
11908 (fma_test): Add more tests.
11909 (fma_test_towardzero): Likewise.
11910 (fma_test_downward): Likewise.
11911 (fma_test_upward): Likewise.
11912
954ef0d9
L
119132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * sysdeps/i386/tininess.h: Renamed to ...
11916 * sysdeps/x86/tininess.h: This.
11917 * sysdeps/x86_64/tininess.h: Removed.
11918
df61ffb2
JM
119192012-10-30 Joseph Myers <joseph@codesourcery.com>
11920
11921 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11922 input. Use $(build-program-cmd).
11923 ($(objpfx)tst-array1-static.out): Likewise.
11924 ($(objpfx)tst-array2.out): Likewise.
11925 ($(objpfx)tst-array3.out): Likewise.
11926 ($(objpfx)tst-array4.out): Likewise.
11927 ($(objpfx)tst-array5.out): Likewise.
11928 ($(objpfx)tst-array5-static.out): Likewise.
11929
01767843
CM
119302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11931
47cc1490
CM
11932 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11933 if defined.
11934
01767843
CM
11935 * nss/nsswitch.h (nss_interface_function): Provide new
11936 macro for use with NSS functions.
11937 * grp/initgroups.c: Use new macro.
11938 * nss/getXXbyYY.c: Likewise.
11939 * nss/getXXbyYY_r.c: Likewise.
11940 * nss/getXXent.c: Likewise.
11941 * nss/getXXent_r.c: Likewise.
11942 * sysdeps/posix/getaddrinfo.c: Likewise.
11943
8321aa97
AJ
119442012-10-30 Andreas Jaeger <aj@suse.de>
11945
11946 * po/ru.po: Update Russion translation from translation project.
11947
2a27fd6d
JM
119482012-10-30 Joseph Myers <joseph@codesourcery.com>
11949
8627a232
JM
11950 [BZ #14152]
11951 [BZ #14783]
11952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11953 result and shift together with sticky bit instead of replicating
11954 round-to-nearest rounding.
11955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11957 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11958 missing underflow exceptions.
11959 (fma_test_towardzero): Add more tests.
11960 (fma_test_downward): Likewise.
11961 (fma_test_upward): Likewise.
11962
2a27fd6d
JM
11963 [BZ #14047]
11964 * sysdeps/generic/tininess.h: New file.
11965 * sysdeps/i386/tininess.h: Likewise.
11966 * sysdeps/sh/tininess.h: Likewise.
11967 * sysdeps/x86_64/tininess.h: Likewise.
11968 * stdlib/tst-strtod-underflow.c: Likewise.
11969 * stdlib/tst-tininess.c: Likewise.
11970 * stdlib/strtod_l.c: Include <tininess.h>.
11971 (round_and_return): Do not set errno for exact underflow cases.
11972 Force an underflow exception when setting errno for underflow.
11973 Determine underflow based on rounding to normal precision if
11974 TININESS_AFTER_ROUNDING.
11975 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11976 ERANGE for exact underflow cases.
11977 * stdlib/Makefile (tests): Add tst-tininess and
11978 tst-strtod-underflow.
11979 ($(objpfx)tst-tininess): Use $(link-libm).
11980 ($(objpfx)tst-strtod-underflow): Likewise.
11981
e7170363
AJ
119822012-10-30 Andreas Jaeger <aj@suse.de>
11983
e5088dc6
AJ
11984 [BZ#14767]
11985 * elf/Makefile (tests): Remove conditional for have-initfini-array
11986 since this is now always required and the variable does not exist
11987 anymore.
11988 (tests-static): Likewise.
11989 (modules-names): Likewise.
11990
e7170363 11991 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11992
11993 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11994 merged with constructor/destructor.
11995 (init_array): Likewise.
11996 * elf/tst-array2dep.c (fini_array): Likewise.
11997 (init_array): Likewise.
11998
60457d8a
MF
119992012-10-29 Mike Frysinger <vapier@gentoo.org>
12000
12001 * manual/message.texi: Delete @cartouche tags.
12002
8bece752
PT
120032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12004
94ce799f
PT
12005 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12006 EOPNOTSUPP.
12007 * sysdeps/mach/hurd/fsync.c: Likewise.
12008
8bece752
PT
12009 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12010 [_POSIX_REALTIME_SIGNALS]: Change condition to
12011 [_POSIX_REALTIME_SIGNALS > 0].
12012
86ebe6b1
AJ
120132012-10-27 Andreas Jaeger <aj@suse.de>
12014
12015 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12016 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12017 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12018 [__WORDSIZE != 64]: Likewise.
12019
54399c08
L
120202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12021
12022 * iconvdata/tst-table.sh: Remove ${SHELL}.
12023 * iconvdata/tst-tables.sh: Likewise.
12024
e2211bed
DM
120252012-10-25 David S. Miller <davem@davemloft.net>
12026
12027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12028 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12029 of strtoull.
12030
f303f97c
DM
12031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12032 ifunc-impl-list.c
12033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12034 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12035 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12036 file.
12037
1e9d84cd
RM
120382012-10-25 Roland McGrath <roland@hack.frob.com>
12039
12040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12041 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12042 __getdirentries.
12043
df381762
JM
120442012-10-25 Joseph Myers <joseph@codesourcery.com>
12045 Jim Blandy <jimb@codesourcery.com>
12046
12047 * scripts/cross-test-ssh.sh: New file.
12048 * manual/install.texi (Configuring and compiling): Document use of
12049 cross-test-ssh.sh.
12050 * INSTALL: Regenerated.
12051
bff64913
PT
120522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12053
12054 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12055 EOPNOTSUPP.
12056
25fe8932
JM
120572012-10-25 Joseph Myers <joseph@codesourcery.com>
12058
12059 * Makeconfig (run-program-prefix): Fix comment.
12060
cc1290d0
JM
120612012-10-24 Joseph Myers <joseph@codesourcery.com>
12062 Jim Blandy <jimb@codesourcery.com>
12063
12064 * Makeconfig (test-wrapper): New variable,
12065 (test-wrapper-env): Likewise.
12066 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12067 (run-built-tests): Define to yes.
12068 (run-program-prefix): Use $(test-wrapper).
12069 (built-program-cmd): Likewise.
12070 * Rules (make-test-out): Use $(test-wrapper-env) and
12071 $(host-built-program-cmd).
12072 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12073 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12074 tst-pathopt.sh.
12075 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12076 $(test-wrapper-env) to tst-rtld-load-self.sh.
12077 ($(objpfx)order2.out): Use $(test-wrapper).
12078 ($(objpfx)tst-initorder.out): Likewise.
12079 ($(objpfx)tst-initorder2.out): Likewise.
12080 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12081 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12082 (test_wrapper_env): New variable. Use it to run ld.so.
12083 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12084 Use it to run ld.so.
12085 (test_wrapper_env): Likewise.
12086 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12087 $(test-wrapper) to run-iconv-test.sh.
12088 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12089 (ICONV): Use $test_wrapper.
12090 * posix/Makefile ($(objpfx)globtest.out): Pass
12091 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12092 globtest.sh, not $(run-program-prefix).
12093 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12094 (test_wrapper): Likewise.
12095 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12096 set together with run_via_rtld_prefix.
12097 (run_program_prefix): Define in terms of test_wrapper and
12098 run_via_rtld_prefix.
12099
6e6249d0
RM
121002012-10-24 Roland McGrath <roland@hack.frob.com>
12101
12102 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12103 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12104 Targets removed.
12105
12106 [BZ #14743]
12107 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12108 Declare __clock_getres, __clock_gettime, __clock_settime,
12109 __clock_nanosleep, and __clock_getcpuclockid.
12110 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12111 Remove librt_hidden_def (clock_gettime).
12112 * sysdeps/unix/clock_gettime.c: Likewise.
12113 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12115 * rt/clock_getres.c: Define __clock_getres as an alias.
12116 * sysdeps/posix/clock_getres.c: Likewise.
12117 * rt/clock_settime.c: Define __clock_settime as an alias.
12118 * sysdeps/unix/clock_settime.c: Likewise.
12119 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12120 * sysdeps/unix/clock_nanosleep.c: Likewise.
12121 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12122 * rt/clock-compat.c: New file.
12123 * rt/Makefile (librt-routines): Add clock-compat and move
12124 $(clock-routines) to ...
12125 (routines): ... here, new variable.
12126 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12127 Don't add get_clockfreq here.
12128 * rt/Versions (libc: GLIBC_2.17): New version set.
12129 Add clock_* symbols here.
12130 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12132 (GLIBC_2.17): Add clock_* symbols.
12133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12137 Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12139 Likewise.
12140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12144 * NEWS: Mention the move.
12145
12146 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12147 Use __open, __read, __close rather than their public counterparts.
12148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12149 (__get_clockfreq_via_cpuinfo): Likewise.
12150 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12151 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12152
12153 * config.h.in (HAVE_IFUNC): New #undef.
12154 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12155 was successful.
12156 * configure: Regenerated.
12157
0cae3f4b
MF
121582012-10-24 Mike Frysinger <vapier@gentoo.org>
12159
12160 * configure.in: Move READELF check to start of file.
12161 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12162 libc_cv_asm_gnu_indirect_function in the process.
12163 * configure: Regenerated.
12164
8175a253
MF
121652012-10-24 Mike Frysinger <vapier@gentoo.org>
12166
12167 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12168 send the output to /dev/null.
12169 (libc_cv_cc_with_libunwind): Likewise.
12170 (libc_cv_as_noexecstack): Likewise.
12171 * configure: Regenerate.
12172
0708a7d1
JM
121732012-10-24 Joseph Myers <joseph@codesourcery.com>
12174
10b40d85
JM
12175 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12176
0708a7d1
JM
12177 * posix/globtest.sh (TMPDIR): Do not set.
12178 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12179 (testout): Likewise.
12180
9fddec1a
AJ
121812012-10-24 Andreas Jaeger <aj@suse.de>
12182
3a8db22f
AJ
12183 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12184 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12185 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12186 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12187 posix_fadvise64, posix_fallocate64.
12188
9fddec1a
AJ
12189 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12190 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12191 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12192 Likewise.
12193 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12194 Likewise.
12195 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12196
12197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12198 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12199 <bits/fcntl-linux.h>.
12200 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12201
12202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12203 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12204 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12205 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12206 [__WORDSIZE != 64]: Likewise.
12207
ebfd1bbd
JM
122082012-10-23 Joseph Myers <joseph@codesourcery.com>
12209
03ac099f
JM
12210 * Makeconfig (run-built-tests): New variable.
12211 * Rules [$(cross-compiling) = yes]: Change condition to
12212 [$(run-built-tests) = no].
12213 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12214 to [$(run-built-tests) = yes].
12215 * elf/Makefile [$(cross-compiling) = no]: Likewise
12216 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12217 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12218 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12219 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12220 * io/Makefile [$(cross-compiling) = no]: Likewise.
12221 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12222 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12223 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12224 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12225 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12226 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12227 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12228 * string/Makefile [$(cross-compiling) = no]: Likewise.
12229
ebfd1bbd
JM
12230 * posix/Makefile ($(objpfx)globtest.out): Pass
12231 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12232 $(rtld-installed-name).
12233 * posix/globtest.sh (elf_objpfx): Remove variable.
12234 (rtld_installed_name): Likewise.
12235 (library_path): Likewise.
12236 (run_program_prefix): New variable. Use for running globtest
12237 binary.
12238
166bca24
JB
122392012-10-23 Jim Blandy <jimb@codesourcery.com>
12240 Joseph Myers <joseph@codesourcery.com>
12241
12242 * Makeconfig (host-built-program-cmd): New variable.
12243 * elf/Makefile (tst-stackguard1-ARGS): Use
12244 $(host-built-program-cmd).
12245 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12246 (tst-spawn-ARGS): Likewise.
12247 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12248
88866099
JM
122492012-10-23 Joseph Myers <joseph@codesourcery.com>
12250 Jim Blandy <jimb@codesourcery.com>
12251
12252 * Makeconfig (run-via-rtld-prefix): New variable.
12253 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12254 (built-program-cmd): Likewise.
12255
b4b4c296
AJ
122562012-10-22 Andreas Jaeger <aj@suse.de>
12257
12258 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12259 __O_RSYNC if it exists, otherwise to O_SYNC.
12260
6fb54a22
JB
122612012-10-22 Jim Blandy <jimb@codesourcery.com>
12262 Joseph Myers <joseph@codesourcery.com>
12263
12264 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12265 /dev/null.
12266 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12267 from /dev/null
12268 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12269 /dev/null.
12270
481b90b9
AJ
122712012-10-22 Andreas Jaeger <aj@suse.de>
12272
2a0e2669
AJ
12273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12274 Define always.
12275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12276
76e38f9a
AJ
12277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12278 bits/fcntl-linux.h.
12279
7cd37b43
AJ
12280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12281 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12282
481b90b9
AJ
12283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12284 to __O_LARGEFILE.
12285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12286 to __O_LARGEFILE.
12287
aba75984
JB
122882012-10-21 Jim Blandy <jimb@codesourcery.com>
12289 Joseph Myers <joseph@codesourcery.com>
12290
12291 * config.make.in (NM): New variable.
12292
88d4247f
AJ
122932012-10-21 Andreas Jaeger <aj@suse.de>
12294
12295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12296 definitions and declarations that are provided by
12297 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12298
f2eed205
L
122992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 [BZ #14683]
12302 * elf/Makefile (tests-static): Add tst-leaks1-static.
12303 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12304 ($(objpfx)tst-leaks1-static): New rule.
12305 ($(objpfx)tst-leaks1-static-mem): Likewise.
12306 (tst-leaks1-static-ENV): New macro.
12307 * elf/dl-open.c (dl_open_worker): Check the main application
12308 only if SHARED is defined.
12309 * elf/tst-leaks1-static.c: New file.
12310
335e6931
AJ
123112012-10-20 Andreas Jaeger <aj@suse.de>
12312
12313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12314 generic values for Linux.
12315 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12316 and declarations that are provided by <bits/fcntl-linux.h> and
12317 include <bits/fcntl-linux.h>.
12318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12320
ac5c94d3
RM
123212012-10-20 Roland McGrath <roland@hack.frob.com>
12322
12323 * io/fcntl.h: Move include of <bits/types.h> to the top and
12324 include it unconditionally.
12325
de54b33a
L
123262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12327
228cfb01
L
12328 * wcsmbs/Makefile (tests-ifunc): New variable.
12329 (tests): Add $(tests-ifunc).
12330 * wcsmbs/test-wcschr-ifunc.c: New file.
12331 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12332 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12333 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12334 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12335 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12336
69f07e5f
L
12337 * string/Makefile (tests-ifunc): New variable.
12338 (tests): Add $(tests-ifunc).
12339 * string/test-memccpy.c (TEST_NAME): New macro.
12340 * string/test-memchr.c (TEST_NAME): Likewise.
12341 * string/test-memcmp.c (TEST_NAME): Likewise.
12342 * string/test-memcpy.c (TEST_NAME): Likewise.
12343 * string/test-memmem.c (TEST_NAME): Likewise.
12344 * string/test-memmove.c (TEST_NAME): Likewise.
12345 * string/test-memset.c (TEST_NAME): Likewise.
12346 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12347 * string/test-stpcpy.c (TEST_NAME): Likewise.
12348 * string/test-stpncpy.c (TEST_NAME): Likewise.
12349 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12350 * string/test-strcasestr.c (TEST_NAME): Likewise.
12351 * string/test-strcat.c (TEST_NAME): Likewise.
12352 * string/test-strchr.c (TEST_NAME): Likewise.
12353 * string/test-strcmp.c(TEST_NAME): Likewise.
12354 * string/test-strcpy.c (TEST_NAME): Likewise.
12355 * string/test-strcspn.c (TEST_NAME): Likewise.
12356 * string/test-strlen.c (TEST_NAME): Likewise.
12357 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12358 * string/test-strncmp.c (TEST_NAME): Likewise.
12359 * string/test-strncpy.c (TEST_NAME): Likewise.
12360 * string/test-strnlen.c (TEST_NAME): Likewise.
12361 * string/test-strpbrk.c (TEST_NAME): Likewise.
12362 * string/test-strrchr.c (TEST_NAME): Likewise.
12363 * string/test-strspn.c (TEST_NAME): Likewise.
12364 * string/test-strstr.c (TEST_NAME): Likewise.
12365 * string/test-bcopy-ifunc.c: New file.
12366 * string/test-bzero-ifunc.c: Likewise.
12367 * string/test-memccpy-ifunc.c: Likewise.
12368 * string/test-memchr-ifunc.c: Likewise.
12369 * string/test-memcmp-ifunc.c: Likewise.
12370 * string/test-memcpy-ifunc.c: Likewise.
12371 * string/test-memmem-ifunc.c: Likewise.
12372 * string/test-memmove-ifunc.c: Likewise.
12373 * string/test-mempcpy-ifunc.c: Likewise.
12374 * string/test-memset-ifunc.c: Likewise.
12375 * string/test-rawmemchr-ifunc.c: Likewise.
12376 * string/test-stpcpy-ifunc.c: Likewise.
12377 * string/test-stpncpy-ifunc.c: Likewise.
12378 * string/test-strcasecmp-ifunc.c: Likewise.
12379 * string/test-strcasestr-ifunc.c: Likewise.
12380 * string/test-strcat-ifunc.c: Likewise.
12381 * string/test-strchr-ifunc.c: Likewise.
12382 * string/test-strchrnul-ifunc.c: Likewise.
12383 * string/test-strcmp-ifunc.c: Likewise.
12384 * string/test-strcpy-ifunc.c: Likewise.
12385 * string/test-strcspn-ifunc.c: Likewise.
12386 * string/test-strlen-ifunc.c: Likewise.
12387 * string/test-strncasecmp-ifunc.c: Likewise.
12388 * string/test-strncat-ifunc.c: Likewise.
12389 * string/test-strncmp-ifunc.c: Likewise.
12390 * string/test-strncpy-ifunc.c: Likewise.
12391 * string/test-strnlen-ifunc.c: Likewise.
12392 * string/test-strpbrk-ifunc.c: Likewise.
12393 * string/test-strrchr-ifunc.c: Likewise.
12394 * string/test-strspn-ifunc.c: Likewise.
12395 * string/test-strstr-ifunc.c: Likewise.
12396
de54b33a
L
12397 * debug/Makefile (tests-ifunc): New variable.
12398 (tests): Add $(tests-ifunc).
12399 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12400 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12401 * debug/test-stpcpy_chk-ifunc.c: New file.
12402 * debug/test-strcpy_chk-ifunc.c: Likewise.
12403
88481c16
SP
124042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12405
12406 [BZ #13601]
12407 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12408 header is not read in.
12409
135948bd
JM
124102012-10-19 Joseph Myers <joseph@codesourcery.com>
12411
89f1c388
JM
12412 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12413 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12414 directly. Pass built executable to script as
12415 $(built-program-cmd).
12416 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12417 $testprogram without using LD_LIBRARY_PATH and $ldso.
12418
e40a0d21
JM
12419 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12420 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12421 $(rtld-installed-name).
12422 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12423 (rtld_installed_name): Likewise.
12424 (library_path): Likewise.
12425 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12426 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12427 $(run-program-prefix) to tst-tables.sh.
12428 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12429 it to run tst-table-from and tst-table-to.
12430 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12431 Pass it to tst-table.sh.
12432 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12433 $(run-program-prefix) to tst-gettext.sh.
12434 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12435 tst-translit.sh.
12436 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12437 tst-gettext2.sh.
12438 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12439 to run tst-gettext.
12440 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12441 to run tst-gettext2.
12442 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12443 to run tst-translit.
12444 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12445 $(run-program-prefix) to tst-mtrace.sh.
12446 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12447 to run tst-mtrace.
12448 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12449 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12450 $(rtld-installed-name).
12451 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12452 (rtld_installed_name): Likewise.
12453 (run_program_prefix): New variable. Use it to run wordexp-test.
12454
728e272a
JM
12455 * Makeconfig (ARCH): Remove all definitions.
12456 (machine): Likewise.
12457 [ARCH]: Remove conditional code.
12458 [!objdir]: Give error.
12459 [!objdir] (objpfx): Remove.
12460 [!objdir] (common-objpfx): Likewise.
12461 [!objdir] (common-objdir): Likewise.
12462 * configure.in (config_makefile): Remove. Hardcode Makefile in
12463 AC_CONFIG_FILES call.
12464 * configure: Regenerated.
12465
d528cdcf
JM
12466 [BZ #13888]
12467 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12468 or TMPDIR.
12469 (testout): Likewise.
12470
135948bd
JM
12471 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12472 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12473 $(rtld-installed-name).
12474 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12475 (rtld_installed_name): Likwise.
12476 (runit): Remove function.
12477 (run_getconf): New variable, Use it for running getconf binary.
12478
38c78296
L
124792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12480
12481 [BZ #14716]
12482 * string/test-memmem.c (check_result): New function.
12483 (do_one_test): Use it.
12484 (check1): New function.
12485 (test_main): Use it.
12486
d077f65f
MT
124872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12488
12489 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12490
ced52c71
JM
124912012-10-18 Joseph Myers <joseph@codesourcery.com>
12492
12493 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12494 (_G_LSEEK64): Likewise.
12495 (_G_MMAP64): Likewise.
12496 (_G_FSTAT64): Likewise.
12497 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12498 (_G_LSEEK64): Likewise.
12499 (_G_MMAP64): Likewise.
12500 (_G_FSTAT64): Likewise.
12501 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12502 unconditional. Call __mmap64 directly.
12503 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12504 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12505 __lseek64 directly.
12506 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12507 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12508 __mmap64 directly.
12509 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12510 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12511 __lseek64 directly.
12512 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12513 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12514 __lseek64 directly.
12515 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12516 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12517 __lseek64 directly.
12518 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12519 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12520 __fxstat64 directly.
12521 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12522 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12523 unconditional.
12524 (freopen64) [!_G_OPEN64]: Remove conditional code.
12525 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12526 unconditional.
12527 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12528 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12529 unconditional.
12530 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12531 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12532 unconditional.
12533 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12534 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12535 unconditional.
12536 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12537 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12538 unconditional.
12539 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12540 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12541 unconditional.
12542 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12543 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12544 unconditional.
12545 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12546
b741de23
SP
125472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12548
12549 [BZ #12140]
12550 * manual/memory.texi (Malloc Tunable Parameters): Add note
12551 about free list pointers overwriting some perturb bytes.
12552 Wording suggested by Roland McGrath.
12553
f9b9d9c9
JM
125542012-10-17 Joseph Myers <joseph@codesourcery.com>
12555
12556 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12557 (lgamma_test): Likewise.
12558 (tgamma_test): Likewise.
12559
172a631a
FW
125602012-10-16 Florian Weimer <fweimer@redhat.com>
12561
12562 [BZ #14700]
12563 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12564 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12565
e9f37252
MK
125662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12567
12568 * NEWS: Mention BZ #14716.
12569 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12570 when removing AVAILABLE1_USES_J macro.
12571
d394eb74
L
125722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12573
12574 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12575 (__bswap_64): __uint64_t for unsigned 64-bit int.
12576
ca38dc17
AS
125772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12578
12579 * include/string.h (memmem): Declare libc hidden alias.
12580 * string/memmem.c (memmem): Define libc hidden alias.
12581 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12582 __read, __close instead of open, read, close.
12583
9a387d1f
L
125842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12585
ac49ecaf
L
12586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12587 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12588 global and hidden.
12589 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12590 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12591 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12592 Likewise.
12593 (__rawmemchr_sse2): Likewise.
12594 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12595 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12596 (__strchr_sse2): Likewise.
12597 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12598 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12599 (__strcasecmp_sse2): Likewise.
12600 (__strncasecmp_sse2): Likewise.
12601 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12602 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12603 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12604 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12605 (__strrchr_sse2): Likewise.
12606 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12607 ifunc-impl-list.c.
12608 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12609 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12610 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12611 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12612 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12613 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12614 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12615 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12616 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12617 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12618 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12619 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12620 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12621 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12622 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12623 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12624 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12625 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12626 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12627 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12628 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12629 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12630 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12631 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12632 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12633 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12634 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12635 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12636 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12637 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12638
b090e8ea
L
12639 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12640 global and hidden.
12641 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12642 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12643 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12644 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12645 Likewise.
12646 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12647 Likewise.
12648 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12649 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12650 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12651 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12652 ifunc-impl-list.c.
12653 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12655 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12656 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12658 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12659 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12660 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12661 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12662 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12663 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12664 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12665 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12666 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12667 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12668 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12670 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12671 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12672 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12674 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12675 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12676 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12677 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12678 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12687 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12694
11dd4af6
L
12695 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12696 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12697 * include/ifunc-impl-list.h: New file.
12698 * misc/ifunc-impl-list.c: Likewise.
12699 * misc/Makefile (routines): Add ifunc-impl-list.
12700 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12701 * string/test-string.h: Include <ifunc-impl-list.h>.
12702 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12703 impl_array): New variables.
12704 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12705 are defined.
12706 (test_init): Call __libc_ifunc_impl_list to initialize
12707 func_list if TEST_IFUNC and TEST_NAME are defined.
12708
9a387d1f
L
12709 * string/Makefile (strop-tests): Add bcopy and bzero.
12710 * string/test-bcopy.c: New file.
12711 * string/test-bzero.c: Likewise.
12712 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12713 defined.
12714 * string/test-memset.c: Support bzero test if TEST_BZERO is
12715 defined.
12716 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12717 __libc_memmove.
12718 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12719 __libc_memset.
12720 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12721 of memset.
12722
472371b9
JM
127232012-10-10 Joseph Myers <joseph@codesourcery.com>
12724
1e4a9536
JM
12725 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12726 * configure: Regenerated.
12727
d173d12e
JM
12728 * Makeconfig (+link-static-before-libc): Don't include
12729 $(link-static-libc).
12730
472371b9
JM
12731 * libio/libio.h (_IO_pos_t): Remove.
12732
89a3ad0b
AO
127332012-10-10 Alexandre Oliva <aoliva@redhat.com>
12734
12735 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12736 McGrath.
12737
e7451425
AO
127382012-10-10 Alexandre Oliva <aoliva@redhat.com>
12739
12740 * crypt/crypt-entry.c: Include fips-private.h.
12741 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12742 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12743 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12744 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12745
4ba74a35
AO
127462012-10-10 Alexandre Oliva <aoliva@redhat.com>
12747
12748 * crypt/crypt-private.h: Include stdbool.h.
12749 (_ufc_setup_salt_r): Return bool.
12750 * crypt/crypt-entry.c: Include errno.h.
12751 (__crypt_r): Return NULL with EINVAL for bad salt.
12752 * crypt/crypt_util.c (bad_for_salt): New.
12753 (_ufc_setup_salt_r): Check that salt is long enough and within
12754 the specified alphabet.
12755 * crypt/badsalttest.c: New file.
12756 * crypt/Makefile (tests): Add it.
12757 ($(objpfx)badsalttest): New.
12758
f96f1242
MK
127592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12760
12761 * NEWS: Add entry for BZ #14602.
12762
0e8e0c1c
JM
127632012-10-09 Joseph Myers <joseph@codesourcery.com>
12764
12765 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12766 type-generic.
12767 * math/libm-test.inc: Update comment listing what functions and
12768 macros are tested.
12769 (isgreater_test): New function.
12770 (isgreaterequal_test): Likewise.
12771 (isless_test): Likewise.
12772 (islessequal_test): Likewise.
12773 (islessgreater_test): Likewise.
12774 (isunordered_test): Likewise.
12775 (main): Call the new functions.
12776
273edc5e
RM
127772012-10-09 Roland McGrath <roland@hack.frob.com>
12778
b8493de0
RM
12779 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12780 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12781 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12782 * sysdeps/i386/configure: Regenerated.
12783 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12784 * sysdeps/mach/configure: Regenerated.
12785 * sysdeps/mach/hurd/configure: Regenerated.
12786 * sysdeps/powerpc/configure: Regenerated.
12787 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12788 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12789 * sysdeps/s390/s390-32/configure: Regenerated.
12790 * sysdeps/s390/s390-64/configure: Regenerated.
12791 * sysdeps/sh/configure: Regenerated.
12792 * sysdeps/sparc/configure: Regenerated.
12793 * sysdeps/unix/sysv/linux/configure: Regenerated.
12794 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12795 * sysdeps/x86_64/configure: Regenerated.
12796
273edc5e
RM
12797 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12798 defined. Don't check if MAP is NULL.
12799
c8450f70
JM
128002012-10-09 Joseph Myers <joseph@codesourcery.com>
12801
12802 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12803 (_G_stat64): Likewise.
12804 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12805 (_G_stat64): Likewise.
12806 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12807 instead of struct _G_stat64.
12808 * libio/fileops.c (mmap_remap_check): Likewise.
12809 (decide_maybe_mmap): Likewise.
12810 (_IO_new_file_seekoff): Likewise.
12811 (_IO_file_stat): Likewise.
12812 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12813 _G_off64_t.
12814 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12815 instead of struct _G_stat64.
12816 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12817
57e605ba
MK
128182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12819
12820 [BZ #14602]
12821 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12822 Replace with ...
12823 (CHECK_EOL): New macro.
12824 (two_way_short_needle): Check beginning of haystack for EOL. Use
12825 CHECK_EOL.
12826 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12827 Replace with CHECK_EOL.
12828 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12829 Replace with CHECK_EOL.
12830
ef1bb361
JM
128312012-10-08 Joseph Myers <joseph@codesourcery.com>
12832
12833 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12834 type-generic.
12835 * math/libm-test.inc: Update comment listing what functions and
12836 macros are tested.
12837 (finite_test): New function.
12838 (isinf_test): Likewise.
12839 (isnan_test): Likewise.
12840 (fpclassify_test): Test subnormal input.
12841 (isfinite_test): Likewise.
12842 (isnormal_test): Likewise.
12843 (main): Call the new functions.
12844
55f11534
JN
128452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12846
12847 [BZ #14660]
12848 * Makerules (%.dynsym): Force C locale when running
12849 $(OBJDUMP) --dynamic-syms.
12850
1ab29350
AS
128512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12852
12853 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12854 <stdint.h>.
12855
f1ecb7ef
DM
128562012-10-06 David S. Miller <davem@davemloft.net>
12857
12858 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12859 upper 32-bits of the length value in %o2 since we use branch-on-register
12860 tests which consider the entire 64-bit register.
12861
5d41d91a
L
128622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 * string/test-strstr.c (check2): Add a test for page boundary.
12865
3baddb72
DM
128662012-10-05 David S. Miller <davem@davemloft.net>
12867
12868 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12869 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12870 file.
12871 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12872 sysdep_routines.
12873 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12874 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12875 and bzero when HWCAP_SPARC_CRYPTO is present.
12876
9cee5585
L
128772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12878
d7e0dab9
L
12879 [BZ #14602]
12880 * string/test-strstr.c (check2): New function.
12881 (test_main): Call check2.
12882
03759f47
L
12883 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12884 and bug-strchr1.
12885 * string/bug-strcasestr1.c (do_test): Moved to ...
12886 * string/test-strcasestr.c (check1): Here. New function.
12887 (do_one_test): Break out result checking code into ...
12888 (check_result): This. New function.
12889 (do_one_test): Call check_result.
12890 (test_main): Call check1.
12891 * string/bug-strchr1.c (do_test): Moved to ...
12892 * string/test-strchr.c (check1): Here. New function.
12893 (do_one_test): Break out result checking code into ...
12894 (check_result): This. New function.
12895 (do_one_test): Call check_result.
12896 (test_main): Call check1.
12897 * string/bug-strstr1.c (main): Moved to ...
046f153e 12898 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12899 (do_one_test): Break out result checking code into ...
12900 (check_result): This. New function.
12901 (do_one_test): Call check_result.
12902 (test_main): Call check1.
12903 * string/bug-strcasestr1.c: Removed.
12904 * string/bug-strchr1.c: Likewise.
12905 * string/bug-strstr1.c: Likewise.
12906
53cea63e
L
12907 * elf/Makefile (dl-routines): Add hwcaps.
12908 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12909 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12910 (_dl_important_hwcaps): Moved to ...
12911 * elf/dl-hwcaps.c: Here. New file.
12912 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12913
9cee5585 12914 [BZ #14557]
bb859b06
L
12915 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12916 if IS_IN_rtld isn't defined.
12917
9cee5585
L
12918 * elf/dl-support.c (_dl_sysinfo_map): New.
12919 Include "get-dynamic-info.h" and "setup-vdso.h".
12920 (_dl_non_dynamic_init): Call setup_vdso.
12921 * elf/dynamic-link.h: Don't include <assert.h>.
12922 (elf_get_dynamic_info): Moved to ...
12923 * elf/get-dynamic-info.h: Here. New file.
12924 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12925 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12926 * elf/setup-vdso.h: Here. New file.
12927 * elf/rtld.c: Include "setup-vdso.h".
12928 (dl_main): Call setup_vdso.
12929
23c31b76
JM
129302012-10-05 Joseph Myers <joseph@codesourcery.com>
12931
28234b07
JM
12932 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12933 creal in comment listing functions tested. List finite, isinf,
12934 isnan, isless, islessequal, isgreater, isgreaterequal,
12935 islessgreater, isunordered, lgamma_r and pow10 as functions and
12936 macros not tested. Mention which functions not tested are aliases
12937 for other functions. Fix typo. Note that signs of NaNs are not
12938 tested.
12939
23c31b76
JM
12940 * scripts/config.guess: Update from config.git.
12941 * scripts/config.sub: Likewise.
12942
9043e228
RM
129432012-10-04 Roland McGrath <roland@hack.frob.com>
12944
12945 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12946 * misc/madvise.c (madvise): Renamed to __madvise.
12947 Make madvise a weak alias.
12948 * include/sys/mman.h: Declare __madvise.
12949 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12950 * sysdeps/unix/syscalls.list
12951 (madvise): Make __madvise the strong name, and madvise a weak alias.
12952 * sysdeps/unix/sysv/linux/syscalls.list
12953 (madvise, mmap): Remove redundant entries.
12954 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12955 * malloc/malloc.c (mtrim): Likewise.
12956 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12957
f57f8055
RM
129582012-10-03 Roland McGrath <roland@hack.frob.com>
12959
12960 * sysdeps/mach/hurd/dl-cache.c: File removed.
12961 * config.h.in (USE_LDCONFIG): New #undef.
12962 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12963 * configure: Regenerated.
12964 * elf/Makefile (dl-routines): Add dl-cache only under
12965 [$(use-ldconfig) = yes].
12966 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12967 cache on [USE_LDCONFIG].
12968 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12969 [USE_LDCONFIG].
12970 * elf/rtld.c (dl_main): Likewise.
12971
5bb0c10a
PT
129722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12973
12974 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12975 _SC_LEVEL4_CACHE_LINESIZE.
12976
010188c6
RM
129772012-10-03 Roland McGrath <roland@hack.frob.com>
12978
12979 * sysdeps/unix/bsd/confstr.h: File removed.
12980
b6c5ec07
AO
129812012-10-02 Alexandre Oliva <aoliva@redhat.com>
12982
12983 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12984 sys/sdt-config.h.
12985
408223d4
RM
129862012-10-02 Roland McGrath <roland@hack.frob.com>
12987
12988 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12989 Make 'mapoff' field ElfW(Off) rather than off_t.
12990
bb9510dc
DL
129912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12992
fc997c6e
DL
12993 * nscd/Makefile: Remove nscd-cflags and all its users.
12994 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12995 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12996
bb9510dc
DL
12997 [BZ #10631]
12998 * malloc.c (malloc_printerr): Clarify error message.
12999
05699367
L
130002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 [BZ #14648]
13003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13004 Set bit_FMA_Usable if FMA is supported.
13005 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13006 macro.
13007 (bit_FMA4_Usable): Updated.
13008 (index_FMA_Usable): New macro.
13009 (CPUID_FMA): Likewise
13010 (HAS_FMA): Defined with bit_FMA_Usable.
13011
51367701
RM
130122012-10-01 Roland McGrath <roland@hack.frob.com>
13013
13014 * bits/types.h (__swblk_t): Type removed.
13015 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13016 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13018 (__SWBLK_T_TYPE): Likewise.
13019 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13020 (__SWBLK_T_TYPE): Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13022 (__SWBLK_T_TYPE): Likewise.
13023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13024 (__SWBLK_T_TYPE): Likewise.
13025
4d57bf63 130262012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13027 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13028
13029 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13030 (xdr_mapname): Use YPMAXMAP as maxsize.
13031 (xdr_peername): Use YPMAXPEER as maxsize.
13032 (xdr_keydat): Use YPAXRECORD as maxsize.
13033 (xdr_valdat): Use YPMAXRECORD as maxsize.
13034
93c65d43
RM
130352012-10-01 Roland McGrath <roland@hack.frob.com>
13036
497a03d6
RM
13037 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13038
93c65d43
RM
13039 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13040 * csu/init-first.c: ... here.
13041 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13042 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13044 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13045 * sysdeps/i386/init-first.c: File removed.
13046 * sysdeps/sh/init-first.c: File removed.
13047
bec749fd
JM
130482012-10-01 Joseph Myers <joseph@codesourcery.com>
13049
13050 [BZ #14645]
13051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13052 if x * y might underflow to zero and z is zero.
13053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13055 * math/libm-test.inc (min_subnorm_value): New variable.
13056 (fma_test): Add more tests.
13057 (fma_test_towardzero): Likewise.
13058 (fma_test_downward): Likewise
13059 (fma_test_upward): Likewise.
13060 (initialize): Set min_subnorm_value.
13061
8ec5b013
JM
130622012-09-29 Joseph Myers <joseph@codesourcery.com>
13063
13064 [BZ #14638]
13065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13066 0 + 0.
13067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13068 mode for addition resulting in exact zero.
13069 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13071 exact 0 + 0.
13072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13074 * math/libm-test.inc (fma_test): Add more tests.
13075 (fma_test_towardzero): New function.
13076 (fma_test_downward): Likewise.
13077 (fma_test_upward): Likewise.
13078 (main): Call the new functions.
13079
b1fa802e
DM
130802012-09-28 David S. Miller <davem@davemloft.net>
13081
13082 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13083
d3b9fd9e
RM
130842012-09-28 Roland McGrath <roland@hack.frob.com>
13085
ea4d37b3
RM
13086 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13087 instead of SIGALRM.
13088
ac51c949
RM
13089 * sysdeps/gnu/_G_config.h: Moved to ...
13090 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13091 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13092 * sysdeps/generic/_G_config.h: ... here.
13093
28c195f7
RM
13094 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13095
848917f9
RM
13096 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13097
6bacf05b
RM
13098 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13099 Conditionalize target on [libnss_test1.so-version].
13100
91363dbb
RM
13101 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13102
cc87f7d8
RM
13103 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13104 (elfobjdir): Move out of conditionals.
13105
b1c608fe
RM
13106 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13107 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13108 (__nss_lookup_function): Conditionalize label remove_from_tree on
13109 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13110
1d9a6d96
DM
131112012-09-28 David S. Miller <davem@davemloft.net>
13112
13113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13114 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13115 file.
13116 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13117 sysdep_routines.
13118 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13120 when HWCAP_SPARC_CRYPTO is present.
13121
72581615
PT
131222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13123
13124 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13125
715a900c
JL
131262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13127
13128 [BZ #6530]
13129 * stdio-common/vfprintf.c (process_string_arg): Revert
13130 2000-07-22 change.
13131
131322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13133
13134 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13135 for testcase.
13136 * stdio-common/tst-sprintf.c: Include <locale.h>
13137 (main): Test sprintf's handling of incomplete multibyte
13138 characters.
13139
9bac1d86
L
131402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * elf/dl-runtime.c (VERSYMIDX): Removed.
13143 * elf/dl-version.c (VERSYMIDX): Likewise.
13144 * elf/do-rel.h (VERSYMIDX): Likewise.
13145 (VALIDX): Likewise.
13146 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13147 * elf/rtld.c (VALIDX): Likewise.
13148 (ADDRIDX): Likewise.
9bac1d86
L
13149 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13150 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13151 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13152 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13153 (VALIDX): Likewise.
13154 (ADDRIDX): Likewise.
9bac1d86 13155
b31606c0
PT
131562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13157
13158 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13159
11541177
JL
131602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13161
13162 [BZ #11438]
13163 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13164 to global scope.
13165 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13166 addresses are in the same scope as 192.0.2/24.
13167 * posix/gai.conf: Document new scope table defaults.
13168
adb26fae
SP
131692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13170
13171 [BZ #5298]
13172 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13173 for ftell. Compute offsets from write pointers instead.
13174 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13175
4573c6b0
SP
131762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13177
13178 [BZ #14543]
13179 * libio/Makefile (tests): New test case tst-fseek.
13180 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13181 combination works in wide mode.
13182 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13183 state when the external buffer state changes.
13184
aa9bbfe6
DM
131852012-09-27 David S. Miller <davem@davemloft.net>
13186
13187 [BZ #14376]
13188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13189 pass reloc->r_addend in as the 'high' argument to
13190 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13191
784421e7
DM
13192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13193
c39bc8b8
PT
131942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13195
13196 * rt/tst-aio2.c: Include <pthread.h>.
13197 * rt/tst-aio3.c: Likewise.
13198
1ccc2399
SE
131992012-09-27 Steve Ellcey <sellcey@mips.com>
13200
13201 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13202
31ed4153
L
132032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13204
25f5f885
L
13205 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13206 contents on [SHARED].
31ed4153 13207
b7bfe116
MP
132082012-09-26 Marek Polacek <polacek@redhat.com>
13209
13210 [BZ #14530]
13211 [BZ #13741]
13212 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13213 for C++ and GCC <4.3 as well as for non GCC compilers.
13214
43c4edba
MT
132152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13216
13217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13218
6a1bf82f
RM
132192012-09-25 Roland McGrath <roland@hack.frob.com>
13220
13221 * Makefile.in (all, install): Declare with .PHONY.
13222 Reported by Michael Hope <michael.hope@linaro.org>.
13223
8ad11b9a
TMQMF
132242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13225
13226 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13227 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13228 system header.
13229 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13230 Likewise.
13231 (sydep_routines): Add the new and the internal functions.
13232 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13233 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13235 (GLIBC_2.17): Add the new function.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13237 (GLIBC_2.17): Likewise.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13239 (GLIBC_2.17): Likewise.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13241 (GLIBC_2.17): Likewise.
13242 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13243
7e2fca8d
AM
132442012-09-25 Alan Modra <amodra@gmail.com>
13245
13246 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13247 Add release barrier before setting once_control to say
13248 initialisation is done. Add hints on lwarx. Use macro in
13249 place of isync.
13250 (clear_once_control): Add release barrier.
13251
b87c4b24
JM
132522012-09-25 Joseph Myers <joseph@codesourcery.com>
13253
d032e0d2
JM
13254 [BZ #13629]
13255 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13256 specially.
13257 * math/s_clog10.c (__clog10): Likewise.
13258 * math/s_clog10f.c (__clog10f): Likewise.
13259 * math/s_clog10l.c (__clog10l): Likewise.
13260 * math/s_clogf.c (__clogf): Likewise.
13261 * math/s_clogl.c (__clogl): Likewise.
13262 * math/Makefile (libm-calls): Add x2y2m1.
13263 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13264 (__x2y2m1): Likewise.
13265 (__x2y2m1l): Likewise.
13266 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13267 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13270 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13272 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13273 * sysdeps/i386/fpu/libm-test-ulps: Update.
13274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13275
b87c4b24
JM
13276 [BZ #14621]
13277 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13278 int as type of variable DEPTH.
13279 (glob): Use size_t instead of int as type of variables NEWCOUNT
13280 and OLD_PATHC.
13281
6d3bf199
LD
132822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13283
22bf5c17
LD
13284 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13285 Add s_sincosf-sse2.
13286 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13287 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13288 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13289 macros for using routine as __sincosf_ia32.
13290 Use macro for function declaration and weak_alias.
13291 * sysdeps/i386/fpu/libm-test-ulps: Update.
13292
13293 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13295
13296 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13297 subnormal argument.
13298 * math/s_cexpf.c (__cexpf): Likewise.
13299 * math/s_csinf.c (__csinf): Likewise.
13300 * math/s_csinhf.c (__csinhf): Likewise.
13301 * math/s_ctanf.c (__ctanf): Likewise.
13302 * math/s_ctanhf.c (__ctanhf): Likewise.
13303 * math/s_ccosh.c (__ccoshf): Likewise.
13304 * math/s_cexp.c (__cexpl): Likewise.
13305 * math/s_csin.c (__csin): Likewise.
13306 * math/s_csinh.c (__csinh): Likewise.
13307 * math/s_ctan.c (__ctan): Likewise.
13308 * math/s_ctanh.c (ctanh): Likewise.
13309 * math/s_ccoshl.c (__ccoshl): Likewise.
13310 * math/s_cexpl.c (__cexpl): Likewise.
13311 * math/s_csinl.c (__csinl): Likewise.
13312 * math/s_csinhl.c (__csinhl): Likewise.
13313 * math/s_ctanl.c (__ctanl): Likewise.
13314 * math/s_ctanhl.c (__ctanhl): Likewise.
13315
203e5603
JM
133162012-09-25 Joseph Myers <joseph@codesourcery.com>
13317
13318 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13319 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13320 (_IO_off_t): Define to __off_t, not _G_off_t.
13321 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13322 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13323 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13324 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13325 type of __dummy and __dummy2 fields.
13326 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13327 (_G_ssize_t): Likewise.
13328 (_G_off_t): Likewise.
13329 (_G_pid_t): Likewise.
13330 (_G_uid_t): Likewise.
13331 (_G_wchar_t): Likewise.
13332 (_G_wint_t): Likewise.
13333 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13334 (_G_ssize_t): Likewise.
13335 (_G_off_t): Likewise.
13336 (_G_pid_t): Likewise.
13337 (_G_uid_t): Likewise.
13338 (_G_wchar_t): Likewise.
13339 (_G_wint_t): Likewise.
13340 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13341 (_G_ssize_t): Likewise.
13342 (_G_off_t): Likewise.
13343 (_G_pid_t): Likewise.
13344 (_G_uid_t): Likewise.
13345 (_G_wchar_t): Likewise.
13346 (_G_wint_t): Likewise.
13347
9fab36eb
SP
133482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13349
13350 * malloc/arena.c: Include malloc-sysdep.h.
13351 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13352 is sufficient to shrink the heap or an unmap is needed.
13353 * sysdeps/generic/malloc-sysdep.h: New file. Define
13354 new function check_may_shrink_heap.
13355 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13356 new function check_may_shrink_heap.
13357
2b4f00d1
SP
133582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13359
13360 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13361 comments.
13362
9a9028b1
DL
133632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13364
57c69bef
DL
13365 * catgets/test-gencat.sh: Add "set -e".
13366 * elf/tst-pathopt.sh: Likewise.
13367 * grp/tst_fgetgrent.sh: Likewise.
13368 * iconvdata/run-iconv-test.sh: Likewise.
13369 * intl/tst-gettext.sh: Likewise.
13370 * intl/tst-gettext2.sh: Likewise.
13371 * intl/tst-gettext4.sh: Likewise.
13372 * intl/tst-gettext6.sh: Likewise.
13373 * intl/tst-translit.sh: Likewise.
13374 * io/ftwtest-sh: Likewise.
13375 * libio/test-freopen.sh: Likewise.
13376 * malloc/tst-mtrace.sh: Likewise.
13377 * posix/globtest.sh: Likewise.
13378 * posix/tst-getconf.sh: Likewise.
13379 * posix/wordexp-tst.sh: Likewise.
13380 * stdio-common/tst-printf.sh: Likewise.
13381 * stdio-common/tst-unbputc.sh: Likewise.
13382 * stdlib/tst-fmtmsg.sh: Likewise.
13383 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13384 * catgets/Makefile: Do not specify -e option when running
13385 testsuite shell scripts.
13386 * elf/Makefile: Likewise.
13387 * grp/Makefile: Likewise.
13388 * iconvdata/Makefile: Likewise.
13389 * intl/Makefile: Likewise.
13390 * io/Makefile: Likewise.
13391 * libio/Makefile: Likewise.
13392 * malloc/Makefile: Likewise.
13393 * posix/Makefile: Likewise.
13394 * stdio-common/Makefile: Likewise.
13395 * stdlib/Makefile: Likewise.
13396 * sysdeps/x86_64/Makefile: Likewise.
13397
9a9028b1
DL
13398 * io/ftwtest-sh: Add copyright header.
13399 * posix/globtest.sh: Likewise.
13400 * posix/tst-getconf.sh: Likewise.
13401 * posix/wordexp-tst.sh: Likewise.
13402 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13403
ced6f16e
L
134042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13405
94b32c39
L
13406 [BZ #13679]
13407 * Makeconfig (+link): Defined as $(+link-static) if
13408 $(build-shared) isn't yes.
13409 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13410 isn't yes.
13411 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13412
189e935b
L
13413 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13414
ced6f16e
L
13415 [BZ #14562]
13416 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13417 new chunk size with MALLOC_ALIGN_MASK.
13418
a9f8e53a
JM
134192012-09-24 Joseph Myers <joseph@codesourcery.com>
13420
13421 [BZ #5044]
13422 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13423 <rounding-mode.h>.
13424 (__printf_fphex): Determine rounding using get_rounding_mode and
13425 round_away.
13426 * stdio-common/tst-printf-round.c (struct hex_test): New
13427 structure.
13428 (hex_tests): New variable.
13429 (test_hex_in_one_mode): New function.
13430 (do_test): Also run tests for hex float output.
13431
43153109
JM
134322012-09-21 Joseph Myers <joseph@codesourcery.com>
13433
13434 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13435 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13436 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13437 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13438 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13439 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13440 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13441 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13442
8a26625d
JM
134432012-09-20 Joseph Myers <joseph@codesourcery.com>
13444
13445 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13446 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13447 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13448 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13449
f3fd569c
DL
134502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13451
13452 [BZ #14579]
13453 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13454 mode only.
13455 * elf/tst-rtld-load-self.sh: New test.
13456 * elf/Makefile: Run it.
13457
63bbedd4
JM
134582012-09-18 Joseph Myers <joseph@codesourcery.com>
13459
13460 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13461 (tst-writev-ENV): Remove.
13462 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13463
626f8b6a
CM
134642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13465
13466 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13467
b7aaa4d6
JM
134682012-09-17 Joseph Myers <joseph@codesourcery.com>
13469
13470 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13471 unconditional.
13472 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13473 Likewise.
13474 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13475 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13477 Likewise.
13478
65513990
L
134792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 [BZ #14587]
13482 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13483 * config.make.in (have-cpp-asm-debuginfo): Removed.
13484 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13485 * configure: Regenerated.
13486
784761be
JM
134872012-09-14 Joseph Myers <joseph@codesourcery.com>
13488
13489 [BZ #5044]
13490 * stdio-common/printf_fp.c: Include <stdbool.h> and
13491 <rounding-mode.h>.
13492 (___printf_fp): Determine rounding using get_rounding_mode and
13493 round_away.
13494 * stdio-common/tst-printf-round.c: New file.
13495 * stdio-common/Makefile (tests): Add tst-printf-round.
13496 (link-libm): New variable.
13497 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13498
9503345f
L
134992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13500
13501 [BZ #14576]
13502 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13503 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13504 Likewise.
13505 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13506 Likewise.
13507
ad35fc00
JM
135082012-09-13 Joseph Myers <joseph@codesourcery.com>
13509
13510 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13511 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13512 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13513 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13514
6c9b0f68
JM
135152012-09-12 Joseph Myers <joseph@codesourcery.com>
13516
13517 [BZ #14518]
13518 * include/rounding-mode.h: New file.
13519 * sysdeps/generic/get-rounding-mode.h: Likewise.
13520 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13521 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13522 (MAX_VALUE): New macro.
13523 (MIN_VALUE): Likewise.
13524 (overflow_value): New function.
13525 (underflow_value): Likewise.
13526 (round_and_return): Use overflow_value and underflow_value to
13527 determine return values in overflow and underflow cases. Use
13528 round_away to determine rounding depending on rounding mode.
13529 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13530 determine return values in overflow and underflow cases.
13531 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13532 (struct test_results): New structure.
13533 (struct test): Use struct test_results to store expected results
13534 for all rounding modes.
13535 (TEST): Include expected results for all rounding modes.
13536 (test_in_one_mode): New function.
13537 (do_test): Use test_in_one_mode to compute and check results.
13538 Check results for all rounding modes.
13539 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13540 $(link-libm).
13541
19fcedd5
AM
135422012-12-09 Allan McRae <allan@archlinux.org>
13543
1e9d84cd 13544 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13545
8bbfd2f1
JM
135462012-09-11 Joseph Myers <joseph@codesourcery.com>
13547
13548 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13549 (_G_int32_t): Likewise.
13550 (_G_uint16_t): Likewise.
13551 (_G_uint32_t): Likewise.
13552 (_G_HAVE_BOOL): Likewise.
13553 (_G_HAVE_ATEXIT): Likewise.
13554 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13555 (_G_HAVE_IO_FILE_OPEN): Likewise.
13556 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13557 (_G_int32_t): Likewise.
13558 (_G_uint16_t): Likewise.
13559 (_G_uint32_t): Likewise.
13560 (_G_HAVE_BOOL): Likewise.
13561 (_G_HAVE_ATEXIT): Likewise.
13562 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13563 (_G_HAVE_IO_FILE_OPEN): Likewise.
13564 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13565 (_G_int32_t): Likewise.
13566 (_G_uint16_t): Likewise.
13567 (_G_uint32_t): Likewise.
13568 (_G_HAVE_BOOL): Likewise.
13569 (_G_HAVE_ATEXIT): Likewise.
13570 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13571 (_G_HAVE_IO_FILE_OPEN): Likewise.
13572
b1dc5912
L
135732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13574
13575 * csu/libc-tls.c: Update copyright years.
13576
0e886ef9
JM
135772012-09-10 Joseph Myers <joseph@codesourcery.com>
13578
28361c5e
JM
13579 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13580 [!_G_USING_THUNKS]: Remove conditional code.
13581 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13582 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13583
0e886ef9
JM
13584 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13585 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13586 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13587 (_G_VTABLE_LABEL_PREFIX): Likewise.
13588 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13589 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13590 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13591 (_G_VTABLE_LABEL_PREFIX): Likewise.
13592 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13593 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13594 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13595 (_G_VTABLE_LABEL_PREFIX): Likewise.
13596 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13597
bcba7aa2
L
135982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13599
13600 * libio/Makefile: Include ../Makeconfig before tests.
13601 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13602 only if $(build-shared) is yes.
13603
06585ee8
L
13604 * iconv/gconv_db.c: Update copyright years.
13605
80ccd52c
LD
136062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13607
13608 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13609 unwind info if defined PIC. Fix special cases description.
13610 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13611
13612 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13613 DP_HI_MASK entry.
13614 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13615
691bc9c1
L
136162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13617
3d9b46b3
L
13618 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13619
de2139a9
L
13620 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13621 is NULL.
13622
5ca78dd0
L
13623 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13624 (LDLIBS-tst-chk4): This.
13625 (LDFLAGS-tst-chk5): Renamed to ...
13626 (LDLIBS-tst-chk5): This.
13627 (LDFLAGS-tst-chk6): Renamed to ...
13628 (LDLIBS-tst-chk6): This.
13629 (LDFLAGS-tst-lfschk4): Renamed to ...
13630 (LDLIBS-tst-lfschk4): This.
13631 (LDFLAGS-tst-lfschk5): Renamed to ...
13632 (LDLIBS-tst-lfschk5): This.
13633 (LDFLAGS-tst-lfschk6): Renamed to ...
13634 (LDLIBS-tst-lfschk6): This.
13635
691bc9c1
L
13636 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13637 on $(common-objpfx)soversions.mk.
13638
65cafb1c
JM
136392012-09-07 Joseph Myers <joseph@codesourcery.com>
13640
13641 [BZ #10014]
13642 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13643 example host name.
13644
c78ab094
SP
136452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13646
13647 * malloc/arena.c (arena_get_retry): New function that gets
13648 another arena for the caller to try its request on.
13649 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13650 current arena cannot fulfill the request.
13651 (__libc_memalign): Likewise.
13652 (__libc_memalign): Likewise.
13653 (__libc_pvalloc): Likewise.
13654 (__libc_calloc): Likewise.
13655
01f49f59
JT
136562012-09-05 John Tobey <john.tobey@gmail.com>
13657
13658 [BZ #13542]
13659 * manual/arith.texi (Operations on Complex): Fix description
13660 of carg branch cut.
13661
4c23fed5
JM
136622012-09-06 Joseph Myers <joseph@codesourcery.com>
13663
1d3c8572
JM
13664 [BZ #10014]
13665 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13666 host name.
13667
4c23fed5
JM
13668 [BZ #10038]
13669 * manual/memory.texi (Memory): Make order of menu items match
13670 order of sections.
13671
04570aaa
L
136722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13675 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13676 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13677
b80af2f4
L
136782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * csu/libc-tls.c (static_dtv): Renamed to ...
13681 (_dl_static_dtv): This. Make it global.
13682 (_dl_initial_dtv): Removed.
13683 (__libc_setup_tls): Updated.
13684 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13685 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13686 DL_INITIAL_DTV.
13687
2abe9f15
PM
136882012-09-06 Petr Machata <pmachata@redhat.com>
13689
13690 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13691 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13692 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13693 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13694
0948c3af
L
136952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13696
13697 [BZ #14545]
13698 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13699 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13700 freeing dtv[-1].
13701
a5055ad1
L
137022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13703
13704 [BZ #14544]
13705 * Makeconfig (link-static-before-libc): Replace $(+prector)
13706 with $(+prectorT).
13707 (link-static-after-libc): Replace $(+postctor) with
13708 $(+postctorT).
13709 (link-bounded): Replace $(+prector)/$(+postctor) with
13710 $(+prectorT)/$(+postctorT).
13711 (+prectorT): New macro.
13712 (+postctorT): Likewise.
13713
ed8c2ecd
JM
137142012-09-06 Joseph Myers <joseph@codesourcery.com>
13715
13716 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13717 (round_str): Handle values above the maximum for IBM long double
13718 as inexact.
13719 * stdlib/tst-strtod-round.c (tests): Regenerated.
13720
14c996c8
AK
137212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13722
13723 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13724 assembler flag.
13725 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13726 zarch_nohighgprs around the zarch optimized routines.
13727 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13728 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13729 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13730 for zarch.
13731
430d6ce6
DM
137322012-09-05 David S. Miller <davem@davemloft.net>
13733
13734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13735
ff04dda4
DM
13736 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13737 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13738 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13739 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13740 entries.
13741
24d4e01b
AO
137422012-09-05 Alexandre Oliva <aoliva@redhat.com>
13743
13744 * malloc/arena.c: Fold copyright years.
13745 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13746
61d58174
AO
137472012-09-05 Alexandre Oliva <aoliva@redhat.com>
13748
13749 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13750
20196a5e
AO
137512012-09-05 Alexandre Oliva <aoliva@redhat.com>
13752
13753 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13754
5c447383
AO
137552012-09-05 Alexandre Oliva <aoliva@redhat.com>
13756
13757 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13758 change internal state upon failure.
13759
fad64255
AO
137602012-09-05 Alexandre Oliva <aoliva@redhat.com>
13761
13762 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13763 * malloc/memusage.c (mmap): Likewise.
13764 (mmap64, mremap): Likewise. Adjust name in comment.
13765
1ffb8c90
SP
137662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13767
13768 * libio/fileops.c: Fix typos in comments.
13769 * libio/oldfileops.c: Likewise.
13770 * libio/wfileops.c: Likewise.
13771
6ef9cc37
SP
137722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13773
13774 [BZ #1349]
13775 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13776 (tst-malloc-usable-ENV): Set environment for test case.
13777 * malloc/hooks.c (malloc_check_get_size): New function to get
13778 requested size.
13779 * malloc/malloc.c (musable): Use malloc_check_get_size.
13780 * malloc/tst-malloc-usable.c: New test case.
13781
4d038ae3
AS
137822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13783
13784 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13785
c4e85184
AM
137862012-09-05 Allan McRae <allan@archlinux.org>
13787
b9dafc56 13788 [BZ #13966]
c4e85184
AM
13789 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13790 determine header location.
13791 * configure: Regenerated.
13792
e1343020
AS
137932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13794
13795 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13796 float format.
13797 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13798 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13799 format.
e1343020
AS
13800 (test): Regenerate.
13801
0a9f1987
DM
138022012-09-04 David S. Miller <davem@davemloft.net>
13803
13804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13806 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13807
29237804
FW
138082012-09-04 Florian Weimer <fweimer@redhat.com>
13809
13810 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13811 failures.
13812
edb3cb88
FW
13813 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13814
60160d83
JM
138152012-09-04 Joseph Myers <joseph@codesourcery.com>
13816
13817 [BZ #9914]
13818 * libio/iogetdelim.c: Include <limits.h>.
13819 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13820 + len + 1 would overflow.
13821
bcd6c8dc
AJ
138222012-09-03 Andreas Jaeger <aj@suse.de>
13823
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13825 * sysdeps/i386/fpu/libm-test-ulps: Update.
13826
4ffffbd2
LD
138272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13828
13829 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13830 Add s_sinf-sse2, s_conf-sse2.
13831
13832 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13833 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13834 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13835 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13836
13837 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13838 for using routine as __sinf_ia32.
13839 Use macro for function declaration and weak_alias.
13840 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13841 for using routine as __cosf_ia32.
13842 Use macro for function declaration and weak_alias.
13843
13844 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13845 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13846
13847 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13848 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13850
13851 * math/libm-test.inc (cos_test): Add more test cases.
13852 (sin_test): Likewise.
13853 (sincos_test): Likewise.
13854
511fa286
AK
138552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13856
13857 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13858 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13859 hidden.
13860 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13861
5f30cfec
L
138622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 [BZ #14538]
13865 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13866 first element of the GOT.
13867 (elf_machine_load_address): Return the difference between
13868 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13869
0786794f
AM
138702012-09-01 Allan McRae <allan@archlinux.org>
13871
5f30cfec
L
13872 [BZ #13412]
13873 * configure.in (AWK): Require gawk version 3.0 or later.
13874 * configure: Regenerated.
0786794f 13875
26889eac
JM
138762012-09-01 Joseph Myers <joseph@codesourcery.com>
13877
13878 * sysdeps/unix/sysv/linux/kernel-features.h
13879 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13880 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13881 [__NR_clock_getres]: Make code unconditional.
13882 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13883 (clock_getcpuclockid): Remove code left unreachable by removal of
13884 conditionals.
13885 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13886 code unconditional.
13887 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13888 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13889 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13890 Make code unconditional.
13891 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13892 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13893 * sysdeps/unix/sysv/linux/clock_settime.c
13894 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13895 conditional code.
13896 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13897 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13898
d22e28b0
L
138992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 [BZ #14476]
13902 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13903 scripts/test-installation.pl.
13904
13905 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13906 and $ld_so_version if it is set.
13907
050af9c4
SP
139082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13909
13910 [BZ #14516]
13911 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13912 failure if reading from procfs failed.
13913 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13914
ad845c0b
JM
139152012-08-27 Joseph Myers <joseph@codesourcery.com>
13916
13917 * sysdeps/unix/sysv/linux/kernel-features.h
13918 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13919 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13920 Remove conditional code.
13921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13922 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13923 Remove conditional code.
13924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13925 * sysdeps/unix/sysv/linux/i386/fxstat.c
13926 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13927 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13928 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13929 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13930 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13931 * sysdeps/unix/sysv/linux/i386/lxstat.c
13932 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13933 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13934 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13935 Remove conditional code.
13936 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13937 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13938 Remove conditional code.
13939 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13940 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13941 <kernel-features.h>.
13942 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13943 Remove.
13944 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13945 Remove conditional code.
13946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13947 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13948 Remove conditional.
13949
5dbf56af
MF
139502012-08-27 Mike Frysinger <vapier@gentoo.org>
13951
13952 [BZ #5400]
13953 * NEWS: Add fixed bug number.
13954
d6e70f43
JM
139552012-08-27 Joseph Myers <joseph@codesourcery.com>
13956
7efb4737
JM
13957 [BZ #14519]
13958 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13959 underflowing exponent in case of negative sign.
13960 * stdlib/tst-strtod-round-data: Add more tests.
13961 * stdlib/tst-strtod-round.c (tests): Regenerated.
13962
af92131a
JM
13963 [BZ #3479]
13964 * stdlib/strtod_l.c (NDIG): Remove.
13965 (HEXNDIG): Likewise.
13966 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13967 smallest representable value.
13968 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13969 lie within an exact representation of 1/2 ulp of the result.
13970 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13971 unconditionally.
13972 (TENS_P9_IDX): Define unconditionally.
13973 (TENS_P9_SIZE): Likewise.
13974 (TENS_P10_IDX): Likewise.
13975 (TENS_P10_SIZE): Likewise.
13976 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13977 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13978 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13979 entries for 10^2^13 and 10^2^14.
13980 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13981 (TENS_P13_IDX): Define.
13982 (TENS_P13_SIZE): Likewise.
13983 (TENS_P14_IDX): Likewise.
13984 (TENS_P14_SIZE): Likewise.
13985 (_fpioconst_pow10): Change array size to
13986 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13987 unconditional.
13988 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13989 1024]: Add entries for 10^2^13 and 10^2^14.
13990 [LAST_POW10 > _LAST_POW10]: Remove #error.
13991 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13992 (_fpioconst_pow10): Change array size to
13993 FPIOCONST_POW10_ARRAY_SIZE.
13994 * stdlib/gen-fpioconst.c: New file.
13995 * stdlib/gen-tst-strtod-round.c: Likewise.
13996 * stdlib/tst-strtod-round-data: Likewise.
13997 * stdlib/tst-strtod-round.c: Likewise.
13998 * stdlib/Makefile (tests): Add tst-strtod-round.
13999
d6e70f43
JM
14000 [BZ #14459]
14001 * stdlib/strtod_l.c: Include <stdint.h>.
14002 (NDEBUG): Do not define.
14003 (round_and_return): Change EXPONENT parameter to type intmax_t.
14004 Rearrange calculations to avoid internal overflow possibilities.
14005 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14006 Rearrange calculations to avoid internal overflow possibilities.
14007 Assert that number fits inside MPNSIZE limbs.
14008 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14009 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14010 calculations and add assertions to avoid internal overflow
14011 possibilities. Add casts to avoid signed/unsigned operations.
14012 * stdlib/tst-strtod-overflow.c: New file.
14013 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14014
1f529f7d
MP
140152012-08-25 Marek Polacek <polacek@redhat.com>
14016
14017 * time/time.h: Fix some typos in comments.
14018
59a629f1
RM
140192012-08-23 Roland McGrath <roland@hack.frob.com>
14020
14021 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14022 * posix/tst-rfc3484-2.c: Likewise.
14023 * posix/tst-rfc3484-3.c: Likewise.
14024
d3bafbc9
SM
140252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14026
14027 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14028 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14029
4efcc022
JM
140302012-08-23 Joseph Myers <joseph@codesourcery.com>
14031
14032 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14033 #include of fxstatat64.c.
14034
3cc3ef96
RM
140352012-08-22 Roland McGrath <roland@hack.frob.com>
14036
f04e2132
RM
14037 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14038 * shadow/getspent_r.c: Likewise.
14039 * shadow/getspnam.c: Likewise.
14040 * shadow/getspnam_r.c: Likewise.
14041 * gshadow/getsgent.c: Likewise.
14042 * gshadow/getsgent_r.c: Likewise.
14043 * gshadow/getsgnam.c: Likewise.
14044 * gshadow/getsgnam_r.c: Likewise.
14045 * inet/getnetbyad.c: Likewise.
14046 * inet/getnetbyad_r.c: Likewise.
14047 * inet/getnetbynm.c: Likewise.
14048 * inet/getnetbynm_r.c: Likewise.
14049 * inet/getnetent.c: Likewise.
14050 * inet/getnetent_r.c: Likewise.
14051 * inet/getproto.c: Likewise.
14052 * inet/getproto_r.c: Likewise.
14053 * inet/getprtent.c: Likewise.
14054 * inet/getprtent_r.c: Likewise.
14055 * inet/getprtname.c: Likewise.
14056 * inet/getprtname_r.c: Likewise.
14057 * inet/getrpcbyname.c: Likewise.
14058 * inet/getrpcbyname_r.c: Likewise.
14059 * inet/getrpcbynumber.c: Likewise.
14060 * inet/getrpcbynumber_r.c: Likewise.
14061 * inet/getrpcent.c: Likewise.
14062 * inet/getrpcent_r.c: Likewise.
14063 * inet/getaliasent.c: Likewise.
14064 * inet/getaliasent_r.c: Likewise.
14065 * inet/getaliasname.c: Likewise.
14066 * inet/getaliasname_r.c: Likewise.
14067 * nscd/getgrgid_r.c: Likewise.
14068 * nscd/getgrnam_r.c: Likewise.
14069 * nscd/gethstbyad_r.c: Likewise.
14070 * nscd/gethstbynm3_r.c: Likewise.
14071 * nscd/getpwnam_r.c: Likewise.
14072 * nscd/getpwuid_r.c: Likewise.
14073 * nscd/getsrvbynm_r.c: Likewise.
14074 * nscd/getsrvbypt_r.c: Likewise.
14075 * nscd/gai.c: Likewise.
14076
c53d909c
RM
14077 * configure.in (build_nscd): New substituted variable, set
14078 by --disable-build-nscd and defaults to $use_nscd.
14079 * configure: Regenerated.
14080 * config.make.in (build-nscd): New substituted variable.
14081 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14082 Change conditional to require [$(build-nscd) = yes] as well.
14083 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14084
3cc3ef96
RM
14085 [BZ# 13696]
14086 * configure.in (use_nscd): New substituted variable, set by
14087 --disable-nscd. If enabled, define USE_NSCD.
14088 * configure: Regenerated.
14089 * config.h.in: Add USE_NSCD.
14090 * config.make.in (use-nscd): New substituted variable.
14091 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14092 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14093 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14094 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14095 (CFLAGS-getgrnam_r.c): Likewise.
14096 (CFLAGS-initgroups.c): Likewise.
14097 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14098 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14099 Variables removed.
14100 * inet/getnetgrent_r.c
14101 (nscd_setnetgrent): New function, broken out of ...
14102 (setnetgrent): ... here. Call it.
14103 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14104 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14105 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14106 * nscd/Makefile (routines, aux): Move definitions after include of
14107 Makeconfig. Conditionalize on [$(use-nscd) != no].
14108 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14109 Conditionalize on [USE_NSCD].
14110 (is_nscd, nscd_init_cb): Likewise.
14111 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14112 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14113 * nss/nss_db/db-init.c: Likewise.
14114 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14115 [USE_NSCD].
14116 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14117 (make_request): Use it.
14118 (cache_valid_p): New function.
14119 (__check_pf): Use it.
14120 * NEWS: Add item for --disable-nscd.
14121
07e51550
DL
141222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14123
14124 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14125 to support sed >= 4.2.1-20-ga9bf076.
14126 * configure: Regenerated.
14127
35a5b08b
RM
141282012-08-22 Roland McGrath <roland@hack.frob.com>
14129
14130 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14131 Conditionalize whole body on [IREL].
14132
8479f23a
JL
141332012-08-22 Jeff Law <law@redhat.com>
14134
14135 [BZ #14505]
14136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14137 if the family is PF_UNSPEC.
14138
48da0b21
MF
141392012-08-22 Mike Frysinger <vapier@gentoo.org>
14140
14141 * Makerules (lib-version): Rename from V.
14142 (install-lib-nosubdir): Change V to lib-version.
14143
15d0da8c
WS
141442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14145
14146 [BZ #14252]
14147 * powerpc32/power6/wcschr.c: New file.
14148 * powerpc32/power6/wcscpy.c: New file.
14149 * powerpc32/power6/wcsrchr.c: New file.
14150 * powerpc64/power6/wcschr.c: New file.
14151 * powerpc64/power6/wcscpy.c: New file.
14152 * powerpc64/power6/wcsrchr.c: New file.
14153
bcca0895
MK
141542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14155
14156 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14157 (two_way_short_needle): Use it.
5a4aaa33
RM
14158 * string/strstr.c (AVAILABLE1_USES_J): Define.
14159 * string/strcasestr.c: Likewise.
99677e57
MK
14160
14161 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14162 array references.
14163 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14164
400726de
MK
14165 [BZ #11607]
14166 * NEWS: Add an entry.
14167 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14168 define their defaults.
14169 (two_way_short_needle): Detect end-of-string on-the-fly.
14170 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14171 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14172 * string/bug-strcasestr1.c: New test.
14173 * string/Makefile: Run it.
14174
20a71f2c
MK
141752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14176
14177 [BZ #11607]
14178 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14179 the first character.
14180
21ad0558
RM
141812012-08-21 Roland McGrath <roland@hack.frob.com>
14182
14183 * csu/elf-init.c (__libc_csu_irel): Function removed.
14184 * csu/libc-start.c (apply_irel): New function.
14185 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14186
0e1d9911
JM
141872012-08-21 Joseph Myers <joseph@codesourcery.com>
14188
14189 * sysdeps/unix/sysv/linux/kernel-features.h
14190 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14191 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14192 <kernel-features.h>.
14193 [__NR_fadvise64_64]: Make code unconditional.
14194 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14195 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14196 !__NR_fadvise64_64)]: Likewise.
14197 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14198 !__NR_fadvise64_64))]: Likewise.
14199 [__NR_fadvise64]: Make code unconditional.
14200 [!__NR_fadvise64]: Remove conditional code.
14201 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14202 <kernel-features.h>.
14203 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14204 unconditional.
14205 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14206 conditional code.
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14208 not include <kernel-features.h>.
14209 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14210 unconditional.
14211 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14212 conditional code.
14213 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14214 include <kernel-features.h>.
14215 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14216 unconditional.
14217 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14218 conditional code.
14219
14a50c9d
WS
142202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14221
14222 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14223 slight instruction rearrangements per scrollpipe analysis.
14224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14225
c0f4faf0
RM
142262012-08-20 Roland McGrath <roland@hack.frob.com>
14227
696da859
RM
14228 * manual/syslog.texi (syslog; vsyslog, closelog):
14229 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14230 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14231
c0f4faf0
RM
14232 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14233 DSOCAPS to match condition on defining it.
14234
348363b2
JM
142352012-08-20 Joseph Myers <joseph@codesourcery.com>
14236
a35cbf28
JM
14237 * sysdeps/unix/sysv/linux/kernel-features.h
14238 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14240 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14241 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14243 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14244 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14246 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14247 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14248
445f7ecd
JM
14249 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14250 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14251
348363b2
JM
14252 * sysdeps/unix/sysv/linux/kernel-features.h
14253 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14254 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14255 unconditional.
14256 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14257 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14258 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14259 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14260 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14261 Make code unconditional.
14262 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14263 (__mmap64) [!__NR_mmap2]: Likewise.
14264 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14265 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14266 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14268 [__NR_mmap2]: Make code unconditional.
14269 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14270 (__mmap64) [!__NR_mmap2]: Likewise.
14271
bc5bc0e5
AK
142722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14273
14274 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14275
88d506de
AJ
142762012-08-18 Andreas Jaeger <aj@suse.de>
14277
14278 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14279
493387d2
MF
142802012-08-18 Mike Frysinger <vapier@gentoo.org>
14281
14282 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14283 * include/unistd.h (__have_sock_cloexec): Likewise.
14284 (__have_pipe2): Likewise.
14285 (__have_dup3): Likewise.
14286
a277af22
MF
142872012-08-18 Mike Frysinger <vapier@gentoo.org>
14288
14289 [BZ #9685]
14290 * include/unistd.h (__have_pipe2): Change define into an extern int.
14291 (__have_dup3): Likewise.
14292 * socket/have_sock_cloexec.c: Include fcntl.h.
14293 (__have_pipe2): New variable.
14294 (__have_dup3): Likewise.
14295
fdab8fd3
MF
142962012-08-17 Mike Frysinger <vapier@gentoo.org>
14297
14298 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14299
31035e80
MP
143002012-08-17 Marek Polacek <polacek@redhat.com>
14301
14302 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14303 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14304
3bd9e993
RM
143052012-08-17 Roland McGrath <roland@hack.frob.com>
14306
c91c505f
RM
14307 * configure.in: Add AC_SUBST for sysheaders.
14308 * configure: Regenerated.
14309 * config.make.in (sysheaders): New substituted variable.
14310
7c6f9d53
RM
14311 * sysdeps/unix/mkfifo.c: Moved ...
14312 * sysdeps/posix/mkfifo.c: ... here.
14313 * sysdeps/unix/mkfifoat.c: Moved ...
14314 * sysdeps/posix/mkfifoat.c: ... here.
14315
14316 * sysdeps/unix/utime.c: Moved ...
14317 * sysdeps/posix/utime.c: ... here.
14318
14319 * sysdeps/unix/time.c: Moved ...
14320 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14321 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14322 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14323
14324 * sysdeps/unix/nice.c: Moved ...
14325 * sysdeps/posix/nice.c: ... here.
14326
14327 * sysdeps/unix/alarm.c: Moved ...
14328 * sysdeps/posix/alarm.c: ... here.
14329
3bd9e993
RM
14330 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14331
d1f09384
JL
143322012-08-17 Jeff Law <law@redhat.com>
14333
14334 * intl/Makefile (codeset_mo): New variable.
14335 ($(codeset_mo)): New target.
14336 (tst-codeset.out): Depend on that. Remove explicit rule.
14337 (tst-gettext3.out, tst-gettext5.out): Likewise.
14338 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14339 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14340 * intl/tst-codeset.sh: Remove.
14341 * intl/tst-gettext3.sh: Likewise.
14342 * intl/tst-gettext5.sh: Likewise.
14343
2ae1ae5c
RM
143442012-08-17 Roland McGrath <roland@hack.frob.com>
14345
c31fdb83
RM
14346 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14347 * sysdeps/unix/syscalls.list: ... here.
14348
a0844057
RM
14349 * sysdeps/posix/getaddrinfo.c
14350 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14351 (gaiconf_init, gaiconf_reload): Use them.
14352 [!_STATBUF_ST_NSEC]
14353 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14354 Define using time_t rather than struct timespec.
14355
750c1f2a
RM
14356 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14357 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14358 Macros removed.
14359 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14360 [!NO_THREADS].
14361 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14362 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14363 Likewise.
14364
2ae1ae5c
RM
14365 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14366 __libc_cleanup_push argument.
14367
e66a42f5
RM
14368 * bits/param.h: New file.
14369 * misc/sys/param.h: New file.
14370 * include/sys/param.h: New file.
14371 * misc/Makefile (headers): Add bits/param.h.
14372 * sysdeps/generic/sys/param.h: File removed.
14373 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14374 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14375 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14376 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14377
b7c08a66
RM
14378 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14379 last change.
14380
b2e1c562
RM
14381 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14382 [_IO_MTSAFE_IO].
14383 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14384 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14385 New macros.
14386
c75ccd4c
RM
14387 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14388 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14389 rather than -D_IO_MTSAFE_IO conditionally.
14390 * stdio-common/Makefile (CPPFLAGS): Likewise.
14391 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14392 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14393 Use $(libio-mtsafe).
14394 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14395 of -D_IO_MTSAFE_IO.
14396 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14397 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14398 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14399 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14400 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14401 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14402 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14403 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14404 (CFLAGS-fread_u_chk.c): Likewise.
14405 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14406 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14407 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14408 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14409 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14410 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14411 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14412 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14413 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14414
14415 * libio/Makefile: Test [$(libc-reentrant) = yes]
14416 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14417
14418 * Makeconfig
14419 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14420 * sysdeps/pthread/configure: File removed.
14421 * sysdeps/pthread/Makeconfig: New file.
14422 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14423 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14424
d9195db8
GB
144252012-08-16 Gary Benson <gbenson@redhat.com>
14426
14427 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14428 unmapping the first object in a namespace.
14429
86466cd9
RM
144302012-08-16 Roland McGrath <roland@hack.frob.com>
14431
14432 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14433 (__internal_setnetgrent): ... this. Add internal_function to
14434 definition. Add libc_hidden_def.
14435 (setnetgrent): Update caller.
14436 (internal_endnetgrent): Renamed to ...
14437 (__internal_endnetgrent): ... this. Add internal_function to
14438 definition. Add libc_hidden_def.
14439 (endnetgrent): Update caller.
14440 (internal_getnetgrent_r): Renamed to ...
14441 (__internal_getnetgrent_r): ... this. Add internal_function to
14442 definition. Add libc_hidden_def.
14443 (__getnetgrent_r): Update caller.
14444 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14445
c3c8283c
JM
144462012-08-16 Joseph Myers <joseph@codesourcery.com>
14447
14448 * stdlib/longlong.h: Update from GCC.
14449
db1ee0a8
RM
144502012-08-16 Roland McGrath <roland@hack.frob.com>
14451
14452 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14453 on _QL, which is set by umul_ppmm but never used.
14454 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14455 variables, which are set by GMP macros but never used.
14456 * stdio-common/_itowa.c (_itowa): Likewise.
14457 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14458 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14459
30f69637
CD
144602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14461
14462 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14463 struct La_sh_regs is not constant.
14464 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14465 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14466 and struct La_sparc64_regs are not constant.
14467
93a78ac4
JM
144682012-08-16 Joseph Myers <joseph@codesourcery.com>
14469
14470 * sysdeps/unix/sysv/linux/kernel-features.h
14471 (__ASSUME_POSIX_TIMERS): Remove.
14472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14473 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14474 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14475 Make code unconditional.
14476 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14477 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14478 Make code unconditional.
14479 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14480 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14481 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14482 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14483 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14484 Make code unconditional.
14485 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14486 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14487 (__libc_missing_posix_timers): Remove.
14488
dd924cd7
RM
144892012-08-15 Roland McGrath <roland@hack.frob.com>
14490
4b4f2771
RM
14491 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14492 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14493
601c888b
RM
14494 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14495
176790a7
RM
14496 * elf/dl-sym.c: Include <stdlib.h>.
14497
329bc018
RM
14498 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14499 constants, which avoids warnings in 32-bit builds.
14500
e04e272d
RM
14501 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14502 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14503
952bf94a
RM
14504 * misc/lseek.c: File moved to ...
14505 * io/lseek.c: ... here.
14506
7c99b50a
RM
14507 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14508
dd924cd7
RM
14509 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14510 shifting LEN more than 31 bits at once.
14511
b3f479a8
LD
145122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14513
14514 [BZ #14195]
8c4ae0d4
RM
14515 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14516 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14517 * string/test-strncasecmp.c (check1): Renamed to...
14518 (bz12205): ...this.
14519 (bz14195): Add new testcase for two empty input strings and N > 0.
14520 (test_main): Call new testcase, adapt for renamed function.
14521
9c55864e
AJ
145222012-08-15 Andreas Jaeger <aj@suse.de>
14523
14524 [BZ #14090]
14525 * crypt/md5test2.c: New test, based on test supplied by Serge
14526 Belyshev <belyshev@depni.sinp.msu.ru>.
14527 * crypt/Makefile (xtests): Add md5test-giant..
14528 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14529
02dcb6c5
PE
145302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14531
14532 [BZ #14090]
14533 * crypt/md5.c (md5_process_block): Don't assume the buffer
14534 length is less than 2**32.
14535 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14536 length is less than 2**64.
14537
a3f95dcc
RM
145382012-08-15 Roland McGrath <roland@hack.frob.com>
14539
be75d758
RM
14540 * string/str-two-way.h: Include <sys/param.h>.
14541 (MAX): Macro removed.
14542
7312ca90
RM
14543 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14544 Move #define and #undef of memmove to just before and after
14545 including <string.h>.
14546
9a0a5486
RM
14547 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14548 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14549 and after including <string.h>. Move declarations of
14550 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14551 to before #include "string/memmove.c".
14552
67cc348d
RM
14553 * include/dirent.h: Declare __getdirentries.
14554
a3f95dcc
RM
14555 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14556 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14557
ca98e171
MF
145582012-08-14 Mike Frysinger <vapier@gentoo.org>
14559
14560 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14561 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14562 * sysdeps/i386/configure: Regenerated.
14563 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14564 STABS_CURRENT_FILE, and STABS_FUN.
14565 (END): Remove call to STABS_FUN_END.
14566 (STABS_CURRENT_FILE1): Delete.
14567 (STABS_CURRENT_FILE): Likewise.
14568 (STABS_FUN): Likewise.
14569 (STABS_FUN_END): Likewise.
14570 (STABS_FUN2): Likewise.
14571 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14572 * sysdeps/x86_64/configure: Regenerated.
14573
5908bf46
RM
145742012-08-14 Roland McGrath <roland@hack.frob.com>
14575
14576 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14577 * elf/dl-lookup.c: Likewise.
5908bf46 14578
f2c05b9e
JM
145792012-08-14 Joseph Myers <joseph@codesourcery.com>
14580
14581 * sysdeps/unix/sysv/linux/kernel-features.h
14582 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14583 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14584 unconditionally.
14585 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14586 unconditionally.
14587 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14588 condition on __ASSUME_CLONE_THREAD_FLAGS.
14589
e11f5155
AJ
145902012-08-14 Andreas Jaeger <aj@suse.de>
14591
14592 * sysdeps/i386/fpu/libm-test-ulps: Update.
14593
51a9ba86
MK
145942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14595
2fdd4f78
AJ
14596 * include/atomic.h (atomic_exchange_and_add): Split into ...
14597 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14598 New atomic macros.
51a9ba86 14599
ba6cba9e
MT
146002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14601
14602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14603
42443a47
JL
146042012-08-13 Jeff Law <law@redhat.com>
14605
14606 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14607 null byte in the output string.
14608
121dce05
JM
146092012-08-10 Joseph Myers <joseph@codesourcery.com>
14610
14611 * sysdeps/unix/sysv/linux/kernel-features.h
14612 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14613 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14614 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14616 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14617 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14618 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14619
bf51f568
JL
146202012-08-09 Jeff Law <law@redhat.com>
14621
14622 [BZ #13939]
14623 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14624 When avoid_arena is set, don't retry in the that arena. Pick the
14625 next one, whatever it might be.
14626 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14627 (arena_lock): Pass in new parameter to arena_get2.
14628 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14629 arena_get2.
14630 (__libc_malloc): Unify retrying after main arena failure with
14631 __libc_memalign version.
14632 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14633
f85fa270
L
146342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14635
14636 [BZ #14166]
14637 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14638 to __redirect_strstr.
14639 (__strstr_sse42): Use typeof __redirect_strstr.
14640 (__strstr_ia32): Likewise.
14641 (__libc_strstr): New prototype.
14642 (strstr): Renamed to ...
14643 (__libc_strstr): This.
14644 (strstr): New strong alias of __libc_strstr.
14645 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14647 __redirect_time.
14648 Include <time.h>.
14649 (__libc_time): New prototype.
14650 (time_ifunc): Replace time with __libc_time.
14651 (time): New strong alias and hidden definition of __libc_time.
14652 (__GI_time): Remove strong alias.
14653 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14654 Include <stddef.h>.
14655 (memmove): Redefined to __redirect_memmove.
14656 (__memmove_sse2): Use typeof __redirect_memmove.
14657 (__memmove_ssse3): Likewise.
14658 (__memmove_ssse3_back): Likewise.
14659 (__libc_memmove): New prototype.
14660 (memmove): Renamed to ...
14661 (__libc_memmove): This.
14662 (memmove): New strong alias of __libc_memmove.
14663
33b4a91e
MS
146642012-08-08 Mark Salter <msalter@redhat.com>
14665
14666 * elf/elf.h
14667 (R_MN10300_TLS_GD): Define.
14668 (R_MN10300_TLS_LD): Likewise.
14669 (R_MN10300_TLS_LDO): Likewise.
14670 (R_MN10300_TLS_GOTIE): Likewise.
14671 (R_MN10300_TLS_IE): Likewise.
14672 (R_MN10300_TLS_LE): Likewise.
14673 (R_MN10300_TLS_DTPMOD): Likewise.
14674 (R_MN10300_TLS_DTPOFF): Likewise.
14675 (R_MN10300_TLS_TPOFF): Likewise.
14676 (R_MN10300_SYM_DIFF): Likewise.
14677 (R_MN10300_ALIGN): Likewise.
14678 (R_MN10300_NUM): Update.
14679
b36137f1
JM
146802012-08-08 Joseph Myers <joseph@codesourcery.com>
14681
14682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14683 Remove.
14684
cdd915fd
RM
146852012-08-08 Roland McGrath <roland@hack.frob.com>
14686
a2433aac
RM
14687 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14688
cdd915fd
RM
14689 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14690 sysdeps/unix -> sysdeps/posix move.
14691 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14692
bf9b740a
AM
146932012-08-07 Allan McRae <allan@archlinux.org>
14694
14695 [BZ #14303]
14696 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14697 (SUNOS_CPP): Likewise.
14698 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14699 not found.
14700 (open_input): Call CPP using execvp.
14701
93df14ee
JM
147022012-08-07 Joseph Myers <joseph@codesourcery.com>
14703
14704 * sysdeps/unix/sysv/linux/kernel-features.h
14705 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14706 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14707 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14708 (__ASSUME_WAITID_SYSCALL): Likewise.
14709 * sysdeps/unix/sysv/linux/dl-execstack.c
14710 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14711 code unconditional.
14712 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14713 conditional code.
14714 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14715 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14716 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14717 code.
14718 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14719 unconditional.
14720 [__ASSUME_WAITID_SYSCALL]: Likewise.
14721 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14722
d34689de
RM
147232012-08-07 Roland McGrath <roland@hack.frob.com>
14724
a281decc
RM
14725 * sysdeps/unix/closedir.c: Renamed to ...
14726 * sysdeps/posix/closedir.c: ... here.
14727 * sysdeps/unix/dirfd.c: Renamed to ...
14728 * sysdeps/posix/dirfd.c: ... here.
14729 * sysdeps/unix/dirstream.h: Renamed to ...
14730 * sysdeps/posix/dirstream.h: ... here.
14731 * sysdeps/unix/fdopendir.c: Renamed to ...
14732 * sysdeps/posix/fdopendir.c: ... here.
14733 * sysdeps/unix/opendir.c: Renamed to ...
14734 * sysdeps/posix/opendir.c: ... here.
14735 * sysdeps/unix/readdir.c: Renamed to ...
14736 * sysdeps/posix/readdir.c: ... here.
14737 * sysdeps/unix/readdir_r.c: Renamed to ...
14738 * sysdeps/posix/readdir_r.c: ... here.
14739 * sysdeps/unix/rewinddir.c: Renamed to ...
14740 * sysdeps/posix/rewinddir.c: ... here.
14741 * sysdeps/unix/seekdir.c: Renamed to ...
14742 * sysdeps/posix/seekdir.c: ... here.
14743 * sysdeps/unix/telldir.c: Renamed to ...
14744 * sysdeps/posix/telldir.c: ... here.
14745 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14746 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14747 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14748 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14749
22895b47
RM
14750 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14751 * bits/fcntl.h: ... here.
14752
707a53b6
RM
14753 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14754 not 0.
14755 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14756 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14757 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14758 (struct flock): Move l_start, l_len to the beginning.
14759 Use __pid_t for l_pid.
14760 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14761 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14762 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14763 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14764 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14765 [__USE_LARGEFILE64] (struct flock64): New type.
14766 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14767
f0bd3e25
RM
14768 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14769 * bits/dirent.h: ... here.
14770
d34689de
RM
14771 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14772 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14773
6dad2c06
JM
147742012-08-07 Joseph Myers <joseph@codesourcery.com>
14775
14776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14777 Change from 2.6.0 to 2.6.16.
14778 * sysdeps/unix/sysv/linux/configure: Regenerated.
14779 * sysdeps/unix/sysv/linux/kernel-features.h
14780 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14781 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14782 version.
14783 (__ASSUME_UTIMES): Likewise.
14784 (__ASSUME_CLONE_STOPPED): Remove.
14785 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14786 architectures, not kernel version.
14787 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14788 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14789 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14790 (__ASSUME_WAITID_SYSCALL): Likewise.
14791 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14792 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14793 * README: State 2.6.16 as minimum Linux kernel version. Do not
14794 refer to older versions.
14795
03af9520
RM
147962012-08-06 Roland McGrath <roland@hack.frob.com>
14797
8e49df1d
RM
14798 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14799 Define alphasort64 as an alias.
14800 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14801 Define versionsort64 as an alias.
14802 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14803 Define scandir64 as an alias.
14804 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14805 Define scandirat64 as an alias.
14806 * dirent/alphasort64.c (alphasort64):
14807 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14808 * dirent/versionsort64.c: Likewise.
14809 * dirent/scandir64.c: Likewise.
14810 * dirent/scandirat64.c: Likewise.
14811 * sysdeps/wordsize-64/alphasort.c: File removed.
14812 * sysdeps/wordsize-64/alphasort64.c: File removed.
14813 * sysdeps/wordsize-64/scandir.c: File removed.
14814 * sysdeps/wordsize-64/scandir64.c: File removed.
14815 * sysdeps/wordsize-64/scandirat.c: File removed.
14816 * sysdeps/wordsize-64/scandirat64.c: File removed.
14817 * sysdeps/wordsize-64/versionsort.c: File removed.
14818 * sysdeps/wordsize-64/versionsort64.c: File removed.
14819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14827
14828 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14830 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14832 [defined __arch64__ || defined __sparcv9]
14833 (__INO_T_MATCHES_INO64_T): New macro.
14834 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14835 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14836 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14837 * sysdeps/unix/sysv/linux/bits/dirent.h
14838 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14839 (_DIRENT_MATCHES_DIRENT64): New macro.
14840
03af9520
RM
14841 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14842 Define lockf64 as an alias.
14843 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14844 Define fseeko64 as an alias.
14845 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14846 Define ftello64 as an alias.
14847 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14848 Define _IO_fgetpos64 and fgetpos64 as aliases.
14849 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14850 Define _IO_fsetpos64 and fsetpos64 as aliases.
14851 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14852 Conditionalize body on this.
14853 * libio/fseeko64.c: Likewise.
14854 * libio/ftello64.c: Likewise.
14855 * libio/iofgetpos64.c: Likewise.
14856 * libio/iofsetpos64.c: Likewise.
14857 * sysdeps/wordsize-64/lockf.c: File removed.
14858 * sysdeps/wordsize-64/lockf64.c: File removed.
14859 * sysdeps/wordsize-64/fseeko.c: File removed.
14860 * sysdeps/wordsize-64/fseeko64.c: File removed.
14861 * sysdeps/wordsize-64/ftello.c: File removed.
14862 * sysdeps/wordsize-64/ftello64.c: File removed.
14863 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14864 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14865 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14866 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14867 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14868 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14869 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14871 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14873 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14874 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14876 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14877
14878 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14880 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14882 [defined __arch64__ || defined __sparcv9]
14883 (__OFF_T_MATCHES_OFF64_T): New macro.
14884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14885 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14887 (__OFF_T_MATCHES_OFF64_T): New macro.
14888
c5757acd
L
148892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 * stdlib/secure-getenv.c (__secure_getenv): Replace
14892 GLIBC_2_16 with GLIBC_2_17.
14893
3a31811e
L
148942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14895
14896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14897 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14898
faa2bccb
DM
148992012-08-03 David S. Miller <davem@davemloft.net>
14900
14901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14902
85fe1997
JM
149032012-08-03 Joseph Myers <joseph@codesourcery.com>
14904
14905 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14906 Remove.
14907 (__ASSUME_CORRECT_SI_PID): Likewise.
14908 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14909 (__ASSUME_TMPFS_NAME): Likewise.
14910 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14911 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14912 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14913 (HAVE_AUX_SECURE): Make definition unconditional.
14914 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14915 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14916
4f75b7a0
RM
149172012-08-03 Roland McGrath <roland@hack.frob.com>
14918
14919 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14920 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14921 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14922 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14923 __eloop_threshold instead of SYMLOOP_MAX.
14924
14925 * sysdeps/generic/eloop-threshold.h: New file.
14926 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14927 of MAXSYMLINKS.
14928 * elf/chroot_canon.c (chroot_canon): Likewise.
14929
7aab07e4
JM
149302012-08-03 Joseph Myers <joseph@codesourcery.com>
14931
14932 [BZ #13717]
14933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14934 Change to 2.6.0 everywhere.
14935 * sysdeps/unix/sysv/linux/configure: Regenerated.
14936 * sysdeps/unix/sysv/linux/kernel-features.h
14937 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14938 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14939 kernel versions.
14940 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14941 (__ASSUME_FUTEX_REQUEUE): Remove.
14942 (__ASSUME_STATFS64): Define unconditionally.
14943 (__ASSUME_AT_SECURE): Likewise.
14944 (__ASSUME_CORRECT_SI_PID): Likewise.
14945 (__ASSUME_TGKILL): Define without depending on kernel version for
14946 i386.
14947 (__ASSUME_UTIMES): Likewise.
14948 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14949 kernel version.
14950 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14951 (__ASSUME_TMPFS_NAME): Likewise.
14952 * README: Update reference to Linux kernel versions.
14953
b67e9372
MP
149542012-08-02 Marek Polacek <polacek@redhat.com>
14955
1f529f7d 14956 [BZ# 14150]
b67e9372
MP
14957 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14958 libc_cv_asm_type_prefix with %.
14959 * configure: Regenerated.
d2441631
RM
14960 * include/libc-symbols.h: Remove comment about
14961 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14962 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14963 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14964 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14965 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14966 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14967 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14968 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14969 * elf/tst-unique2mod1.c: Likewise.
14970 * elf/tst-unique1mod2.c: Likewise.
14971 * elf/tst-unique1mod1.c: Likewise.
14972 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14973 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14974 Replace ASM_TYPE_DIRECTIVE with .type.
14975 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14976 * sysdeps/i386/sysdep.h: Likewise.
14977 * sysdeps/x86_64/sysdep.h: Likewise.
14978 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14980 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14981 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14982 * sysdeps/powerpc/powerpc32/sysdep.h:
14983 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14984 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14985 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14986 * sysdeps/i386/fpu/e_powf.S: Likewise.
14987 * sysdeps/i386/fpu/e_expl.S: Likewise.
14988 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14990 * sysdeps/i386/fpu/e_pow.S: Likewise.
14991 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14992 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14993 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14994 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14995 * sysdeps/i386/fpu/e_log2.S: Likewise.
14996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14998 * sysdeps/i386/fpu/e_powl.S: Likewise.
14999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15001 * sysdeps/i386/fpu/e_logl.S: Likewise.
15002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15003 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15004 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15005 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15006 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15007 * sysdeps/i386/fpu/e_log.S: Likewise.
15008 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15009 * sysdeps/i386/fpu/e_logf.S: Likewise.
15010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15012 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15013 * sysdeps/i386/fpu/e_log10.S: Likewise.
15014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15019 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15020 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15021 * sysdeps/i386/i686/strtok.S: Likewise.
15022 * sysdeps/i386/i386-mcount.S: Likewise.
15023 * sysdeps/i386/strtok.S: Likewise.
15024 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15025 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15027 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15028 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15029 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15030 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15031 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15033 * sysdeps/x86_64/_mcount.S: Likewise.
15034 * sysdeps/x86_64/strtok.S: Likewise.
15035 * sysdeps/sh/_mcount.S: Likewise.
15036
2747bf9a
RM
150372012-08-01 Roland McGrath <roland@hack.frob.com>
15038
15039 * libio/iofopen.c: Include <fcntl.h>.
15040 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15041 (_IO_fopen64, fopen64): Define as aliases.
15042 * libio/iofopen64.c: Include <fcntl.h>.
15043 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15044 Conditionalize body on this.
15045 * sysdeps/wordsize-64/iofopen.c: File removed.
15046 * sysdeps/wordsize-64/iofopen64.c: File removed.
15047
3fb791b8
MP
150482012-08-01 Marek Polacek <polacek@redhat.com>
15049
15050 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15051 Use dlfcn directly instead of a variable.
15052 (binfmt-subdir): Do not define.
15053 (dlfcn): Likewise.
15054
a9f1039f
JM
150552012-08-01 Joseph Myers <joseph@codesourcery.com>
15056
23bddc06
JM
15057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15058 Remove all definitions.
15059 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15060 <kernel-features.h>.
15061 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15062 (miss_F_GETOWN_EX): Remove all definitions.
15063 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15064 macro definition.
15065 [!__ASSUME_FCNTL64]: Remove conditional code.
15066 [__ASSUME_FCNTL64]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15068 <kernel-features.h>.
15069 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15070 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15071 (lockf64) [__NR_fcntl64]: Make code unconditional.
15072 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15073
a9f1039f
JM
15074 * sysdeps/unix/sysv/linux/kernel-features.h
15075 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15076 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15077 Make code unconditional.
15078 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15079 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15081 [__NR_vfork]: Make code unconditional.
15082 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15083 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15085 [__NR_vfork]: Make code unconditional.
15086 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15087 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15088
09c0ee5f
RM
150892012-08-01 Roland McGrath <roland@hack.frob.com>
15090
48aec5b9
RM
15091 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15092 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15093
cd97c966
RM
15094 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15095 Define mkstemp64 as an alias.
3f55550c
RM
15096 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15097 Define mkstemps64 as an alias.
cd97c966
RM
15098 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15099 Define mkostemp64 as an alias.
b8625cfc
RM
15100 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15101 Define mkostemps64 as an alias.
cd97c966
RM
15102 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15103 Conditionalize body on this.
15104 * misc/mkostemp64.c: Likewise.
b8625cfc 15105 * misc/mkostemps64.c: Likewise.
3f55550c 15106 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15107 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15108 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15109 * sysdeps/wordsize-64/mkostemp.c: File removed.
15110 * sysdeps/wordsize-64/mkstemp.c: File removed.
15111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15114 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15115
09c0ee5f
RM
15116 [BZ #14138]
15117 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15118 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15119 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15120 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15121
15122 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15123 compat_symbol macros from <shlib-compat.h> rather than the underlying
15124 default_symbol_version and symbol_version macros, so that DEFAULT
15125 lines in shlib-versions are respected.
15126 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15127
7e66ee51
FW
151282012-08-01 Florian Weimer <fweimer@redhat.com>
15129
15130 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15131 Declare with warn_unused_result.
15132 (setgid, setregid, setegid, setresgid): Likewise.
15133 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15134 Likewise.
15135 * WUR-REPORT: Remove set*id functions.
15136
d2a54255
PT
151372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15138
15139 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15140
7ecdb005
RM
151412012-07-31 Roland McGrath <roland@hack.frob.com>
15142
b4180a5e 15143 [BZ #10191]
789bd351
RM
15144 * include/sys/socket.h (__libc_accept, __libc_accept4):
15145 Add attribute_hidden.
15146 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15147
40ce302d
RM
15148 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15149 use of PTR_MANGLE.
15150 * inet/getnetgrent_r.c (setup): Likewise.
15151
7ecdb005
RM
15152 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15153
e2eabb2c
DM
151542012-07-31 David S. Miller <davem@davemloft.net>
15155
15156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15157
d0419dbf
JM
151582012-07-31 Joseph Myers <joseph@codesourcery.com>
15159
15160 [BZ #13629]
15161 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15162 value between 1.0 and 2.0 and smaller part has absolute value less
15163 than 1.0.
15164 * math/s_clog10.c (__clog10): Likewise.
15165 * math/s_clog10f.c (__clog10f): Likewise.
15166 * math/s_clog10l.c (__clog10l): Likewise.
15167 * math/s_clogf.c (__clogf): Likewise.
15168 * math/s_clogl.c (__clogl): Likewise.
15169 * math/libm-test.inc (clog_test): Add more tests.
15170 (clog10_test): Likewise.
15171 * sysdeps/i386/fpu/libm-test-ulps: Update.
15172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15173
2bc13872
FW
151742012-07-31 Florian Weimer <fweimer@redhat.com>
15175
15176 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15177 Exit with zero in case no suitable GID is found, and write a
15178 message to standard error.
15179
bea9b193
RM
151802012-07-30 Roland McGrath <roland@hack.frob.com>
15181
15182 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15183 rather than to 1.
15184 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15185 (MAXPATHLEN): Removed.
15186 (NOGROUP, NODEV): New macros.
15187 (setbit, clrbit, isset, isclr): New macros.
15188 (howmany, roundup, powerof2): New macros.
15189 (DEV_BSIZE): New macro.
15190
15191 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15192 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15193
15194 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15195 definition on [!__NO_LONG_DOUBLE_MATH].
15196
15197 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15198 PTR_MANGLE and PTR_DEMANGLE.
15199
15200 * socket/accept4.c (accept4): Rename to __libc_accept4.
15201 Define accept4 as a weak alias.
15202
15203 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15204 on [_DIRENT_HAVE_D_TYPE].
15205 * io/ftw.c (ftw_dir): Likewise.
15206
15207 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15208
15209 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15210
15211 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15212 Use the BSD numbers rather than the arbitrary ones we had.
15213 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15214 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15215 (SIGXCPU, SIGXFSZ): New macros.
15216 (_NSIG): Now 32.
15217
15218 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15219 initializer on [_LIBC_REENTRANT].
15220
15221 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15222 definitions inside [_POSIX_MAPPED_FILES].
15223
15224 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15225
15226 * dirent/opendir.c: Include <fcntl.h>.
15227
15228 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15229 (__libc_getspecific): Likewise.
15230 (__libc_key_create): Likewise.
15231
15232 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15233 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15234 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15235 (tmpfile64): Define as alias.
15236 * sysdeps/wordsize-64/tmpfile.c: File removed.
15237 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15240
15241 * stdio-common/vfscanf.c: Include <stdbool.h>.
15242 * nss/makedb.c: Likewise.
15243 * stdio-common/_i18n_number.h: Likewise.
15244 * argp/argp-help.c: Likewise.
15245 * posix/wordexp.c: Likewise.
15246 * sysdeps/posix/spawni.c: Likewise.
15247 * nss/nss_files/files-initgroups.c: Likewise.
15248 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15249 * nss/nss_files/files-initgroups.c: Likewise.
15250 * nss/nss_db/db-netgrp.c: Likewise.
15251 * nss/nss_db/db-initgroups.c: Likewise.
15252 * io/fchmodat.c: Include <sys/stat.h>.
15253
15254 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15255 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15256
15257 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15258 [HAVE_MMAP].
15259
15260 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15261 Add multiple inclusion protection.
15262
e5abc686
DM
152632012-07-27 David S. Miller <davem@davemloft.net>
15264
15265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15266
815e6fa3
GB
152672012-07-27 Gary Benson <gbenson@redhat.com>
15268
15269 [BZ #14298]
15270 * elf/rtld.c: Include <stap-probe.h>.
15271 (dl_main): Added static probes "init_start" and "init_complete".
15272 * elf/dl-load.c: Include <stap-probe.h>.
15273 (lose): Take new parameter "nsid".
15274 Added static probe "map_failed".
15275 (_dl_map_object_from_fd): Pass namespace id to lose.
15276 Added static probe "map_start".
15277 (open_verify): Pass namespace id to lose.
15278 * elf/dl-open.c: Include <stap-probe.h>.
15279 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15280 and "reloc_complete".
15281 * elf/dl-close.c: Include <stap-probe.h>.
15282 (_dl_close_worker): Added static probes "unmap_start" and
15283 "unmap_complete".
15284 * elf/rtld-debugger-interface.txt: New file documenting the above.
15285
9f98c16c
RM
152862012-07-26 Roland McGrath <roland@hack.frob.com>
15287
15288 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15289 rather than a string variable.
15290 * sunrpc/rpc_main.c (h_output): Likewise.
15291 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15292
f3c22df3
PT
152932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15294
15295 * inet/check_native.c: New file.
15296
3129cfc6
JM
152972012-07-26 Joseph Myers <joseph@codesourcery.com>
15298
da865e95
JM
15299 [BZ #13629]
15300 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15301 if larger part has absolute value 1.0.
15302 * math/s_clog10.c (__clog10): Likewise.
15303 * math/s_clog10f.c (__clog10f): Likewise.
15304 * math/s_clog10l.c (__clog10l): Likewise.
15305 * math/s_clogf.c (__clogf): Likewise.
15306 * math/s_clogl.c (__clogl): Likewise.
15307 * math/libm-test.inc (clog_test): Add more tests.
15308 (clog10_test): Likewise.
15309 * sysdeps/i386/fpu/libm-test-ulps: Update.
15310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15311
3129cfc6
JM
15312 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15313 (pltexit): Likewise.
15314 (La_regs): Likewise.
15315 (La_retval): Likewise.
15316 (int_retval): Likewise.
15317 Update #error for removed macros to refer only to definitions in
15318 tst-audit.h.
15319 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15320 macro.
15321 (pltexit): Likewise.
15322 (La_regs): Likewise.
15323 (La_retval): Likewise.
15324 (int_retval): Likewise.
15325 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15326 macro.
15327 (pltexit): Likewise.
15328 (La_regs): Likewise.
15329 (La_retval): Likewise.
15330 (int_retval): Likewise.
15331 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15332 macro.
15333 (pltexit): Likewise.
15334 (La_regs): Likewise.
15335 (La_retval): Likewise.
15336 (int_retval): Likewise.
15337 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15338 macro.
15339 (pltexit): Likewise.
15340 (La_regs): Likewise.
15341 (La_retval): Likewise.
15342 (int_retval): Likewise.
15343 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15344 macro.
15345 (pltexit): Likewise.
15346 (La_regs): Likewise.
15347 (La_retval): Likewise.
15348 (int_retval): Likewise.
15349 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15350 macro.
15351 (pltexit): Likewise.
15352 (La_regs): Likewise.
15353 (La_retval): Likewise.
15354 (int_retval): Likewise.
15355 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15356 macro definitions in tst-audit.h.
15357 * sysdeps/i386/tst-audit.h: New file.
15358 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15359 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15360 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15361 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15362 * sysdeps/sh/tst-audit.h: Likewise.
15363 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15364 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15365 * sysdeps/x86_64/tst-audit.h: Likewise.
15366
bfc07087
AJ
153672012-07-26 Andreas Jaeger <aj@suse.de>
15368
b1b2aaf8
AJ
15369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15370 ptrace.
15371
15372 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15373 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15374 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15375 PTRACE_O_MASK.
15376 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15379
bfc07087
AJ
15380 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15381 value.
15382
15383 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15384 _sigsys.
15385 (si_call_addr, si_syscall, si_arch): Define new macro.
15386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15387 _sigsys.
15388 (si_call_addr, si_syscall, si_arch): Define new marcro.
15389 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15390 _sigsys.
15391 (si_call_addr, si_syscall, si_arch): Define new macro.
15392 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15393 _sigsys.
15394 (si_call_addr, si_syscall, si_arch): Define new macro.
15395
89b4b02f
JM
153962012-07-25 Joseph Myers <joseph@codesourcery.com>
15397
15398 [BZ #13717]
15399 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15400 Change to 2.4.21 where previously 2.4.1.
15401 * sysdeps/unix/sysv/linux/configure: Regenerated.
15402 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15403 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15404 Linux kernel version.
15405 (__ASSUME_STD_AUXV): Remove.
15406 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15407 kernel version.
15408 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15409 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15410 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15411 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15412 (__ASSUME_NETLINK_SUPPORT): Likewise.
15413 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15414 (__no_netlink_support): Remove conditional definition.
15415 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15416 Remove.
15417 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15418 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15419 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15420 (if_nameindex_ioctl): Remove.
15421 (if_nameindex_netlink): Do not handle __no_netlink_support.
15422 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15423 code.
15424 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15425 Remove conditional code.
15426 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15427 code.
15428 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15429 unconditional.
15430 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15431 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15432 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15433 Remove.
15434 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15435 [!__ASSUME_STD_AUXV]: Remove conditional code.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15437 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15438 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15440 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15441 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15442 code.
15443 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15445 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15446 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15447 conditional code.
15448 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15450 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15451 code.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15453 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15454 conditional code.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15456 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15457 code unconditional.
15458 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15459 conditional code.
15460 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15461 unconditional.
15462 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15463 conditional code.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15465 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15466 unconditional.
15467 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15468 conditional code.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15470 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15471 code unconditional.
15472 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15473 conditional code.
15474 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15475 unconditional.
15476 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15477 conditional code.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15479 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15480 code unconditional.
15481 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15482 conditional code.
15483 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15484 unconditional.
15485 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15486 conditional code.
15487
842a39cd
AS
154882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15489
15490 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15491 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15492 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15493 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15494 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15495 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15496 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15497 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15498 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15499 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15500 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15501 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15502 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15503 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15504 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15505 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15506 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15508 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15510 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15511 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15513
84b3fd84
FW
155142012-07-25 Florian Weimer <fweimer@redhat.com>
15515
15516 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15517 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15518 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15519 Introduce __libc_secure_getenv.
0c7936d5
FW
15520 * stdlib/Versions (2.17): Add secure_getenv
15521 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15522 * stdlib/secure-getenv.c: Rename __secure_getenv to
15523 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15524 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15525 * stdlib/tst-secure-getenv.c: New.
15526 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15527 * manual/startup.texi (Environment Access): Document
15528 secure_getenv.
84b3fd84
FW
15529 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15530 __libc_secure_getenv.
15531 * inet/ruserpass.c (ruserpass): Likewise.
15532 * malloc/mtrace.c (mtrace): Likewise.
15533 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15534 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15535 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15536 * sysdeps/posix/tempname.c: Likewise. Evaluate
15537 HAVE_SECURE_GETENV.
15538 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15539 __secure_getenv to __libc_secure_getenv.
84b3fd84 15540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15542 Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15544 Likewise.
15545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15552
56e49b71
JM
155532012-07-25 Joseph Myers <joseph@codesourcery.com>
15554
15555 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15556 (struct La_i86_retval): Likewise.
15557 (struct La_x86_64_regs): Likewise.
15558 (struct La_x86_64_retval): Likewise.
15559 (struct La_x32_regs): Likewise.
15560 (struct La_x32_retval): Likewise.
15561 (struct La_ppc32_regs): Likewise.
15562 (struct La_ppc32_retval): Likewise.
15563 (struct La_ppc64_regs): Likewise.
15564 (struct La_ppc64_retval): Likewise.
15565 (struct La_sh_regs): Likewise.
15566 (struct La_sh_retval): Likewise.
15567 (struct La_s390_32_regs): Likewise.
15568 (struct La_s390_32_retval): Likewise.
15569 (struct La_s390_64_regs): Likewise.
15570 (struct La_s390_64_retval): Likewise.
15571 (struct La_sparc32_regs): Likewise.
15572 (struct La_sparc32_retval): Likewise.
15573 (struct La_sparc64_regs): Likewise.
15574 (struct La_sparc64_retval): Likewise.
15575 (struct audit_ifaces): Remove architecture-specific pltenter and
15576 pltexit members.
15577 * sysdeps/i386/ldsodefs.h: New file.
15578 * sysdeps/powerpc/ldsodefs.h: Likewise.
15579 * sysdeps/s390/ldsodefs.h: Likewise.
15580 * sysdeps/sh/ldsodefs.h: Likewise.
15581 * sysdeps/sparc/ldsodefs.h: Likewise.
15582 * sysdeps/x86_64/ldsodefs.h: Likewise.
15583
354691b7
MP
155842012-07-25 Marek Polacek <polacek@redhat.com>
15585
15586 [BZ #6808]
15587 * math/libm-test.inc (yn_test): Add another test.
15588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15589 to ERANGE when the result is +-Inf.
15590 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15591 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15593 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15594
bf9e2071
JM
155952012-07-24 Joseph Myers <joseph@codesourcery.com>
15596
15597 * conform/data/time.h-data (NULL): Use macro-constant. Require
15598 equal to 0.
15599 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15600 clock_t.
15601 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15602
57633811
TS
156032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15604
15605 * configure.in <sysdeps resolving>: Correct printing
15606 Implies_before.
15607 * configure: Regenerate.
15608
c23c33b0
TS
156092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15610
15611 * math/w_ilogb.c: Include <limits.h>.
15612 * math/w_ilogbl.c: Likewise.
15613
b5982523
JM
156142012-07-20 Joseph Myers <joseph@codesourcery.com>
15615
15616 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15617 va_copy. Document allowing for unavailable va_copy only as
15618 pre-C99 compatibility.
15619 * manual/string.texi (Copying and Concatenation): Use va_copy
15620 instead of __va_copy in concat example.
15621
ac4ea442
PT
156222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15623
15624 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15625 (__sendto): Use create_address_port. Initialize APORT and deallocate
15626 it if not null.
15627
f98eafbd
PT
15628 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15629 with O_NOLINK passed to __file_name_lookup.
15630
898c7aab
PT
15631 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15632 with O_NOLINK passed to __file_name_lookup.
15633
0ced335a
PT
15634 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15635 negative N or less than NGIDS.
15636
b3404dbd
PT
15637 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15638 type to string_t. Set ERANGE as errno and return it if NAME is not big
15639 enough. Use memcpy instead of strncpy.
15640
0f48659e
JM
156412012-07-20 Joseph Myers <joseph@codesourcery.com>
15642
15643 * elf/Makefile (check-data): Remove.
15644 (localplt.data): New vpath directive.
15645 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15646 instead of $(check-data).
15647 * scripts/data/localplt-generic.data: Move to ...
15648 * sysdeps/generic/localplt.data: ... here.
15649 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15650 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15651 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15653 ... here.
15654 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15656 ... here.
15657 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15659 ... here.
15660 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15662 ... here.
15663 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15665 ... here.
15666 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15668 ... here.
15669
d37cbdaa
AZ
156702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15671
15672 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15673 PPC32 and PPC64 files.
15674 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15675 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15676
46f85fc2
AK
156772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15678
15679 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15680 __makecontext_ret to ...
15681 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15682 ... here and call exit if uc_link is NULL. New file.
15683 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15684 __makecontext_ret.S.
15685 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15686 __makecontext_ret to ...
15687 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15688 ... here and call exit if uc_link is NULL. New file.
15689 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15690 __makecontext_ret.S.
15691
08f43f9b
AK
156922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15693
15694 * elf/elf.h (R_390_IRELATIVE): New definition.
15695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15696 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15697 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15698 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15699 (elf_machine_lazy_rel): Likewise.
15700 * sysdeps/s390/dl-irel.h: New file.
15701 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15702 * sysdeps/s390/s390-64/memset.S: New asm code.
15703 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15704 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15706 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15707 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15708 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15709 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15710 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15711 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15712 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15713 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15714 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15715 * sysdeps/s390/s390-32/memset.S: New asm code.
15716 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15717
3b05db33
MP
157182012-07-17 Marek Polacek <polacek@redhat.com>
15719
15720 [BZ #14349]
15721 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15722 * sysdeps/s390/s390-64/configure.in: Likewise.
15723 * sysdeps/sparc/configure.in: Likewise.
15724 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15725 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15726 * sysdeps/i386/configure.in: Likewise.
15727 * sysdeps/x86_64/configure.in: Likewise.
15728 * sysdeps/sh/configure.in: Likewise.
15729 * sysdeps/s390/s390-32/configure: Regenerated.
15730 * sysdeps/s390/s390-64/configure: Likewise.
15731 * sysdeps/x86_64/configure: Likewise.
15732 * sysdeps/sh/configure: Likewise.
15733 * sysdeps/powerpc/powerpc64/configure: Likewise.
15734 * sysdeps/powerpc/powerpc32/configure: Likewise.
15735 * sysdeps/sparc/configure: Likwise.
15736 * sysdeps/i386/configure: Likewise.
15737
a66877c6
MP
15738 * elf/dl-open.c: Comment fixes.
15739
cfc82fd8
JM
157402012-07-17 Joseph Myers <joseph@codesourcery.com>
15741
bd29910a
JM
15742 * Makefile [CXX] (check-data): Remove.
15743 [CXX] (c++-types.data): New vpath directive.
15744 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15745 vpath. Do not allow for C++ type data being missing.
15746 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15747 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15748 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15749 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15750 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15751 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15752 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15754 ... here.
15755 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15757 ... here.
15758 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15760 ... here.
15761 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15763 ... here.
15764 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15766 ... here.
15767 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15769 ... here.
15770 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15772 ... here.
15773 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15775
cfc82fd8
JM
15776 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15777 definitions to architecture-specific files.
15778 (TLS_IE): Likewise.
15779 (TLS_LD): Likewise.
15780 (TLS_GD): Likewise.
15781 * sysdeps/i386/tls-macros.h: New file.
15782 * sysdeps/powerpc/tls-macros.h: Likewise.
15783 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15784 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15785 * sysdeps/sh/tls-macros.h: Likewise.
15786 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15787 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15788 * sysdeps/x86_64/tls-macros.h: Likewise.
15789
f7db3170
TS
157902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15791
07cbfc23
TS
15792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15793 zero value for regular exit case.
15794
f7db3170
TS
15795 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15796 (__start_context): Preserve zero value for regular exit case.
15797
dc97c227
TS
157982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15799 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15800
15801 * manual/setjmp.texi (setcontext): Clarify normal process
15802 termination when uc_link is the null pointer.
15803 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15804 exit call.
15805
d0cd7d02
AS
158062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15807
15808 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15809 preprocessor. Test for each exception mask separately.
15810
dd318934
AJ
158112012-07-16 Andreas Jaeger <aj@suse.de>
15812
15813 * po/ru.po: Update from translation team.
15814
8048311a
JM
158152012-07-15 Joseph Myers <joseph@codesourcery.com>
15816
15817 * conform/data/string.h-data (NULL): Use macro-constant. Require
15818 equal to 0.
15819 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15820 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15821 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15822 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15824
b637d46e
AJ
158252012-07-13 Andreas Jaeger <aj@suse.de>
15826
15827 * po/fr.po: Update from translation team.
15828
541428fe
MP
158292012-07-12 Marek Polacek <polacek@redhat.com>
15830
15831 [BZ #14173]
15832 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15833 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15834 loop condition.
15835
ec332e94
JM
158362012-07-12 Joseph Myers <joseph@codesourcery.com>
15837
15838 [BZ #13717]
15839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15840 Change to 2.4.1 where previously 2.4.0.
15841 * sysdeps/unix/sysv/linux/configure: Regenerated.
15842 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15843 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15844 version.
15845 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15846 (__ASSUME_AT_CLKTCK): Remove.
15847 (__ASSUME_AT_PAGESIZE): Likewise.
15848 (__ASSUME_AT_XID): Likewise.
15849 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15850 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15851 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15852 unconditionally.
15853 (HAVE_AUX_PAGESIZE): Likewise.
15854 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15855 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15856 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15857
7b6e99be
JB
158582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15859
15860 [BZ #14307]
15861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15862 the temporary buffer used to invoke __gethostbyname2_r,
15863 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15864 host_data / struct gaih_addrtuple.
15865 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15866 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15867 header file nss/nsswitch.h.
15868 * nss/nsswitch.h (global scope): Add definition of implementation
15869 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15870 resolv/nss_dns/dns-host.c).
15871
608404eb
AJ
158722012-07-11 Andreas Jaeger <aj@suse.de>
15873
15874 * po/fr.po: Update from translation team.
15875
71220aca
AJ
15876 * po/sv.po: Update from translation team
15877 * po/fr.po: Another update from translation team.
15878
28cfe843
AZ
158792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15880
15881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15882 for subnormals or multiply small sinh result by itself.
15883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15885
6b90f981
DM
158862012-07-11 David S. Miller <davem@davemloft.net>
15887
15888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15889
c6825772
AS
158902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15891
15892 [BZ #14347]
15893 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15894 (INTERNAL_MARK): Shift it here.
15895
7b8e0d49
MP
158962012-07-10 Marek Polacek <polacek@redhat.com>
15897
15898 [BZ #14151]
15899 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15900 libc_cv_asm_global_directive with .globl.
15901 * configure: Regenerated.
15902 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15903 with .globl.
15904 * sysdeps/i386/configure: Regenerated.
15905 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15906 with .globl.
15907 * sysdeps/x86_64/configure: Regenerated.
15908 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15909 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15910 * elf/tst-unique2mod2.c: Likewise.
15911 * elf/tst-unique2mod1.c: Likewise.
15912 * elf/tst-unique1mod2.c: Likewise.
15913 * elf/tst-unique1mod1.c: Likewise.
15914 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15915 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15917 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15918 * sysdeps/mach/sysdep.h: Likewise.
15919 * sysdeps/i386/sysdep.h: Likewise.
15920 * sysdeps/i386/i386-mcount.S: Likewise.
15921 * sysdeps/x86_64/_mcount.S: Likewise.
15922 * sysdeps/x86_64/sysdep.h: Likewise.
15923 * sysdeps/sh/_mcount.S: Likewise.
15924 * sysdeps/sh/sysdep.h: Likewise.
15925 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15926 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15927 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15929 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15930 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15931 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15932 * locale/localeinfo.h: Likewise.
15933 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15934 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15935
6c55cda3
RM
159362012-07-09 Roland McGrath <roland@hack.frob.com>
15937
15938 [BZ #14336]
15939 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15940 system".
15941 * manual/message.texi (The Uniforum approach): Likewise.
15942 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15943 (glibc iconv Implementation): Likewise.
15944
638a572e
JM
159452012-07-09 Joseph Myers <joseph@codesourcery.com>
15946
15947 [BZ #14337]
15948 * math/s_clog.c (__clog): Avoid scaling a value down where that
15949 could result in underflow.
15950 * math/s_clog10.c (__clog10): Likewise.
15951 * math/s_clog10f.c (__clog10f): Likewise.
15952 * math/s_clog10l.c (__clog10l): Likewise.
15953 * math/s_clogf.c (__clogf): Likewise.
15954 * math/s_clogl.c (__clogl): Likewise.
15955 * math/libm-test.inc (clog_test): Add more tests.
15956 (clog10_test): Likewise.
15957 * sysdeps/i386/fpu/libm-test-ulps: Update.
15958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15959
261f4859
AS
159602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15961
0abaf3e4
AS
15962 [BZ #14283]
15963 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15964 by 7 not 8 to examine high bit of fractional part.
15965
261f4859
AS
15966 [BZ #14042]
15967 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15968 for call to __mcount_internal.
15969 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15970 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15971 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15972
f17ac40d
JM
159732012-07-06 Joseph Myers <joseph@codesourcery.com>
15974
9ad63c23
JM
15975 [BZ #14154]
15976 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15977 approximation for values within 0x1p-13f of an odd multiple of
15978 pi/4.
15979 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15980 exception. Add more tests.
15981 * sysdeps/i386/fpu/libm-test-ulps: Update.
15982
f17ac40d
JM
15983 [BZ #6778]
15984 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15985 inputs and return -1 for them. Do not check for +Inf in case not
15986 reachable for +Inf.
15987 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15988 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15990 and return -1 for them. Do not check for +Inf in case not
15991 reachable for +Inf.
15992 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15993 define.
15994 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15995 and return -1 for them. Do not check for +Inf in case not
15996 reachable for +Inf.
15997 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15998 spurious underflow.
15999 * sysdeps/i386/fpu/libm-test-ulps: Update.
16000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16001
fb21f89b
MF
160022012-07-06 Mike Frysinger <vapier@gentoo.org>
16003
16004 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16005
cdfe2c5e
JM
160062012-07-05 Joseph Myers <joseph@codesourcery.com>
16007
16008 [BZ #14157]
16009 [BZ #14331]
16010 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16011 could result in spurious underflow. Scale down values above
16012 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16013 * math/s_csqrtf.c (__csqrtf): Likewise.
16014 * math/s_csqrtl.c (__csqrtl): Likewise.
16015 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16016 spurious underflow.
16017 * sysdeps/i386/fpu/libm-test-ulps: Update.
16018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16019
70d35b67
AS
160202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16021
704bc459
AS
16022 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16023 xopen-msg.sed.
16024 * catgets/xopen-msg.awk: New file.
16025 * catgets/xopen-msg.sed: Removed.
16026
70d35b67
AS
16027 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16028 po2text.sed.
16029 * intl/po2test.awk: New file.
16030 * intl/po2test.sed: Removed.
16031
ca61cf32
JM
160322012-07-04 Joseph Myers <joseph@codesourcery.com>
16033
16034 [BZ #14328]
16035 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16036 or multiply small sinh result by itself.
16037 * math/s_ctanf.c (__ctanf): Likewise.
16038 * math/s_ctanh.c (__ctanh): Likewise.
16039 * math/s_ctanhf.c (__ctanhf): Likewise.
16040 * math/s_ctanhl.c (__ctanhl): Likewise.
16041 * math/s_ctanl.c (__ctanl): Likewise.
16042 * math/libm-test.inc (ctan_test_tonearest): New function.
16043 (ctan_test_towardzero): Likewise.
16044 (ctan_test_downward): Likewise.
16045 (ctan_test_upward): Likewise.
16046 (ctanh_test_tonearest): Likewise.
16047 (ctanh_test_towardzero): Likewise.
16048 (ctanh_test_downward): Likewise.
16049 (ctanh_test_upward): Likewise.
16050 (main): Call these new functions.
16051 * sysdeps/i386/fpu/libm-test-ulps: Update.
16052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053
ca48a46a
MF
160542012-07-03 Mike Frysinger <vapier@gentoo.org>
16055
16056 * .gitignore: Delete /ports entry.
16057
9d63d37d
AJ
160582012-07-03 Andreas Jaeger <aj@suse.de>
16059
16060 * po/bg.po: Update from translation team.
16061 * po/cs.po: Likewise.
16062 * po/de.po: Likewise.
16063 * po/hr.po: Likewise.
16064 * po/nl.pl: Likewise.
16065 * po/pl.po: Likewise.
16066 * po/vi.po: Likewise.
16067
370ca3d2
JM
160682012-07-03 Joseph Myers <joseph@codesourcery.com>
16069
95f5a9a8
JM
16070 * Makeconfig [!+link] (+link-before-libc): New variable.
16071 [!+link] (+link-after-libc): Likewise.
16072 [!+link] (+link-tests): Likewise.
16073 [!+link] (+link): Define in terms of $(+link-before-libc) and
16074 $(+link-after-libc).
16075 [!+link-static] (+link-static-before-libc): New variable.
16076 [!+link-static] (+link-static-after-libc): Likewise.
16077 [!+link-static] (+link-static-tests): Likewise.
16078 [!+link-static] (+link-static): Define in terms of
16079 $(+link-static-before-libc) and $(+link-static-after-libc).
16080 [build-shared] (link-libc-before-gnulib): New variable.
16081 [build-shared] (link-libc-tests): Likewise.
16082 [build-shared] (link-libc): Define in terms of
16083 $(link-libc-before-gnulib).
16084 [!build-shared] (link-libc-tests): New variable.
16085 (link-libc-static-tests): New variable.
16086 [!gnulib] (gnulib-arch): New variable.
16087 [!gnulib] (gnulib-tests): Likewise.
16088 [!gnulib] (static-gnulib-arch): Likewise.
16089 [!gnulib] (static-gnulib-tests): Likewise.
16090 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16091 Define with "=" instead of ":=".
16092 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16093 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16094 * Rules (binaries-all-notests): New variable.
16095 (binaries-all-tests): Likewise.
16096 (binaries-static-notests): Likewise.
16097 (binaries-static-tests): Likewise.
16098 (binaries-all): Define using $(binaries-all-notests) and
16099 $(binaries-all-tests).
16100 (binaries-static): Define using $(binaries-static-notests) and
16101 $(binaries-static-tests).
16102 (binaries-shared-tests): New variable.
16103 (binaries-shared-notests): Likewise.
16104 (binaries-shared): Remove variable.
16105 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16106 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16107 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16108 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16109 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16110 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16111 * elf/Makefile (sln-modules): New variable.
16112 (extra-objs): Add $(sln-modules:=.o).
16113 (ldconfig-modules): Add static-stubs.
16114 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16115 * elf/static-stubs.c: New file.
16116
7a845b2c
JM
16117 [BZ #14283]
16118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16119 by 7 not 8 to examine high bit of fractional part. Use volatile
16120 variables when splitting into final array of floats if
16121 __FLT_EVAL_METHOD__ != 0.
16122 * math/libm-test.inc (cos_test): Add another test.
16123 (sin_test): Likewise.
16124 * sysdeps/i386/fpu/libm-test-ulps: Update.
16125
e2283f38
JM
16126 [BZ #14273]
16127 * math/libm-test.inc (cosh_test): Add more tests.
16128
370ca3d2
JM
16129 * version.h (RELEASE): Set to "development".
16130 (VERSION): Set to "2.16.90".
16131
ee9247c3
CD
161322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16133
16134 * NEWS: Update copyright. Remove last-updated date.
16135 Mention math library bug fixes and timezone data changes.
16136 * README: Mention GNU/Hurd, x32, and HPPA support status.
16137
4648c381
TS
161382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16139
16140 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16141
aac78a43
AJ
161422012-06-27 Andreas Jaeger <aj@suse.de>
16143
16144 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16145
ed3dbfad
AJ
161462012-06-25 Andreas Jaeger <aj@suse.de>
16147
16148 * sysdeps/s390/fpu/libm-test-ulps: Update.
16149
4d0ee855
AS
161502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16151 Thomas Schwinge <thomas@codesourcery.com>
16152
16153 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16154 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16156 fanotify_mark.
16157
af1bce34
TS
161582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16159
a9fa33ba
TS
16160 * sysdeps/mach/start.c: Remove file.
16161 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16162 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16163 * sysdeps/sh/init-first.c: Likewise.
16164
58f902b8
TS
16165 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16166 registers for frame unwinding purposes, add CFI directives.
16167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16168 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16169 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16170 Likewise.
16171
1518f58b
TS
16172 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16173 __fortify_fail returning.
16174 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16175
db9b5059
TS
16176 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16177 sysdeps/sh/____longjmp_chk.S.
16178 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16179 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16180 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16181 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16182
967705fe
TS
16183 * sysdeps/sh/abort-instr.h: New file.
16184 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16185 process in case exit returns.
16186
a9def8c4
TS
16187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16188 initialize the GOT register before use.
16189
2a649725
TS
16190 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16191 calculation of ARGC > 4.
16192
af1bce34
TS
16193 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16194 meaningful names to some local labels.
16195
d230f50a
KK
161962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16197 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16198
16199 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16200 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16201 (__arch_compare_and_exchange_val_16_acq): Likewise.
16202 (__arch_compare_and_exchange_val_32_acq): Likewise.
16203 (atomic_exchange_and_add): Fix gUSA sequence.
16204 (atomic_add): Likewise.
16205 (atomic_add_negative): Likewise.
16206 (atomic_add_zero): Likewise.
16207 (atomic_bit_test_set): Likewise.
16208
0479b305
AS
162092012-06-22 Andreas Schwab <schwab@redhat.com>
16210
16211 [BZ #13579]
16212 * include/link.h (struct link_map): Add l_free_initfini.
16213 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16214 l_initfini.
16215 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16216 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16217 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16218 set.
16219
0e3933b9
CD
162202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16221
16222 * configure.in: Use AC_LANG_SOURCE.
16223 * configure: Regenerate.
16224
4248b1b1
RM
162252012-06-22 Roland McGrath <roland@hack.frob.com>
16226
16227 * configure.in (libc_cv_localstatedir): New substituted variable.
16228 * configure: Regenerated.
16229 * config.make.in (localstatedir): New variable, substituted from
16230 libc_cv_localstatedir.
16231 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16232 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16233 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16234 * sysdeps/gnu/configure: Regenerated.
16235
006dd861
JL
162362012-06-21 Jeff Law <law@redhat.com>
16237
16238 [BZ #14277]
16239 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16240 free. Simplify list management for _LIBC case.
16241
79662d42
JM
162422012-06-21 Joseph Myers <joseph@codesourcery.com>
16243
b7abb4bf
JM
16244 [BZ #14273]
16245 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16246 Clear sign bit of 64-bit integer value before comparing against
16247 overflow value.
16248
79662d42
JM
16249 * sysdeps/mach/configure: Regenerated.
16250
1f150908
L
162512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16252
16253 [BZ #14278]
16254 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16255
28363bbf
JL
162562012-06-21 Jeff Law <law@redhat.com>
16257
16258 [BZ #13882]
16259 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16260 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16261 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16262 * elf/dl-open.c (dl_open_worker): Likewise.
16263
09615db4
CD
162642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16265
16266 * scripts/list-sources.sh: Scan PORTS for translations.
16267 * po/libc.pot: Regenerated.
16268
2174c6dd
AJ
162692012-06-21 Andreas Jaeger <aj@suse.de>
16270
16271 [BZ #12194]
16272 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16273 warning.
16274 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16275 * bits/byteswap-16.h (__bswap_16): Likewise.
16276 * bits/byteswap.h (__bswap_constant_16): Likewise.
16277
3ee947b1
L
162782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16279
16280 [BZ #14117]
a2f34833
L
16281 * sysdeps/i386/fpu_control.h: Removed.
16282 * sysdeps/x86_64/fpu_control.h: Moved to ...
16283 * sysdeps/x86/fpu_control.h: Here.
16284
3ee947b1
L
16285 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16286 (_FPU_SETCW): Likewise.
16287
ed1825f8
L
162882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16289
25f1282a
L
16290 [BZ #14117]
16291 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16292 * sysdeps/x86/fpu/bits/mathinline.h: This.
16293 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16294
ed1825f8
L
16295 [BZ #14050]
16296 [BZ #14117]
16297 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16298 functions if __x86_64__ is defined.
16299
36d54b74
CLT
163002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16301
16302 * string/endian.h: Add !__ASSEMBLER__ condition for including
16303 conversion interfaces.
16304
10285c21
JM
163052012-06-15 Joseph Myers <joseph@codesourcery.com>
16306
16307 [BZ #14241]
16308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16309 of ABS(x) in calculating zero to negative powers other than odd
16310 integers.
16311 * math/libm-test.inc (pow_test): Add more tests.
16312
06c5abbd
AJ
163132012-06-15 Andreas Jaeger <aj@suse.de>
16314
16315 * manual/contrib.texi (Contributors): Update entry of Liubov
16316 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16317 Machado Filho.
16318
a3aeac40
CH
163192012-06-15 Cyril Hrubis <metan@ucw.cz>
16320
16321 * string/string.h: Add __wur to GNU version of strerror_r.
16322
49bdf4c1
L
163232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16324
16325 [BZ #14229]
16326 * string/Makefile (tests): Add tst-strtok_r.
16327 * string/tst-strtok_r.c: New file.
16328 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16329 RAX_LP/RDX_LP on SAVE_PTR.
16330
834f9b8d
RM
163312012-06-14 Roland McGrath <roland@hack.frob.com>
16332
16333 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16334
75fa1921
JM
163352012-06-14 Joseph Myers <joseph@codesourcery.com>
16336
16337 * libm_test.inc (csqrt_test): Allow more spurious underflow
16338 exceptions.
16339 (j0_test): Likewise.
16340 (j1_test): Likewise.
16341 (y0_test): Likewise.
16342 (y1_test): Likewise.
16343
771766df
CD
163442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16345
16346 * po/Makefile (libc.pot): Use UTF-8 charset.
16347
ceb9e56b
PP
163482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16349
16350 [BZ #14210]
16351 Suppress sign-conversion warning from FD_SET.
16352 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16353 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16354 not unsigned long int.
16355 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16356
ddb28975
L
163572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16358
16359 [BZ #14050]
16360 [BZ #14117]
16361 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16362 __extern_always_inline instead of __extern_inline.
16363 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16364 (__signbit): Likewise.
16365 (__signbitl): Support C++ namespace.
16366 (lrintf): New inline function.
16367 (lrint): Likewise.
16368 (llrintf): Likewise.
16369 (llrint): Likewise.
16370 (fmaxf): Likewise.
16371 (fmax): Likewise.
16372 (fminf): Likewise.
16373 (fmin): Likewise.
16374 (rint): Likewise.
16375 (rintf): Likewise.
16376 (ceil): Likewise.
16377 (ceilf): Likewise.
16378 (floor): Likewise.
16379 (floorf): Likewise.
16380 (nearbyint): Likewise.
16381 (nearbyintf): Likewise.
16382
d7b4fb26
TS
163832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16384
16385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16386 non-default versions.
16387
eb55f5c2
RM
163882012-06-11 Roland McGrath <roland@hack.frob.com>
16389
16390 [BZ #14218]
16391 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16392
366af02c
TS
163932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16394
99ff6e5c
TS
16395 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16396 (FE_UPWARD, FE_DOWNWARD): Don't define.
16397 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16399
366af02c
TS
16400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16401 reading it.
16402 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16403 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16404
793ea851
KK
164052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16406
16407 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16409 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16410 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16411
a728a38f
L
164122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 [BZ #14117]
c08010c7
L
16415 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16416 * sysdeps/i386/fpu/Implies: New file.
16417 * sysdeps/x86_64/fpu/Implies: Likewise.
16418 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16419 * sysdeps/x86/fpu/bits/fenv.h: This.
16420
a728a38f
L
16421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16422 __SSE_MATH__.
16423
6e230d11
SP
164242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16425
16426 [BZ #14134]
16427 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16428 character 0xffff that matches the last element of the
16429 conversion table.
16430
1b671feb
AZ
164312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16432
16433 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16434 fmodl commit.
16435
6043738b
AZ
164362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16437
16438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16439 values higher than 25.6283.
16440
34ae0b32
AZ
164412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16442
16443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16444 subnormal exponent extraction and add some __builtin_expect.
16445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16446 Fix for subnormal mantissa calculation.
16447
1214ec8f
MF
164482012-06-04 Mike Frysinger <vapier@gentoo.org>
16449
16450 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16451 cpu2 is -1 and errno is not ENOSYS.
16452
f3d1f93c
L
164532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16454
16455 [BZ #14117]
0e4a3cd7
L
16456 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16457 * sysdeps/x86/bits/string.h: This.
16458 * sysdeps/x86_64/bits/string.h: Removed.
16459
6704c645
L
16460 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16461 if not compiling for x86-64, but compiling for >= i486.
16462
48495318
L
16463 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16464 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16465
14adcbfc
L
16466 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16467 New macro from Linux kernel 3.4.0.
16468 (FP_XSTATE_MAGIC2): Likewise.
16469 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16470 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16471 (struct _fpx_sw_bytes): New struct.
16472 (struct _xsave_hdr): Likewise.
16473 (struct _ymmh_state): Likewise.
16474 (struct _xstate): Likewise.
16475
68e408ab
L
16476 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16477 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16478 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16479 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16481 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16482
f3d1f93c
L
16483 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16484 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16485 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16486 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16487 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16488 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16489
d9dc34cd
TMQMF
164902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16491
16492 [BZ #13743]
16493 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16494 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16495 (sysdep_headers): Include sys/platform/ppc.h.
16496 * sysdeps/powerpc/test-gettimebase.c: Test for
16497 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16498 * manual/Makefile (appendices): Include platform.texi.
16499 * manual/contrib.texi (Contributors): Update @node pointers.
16500 * manual/maint.texi (Maintenance): Likewise.
16501 (Platform): New node.
16502 * manual/platform.texi: New file. Document the new features.
16503
4af3879c
SP
165042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16505 Jakub Jelinek <jakub@redhat.com>
16506
16507 [BZ #14188]
16508 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16509 where __builtin_expect is unavailable.
16510
2fd6ff13
DM
165112012-06-03 David S. Miller <davem@davemloft.net>
16512
16513 * stdlib/longlong.h: Updated from GCC.
16514
173f7220
AS
165152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16516
16517 [BZ #14042]
16518 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16519 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16520 __mcount_internal.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16522 (GLIBC_2.16): Likewise.
16523
f34a1c6f
L
165242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16525
16526 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16527
88a4576f
JM
165282012-06-01 Joseph Myers <joseph@codesourcery.com>
16529
ea32bcdd
JM
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16531 (default-abi): New variable.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16533 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16534 variable.
16535 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16536 Likewise.
16537 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16538 Likewise.
16539 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16540 Likewise.
16541
88a4576f
JM
16542 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16543 definition. Document in comment.
16544
402fe938
DM
165452012-06-01 David S. Miller <davem@davemloft.net>
16546
16547 * stdlib/longlong.h: Updated from GCC.
16548
3553723f
L
165492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16550
16551 [BZ #14117]
3bd872c4
L
16552 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16553 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16554 sys/debugreg.h sys/io.h here.
16555 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16556 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16557 sys/io.h.
16558 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16559 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16561 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16563 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16564
3553723f
L
16565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16566 Define only if __x86_64__ is defined.
16567
4842e4fe
JM
165682012-06-01 Joseph Myers <joseph@codesourcery.com>
16569
c5bfe3d5
JM
16570 [BZ #14048]
16571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16572 Use int64_t for variable i.
16573 * math/libm-test.inc (fmod_test): Add more tests.
16574
4842e4fe
JM
16575 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16576 z computation is not scheduled after fetestexcept.
16577 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16578 Use math_force_eval instead of asm to ensure calculation scheduled
16579 before exception test.
16580 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16581 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16582
efb73488
AJ
165832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16584
16585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16586 computation is not scheduled after fetestexcept.
16587
29bcce7c
L
165882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16589
16590 [BZ #14117]
16591 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16592 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16593
73a68f94
AZ
165942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16595
16596 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16597 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16598
67b6df78
L
165992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16600
edf2933a 16601 [BZ #14117]
ebc64a18
L
16602 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16603 <bits/wordsize.h>.
16604 (__WCHAR_MIN): Support __WORDSIZE == 64.
16605 (__WCHAR_MAX): Likewise.
16606
edf2933a
L
16607 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16609
57c6cf40
L
16610 [BZ #14183]
16611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16612 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16613
67b6df78 16614 [BZ #14117]
8eb6281e
L
16615 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16616 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16617
aac639f4
L
16618 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16619 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16620
67b6df78
L
16621 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16622 Defined to 1 if __x86_64__ isn't defined.
16623 (_STAT_VER_LINUX_OLD): New.
16624 (st_atime): Remove duplicate.
16625 (st_mtime): Likewise.
16626 (st_ctime): Likewise.
16627
1c2cfe81
DM
166282012-05-31 David S. Miller <davem@davemloft.net>
16629
16630 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16631 entries.
16632
5be8418c
AS
166332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16634
e7725326
AS
16635 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16636 gen-libm-test.pl.
16637
5be8418c
AS
16638 [BZ #14132]
16639 * elf/dl-reloc.c: Include <_itoa.h>.
16640 (_dl_reloc_bad_type): Remove use of INTUSE.
16641 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16642 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16643 * stdio-common/psiginfo.c (psiginfo): Likewise.
16644 * stdio-common/psignal.c (psignal): Likewise.
16645 * string/strsignal.c (strsignal): Likewise.
16646 * include/signal.h (_sys_siglist): Declare hidden proto.
16647 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16648 INTVARDEF with libc_hidden_data_def.
16649 * stdio-common/itoa-udigits.c: Likewise.
16650 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16651 (_itoa_lower_digits_internal): Remove declaration.
16652 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16653 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16654 (_sys_sigabbrev_internal): Remove aliases.
16655 (_sys_siglist): Define hidden alias.
16656
507352f1
MT
166572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16658
16659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16660 bits/sysctl.h.
16661
42bbb1c3
L
166622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16663
16664 [BZ #14117]
6bd784b6
L
16665 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16666 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16667
8bca20f0
L
16668 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16669 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16670 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16671 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16673 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16674
f9e890a9
L
16675 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16677 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16678
471101a1
L
16679 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16680 with __addr.
16681 (insw): Likewise.
16682 (insl): Likewise.
16683 (outsb): Likewise.
16684 (outsw): Likewise.
16685 (outsl): Likewise.
16686
6451c862
L
16687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16688 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16689 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16690
a254b8c9
L
16691 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16692 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16693 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16694 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16695 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16696 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16697
b8dfdd92
L
16698 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16699 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16700
578cd270
L
16701 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16702 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16703
de662f5f
L
16704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16705 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16707
25653439
L
16708 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16709 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16710 to ...
16711 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16712
6bad24a0
L
16713 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16714 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16715 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16716
42bbb1c3
L
16717 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16718 for x86-64.
16719 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16720
2d10d547
JM
167212012-05-31 Joseph Myers <joseph@codesourcery.com>
16722
16723 * math/math.h (M_El): Use two more decimal places.
16724 (M_LOG2El): Likewise.
16725 (M_LOG10El): Likewise.
16726 (M_LN2l): Likewise.
16727 (M_LN10l): Likewise.
16728 (M_PIl): Likewise.
16729 (M_PI_2l): Likewise.
16730 (M_PI_4l): Likewise.
16731 (M_1_PIl): Likewise.
16732 (M_2_PIl): Likewise.
16733 (M_2_SQRTPIl): Likewise.
16734 (M_SQRT2l): Likewise.
16735 (M_SQRT1_2l): Likewise.
16736
f230c29b
DM
167372012-05-31 David S. Miller <davem@davemloft.net>
16738
16739 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16740 values between float registers.
16741 * sysdeps/sparc/sparc64/memset.S: Likewise.
16742 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16743
fed806c3
MF
167442012-05-31 Mike Frysinger <vapier@gentoo.org>
16745
16746 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16747 -D_FORTIFY_SOURCE=1.
16748 (CPPFLAGS-tst-longjmp_chk.c): Define.
16749 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16750 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16751 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16752 CFLAGS-tst-wchar-h.c.
16753
30917259
MP
167542012-05-31 Marek Polacek <polacek@redhat.com>
16755
16756 [BZ #14132]
16757 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16758 __endmntent_internal): Remove declaration.
16759 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16760 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16761 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16762
1c58d5dc
DM
167632012-05-30 David S. Miller <davem@davemloft.net>
16764
16765 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16766 (___Q_simulate_exceptions): Use real FP ops rather than writing
16767 into the %fsr.
16768 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16769 Likewise.
16770
7dc00e0d
L
167712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16772
16773 [BZ #14117]
0bd53985
L
16774 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16775 * sysdeps/x86/bits/xtitypes.h: This.
16776
3a257e66
L
16777 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16778 * sysdeps/x86/bits/wordsize.h: This.
16779
62f62904
L
16780 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16781 * sysdeps/x86/bits/huge_vall.h: This.
16782
404fe9d9
L
16783 * sysdeps/i386/bits/select.h: Removed.
16784 * sysdeps/x86_64/bits/select.h: Renamed to ...
16785 * sysdeps/x86/bits/select.h: This.
16786
d48d0446
L
16787 * sysdeps/i386/bits/setjmp.h: Removed.
16788 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16789 * sysdeps/x86/bits/setjmp.h: This.
16790
7dc00e0d
L
16791 * sysdeps/i386/bits/mathdef.h: Removed.
16792 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16793 * sysdeps/x86/bits/mathdef.h: This.
16794
03277f8f
AS
167952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16796
16797 [BZ #14132]
16798 * include/sys/socket.h (__connect_internal)
16799 (__libc_sa_len_internal): Remove declaration.
16800 (__connect, __libc_sa_len): Declare hidden_proto.
16801 (SA_LEN): Remove use of INTUSE.
16802 * socket/connect.c: Add libc_hidden_def.
16803 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16804 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16805 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16806 alias.
16807 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16809 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16810 of adding _internal alias.
16811
13764867
L
168122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16813
16814 [BZ #14117]
6bd97696
L
16815 * sysdeps/i386/bits/link.h: Removed.
16816 * sysdeps/i386/bits/linkmap.h: Likewise.
16817 * sysdeps/x86_64/bits/link.h: Renamed to ...
16818 * sysdeps/x86/bits/link.h: This.
16819 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16820 * sysdeps/x86/bits/linkmap.h: This.
16821
f726f0bb
L
16822 * sysdeps/i386/bits/endian.h: Removed.
16823 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16824 * sysdeps/x86/bits/endian.h: This.
16825
13764867
L
16826 * sysdeps/i386/bits/byteswap.h: Removed.
16827 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16828 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16829 * sysdeps/x86/bits/byteswap.h: This.
16830 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16831 * sysdeps/x86/bits/byteswap-16.h: This.
16832 * sysdeps/i386/Implies: Add x86.
16833 * sysdeps/x86_64/Implies: Likewise.
16834
ae251b0b
DM
168352012-05-30 David S. Miller <davem@davemloft.net>
16836
16837 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16838 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16839 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16840 (FP_TRAPPING_EXCEPTIONS): Define.
16841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16842 (FP_TRAPPING_EXCEPTIONS): Define.
16843 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16844 subnormals only when inexact has been signalled or underflow
16845 exceptions are enabled.
16846 (_FP_PACK_CANONICAL): Likewise.
16847
d5c90867
L
168482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16849
16850 [BZ #14183]
16851 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16852 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16853
63f1549e
RH
168542012-05-30 Richard Henderson <rth@twiddle.net>
16855
8d8f2279
RH
16856 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16857 with #ifndef NOT_IN_libc.
16858
63f1549e
RH
16859 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16860 marked to avoid plt entry.
16861
0ab0291b
L
168622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16863
16864 [BZ #14112]
16865 * Makeconfig (default-abi): New macro.
16866 (abi-includes): Likewise.
16867 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16868 $(abi-$(default-abi)-lib-soname) for soname if defined.
16869 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16870 abi-variants.
16871 * Makefile (installed-stubs): Likewise.
16872 * include/stubs-biarch.h: Removed.
16873 * scripts/lib-names.awk: Only handle one library at a time.
16874 * scripts/soversions.awk: Remove WORDSIZE support.
16875 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16876 entries.
16877 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16878 Removed.
16879 (syscall-list-default-condition): Likewise.
16880 (syscall-list-default-condition): Likewise.
16881 (syscall-list-includes): Likewise.
16882 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16883 syscall-list-* with abi-*. Handle undefined abi-variants.
16884 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16885 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16886 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16887 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16889 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16890 Removed.
16891 (syscall-list-32-options): Likewise.
16892 (syscall-list-32-condition): Likewise.
16893 (syscall-list-64-options): Likewise.
16894 (syscall-list-64-condition): Likewise.
16895 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16896 macro.
16897 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16898 Renamed to ...
16899 (abi-*): This.
16900 (abi-64-ld-soname): New macro.
16901 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16902 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16903 Renamed to ...
16904 (abi-*): This.
16905 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16906 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16907
4da0431d
JM
169082012-05-30 Joseph Myers <joseph@codesourcery.com>
16909
3a85279c
JM
16910 * sysdeps/unix/sysv/linux/kernel-features.h
16911 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16912 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16913 include <kernel-features.h>.
16914 [!__NR_ftruncate64]: Remove conditional code.
16915 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16916 [__NR_ftruncate64]: Make code unconditional.
16917 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16918 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16919 include <kernel-features.h>.
16920 [!__NR_ftruncate64]: Remove conditional code.
16921 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16922 [__NR_ftruncate64]: Make code unconditional.
16923 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16925 include <kernel-features.h>.
16926 [!__NR_ftruncate64]: Remove conditional code.
16927 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16928 [__NR_ftruncate64]: Make code unconditional.
16929 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16931 include <kernel-features.h>.
16932 [!__NR_ftruncate64]: Remove conditional code.
16933 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16934 [__NR_ftruncate64]: Make code unconditional.
16935 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16936
4da0431d
JM
16937 * configure.in (libc_cv_fpie): Weaken to a compile test using
16938 LIBC_TRY_CC_OPTION.
16939 * configure: Regenerated.
16940
11ef492c
AK
169412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16942
16943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16947 Refreshed.
16948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16954 Refreshed.
16955
d66ef399
DM
169562012-05-27 David S. Miller <davem@davemloft.net>
16957
16958 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16959 (___Q_zero): New.
16960 (__Q_simulate_exceptions): Return void. Change to simulate
16961 exceptions by writing into the %fsr.
16962 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16963 (__Qp_handle_exceptions): Likewise.
16964 (numbers): Delete.
16965 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16966 __Qp_handle_exceptions.
16967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16968 __Qp_handle_exceptions.
16969 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16970 as unused and give dummy FP_RND_NEAREST initializer.
16971 (FP_INHIBIT_RESULTS): Define.
16972 (___Q_simulate_exceptions): Update declaration.
16973 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16974 formatting.
16975 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16976 as unused and give dummy FP_RND_NEAREST initializer.
16977 (__Qp_handle_exceptions): Update declaration.
16978 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16979 formatting.
16980
04fb54b5
TS
169812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16982
16983 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16984 the temporary FPU control word.
16985 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16986 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16988 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16989 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16990 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16991 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16993 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16994 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16995 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16996
3f99608f
KK
169972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16998
16999 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17000 fields.
17001
65a4de4e
CLT
170022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17003
17004 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17005 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17006 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17007 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17008 Likewise.
17009 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17010 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17011 Likewise.
17012
15749d40
UD
170132012-05-27 Ulrich Drepper <drepper@gmail.com>
17014
17015 * po/h.po: Update from translation team.
17016
25dbcb27
AS
170172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17018
3d3f8e55
AS
17019 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17020
25dbcb27
AS
17021 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17022 handling of denormals.
17023 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17024 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17025 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17030 Likewise.
17031
7ad47a80 170322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17033
17034 [BZ #14152]
17035 * math/libm-test.inc (fma_test): Don't always expect underflow
17036 exception.
17037
9c6ea9fa
SP
170382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17039
17040 [BZ #12416]
17041 * elf/tst-execstack.c: Include stackinfo.h.
17042 (do_test): Adjust test case to ensure that pthread_getattr_np
17043 behaviour remains the same after marking stack executable.
17044
a8239222
JM
170452012-05-25 Joseph Myers <joseph@codesourcery.com>
17046
17047 * sysdeps/unix/sysv/linux/kernel-features.h
17048 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17049 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17050 kernel-features.h.
17051 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17052 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17053 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17054 kernel-features.h.
17055 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17056 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17057
918b5606
L
170582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * configure.in: Define the default includes to being none.
17061 * configure: Regenerated.
17062
3a097cc7
RM
170632012-05-25 Roland McGrath <roland@hack.frob.com>
17064
8422c9a5
RM
17065 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17066 * sysdeps/x86_64/setjmp.S: Likewise.
17067 * sysdeps/i386/bsd-setjmp.S: Likewise.
17068 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17069 * sysdeps/i386/setjmp.S: Likewise.
17070 * sysdeps/i386/__longjmp.S: Likewise.
17071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17072 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17073
3a097cc7
RM
17074 * include/stap-probe.h: New file.
17075 * configure.in: Handle --enable-systemtap.
17076 * configure: Regenerated.
17077 * config.h.in (USE_STAP_PROBE): New #undef.
17078 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17079 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17080 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17081
21708942
JM
170822012-05-25 Joseph Myers <joseph@codesourcery.com>
17083
17084 [BZ #13717]
17085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17086 to 2.4.0 where earlier.
17087 * sysdeps/unix/sysv/linux/configure: Regenerated.
17088 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
17097 [__ASSUME_32BITUIDS]: Make code unconditional.
17098 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17099 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17100 <kernel-features.h>.
17101 [__ASSUME_32BITUIDS]: Make code unconditional.
17102 [!__ASSUME_32BITUIDS]: Remove conditional code.
17103 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17104 <kernel-features.h>.
17105 [__ASSUME_32BITUIDS]: Make code unconditional.
17106 [!__ASSUME_32BITUIDS]: Remove conditional code.
17107 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17108 <kernel-features.h>.
17109 [__ASSUME_32BITUIDS]: Make code unconditional.
17110 [!__ASSUME_32BITUIDS]: Remove conditional code.
17111 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17112 <kernel-features.h>.
17113 [__ASSUME_32BITUIDS]: Make code unconditional.
17114 [!__ASSUME_32BITUIDS]: Remove conditional code.
17115 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17116 <kernel-features.h>.
17117 [__ASSUME_32BITUIDS]: Make code unconditional.
17118 [!__ASSUME_32BITUIDS]: Remove conditional code.
17119 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17120 <kernel-features.h>.
17121 [__ASSUME_32BITUIDS]: Make code unconditional.
17122 [!__ASSUME_32BITUIDS]: Remove conditional code.
17123 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17124 <kernel-features.h>.
17125 [__ASSUME_32BITUIDS]: Make code unconditional.
17126 [!__ASSUME_32BITUIDS]: Remove conditional code.
17127 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17128 <kernel-features.h>.
17129 [__ASSUME_32BITUIDS]: Make code unconditional.
17130 [!__ASSUME_32BITUIDS]: Remove conditional code.
17131 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17132 <kernel-features.h>.
17133 [__ASSUME_32BITUIDS]: Make code unconditional.
17134 [!__ASSUME_32BITUIDS]: Remove conditional code.
17135 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17136 <kernel-features.h>.
17137 [__ASSUME_32BITUIDS]: Make code unconditional.
17138 [!__ASSUME_32BITUIDS]: Remove conditional code.
17139 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17140 <kernel-features.h>.
17141 [__NR_setresgid] (__setresgid): Do not declare.
17142 [__ASSUME_32BITUIDS]: Make code unconditional.
17143 [!__ASSUME_32BITUIDS]: Remove conditional code.
17144 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17145 <kernel-features.h>.
17146 [__NR_setresuid] (__setresuid): Do not declare.
17147 [__ASSUME_32BITUIDS]: Make code unconditional.
17148 [!__ASSUME_32BITUIDS]: Remove conditional code.
17149 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17150 <kernel-features.h>.
17151 [__ASSUME_32BITUIDS]: Make code unconditional.
17152 [!__ASSUME_32BITUIDS]: Remove conditional code.
17153 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17154 <kernel-features.h>.
17155 [__ASSUME_32BITUIDS]: Make code unconditional.
17156 [!__ASSUME_32BITUIDS]: Remove conditional code.
17157 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17158 <kernel-features.h>.
17159 [__ASSUME_32BITUIDS]: Make code unconditional.
17160 [!__ASSUME_32BITUIDS]: Remove conditional code.
17161 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17162 <kernel-features.h>.
17163 [__ASSUME_32BITUIDS]: Make code unconditional.
17164 [!__ASSUME_32BITUIDS]: Remove conditional code.
17165 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17166 <kernel-features.h>.
17167 [__ASSUME_32BITUIDS]: Make code unconditional.
17168 [!__ASSUME_32BITUIDS]: Remove conditional code.
17169 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17170 <kernel-features.h>.
17171 [__ASSUME_32BITUIDS]: Make code unconditional.
17172 [!__ASSUME_32BITUIDS]: Remove conditional code.
17173 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17174 <kernel-features.h>.
17175 [__ASSUME_32BITUIDS]: Make code unconditional.
17176 [!__ASSUME_32BITUIDS]: Remove conditional code.
17177 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17178 <kernel-features.h>.
17179 [__ASSUME_32BITUIDS]: Make code unconditional.
17180 [!__ASSUME_32BITUIDS]: Remove conditional code.
17181 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17182 <kernel-features.h>.
17183 [__ASSUME_32BITUIDS]: Make code unconditional.
17184 [!__ASSUME_32BITUIDS]: Remove conditional code.
17185 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17186 <kernel-features.h>.
17187 [__ASSUME_32BITUIDS]: Make code unconditional.
17188 [!__ASSUME_32BITUIDS]: Remove conditional code.
17189 * sysdeps/unix/sysv/linux/kernel-features.h
17190 (__ASSUME_SETRESUID_SYSCALL): Remove.
17191 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17192 (__ASSUME_32BITUIDS): Likewise.
17193 (__ASSUME_LDT_WORKS): Likewise.
17194 (__ASSUME_O_DIRECTORY): Likewise.
17195 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17196 architecture but not kernel version.
17197 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17198 (__ASSUME_MMAP2_SYSCALL): Likewise.
17199 (__ASSUME_STAT64_SYSCALL): Likewise.
17200 (__ASSUME_IPC64): Likewise.
17201 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17202 <kernel-features.h>.
17203 [__ASSUME_32BITUIDS]: Make code unconditional.
17204 [!__ASSUME_32BITUIDS]: Remove conditional code.
17205 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17206 <kernel-features.h>.
17207 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17208 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17209 132096]: Remove conditional code.
17210 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17211 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17212 <kernel-features.h>.
17213 [__ASSUME_32BITUIDS]: Make code unconditional.
17214 [!__ASSUME_32BITUIDS]: Remove conditional code.
17215 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17216 <kernel-features.h>.
17217 [__ASSUME_32BITUIDS]: Make code unconditional.
17218 [!__ASSUME_32BITUIDS]: Remove conditional code.
17219 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17220 <kernel-features.h>.
17221 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17222 unconditional.
17223 (__setresgid): Do not declare.
17224 [__ASSUME_32BITUIDS]: Make code unconditional.
17225 [!__ASSUME_32BITUIDS]: Remove conditional code.
17226 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17227 <kernel-features.h>.
17228 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17229 unconditional.
17230 (__setresuid): Do not declare.
17231 [__ASSUME_32BITUIDS]: Make code unconditional.
17232 [!__ASSUME_32BITUIDS]: Remove conditional code.
17233 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17234 <kernel-features.h>.
17235 [__ASSUME_32BITUIDS]: Make code unconditional.
17236 [!__ASSUME_32BITUIDS]: Remove conditional code.
17237 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17238 <kernel-features.h>.
17239 [__ASSUME_32BITUIDS]: Make code unconditional.
17240 [!__ASSUME_32BITUIDS]: Remove conditional code.
17241
a386f1cc
RH
172422012-05-25 Richard Henderson <rth@twiddle.net>
17243
17244 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17245 dl_hwcap to ifunc resolver.
17246 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17247 elf_ifunc_invoke.
17248 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17249 dl_hwcap to ifunc resolver.
17250 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17251
b6550497
JM
172522012-05-24 Joseph Myers <joseph@codesourcery.com>
17253
17254 [BZ #14153]
17255 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17256 for |x| <= 2**-26, not 2**-57.
17257 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17258 exception.
17259
b0bc23a1
JL
172602012-05-24 Jeff Law <law@redhat.com>
17261
17262 * stdio-common/Makefile (tests): Add bug25.
17263 * stdio-common/bug25.c: New test.
17264
347c92e9
L
172652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17266
17267 [BZ #13576]
17268 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17269 multiple of MALLOC_ALIGNMENT in size.
17270 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17271
6bcc8b3f
JM
172722012-05-24 Joseph Myers <joseph@codesourcery.com>
17273
17274 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17275 Require >= 256.
17276 (FILENAME_MAX): Use macro-int-constant.
17277 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17278 (_IOFBF): Use macro-int-constant.
17279 (_IOLBF): Likewise.
17280 (_IONBF): Likewise.
17281 (SEEK_CUR): Likewise.
17282 (SEEK_END): Likewise.
17283 (SEEK_SET): Likewise.
17284 (TMP_MAX): Likewise.
17285 (EOF): Use macro-int-constant. Require < 0.
17286 (NULL): Use macro-constant. Require == 0.
17287 (stdin): Require type to be FILE *.
17288 (stdout): Likewise.
17289 (stderr): Likewise.
17290 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17291 macro-int-constant.
17292 (EXIT_SUCCESS): Likewise.
17293 (NULL): Use macro-constant. Require == 0.
17294 (RAND_MAX): Use macro-int-constant.
17295 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17296 [C99-based standards] (strtof): Require function.
17297 [C99-based standards] (strtold): Likewise.
17298 [C99-based standards] (strtoll): Likewise.
17299 [C99-based standards] (strtoull): Likewise.
17300 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17301 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17302 [ISO || ISO99 || ISO11] (math.h): Likewise.
17303 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17304 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17306
d18ea0c5
AS
173072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17308
17309 [BZ #14132]
56d25bb8
AS
17310 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17311 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17312 * intl/dgettext.c (DCGETTEXT): Likewise.
17313 * intl/gettext.c (DCGETTEXT): Likewise.
17314 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17315 * posix/regex_internal.h (gettext): Likewise.
17316 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17317 Remove declaration.
17318 * include/argz.h (__argz_count_internal)
17319 (__argz_stringify_internal): Remove declaration.
17320 (__argz_count, __argz_stringify): Declare hidden proto.
17321 * intl/dcgettext.c: Remove use of INTDEF.
17322 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17323 * string/argz-stringify.c: Likewise.
17324 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17325 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17326 Declare hidden proto.
d18ea0c5
AS
17327 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17328 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17329 Declare hidden proto.
17330 * include/stdio.h (__asprintf_internal): Don't declare.
17331 (__asprintf): Don't define as macro. Declare hidden proto.
17332 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17333 (__fsetlocking): Declare hidden proto.
17334 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17335 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17336 hidden proto.
17337 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17338 (_IO_setlinebuf): Remove use of INTUSE.
17339 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17340 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17341 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17342 Remove declaration.
17343 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17344 (_IO_do_flush): Remove use of INTUSE.
17345 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17346 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17347 (_IO_adjust_column, _IO_least_wmarker)
17348 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17349 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17350 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17351 (_IO_default_doallocate, _IO_wdefault_doallocate)
17352 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17353 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17354 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17355 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17356 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17357 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17358 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17359 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17360 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17361 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17362 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17363 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17364 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17365 proto.
17366 (_IO_flush_all_internal, _IO_adjust_column_internal)
17367 (_IO_default_uflow_internal, _IO_default_finish_internal)
17368 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17369 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17370 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17371 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17372 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17373 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17374 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17375 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17376 (_IO_file_close_internal, _IO_file_close_it_internal)
17377 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17378 (_IO_file_init_internal, _IO_file_attach_internal)
17379 (_IO_file_fopen_internal, _IO_file_read_internal)
17380 (_IO_file_sync_internal, _IO_file_seek_internal)
17381 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17382 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17383 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17384 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17385 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17386 (_IO_list_all_internal, _IO_link_in_internal)
17387 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17388 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17389 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17390 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17391 (_IO_do_write_internal, _IO_padn_internal)
17392 (_IO_getline_info_internal, _IO_getline_internal)
17393 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17394 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17395 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17396 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17397 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17398 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17399 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17400 with libc_hidden_ver, remove use of INTUSE.
17401 * libio/genops.c: Likewise.
17402 * libio/freopen.c: Likewise.
17403 * libio/freopen64.c: Likewise.
17404 * libio/iofclose.c: Likewise.
17405 * libio/iofdopen.c: Likewise.
17406 * libio/iofflush.c: Likewise.
17407 * libio/iofflush_u.c: Likewise.
17408 * libio/iofgets.c: Likewise.
17409 * libio/iofgets_u.c: Likewise.
17410 * libio/iofopen.c: Likewise.
17411 * libio/iofopncook.c: Likewise.
17412 * libio/iofread.c: Likewise.
17413 * libio/iofread_u.c: Likewise.
17414 * libio/ioftell.c: Likewise.
17415 * libio/iofwrite.c: Likewise.
17416 * libio/iogetline.c: Likewise.
17417 * libio/iogets.c: Likewise.
17418 * libio/iogetwline.c: Likewise.
17419 * libio/iopadn.c: Likewise.
17420 * libio/iopopen.c: Likewise.
17421 * libio/ioseekoff.c: Likewise.
17422 * libio/ioseekpos.c: Likewise.
17423 * libio/iosetbuffer.c: Likewise.
17424 * libio/iosetvbuf.c: Likewise.
17425 * libio/ioungetc.c: Likewise.
17426 * libio/ioungetwc.c: Likewise.
17427 * libio/iovdprintf.c: Likewise.
17428 * libio/iovsprintf.c: Likewise.
17429 * libio/iovsscanf.c: Likewise.
17430 * libio/memstream.c: Likewise.
17431 * libio/obprintf.c: Likewise.
17432 * libio/oldfileops.c: Likewise.
17433 * libio/oldiofclose.c: Likewise.
17434 * libio/oldiofdopen.c: Likewise.
17435 * libio/oldiofopen.c: Likewise.
17436 * libio/oldiopopen.c: Likewise.
17437 * libio/oldstdfiles.c: Likewise.
17438 * libio/putc.c: Likewise.
17439 * libio/setbuf.c: Likewise.
17440 * libio/setlinebuf.c: Likewise.
17441 * libio/stdfiles.c: Likewise.
17442 * libio/strops.c: Likewise.
17443 * libio/vasprintf.c: Likewise.
17444 * libio/vscanf.c: Likewise.
17445 * libio/vsnprintf.c: Likewise.
17446 * libio/vswprintf.c: Likewise.
17447 * libio/wfiledoalloc.c: Likewise.
17448 * libio/wfileops.c: Likewise.
17449 * libio/wgenops.c: Likewise.
17450 * libio/wmemstream.c: Likewise.
17451 * libio/wstrops.c: Likewise.
17452 * libio/__fpurge.c: Likewise.
17453 * libio/__fsetlocking.c: Likewise.
17454 * assert/assert.c: Likewise.
17455 * debug/fgets_chk.c: Likewise.
17456 * debug/fgets_u_chk.c: Likewise.
17457 * debug/fread_chk.c: Likewise.
17458 * debug/fread_u_chk.c: Likewise.
17459 * debug/gets_chk.c: Likewise.
17460 * debug/obprintf_chk.c: Likewise.
17461 * debug/vasprintf_chk.c: Likewise.
17462 * debug/vdprintf_chk.c: Likewise.
17463 * debug/vsnprintf_chk.c: Likewise.
17464 * debug/vsprintf_chk.c: Likewise.
17465 * malloc/mtrace.c: Likewise.
17466 * misc/error.c: Likewise.
17467 * misc/syslog.c: Likewise.
17468 * stdio-common/asprintf.c: Likewise.
17469 * stdio-common/fxprintf.c: Likewise.
17470 * stdio-common/getw.c: Likewise.
17471 * stdio-common/isoc99_fscanf.c: Likewise.
17472 * stdio-common/isoc99_scanf.c: Likewise.
17473 * stdio-common/isoc99_vfscanf.c: Likewise.
17474 * stdio-common/isoc99_vscanf.c: Likewise.
17475 * stdio-common/isoc99_vsscanf.c: Likewise.
17476 * stdio-common/printf-prs.c: Likewise.
17477 * stdio-common/printf_fp.c: Likewise.
17478 * stdio-common/printf_fphex.c: Likewise.
17479 * stdio-common/printf_size.c: Likewise.
17480 * stdio-common/putw.c: Likewise.
17481 * stdio-common/scanf.c: Likewise.
17482 * stdio-common/sprintf.c: Likewise.
17483 * stdio-common/tmpfile.c: Likewise.
17484 * stdio-common/vfprintf.c: Likewise.
17485 * stdio-common/vfscanf.c: Likewise.
17486 * stdlib/strfmon_l.c: Likewise.
17487 * sunrpc/openchild.c: Likewise.
17488 * sunrpc/xdr_stdio.c: Likewise.
17489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17490 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17491
d6c33fda
RM
174922012-05-24 Roland McGrath <roland@hack.frob.com>
17493
c1487492
RM
17494 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17495
17496 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17497 in the third column, to generate for the shared library an IFUNC
17498 that uses _dl_vdso_vsym.
17499 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17500 * Makeconfig (object-suffixes-noshared): New variable.
17501
17502 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17503 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17504 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17505 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17506
d6c33fda
RM
17507 [BZ #14132]
17508 * include/sys/time.h (__gettimeofday): Remove macro.
17509 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17510 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17511 Remove INTDEF.
17512 (__gettimeofday): Add libc_hidden_def.
17513 (gettimeofday): Add libc_hidden_weak.
17514 * sysdeps/mach/gettimeofday.c: Likewise.
17515 * sysdeps/posix/gettimeofday.c: Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17517 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17518 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17519 (__gettimeofday_internal): Remove strong_alias.
17520 (__gettimeofday): Add libc_hidden_def.
17521 (gettimeofday): Add libc_hidden_weak.
17522 * sysdeps/unix/syscalls.list (gettimeofday):
17523 Remove __gettimeofday_internal alias.
17524
b5a2bbe6
L
175252012-05-24 Daniel Jacobowitz <drow@false.org>
17526 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 [BZ #12495]
17529 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17530 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17531 (largebin_index_32_big): New.
17532 (largebin_index): Use it for 16-byte alignment.
17533 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17534 correction with front_misalign.
17535
cfba4fda
L
175362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17537
7f907421
L
17538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17540 Likewise.
17541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17542 Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17544 Likewise.
17545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17546 Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17548 Likewise.
17549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17550 Likewise.
17551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17552 Likewise.
17553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17554 Likewise.
17555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17556 Likewise.
17557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17558 Likewise.
17559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17560 Likewise.
17561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17562 Likewise.
17563
cfba4fda
L
17564 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17565 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17566
80bad0cc
JM
175672012-05-24 Joseph Myers <joseph@codesourcery.com>
17568
7a25eb06
JM
17569 [BZ #10846]
17570 [BZ #14036]
17571 * math/libm-test.inc (exp_test): Add test from bug 14036.
17572 (pow_test): Add test from bug 10846.
17573
795405f9
JM
17574 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17575 and other flags.
17576 (special_function): Do not include flags in test name.
17577 (parse_args): Likewise.
17578 * sysdeps/i386/fpu/libm-test-ulps: Update.
17579 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17580 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17581 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17583
80bad0cc
JM
17584 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17585 exceptions.
17586 * math/libm-test.inc ("Philosophy"): Update comment about
17587 exception testing.
17588 (UNDERFLOW_EXCEPTION): New macro.
17589 (UNDERFLOW_EXCEPTION_OK): Likewise.
17590 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17591 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17592 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17593 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17594 (INVALID_EXCEPTION_OK): Update value.
17595 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17596 (OVERFLOW_EXCEPTION_OK): Likewise.
17597 (IGNORE_ZERO_INF_SIGN): Likewise.
17598 (test_exceptions): Handle underflow exceptions.
17599 (acos_test): Update for underflow exception expectations.
17600 (cexp_test): Likewise.
17601 (clog_test): Likewise.
17602 (clog10_test): Likewise.
17603 (csqrt_test): Likewise.
17604 (ctan_test): Likewise.
17605 (ctanh_test): Likewise.
17606 (exp_test): Likewise.
17607 (exp10_test): Likewise.
17608 (exp2_test): Likewise.
17609 (expm1_test): Likewise.
17610 (fma_test): Likewise.
17611 (j0_test): Likewise.
17612 (jn_test): Likewise.
17613 (nexttoward_test): Likewise.
17614 (pow_test): Likewise.
17615 (scalbn_test): Likewise.
17616 (scalbln_test): Likewise.
17617 (tan_test): Likewise.
17618 (y1_test): Likewise.
17619 * sysdeps/i386/fpu/libm-test-ulps: Update.
17620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17621
9e0e3d0b
DM
176222012-05-23 David S. Miller <davem@davemloft.net>
17623
17624 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17625 (__libc_sigaction): Remove unused local variables.
17626
ccd0a08f
L
176272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17628
17629 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17630
62bdf9a6
PE
176312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17632
f8591f80
PE
17633 mktime: avoid signed integer overflow
17634 * time/mktime.c (__mktime_internal): Do not mishandle the case
17635 where diff == INT_MIN.
17636
94c7d826
PE
17637 mktime: simplify computation of average
17638 * time/mktime.c (ranged_convert): Use new time_t_avg function
17639 instead of rolling our own (probably-slower) code.
17640
ce73d683
PE
17641 mktime: do not assume signed right shift propagates sign bit
17642 * time/mktime.c (isdst_differ): New static function.
17643 (__mktime_internal): No need to normalize tm_isdst now.
17644 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17645 tm_isdst values.
17646
72a22e59
PE
17647 mktime: merge another wrapv change from gnulib
17648 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17649 from some compilers.
17650
68605433
PE
17651 mktime: remove incorrect attempt at unusual arithmetics
17652 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17653 The code didn't really work on such machines anyway.
17654 (TYPE_MINIMUM): Assume two's complement.
17655 (twos_complement_arithmetic): Verify that long_int and time_t
17656 are two's complement (or unsigned, in the latter case).
17657
03cf7fe3
PE
17658 mktime: check signed shifts on long_int and time_t, too
17659 * time/mktime.c (SHR): Check that shifts work as desired
17660 on the types long_int and time_t too, as SHR is used on
17661 such types.
17662
f04dfbc2
PE
17663 mktime: do not assume 'long' is wide enough
17664 * time/mktime.c (verify): Move decl up.
17665 (long_int): New type.
17666 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17667 to remove assumption in the code that 'long' is wide enough to
17668 store year values. This assumption is not true on x32 and on
17669 some non-glibc platforms.
17670
62bdf9a6
PE
17671 mktime: merge wrapv change from gnulib
17672 * time/mktime.c (WRAPV): New macro.
17673 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17674 (guess_time_tm, __mktime_internal): Do not assume that signed
17675 integer overflow wraps around; modern compilers generate code
17676 where this assumption is no longer valid.
17677
5e292e4f
L
176782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17679
17680 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17681 Replace "jmp L(pseudo_end)" with "ret".
17682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17683 Likewise.
17684
8caf8c87
AJ
176852012-05-23 Andreas Jaeger <aj@suse.de>
17686
17687 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17688 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17689
1a09dc56
AJ
176902012-05-23 Andreas Jaeger <aj@suse.de>
17691 Maximilian Attems <max@stro.at>
17692
17693 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17694 New macros.
17695
1c87aba0
L
176962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17697
17698 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17699 code so that pseudo_end is just ret and the stack pointer is
17700 correct also for static library in error case.
17701
40e45bd5
JM
177022012-05-23 Joseph Myers <joseph@codesourcery.com>
17703
c2670533
JM
17704 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17705 move to syscalls.list.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17710
40e45bd5
JM
17711 * manual/install.texi (Running make install): Do not mention Linux
17712 kernel version for which pt_chown is not needed.
17713 (Linux): Do not mention problems with nscd with 2.0 kernels.
17714 * INSTALL: Regenerated.
17715
be08eda5
AJ
177162012-05-23 Andreas Jaeger <aj@suse.de>
17717
17718 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17719 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17720 macro.
17721 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17722 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17723 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17724 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17725 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17726 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17728 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17730 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17731 * sysdeps/unix/sysv/linux/bits/in.h
17732 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17733
a6a056bb
RM
177342012-05-22 Roland McGrath <roland@hack.frob.com>
17735
17736 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17737 (PREPARE_VERSION): Just use assert instead, it will be elided
17738 under [NDEBUG] anyway.
17739
c9009328
L
177402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17741
17742 * sysdeps/unix/sysv/linux/Makefile: Include
17743 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17744 (sysdep_routines): Remove sysctl.
c9009328
L
17745 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17746 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17747 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17749 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17750
73338355
AJ
177512012-05-22 Andreas Jaeger <aj@suse.de>
17752
17753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17754 that pseudo_end is just ret and the stack pointer is correct also
17755 for static library in error case.
17756
d44638b0
PP
177572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17758
17759 [BZ #14122]
17760 * nss/nsswitch.c (defconfig_entries): New variable.
17761 (__nss_database_lookup): Don't leak defconfig entries.
17762 (nss_parse_service_list): Don't leak on error paths.
17763 (free_database_entries): New function.
17764 (free_defconfig): New function.
17765 (free_mem): Move common code to free_database_entries.
17766
31a39bd8
L
177672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17768
da0331a8
L
17769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17770 Add arch_prctl.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17772
31a39bd8
L
17773 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17774 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17776 New macro.
17777 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17778 (INTERNAL_SYSCALL_TYPES): Likewise.
17779 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17780 (LOAD_REGS_TYPES_[1-6]): Likewise.
17781 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17782 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17783
45470df3
AZ
177842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17785
17786 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17787 copysignl for GLIBC_2_0.
17788 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17789 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17791 logbl for GLIBC_2_0.
17792 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17793 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17794
98a61bcb
L
177952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17796
a4f6e481
L
17797 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17798 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17799
f63d5db6
L
17800 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17801 Use "neg %eax".
17802
98a61bcb
L
17803 * time/mktime.c: Update copyright years.
17804
95770f14
PE
178052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17806
6226efbd
PE
17807 mktime: merge comment-quoting-style change from gnulib
17808 * time/mktime.c: Quote 'like this' in comments.
17809 The GNU coding standards suggest that we no longer quote `like this',
17810 as "`" and "'" are typically rendered asymmetrically nowadays.
17811 The typical gnulib style is to quote 'like this' when quoting
17812 code, and "like this" when quoting English.
17813
b99e4f78
PE
17814 * time/mktime.c (compile-command): Add "-I.".
17815
643e01e6
PE
17816 mktime: merge mktime-internal.h change from gnulib
17817 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17818
2554247d
PE
17819 mktime: merge time_r change from gnulib
17820 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17821
826dd0ab
PE
17822 mktime: merge DEBUG change from gnulib
17823 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17824 case system <time.h> has a #define.
17825
bd83aabe
PE
17826 mktime: merge <sys/types.h> change from gnulib
17827 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17828 since <time.t> is now guaranteed to define time_t.
17829
95770f14
PE
17830 mktime: merge HAVE_CONFIG_H change from gnulib
17831 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17832
5e1a27a9
L
178332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17834
0e44a77e
L
17835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17836 Use "neg %eax".
17837
5e1a27a9
L
17838 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17839 __rlim_t cast.
17840 (struct rusage): Use anonymous union to pad each field to
17841 __syscall_slong_t.
17842
46259bec
DM
178432012-05-21 David S. Miller <davem@davemloft.net>
17844
17845 * Makefules (o-iterator): Remove .s cases.
17846 (compile-command.s): Delete.
17847 (COMPILE.s): Delete.
17848 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17849
59f0c22e
JM
178502012-05-21 Joseph Myers <joseph@codesourcery.com>
17851
17852 * configure.in (libc_cv_predef_stack_protector): Only consider
17853 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17854 * configure: Regenerated.
17855
20c07380
L
178562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17857
bbb3154b
L
17858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17859 New macro. Use R*LP on int and pointer.
17860 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17861 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17863 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17864
20c07380
L
17865 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17866 [__WORDSIZE_TIME64_COMPAT32] instead of
17867 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17868 (struct utmp): Likewise.
17869 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17870 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17871 Renamed to ...
17872 (__WORDSIZE_TIME64_COMPAT32): This.
17873 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17874 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17875 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17877 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17878 (__WORDSIZE_TIME64_COMPAT32): New macro.
17879
d8d1017e
AJ
178802012-05-21 Andreas Jaeger <aj@suse.de>
17881
17882 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17883 only if [SHARED]. Add prototype for __wcschr_ia32.
17884
6c7fb145
RM
178852012-05-21 Roland McGrath <roland@hack.frob.com>
17886
17887 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17888 of %rbp unmolested in the jmp_buf while mangling the low bits.
17889 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17890 unmolested high bits of %rbp while demangling the low bits.
17891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17892
66274218
AJ
178932012-05-21 Andreas Jaeger <aj@suse.de>
17894
07c58f8f
AJ
17895 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17896 * sunrpc/svc_simple.c: Use it for registerrpc.
17897 * sunrpc/xcrypt.c: Use it for passwd2des.
17898
66274218
AJ
17899 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17900
61f65140
L
179012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17902
17903 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17904 Don't define if [__SYSCALL_WORDSIZE != 32].
17905 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17906 New macro.
17907
5fefb436
AJ
179082012-05-21 Bruno Haible <bruno@clisp.org>
17909 Andreas Jaeger <aj@suse.de>
17910
17911 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17912 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17913 inptr and inend for must_buffer_ch.
17914 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17915 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17916 * stdio-common/Makefile (tests): Remove bug15.
17917 (bug15-ENV): Remove macro.
17918 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17919 anymore.
17920
d8e272ab
AJ
179212012-05-19 Andreas Jaeger <aj@suse.de>
17922 Roland McGrath <roland@hack.frob.com>
17923
17924 * manual/contrib.texi: Completely rewritten. It contains now an
17925 alphabetical list of contributors and their contributions.
17926
4a56a162
RH
179272012-05-21 Richard Henderson <rth@twiddle.net>
17928
17929 * misc/getauxval.c (__getauxval): Use unsigned long int.
17930 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17931 (getauxval): Use unsigned long int.
17932
d024d23c
L
179332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17936
cbc00a03
RM
179372012-05-21 Roland McGrath <roland@hack.frob.com>
17938
17939 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17940 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17941 __alignof__ (long double).
17942
478143fa
AZ
179432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17944
17945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17946
c7683a6d
RH
179472012-05-20 Richard Henderson <rth@twiddle.net>
17948
17949 * misc/getauxval.c: New file.
17950 * misc/sys/auxv.h: New file.
17951 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17952 (routines): Add getauxval.
17953 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17954 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17955 * elf/dl-sysdep.c (_dl_auxv): Remove.
17956 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17957 * elf/dl-support.c (_dl_auxv): New variable.
17958 (_dl_aux_init): Initialize it.
17959 * manual/startup.texi (Auxiliary Vector): New node.
17960 * sysdeps/generic/bits/hwcap.h: New file.
17961 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17962 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17963 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17964 * sysdeps/sparc/sysdep.h: ... here. Include it.
17965 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17968 Update.
c7683a6d
RH
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17977
a6f1845d
AZ
179782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17979
17980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17981
cbcbe830
DM
179822012-05-19 David S. Miller <davem@davemloft.net>
17983
17984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17985
e0b16cc2
JM
179862012-05-19 Joseph Myers <joseph@codesourcery.com>
17987
17988 [BZ #14123]
17989 * math/s_ccosh.c: Include <float.h>
17990 (__ccosh): Avoid internal overflow calculating sinh and cosh
17991 values before multiplying by sin and cos values.
17992 * math/s_ccoshf.c: Likewise.
17993 * math/s_ccoshl.c: Likewise.
17994 * math/s_csin.c: Likewise.
17995 * math/s_csinf.c: Likewise.
17996 * math/s_csinl.c: Likewise.
17997 * math/s_csinh.c: Likewise.
17998 * math/s_csinhf.c: Likewise.
17999 * math/s_csinhl.c: Likewise.
18000 * math/libm-test.inc (ccos_test): Add more tests.
18001 (ccosh_test): Likewise.
18002 (csin_test): Likewise.
18003 (csinh_test): Likewise.
18004 * sysdeps/i386/fpu/libm-test-ulps: Update.
18005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006
6ad13e08
L
180072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18008
f66f0ce8
L
18009 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18010 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18011
6ad13e08
L
18012 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18013
b1d072a7
JM
180142012-05-19 Joseph Myers <joseph@codesourcery.com>
18015
18016 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18017 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18018 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18019 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18020 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18021 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18022 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18023 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18024 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18025 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18026 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18027 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18028 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18029 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18030 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18031 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18032 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18033 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18034 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18035 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18036 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18037 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18038 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18039 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18040 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18041 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18042 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18043 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18044 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18045 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18046 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18047
9eae47cb
AJ
180482012-05-18 Andreas Jaeger <aj@suse.de>
18049
18050 * csu/.gitignore: Delete.
18051
bb07f69f
L
180522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18055 (timex): Use __syscall_slong_t.
18056
e6bdb741
AJ
180572012-05-18 Andreas Jaeger <aj@suse.de>
18058 Carlos O'Donell <carlos_odonell@mentor.com>
18059
18060 * manual/install.texi (Configuring and compiling): Update
18061 description about files modified in the source directory.
d6c33fda 18062 * INSTALL: Regenerated.
e6bdb741 18063
1b74487e
L
180642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18065
18066 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18067 value. Use "or" to set return value to -1.
18068 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18069 negate return value.
18070
a88b64b9
TMQMF
180712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18072
18073 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18074 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18075 failure if the compiler has Graphite support disabled.
18076 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18077 Likewise.
18078 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18079 CFLAGS-memmove.c): Likewise.
18080 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18081 Likewise.
18082
3707636e
L
180832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18084
610b8622
L
18085 * sysdeps/x86_64/x32/_itoa.h: New file.
18086
7cd195df
L
18087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18088 getdents system call only if kernel and user dirents have the
18089 same d_ino and d_off.
18090
94b07d20
L
18091 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18092 LLONG_MAX != LONG_MAX.
18093 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18094 (_fitoa_word): Likewise.
18095
18298070
L
18096 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18097 years.
18098 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18099 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18101
553c7ea4
L
18102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18103 include <bits/wordsize.h>. Check __x86_64__ instead of
18104 __WORDSIZE.
18105 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18106 if __x86_64__ is defined. Use anonymous union on fpstate.
18107
3707636e
L
18108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18109 anonymous union.
18110
b53ef01a
AS
181112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18112
37fb1dc0
AS
18113 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18114 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18115 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18116 Refer to _rtld_local_ro instead of _rtld_global_ro.
18117 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18118 Likewise.
18119 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18120 Likewise.
18121 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18122 Likewise.
18123 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18124 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18125 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18126
b53ef01a
AS
18127 * sysdeps/powerpc/powerpc32/dl-machine.c
18128 (__elf_machine_runtime_setup) [PROF]: Don't reference
18129 _dl_prof_resolve.
18130
7a185db2
AJ
181312012-05-18 Andreas Jaeger <aj@suse.de>
18132
18133 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18134 function only available for GCCs before 3.4 since GCC 3.4
18135 introduced a builtin.
18136 (lrint): Likewise.
18137 (llrintf): Likewise.
18138 (llrint): Likewise.
18139 (fmaxf): Likewise.
18140 (fmax): Likewise.
18141 (fminf): Likewise.
18142 (fmin): Likewise.
18143 (rint): Likewise.
18144 (rintf): Likewise.
18145 (nearbyint): Likewise.
18146 (nearbyintf): Likewise.
18147 (ceil): Likewise.
18148 (ceilf): Likewise.
18149 (floor): Likewise.
18150 (floorf): Likewise.
18151
3e5aef87
L
181522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18153
428bd707
L
18154 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18155 on both fields and cast pointer to __syscall_ulong_t.
18156
3e5aef87
L
18157 * bits/types.h (__fsword_t): New type.
18158 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18159 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18161 (__FSWORD_T_TYPE): Likewise.
18162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18163 (__FSWORD_T_TYPE): Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18165 (__FSWORD_T_TYPE): Likewise.
18166 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18167 (__FSWORD_T_TYPE): Likewise.
18168 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18169 __SWORD_TYPE with __fsword_t.
18170 (statfs64): Likewise.
18171
1ba7c3dc
DM
181722012-05-17 David S. Miller <davem@davemloft.net>
18173
18174 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18175
59910343
AJ
181762012-05-17 Andreas Jaeger <aj@suse.de>
18177
18178 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18179 warning.
18180
2e4c1e9e
L
181812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18182
18183 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18184
de7f5ce7
AJ
181852012-05-17 Andreas Jaeger <aj@suse.de>
18186
18187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18188 when it is used.
18189
286abc3d
CM
181902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18191
18192 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18193
477cc68e
L
181942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18195
18196 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18197 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18198
1a0994f5
CD
181992012-05-17 Andreas Jaeger <aj@suse.de>
18200 Carlos O'Donell <carlos_odonell@mentor.com>
18201
18202 [BZ #14059]
18203 * sysdeps/x86_64/multiarch/init-arch.h
18204 (bit_YMM_Usable): Rename to...
18205 (bit_AVX_Usable): ... this.
18206 (bit_FMA4_Usable): New macro.
18207 (bit_XMM_state): New macro.
18208 (bit_YMM_state): New macro.
18209 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18210 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18211 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18212 (CPUID_OSXSAVE): New macro.
18213 (CPUID_AVX): New macro.
18214 (CPUID_FMA4): New macro.
18215 (index_YMM_Usable): Rename to...
18216 (index_AVX_Usable): ... this.
18217 (HAS_AVX): Use HAS_ARCH_FEATURE.
18218 (HAS_FMA4): Likewise.
18219 (HAS_YMM_USABLE): Remove.
18220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18221 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18222 are present.
18223 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18224 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18225 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18226 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18227 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18228
0af797de
CM
182292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18230
18231 * math/libm-test.c: Support platforms without multiple rounding modes.
18232 * math/bug-nextafter.c: Support platforms without FP exceptions.
18233 * math/bug-nexttoward.c: Likewise.
18234 * math/test-fenv.c: Likewise.
18235 * math/test-misc.c: Likewise.
18236 * stdlib/bug-getcontext.c: Likewise.
18237
e39745ff
AJ
182382012-05-17 Andreas Jaeger <aj@suse.de>
18239
18240 * manual/examples/search.c (critter_cmp): Change signature to
18241 avoid warnings.
18242 * manual/string.texi (Collation Functions): Likewise.
18243
48970aba
L
182442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 * bits/types.h: Fold copyright years.
18247 * bits/typesizes.h: Likewise.
18248 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18252 * time/time.h: Likewise.
18253
bedee953
PP
182542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18255
18256 [BZ #208]
18257 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18258 in instead of returning them. Return void.
18259 (__libc_mallinfo): Accumulate over all arenas.
18260 (__malloc_stats): Adjust for change in int_mallinfo interface.
18261
61653dfb
RM
182622012-05-16 Roland McGrath <roland@hack.frob.com>
18263
30b99d79
RM
18264 [BZ #10375]
18265 * configure.in (NM): Add AC_CHECK_TOOL for it.
18266 (libc_extra_cflags): New substituted variable.
18267 Check for -fstack-protector being used implicitly.
18268 * configure: Regenerated.
18269 * config.make.in (config-extra-cflags): New variable,
18270 gets @libc_extra_cflags@.
18271 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18272
61653dfb
RM
18273 [BZ #10375]
18274 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18275 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18276 * configure: Regenerated.
18277 * config.make.in (CPPUNDEFS): New substituted variable.
18278 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18279 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18280 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18281
661768bb
L
182822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18283
18284 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18285 (mq_attr): Use __syscall_slong_t.
18286
d4261567
L
182872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18290 Check __x86_64__ instead of __WORDSIZE.
18291 (_STAT_VER_LINUX): Likewise.
18292 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18293 __syscall_ulong_t and __syscall_slong_t.
18294 (stat64): Likewise.
18295
cf3ff365
L
182962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18297
18298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18299
76cf3e4d
L
183002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18303
a637753a
L
183042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18307 __syscall_ulong_t.
18308
d5e05119
L
18309 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18310 include <bits/wordsize.h>. Check __x86_64__ instead of
18311 __WORDSIZE.
18312 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18313 defined.
18314 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18315
f62ee380
L
18316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18317 include <bits/wordsize.h>. Check __x86_64__ instead of
18318 __WORDSIZE.
18319 (user_regs_struct): Use "__extension__ unsigned long long"
18320 instead of "unsigned long" if __x86_64__ is defined.
18321 (user): Likewise. Pad after pointer field if __ILP32__ is
18322 defined.
18323
4e124ced
JM
183242012-05-16 Joseph Myers <joseph@codesourcery.com>
18325
6a3951a0
JM
18326 * configure.in (makeinfo): Require version 4.5 or later. Allow
18327 versions 5 to 9.
18328 * configure: Regenerated.
18329 * manual/install.texi (texinfo): Increase version requirement to
18330 4.5 or later.
18331 * INSTALL: Regenerated.
18332
4e124ced
JM
18333 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18334
953ca31a
L
183352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18338
617aca05
L
18339 * sysdeps/x86_64/x32/ffs.c: New file.
18340
5762f7ae
L
18341 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18342 __syscall_ulong_t.
18343 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18344 defined. Use __syscall_ulong_t.
18345 (shminfo): Use __syscall_ulong_t.
18346 (shm_info): Likewise.
18347
a26b6856
L
18348 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18349 __syscall_ulong_t.
18350
cb2b9ef7
L
18351 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18352 <bits/wordsize.h>.
18353 (msgqnum_t): Use __syscall_ulong_t.
18354 (msglen_t): Likewise.
18355 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18356 __syscall_ulong_t.
18357
34683bb0
L
18358 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18359 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18360
84a68786
L
18361 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18362
48baa5f1
L
18363 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18364 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18365
180be88b
L
18366 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18367 __syscall_slong_t.
18368
5e90c8ad
L
18369 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18370 include <bits/wordsize.h>. Check __x86_64__ instead of
18371 __WORDSIZE.
18372
23dfb58b
L
18373 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18374 "unsigned long long int" if __x86_64__ is defined.
18375 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18376
ce5d54b0
L
18377 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18379 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18380
13dc9eac
L
18381 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18382 <stdint.h>.
18383 (GET_PC): Cast to uintptr_t first.
18384 (GET_FRAME): Likewise.
18385 (GET_STACK): Likewise.
18386
a7895d15
L
18387 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18389 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18393 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18394 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18395 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18396 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18398 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18400 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18402 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18403 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18404 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18406 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18408 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18410 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18412 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18416
656416c9
AS
184172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18418
5bd66283
AS
18419 * Makerules (+depfiles): Also collect depfiles from .oS in
18420 $(extra-objs).
18421 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18422 .oS, $(libnldbl-routines)).
18423
656416c9
AS
18424 * Makerules (native-compile-mkdep-flags): Define.
18425 * sunrpc/Makefile (extra-objs): Add $(addprefix
18426 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18427 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18428 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18429 calling $(make-target-directory).
18430
a46f2169
L
184312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 * bits/types.h (__snseconds_t): Removed.
18434 * time/time.h (struct timespec): Replace __snseconds_t with
18435 __syscall_slong_t.
18436 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18437 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18438 Likewise.
18439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18440 (__SNSECONDS_T_TYPE): Likewise.
18441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18442 (__SNSECONDS_T_TYPE): Likewise.
18443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18444 (__SNSECONDS_T_TYPE): Likewise.
18445
6af6528b
L
184462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18447
18448 * sysdeps/mach/hurd/bits/typesizes.h
18449 (__SYSCALL_SLONG_TYPE): New macro.
18450 (__SYSCALL_ULONG_TYPE): Likewise.
18451
de986b56
L
184522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18453
18454 * bits/types.h (__syscall_slong_t): New type.
18455 (__syscall_ulong_t): Likewise.
18456
18457 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18458 (__SYSCALL_ULONG_TYPE): Likewise.
18459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18460 (__SYSCALL_SLONG_TYPE): Likewise.
18461 (__SYSCALL_ULONG_TYPE): Likewise.
18462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18463 (__SYSCALL_SLONG_TYPE): Likewise.
18464 (__SYSCALL_ULONG_TYPE): Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18466 (__SYSCALL_SLONG_TYPE): Likewise.
18467 (__SYSCALL_ULONG_TYPE): Likewise.
18468
85736dc7
L
184692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18470
18471 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18472 Add sigaltstack-offsets.sym.
18473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18474 <sigaltstack-offsets.h>.
18475 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18476 longjmp_msg pointer.
18477 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18478 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18479 signal stack.
18480 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18481
cc03b296
JM
184822012-05-15 Joseph Myers <joseph@codesourcery.com>
18483
a9538892
JM
18484 * elf/stackguard-macros.h: Remove file.
18485 * sysdeps/generic/stackguard-macros.h: New file.
18486 * sysdeps/i386/stackguard-macros.h: Likewise.
18487 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18488 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18489 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18490 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18491 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18492 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18493 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18494 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18495 <elf/stackguard-macros.h>.
18496
cc03b296
JM
18497 [BZ #14109]
18498 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18499 __aligned__ in attribute.
18500 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18501 (gregset_t): Likewise.
18502
93171016
L
185032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18504
18505 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18506 * sysdeps/x86_64/64/Implies-after: Here. New file.
18507 * sysdeps/x86_64/x32/Implies-after: New file.
18508
d86813a0
L
185092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18510
18511 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18512 and access return value for _dl_profile_fixup. Use R10_LP to
18513 load frame size.
18514
2953ec75
L
185152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18516
18517 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18518
3b550e9e
L
185192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18522 * sysdeps/x86_64/x32/sysdep.h: New file.
18523
eda41706
L
185242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18525
18526 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18527 * sysdeps/x86_64/setjmp.S: Likewise.
18528
9ea01d93
AZ
185292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18530
18531 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18533 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18534 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18535 remove unused global constant.
18536
02a91938
CM
185372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18538
18539 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18540 include of <not-cancel.h>.
18541
6540185f
RM
185422012-05-15 Roland McGrath <roland@hack.frob.com>
18543
18544 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18545
509072a0
AJ
185462012-05-15 Jeff Law <law@redhat.com>
18547 Andreas Jaeger <aj@suse.de>
18548
18549 [BZ #13594]
18550 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18551 out from...
18552 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18553 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18554 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18555 code changing __hst_map_handle.map.
18556
ba75122d
RM
185572012-05-15 Roland McGrath <roland@hack.frob.com>
18558
18559 * configure.in (sysnames): Look for Implies-before and Implies-after
18560 files.
18561 * configure: Regenerated.
18562
890d8bd8
L
185632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18564
18565 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18566 8-byte data alignment with LP_SIZE alignment.
18567
f6ee6623
L
185682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18571 into R10_LP.
18572
ea2626f6
L
185732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18574
18575 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18576
085f715e
L
185772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18578
18579 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18582 Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18584
be8498fc
L
185852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18586
18587 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18588 (stackinfo_sub_sp): Likewise.
18589
70bc83b9
L
185902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18591
18592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18593 RAX_LP.
18594
9bc0b730
L
185952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18596
18597 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18598 into R*_LP.
18599
6d2850e7
L
186002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18601
18602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18603 sizes into R*_LP.
18604
3cb84561
L
186052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18608
54e2ed81
L
186092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18610
18611 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18612 into R11_LP and load __x86_64_shared_cache_size_half into
18613 R8_LP.
18614
8a17f349
L
186152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18618 R8_LP.
18619
777b1eea
AZ
186202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18621
18622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18623 logb for POWER7.
18624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18625 logbf for POWER7.
18626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18627 logbl for POWER7.
18628 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18629 powerpc32/power7/fpu/s_logb.c via #include.
18630 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18631 powerpc32/power7/fpu/s_logbf.c via #include.
18632 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18633 powerpc32/power7/fpu/s_logbl.c via #include.
18634
d20d4ac2
JM
186352012-05-15 Joseph Myers <joseph@codesourcery.com>
18636
18637 * README.libm: Remove file.
18638
6cdef1ab
L
186392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18640
18641 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18642 count for x32. Use R*_LP and omit operand-size suffix.
18643
0b254d8f
L
186442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18645
18646 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18647 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18648 * sysdeps/x86_64/x32/shlib-versions: New file.
18649
ceb809dc
RM
186502012-05-14 Roland McGrath <roland@hack.frob.com>
18651
18652 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18653 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18654 Use _dl_fatal_printf instead.
18655
37f1abd4
JM
186562012-05-14 Joseph Myers <joseph@codesourcery.com>
18657
18658 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18659 set if not set by the user. Do not allow for being unset.
18660 * sysdeps/unix/sysv/linux/configure: Regenerated.
18661
11de3a33
L
186622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18663
18664 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18665 the `q' suffix from lea and replace .quad with ASM_ADDR.
18666
e02f153a
L
186672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18670 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18671 instead of $17.
18672 (PTR_DEMANGLE): Likewise.
18673
520ae0fd
L
186742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18675
18676 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18677 (LP_OP): Likewise.
18678 (ASM_ADDR): Likewise.
18679 (RAX_LP): Likewise.
18680 (RBP_LP): Likewise.
18681 (RBX_LP): Likewise.
18682 (RCX_LP): Likewise.
18683 (RDI_LP): Likewise.
18684 (RSI_LP): Likewise.
18685 (RSP_LP): Likewise.
18686 (R8_LP): Likewise.
18687 (R9_LP): Likewise.
18688 (R10_LP): Likewise.
18689 (R10_LP): Likewise.
18690 (R11_LP): Likewise.
18691 (R12_LP): Likewise.
18692 (R13_LP): Likewise.
18693 (R14_LP): Likewise.
18694 (R15_LP): Likewise.
18695
b985be81
L
186962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18697
18698 * sysdeps/x86_64/x32/dl-machine.h: New file.
18699
6a4888ff
AJ
187002012-05-14 Andreas Jaeger <aj@suse.de>
18701
18702 * manual/Makefile (subdir): Remove export of subdir.
18703 (all): Remove target.
18704 (.PHONY): Remove all from list.
18705 (mkinstalldirs): Remove.
18706 (.PHONY): Remove installdirs from list.
18707 ($(inst_infodir)/libc.info): Use make-target-directory.
18708 (installdirs): Remove.
18709 (subdir_%): Remove.
18710 (glibc-targets): Remove.
18711 (lib): Remove.
18712 (stubs): Remove.
18713 ($(objpfx)stubs ../po/manual.pot): Remove.
18714 ($(objpfx)stamp%): Remove.
18715 (make-target-directory): Remove.
18716 (subdir_install): Remove.
18717 (routines): Remove.
18718 (aux): Remove.
18719 (sources): Remove.
18720 (objects): Remove.
18721 (headers): Remove.
18722
18723 [BZ #13750]
18724 * manual/.gitignore: Remove, it's not needed anymore.
18725 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18726 all files in it.
18727 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18728 directory.
18729 (texis): Renamed to $(objpfx)texis.
18730 (texis-path): New, contains path to generated files.
18731 (chapters.%): Use texis-path for complete path, add extra argument
18732 libc-texinfo.sh.
18733 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18734 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18735 (summary,texi, stamp-summary): Use complete path of
18736 files. Generate files in build dir.
18737 (dir-add.texi): Build in build dir.
18738 (libm-err.texi,stamp-libm-err): Likewise.
18739 (version.texi, stamp-version): Likewise.
18740 (.%c.texi): Likewise.
18741 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18742 (mostlyclean): Remove target.
18743 (realclean): Remove target.
18744 (generated): Add new variable with contents from mostlyclean and
18745 realclean, remove entries duplicated in common-mostlyclean, add
18746 stamp-libm-err and stamp-version.
18747 (generated-dirs): Add libc directory.
18748 ($(inst_infodir)/libc.info): Install files from build dir.
18749
18750 * manual/install.texi (Configuring and compiling): Adjust since
18751 the info files are not part of the tar ball anymore.
18752
7ac77294
AJ
187532012-05-14 Andreas Jaeger <aj@suse.de>
18754
18755 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18756 variable.
18757
ffb7875d
JM
187582012-05-14 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #13717]
18761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18762 to 2.2.0 where earlier.
18763 * sysdeps/unix/sysv/linux/configure: Regenerated.
18764 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18765 Remove conditional code.
18766 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18767 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18768 Remove conditional code.
18769 [!__NR_lchown]: Likewise.
18770 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18771 [__NR_lchown]: Likewise.
18772 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18773 comment referencing __ASSUME_LCHOWN_SYSCALL.
18774 * sysdeps/unix/sysv/linux/i386/sigaction.c
18775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18777 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18778 Remove conditional code.
18779 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18780 (__protocol_available): Remove #if 0 code.
18781 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18782 conditional code.
18783 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18784 * sysdeps/unix/sysv/linux/kernel-features.h
18785 (__ASSUME_GETCWD_SYSCALL): Don't define.
18786 (__ASSUME_REALTIME_SIGNALS): Likewise.
18787 (__ASSUME_PREAD_SYSCALL): Likewise.
18788 (__ASSUME_PWRITE_SYSCALL): Likewise.
18789 (__ASSUME_POLL_SYSCALL): Likewise.
18790 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18791 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18792 non-SPARC.
18793 (__ASSUME_SIOCGIFNAME): Don't define.
18794 (__ASSUME_MSG_NOSIGNAL): Likewise.
18795 (__ASSUME_SENDFILE): Define unconditionally.
18796 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18797 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18798 conditional code.
18799 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18800 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18801 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18802 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18803 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18804 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18805 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18807 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18810 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18813 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18819 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18822 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18825 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18826 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18828 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18830 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18831 Remove conditional code.
18832 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18833 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18834 Remove conditional code.
18835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18836 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18837 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18838 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18839 Remove conditional code.
18840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18841 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18842 Remove conditional code.
18843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18844 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18845 Remove conditional code.
18846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18847 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18848 Remove conditional code.
18849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18850 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18851 Remove conditional code.
18852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18853 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18856 * sysdeps/unix/sysv/linux/sigaction.c
18857 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18858 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18859 * sysdeps/unix/sysv/linux/sigpending.c
18860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18862 * sysdeps/unix/sysv/linux/sigprocmask.c
18863 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18864 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18865 * sysdeps/unix/sysv/linux/sigsuspend.c
18866 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18867 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18868 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18869 (__libc_missing_rt_sigs): Remove.
18870 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18871 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18872 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18873 Remove conditional code.
18874 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18876 return 1.
18877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18878 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18879 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18880 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18881
1bfb7291
AJ
188822012-05-14 Andreas Jaeger <aj@suse.de>
18883
caae5a81
AJ
18884 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18885 it's not used in glibc.
18886 (__coshm1): Likewise.
18887 (__acosh1p): Likewise.
18888 (__sgn): Likewise.
18889
1bfb7291
AJ
18890 * manual/string.texi (Copying and Concatenation): Add missing
18891 variable in concat example.
18892 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18893
c044d724
L
188942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18895
144c5467 18896 [BZ #14103]
c044d724
L
18897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18898 __builtin_clzl with __builtin_clzll.
18899
2523c62b
L
189002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 [BZ #14104]
18903 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18904 libc_freeres_ptr.
18905
d7bb4c42
LD
189062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18907
18908 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18909 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18910 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18911 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18912
9dc4e1fb
MF
189132012-05-14 Mike Frysinger <vapier@gentoo.org>
18914
18915 * NEWS: Update ia64 info.
18916
c7df0112
AS
189172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18918
18919 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18920 used as bcopy.
18921
dc70356c
TS
189222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18923
18924 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18925 * sysdeps/unix/syscalls.list (dup3): Likewise.
18926 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18927 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18928
9fb1a21f
L
189292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18930
18931 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18932 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18933
4822a2a5
L
189342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18935
18936 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18937 thread pointer.
18938 (TLS_IE): Use mov/add instead of movq/addq to load thread
18939 pointer.
18940 (TLS_GD_PREFIX): New.
18941 (TLS_GD): Use it.
18942
842b81d6
DM
189432012-05-11 David S. Miller <davem@davemloft.net>
18944
18945 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18946 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18947 (_FPU_SETCW): Likewise.
18948
1cf463cd
L
189492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18950
18951 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18952 is 32-byte aligned.
18953
60cc4a18
AS
189542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18955
18956 [BZ #11837]
18957 * iconvdata/gb18030.c: Update tables.
18958 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18959 characters specially.
18960 (BODY for TO_LOOP): Add encoding of missing ranges.
18961
febb44a4
TS
189622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18963
18964 [BZ #13673]
18965 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18966 * sysdeps/mach/hurd/dup3.c: Likewise.
18967 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18968 * sysdeps/powerpc/memmove.c:: Likewise.
18969
0a10fb9e
L
189702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18971
18972 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18973 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18974
df8a552f
L
189752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * elf/elf.h (R_X86_64_RELATIVE64): New.
18978 (R_X86_64_NUM): Updated.
18979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18980 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18981 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18982 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18983 tst-quad1pie tst-quad2pie
18984 (modules-names): Add tst-quadmod1 tst-quadmod2.
18985 ($(objpfx)tst-quad1): New dependency.
18986 ($(objpfx)tst-quad2): Likewise.
18987 ($(objpfx)tst-quad1pie): Likewise.
18988 ($(objpfx)tst-quad2pie): Likewise.
18989 * sysdeps/x86_64/tst-quad1.c: New file.
18990 * sysdeps/x86_64/tst-quad1pie.c: New file.
18991 * sysdeps/x86_64/tst-quad2.c: Likewise.
18992 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18993 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18994 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18995 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18996 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18997
f34d6f84
ST
189982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18999
f42d41d1
ST
19000 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19001 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19002 * streams/stropts.h (t_scalar_t): Define type.
19003
3c3571fc
ST
19004 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19005 (_PATH_PRESERVE): Set to "/var/lib".
19006 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19007
61f06bd3
ST
19008 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19009 instead of int.
19010
918d4d71
ST
19011 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19012 if __dir_mkfile succeeded.
19013
f34d6f84
ST
19014 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19015 checking for _hurd_dtablesize. Unlock it right after having
19016 finished _hurd_dtable allocation.
19017
10589b4a
TS
190182012-05-10 Thomas Schwinge <thomas@schwinge.name>
19019
674cdbc7
TS
19020 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19021 * sysdeps/mach/hurd/configure: Regenerated.
19022 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19023 special-casing to...
19024 * sysdeps/gnu/configure.in: ... this new file.
19025 * sysdeps/unix/sysv/linux/configure: Regenerated.
19026 * sysdeps/gnu/configure: New generated file.
19027
8e41b99f
TS
19028 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19029 for Linux: use nsec instead of usec, as well as:
19030 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19031 members of type struct timespec.
19032 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19033 New macros.
19034 (struct stat64): Likewise.
19035 (_STATBUF_ST_NSEC): New macro.
19036 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19037
10589b4a
TS
19038 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19039 __strtoul_internal rather than strtoul.
19040
63643c85
PT
190412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19042
19043 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19044 and reject them.
19045
3faebe6a
ST
190462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047
19048 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19049 which preserves existing values.
19050 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19051
c6474b07
PT
190522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19053
19054 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19055 TIMEOUT values. Return EINVAL for NFDS values either negative or
19056 greater than FD_SETSIZE.
19057
1043890b
ST
190582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19059
19060 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19061 allocated, call __vm_protect to finish enabling the existing space, and
19062 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19063 allocate the remainder.
19064
37ed8b9b
PT
190652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19066
19067 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19068 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19069
db653660
ST
190702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19071
37ed8b9b
PT
19072 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19073 sysdeps/mach/hurd/readlink.c.
b29d4053 19074
db653660
ST
19075 * posix/tst-sysconf.c (posix_options): Only use
19076 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19077 _POSIX_SYNCHRONIZED_IO when they are defined
19078 * sysdeps/mach/hurd/bits/posix_opt.h:
19079 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19080 (_XOPEN_REALTIME): Undefine macro.
19081 (_XOPEN_REALTIME_THREADS): Undefine macro.
19082 (_XOPEN_SHM): Undefine macro.
19083 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19084 macro to -1.
19085 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19086 macro to -1.
19087 (_POSIX_ASYNC_IO): Undefine macro.
19088 (_POSIX_PRIORITIZED_IO): Undefine macro.
19089 (_POSIX_SPIN_LOCKS): Define macro to -1.
19090
ee16e894
ST
19091 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19092 SA_NODEFER, SA_RESETHAND.
19093 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19094 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19095 F_DUPFD_CLOEXEC.
19096
6103ae3b
TS
190972012-05-10 Thomas Schwinge <thomas@schwinge.name>
19098
19099 * elf/Makefile (pldd-modules): Define unconditionally.
19100
80b4e5f3
TS
191012012-05-10 Thomas Schwinge <thomas@schwinge.name>
19102
19103 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19104
edadcbd6
ST
191052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19106
19107 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19108 Return ENOENT when name is empty.
19109 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19110
80694780
TS
191112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19112
1792c087
TS
19113 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19114
80694780
TS
19115 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19116
6b645f0d
ST
191172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19118
80694780
TS
19119 Fix mlock in all cases except non-readable pages.
19120 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19121 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19122
6b645f0d
ST
19123 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19124 (__mkdir): When path is `/', just fail with EEXIST.
19125 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19126
e468f8a3
TS
191272012-05-10 Thomas Schwinge <thomas@schwinge.name>
19128
19129 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19130 <sys/uio.h> (for writev).
19131 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19132 and <sys/param.h> (for MIN).
19133
a4186cff
PT
191342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19135
19136 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19137 REQUESTED_TIME. Properly set the remaining time and return EINTR
19138 if interrupted.
19139
510bbf14
TS
191402012-05-10 Thomas Schwinge <thomas@schwinge.name>
19141
19142 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19143 Depend on against $(link-rpcuserlibs).
19144
5d5722e8
ST
191452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19146
a4186cff
PT
19147 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19148 (__libc_stack_end): Do not use attribute_relro.
19149 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19150 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19151 to libthread-provided value.
a4186cff
PT
19152 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19153 attribute_relro.
5d5722e8 19154
37233df9
TS
191552012-05-10 Thomas Schwinge <thomas@schwinge.name>
19156
be971a2b
TS
19157 [BZ #3748]
19158 * bits/libc-lock.h (__libc_once_get): New macro.
19159 * sysdeps/mach/bits/libc-lock.h: Likewise.
19160 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19162 instead of using implementation details.
19163
37233df9
TS
19164 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19165 * libio/freopen.c: Likewise.
19166 * libio/freopen64.c: Likewise.
19167 * misc/syslog.c: Likewise.
19168 * nscd/connections.c: Likewise.
19169 * nscd/netgroupcache.c: Likewise.
19170 * sysdeps/posix/getcwd.c: Likewise.
19171
38de94a5
RM
191722012-05-10 Roland McGrath <roland@hack.frob.com>
19173
19174 * math/w_ilogbf.c: Add #include <limits.h>.
19175
67530489
ST
191762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19177
a4186cff 19178 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19179 path instead of returning without unlocking.
19180
67530489
ST
19181 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19182 immediate-write ioctls.
19183 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19184
5aa3a74a
TS
191852012-05-10 Thomas Schwinge <thomas@schwinge.name>
19186
18bad2ae
TS
19187 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19188 __builtin_frame_address instead of making assumptions about the
19189 location of the return address relative to DATA. Force early load of
19190 the return address.
19191 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19192 __builtin_frame_address.
19193
5aa3a74a
TS
19194 dup3 for GNU Hurd.
19195 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19196 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19197 implement dup3 and do some further code clean-ups.
19198 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19199 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19200
ecd0de9a
ST
192012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19202
cd9fa985
ST
19203 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19204
a4186cff
PT
19205 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19206 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19207 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19208 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19209 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19210 d->port.lock.
802ca5a5 19211
a4186cff
PT
19212 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19213 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19214 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19215
bcf55240
TS
192162012-05-10 Thomas Schwinge <thomas@schwinge.name>
19217
6960eb42
TS
19218 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19219 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19220 definitions.
19221
eb43375f
TS
19222 accept4 for GNU Hurd.
19223 * include/sys/socket.h (__libc_accept4): New prototype.
19224 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19225 to implement __libc_accept4.
19226 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19227 __libc_accept4.
19228 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19229
bcf55240
TS
19230 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19231 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19232 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19233 signal-defines.sym.
19234
6178c55b
ST
192352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19236
a4186cff 19237 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19238
6f080c2f
TS
192392012-05-10 Thomas Schwinge <thomas@schwinge.name>
19240
19241 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19242 assertion on O_CLOEXEC flag.
19243 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19244 * hurd/intern-fd.c: Likewise.
19245 * hurd/port2fd.c: Likewise.
19246
bcfe3a54
ST
192472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19248
19249 [BZ #3906]
19250 * bits/in.h (IPV6_PKTINFO): Define new macro.
19251 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19252
89c9aa49
AZ
192532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19254
19255 [BZ #13954]
19256 [BZ #13955]
19257 [BZ #13956]
19258 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19260 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19261 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19263 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19264 * math/libm-test.inc (logb_test) : Additional logb tests.
19265
021db4be
AJ
192662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19267 Andreas Jaeger <aj@suse.de>
19268
19269 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19270 * configure: Regenerated.
19271 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19272 * config.make.in (link-obsolete-rpc): New substituted variable.
19273 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19274 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19275 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19276 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19277 so that libc.a contains the symbols.
19278 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19279 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19280 * sunrpc/auth_none.c: Likewise.
19281 * sunrpc/auth_unix.c: Likewise.
19282 * sunrpc/authdes_prot.c: Likewise.
19283 * sunrpc/authuxprot.c: Likewise.
19284 * sunrpc/clnt_gen.c: Likewise.
19285 * sunrpc/clnt_perr.c: Likewise.
19286 * sunrpc/clnt_raw.c: Likewise.
19287 * sunrpc/clnt_simp.c: Likewise.
19288 * sunrpc/clnt_tcp.c: Likewise.
19289 * sunrpc/clnt_udp.c: Likewise.
19290 * sunrpc/clnt_unix.c: Likewise.
19291 * sunrpc/des_crypt.c: Likewise.
19292 * sunrpc/des_soft.c: Likewise.
19293 * sunrpc/get_myaddr.c: Likewise.
19294 * sunrpc/key_call.c: Likewise.
19295 * sunrpc/key_prot.c: Likewise.
19296 * sunrpc/netname.c: Likewise.
19297 * sunrpc/pm_getmaps.c: Likewise.
19298 * sunrpc/pm_getport.c: Likewise.
19299 * sunrpc/pmap_clnt.c: Likewise.
19300 * sunrpc/pmap_prot.c: Likewise.
19301 * sunrpc/pmap_prot2.c: Likewise.
19302 * sunrpc/pmap_rmt.c: Likewise.
19303 * sunrpc/publickey.c: Likewise.
19304 * sunrpc/rpc_cmsg.c: Likewise.
19305 * sunrpc/rpc_common.c: Likewise.
19306 * sunrpc/rpc_dtable.c: Likewise.
19307 * sunrpc/rpc_prot.c: Likewise.
19308 * sunrpc/rpc_thread.c: Likewise.
19309 * sunrpc/rtime.c: Likewise.
19310 * sunrpc/svc.c: Likewise.
19311 * sunrpc/svc_auth.c: Likewise.
19312 * sunrpc/svc_raw.c: Likewise.
19313 * sunrpc/svc_run.c: Likewise.
19314 * sunrpc/svc_tcp.c: Likewise.
19315 * sunrpc/svc_udp.c: Likewise.
19316 * sunrpc/svc_unix.c: Likewise.
19317 * sunrpc/svcauth_des.c: Likewise.
19318 * sunrpc/xcrypt.c: Likewise.
19319 * sunrpc/xdr.c: Likewise.
19320 * sunrpc/xdr_array.c: Likewise.
19321 * sunrpc/xdr_float.c: Likewise.
19322 * sunrpc/xdr_intXX_t.c: Likewise.
19323 * sunrpc/xdr_mem.c: Likewise.
19324 * sunrpc/xdr_rec.c: Likewise.
19325 * sunrpc/xdr_ref.c: Likewise.
19326 * sunrpc/xdr_sizeof.c: Likewise.
19327 * sunrpc/xdr_stdio.c: Likewise.
19328
b5c086a2
RM
193292012-05-10 Roland McGrath <roland@hack.frob.com>
19330
19331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19332 change. Update copyright years.
19333
6d74dd09
JM
193342012-05-10 Joseph Myers <joseph@codesourcery.com>
19335
19336 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19337
28e72501
MK
193382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19339 Joseph Myers <joseph@codesourcery.com>
19340 Paul Pluzhnikov <ppluzhnikov@google.com>
19341
19342 [BZ #14012]
19343 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19344 requiring rpcgen.
19345 [cross-compiling] (extra-libs): Likewise.
19346 [cross-compiling] (extra-libs-others): Likewise.
19347 [cross-compiling] (librpcsvc-routines): Likewise.
19348 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19349 [cross-compiling] (omit-deps): Likewise.
19350 (sunrpc-CPPFLAGS): New variable.
19351 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19352 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19353 (cross-rpcgen-objs): New variable.
19354 (extra-objs): Append $(cross-rpcgen-objs).
19355 ($(cross-rpcgen-objs)): New rule.
19356 ($(objpfx)cross-rpcgen): Likewise.
19357 (rpcgen-cmd): Define to use $(built-program-file). Expand
19358 comment.
19359 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19360 ($(objpfx)x%.stmp): Likewise.
19361 * sunrpc/proto.h [IS_IN_build] (_): Define.
19362 [IS_IN_build] (_libc_intl_domainname): Likewise.
19363
c8c59454
L
193642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19367 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19368 and R_X86_64_TPOFF64.
19369
6f27cd16
JM
193702012-05-10 Joseph Myers <joseph@codesourcery.com>
19371
19372 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19373 sysdeps/unix/sysv/syscalls.list.
19374 (stime): Likewise.
19375 (utime): Likewise.
19376 * sysdeps/unix/sysv/syscalls.list: Remove file.
19377
02467e1c
PE
193782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19379
19380 [BZ #3440]
19381 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19382 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19383 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19384 (__LC_IDENTIFICATION): Make these macros useful in #if
19385 expressions, as required by C99.
19386
da392631
AS
193872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19388
19389 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19390 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19391 after this.
19392
8115f29b
L
193932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19394
19395 * stdlib/longlong.h: Updated from GCC.
19396
bdd74070
AJ
193972012-05-09 Andreas Jaeger <aj@suse.de>
19398
edfe0dbe
AJ
19399 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19400 default is first entry.
19401 (run_mode): Set type.
19402 (main): Remove informal message about syslog.
19403 (options): Fix typo.
19404
bcfe3a54
ST
19405 [BZ #14053]
19406 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19407 to asm.
bcfe3a54
ST
19408 (lrint): Likewise.
19409 (llrintf): Likewise.
19410 (llrint): Likewise.
19411 (rint): Likewise.
19412 (rintf): Likewise.
19413 (nearbyint): Likewise.
19414 (nearbyintf): Likewise.
bdd74070 19415
91d8d69e
AJ
194162012-05-09 Andreas Jaeger <aj@suse.de>
19417 Pedro Alves <palves@redhat.com>
19418
19419 * nscd/nscd.c (run_mode): Use enum.
19420 (main): Cleanup coding style issue.
19421
bb90b80b
AJ
194222012-05-09 Alexandre Oliva <aoliva@redhat.com>
19423 Andreas Jaeger <aj@suse.de>
19424
bcfe3a54
ST
19425 * nscd/nscd.c (go_background): Replaced with...
19426 (run_mode): ... this.
bb90b80b 19427 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19428 (options): Add -F --foreground.
19429 (main): Implement it.
19430 (parse_opt): Parse it.
bb90b80b 19431
1a4b75a1
AJ
194322012-05-09 Andreas Jaeger <aj@suse.de>
19433
19434 [BZ #14083]
19435 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19436 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19437 -Wconversion warning.
19438 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19439 Likewise.
19440
b1cc2472
JM
194412012-05-09 Joseph Myers <joseph@codesourcery.com>
19442
19443 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19444 == 0.
19445 (LC_ALL): Use macro-int-constant.
19446 (LC_COLLATE): Likewise.
19447 (LC_CTYPE): Likewise.
19448 (LC_MESSAGES): Likewise.
19449 (LC_MONETARY): Likewise.
19450 (LC_NUMERIC): Likewise.
19451 (LC_TIME): Likewise.
19452 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19453 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19455 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19456 Specify type.
19457 [C99-based standards] (float_t): Expect type.
19458 [C99-based standards] (double_t): Expect type.
19459 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19460 type.
19461 [C99-based standards] (HUGE_VALL): Likewise.
19462 [C99-based standards] (INFINITY): Likewise.
19463 [C99-based standards] (NAN): Likewise.
19464 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19465 [C99-based standards] (FP_NAN): Likewise.
19466 [C99-based standards] (FP_NORMAL): Likewise.
19467 [C99-based standards] (FP_SUBNORMAL): Likewise.
19468 [C99-based standards] (FP_ZERO): Likewise.
19469 [C99-based standards] (FP_FAST_FMA): Use
19470 optional-macro-int-constant. Specify type. Require == 1.
19471 [C99-based standards] (FP_FAST_FMAF): Likewise.
19472 [C99-based standards] (FP_FAST_FMAL): Likewise.
19473 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19474 [C99-based standards] (FP_ILOGBNAN): Likewise.
19475 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19476 Specify type.
19477 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19478 [C99-based standards] (math_errhandling): Specify type.
19479 [ISO99 || ISO11] (signgam): Do not allow.
19480 [non-C99-based standards] (copysignf): Do not allow.
19481 [non-C99-based standards] (exp2f): Likewise.
19482 [non-C99-based standards] (log2f): Likewise.
19483 [non-C99-based standards] (modff): Allow.
19484 [non-C99-based standards] (erff): Do not allow.
19485 [non-C99-based standards] (erfcf): Likewise.
19486 [non-C99-based standards] (gammaf): Likewise.
19487 [non-C99-based standards] (hypotf): Likewise.
19488 [non-C99-based standards] (j0f): Likewise.
19489 [non-C99-based standards] (j1f): Likewise.
19490 [non-C99-based standards] (jnf): Likewise.
19491 [non-C99-based standards] (lgammaf): Likewise.
19492 [non-C99-based standards] (tgammaf): Likewise.
19493 [non-C99-based standards] (y0f): Likewise.
19494 [non-C99-based standards] (y1f): Likewise.
19495 [non-C99-based standards] (ynf): Likewise.
19496 [non-C99-based standards] (isnanf): Likewise.
19497 [non-C99-based standards] (acoshf): Likewise.
19498 [non-C99-based standards] (asinhf): Likewise.
19499 [non-C99-based standards] (atanhf): Likewise.
19500 [non-C99-based standards] (cbrtf): Likewise.
19501 [non-C99-based standards] (expm1f): Likewise.
19502 [non-C99-based standards] (ilogbf): Likewise.
19503 [non-C99-based standards] (log1pf): Likewise.
19504 [non-C99-based standards] (logbf): Likewise.
19505 [non-C99-based standards] (nextafterf): Likewise.
19506 [non-C99-based standards] (remainderf): Likewise.
19507 [non-C99-based standards] (rintf): Likewise.
19508 [non-C99-based standards] (scalbf): Likewise.
19509 [non-C99-based standards] (copysignl): Likewise.
19510 [non-C99-based standards] (exp2l): Likewise.
19511 [non-C99-based standards] (log2l): Likewise.
19512 [non-C99-based standards] (modfl): Allow.
19513 [non-C99-based standards] (erfl): Do not allow.
19514 [non-C99-based standards] (erfcl): Likewise.
19515 [non-C99-based standards] (gammal): Likewise.
19516 [non-C99-based standards] (hypotl): Likewise.
19517 [non-C99-based standards] (j0l): Likewise.
19518 [non-C99-based standards] (j1l): Likewise.
19519 [non-C99-based standards] (jnl): Likewise.
19520 [non-C99-based standards] (lgammal): Likewise.
19521 [non-C99-based standards] (tgammal): Likewise.
19522 [non-C99-based standards] (y0l): Likewise.
19523 [non-C99-based standards] (y1l): Likewise.
19524 [non-C99-based standards] (ynl): Likewise.
19525 [non-C99-based standards] (isnanl): Likewise.
19526 [non-C99-based standards] (acoshl): Likewise.
19527 [non-C99-based standards] (asinhl): Likewise.
19528 [non-C99-based standards] (atanhl): Likewise.
19529 [non-C99-based standards] (cbrtl): Likewise.
19530 [non-C99-based standards] (expm1l): Likewise.
19531 [non-C99-based standards] (ilogbl): Likewise.
19532 [non-C99-based standards] (log1pl): Likewise.
19533 [non-C99-based standards] (logbl): Likewise.
19534 [non-C99-based standards] (nextafterl): Likewise.
19535 [non-C99-based standards] (remainderl): Likewise.
19536 [non-C99-based standards] (rintl): Likewise.
19537 [non-C99-based standards] (scalbl): Likewise.
19538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19539 [non-C99-based standards] (FP_*): Do not allow.
19540 [C99-based standards] (FP_*): Change to
19541 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19542 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19543 allow.
19544 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19545 (SIG_ERR): Likewise.
19546 [X/Open-based standards] (SIG_HOLD): Likewise.
19547 (SIG_IGN): Likewise.
19548 (SIGABRT): Use macro-int-constant. Specify type. Require
19549 positive value.
19550 (SIGFPE): Likewise.
19551 (SIGILL): Likewise.
19552 (SIGINT): Likewise.
19553 (SIGSEGV): Likewise.
19554 (SIGTER): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19573 [X/Open-based standards] (SIGTRAP): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19578 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19579 allow.
19580
b9f1922d
IW
195812012-05-08 Ian Wienand <ianw@vmware.com>
19582
19583 [BZ #14080]
19584 * time/tzset.c (__tzset_parse_tz): Update default rules for
19585 daylight time changes in the Energy Policy Act of 2005.
19586
1db86e88
AJ
195872012-05-09 Andreas Jaeger <aj@suse.de>
19588
19589 [BZ #13983]
19590 * elf/ldconfig.c (parse_conf): Change string to make clear that
19591 ldconfig only issued a warning if ld.so.conf does not exist.
19592
dee4a4e3
DM
195932012-05-08 David S. Miller <davem@davemloft.net>
19594
ee0db190
DM
19595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19596 movxtod instead of popping the value on the stack.
19597
dee4a4e3
DM
19598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19599
6a43ec98
CD
196002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19601
19602 * config.h.in: Add HAVE_ARM_PCS_VFP.
19603
05c2c961
RMG
196042012-05-08 Roland Mc Grath <roland@hack.frob.com>
19605
bcfe3a54
ST
19606 [BZ #13979]
19607 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19608 checking but the checks are disabled for any reason.
05c2c961 19609
4b30f61a
L
196102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19613 and ELF64_R_TYPE with ELFW(R_TYPE).
19614
eee2bc67
JM
196152012-05-08 Joseph Myers <joseph@codesourcery.com>
19616
7ea5391a
JM
19617 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19618 (ulimit): Likewise.
19619
eee2bc67
JM
19620 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19621 (settimeofday): Likewise.
19622
abb66a67
MF
196232012-05-08 Mike Frysinger <vapier@gentoo.org>
19624
19625 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19626 a struct th_u2 inside the union, and move tu_block/tu_code into
19627 a new th_u3 union of tu_block/tu_code inside of that. Move
19628 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19629 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19630 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19631 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19632 (th_stuff): Change to th_u1.tu_stuff.
19633 (th_data): Define.
19634 (th_msg): Change to th_u1.th_u2.tu_data.
19635
7f18b530
DM
196362012-05-07 David S. Miller <davem@davemloft.net>
19637
05760585
DM
19638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19639
7f18b530
DM
19640 [BZ #14074]
19641 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19642 (SETUP_PIC_REG): Use it.
19643 (SETUP_PIC_REG_LEAF): Use it.
19644
495fd99f
JM
196452012-05-07 Joseph Myers <joseph@codesourcery.com>
19646
19647 [BZ #13885]
19648 [BZ #13923]
19649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19650 USE_AS_EXPM1L.
19651 (EXPL_FINITE): Likewise.
19652 (FLDLOG): Likewise.
19653 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19654 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19655 e_expl.S.
19656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19657 USE_AS_EXPM1L.
19658 (EXPL_FINITE): Likewise.
19659 (FLDLOG): Likewise.
19660 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19661 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19662 e_expl.S.
19663 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19664 test of -max_value argument for long double.
19665 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
6693d694
DM
196682012-05-06 David S. Miller <davem@davemloft.net>
19669
19670 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19671 quad soft-float symbols whose references which are compiler
19672 generated.
19673 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19674
6c23e11c
JM
196752012-05-06 Joseph Myers <joseph@codesourcery.com>
19676
d8b82cad
JM
19677 [BZ #13884]
19678 [BZ #13914]
19679 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19680 USE_AS_EXP10L.
19681 (EXPL_FINITE): Likewise.
19682 (FLDLOG): Likewise.
19683 (c0): Likewise.
19684 (c1): Likewise.
19685 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19686 Adjust comments for base varying.
19687 (__expl_finite): Change alias to EXPL_FINITE.
19688 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19689 e_expl.S.
19690 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19691 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19692 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19693 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19694 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19695 USE_AS_EXP10L.
19696 (EXPL_FINITE): Likewise.
19697 (FLDLOG): Likewise.
19698 (c0): Likewise.
19699 (c1): Likewise.
19700 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19701 Adjust comments for base varying.
19702 (__expl_finite): Change alias to EXPL_FINITE.
19703 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19704 tests for bugs.
19705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19706
6c23e11c
JM
19707 [BZ #14064]
19708 * math/libm-test.inc (check_float_internal): Correct ulp
19709 calculation for subnormal expected results.
19710
29ba805c
AJ
197112012-05-06 Andreas Jaeger <aj@suse.de>
19712
19713 * Makeconfig (+math-flags): New, set to -frounding-math.
19714 (+cflags): Add +math-flags so that all of glibc gets compiled with
19715 it.
19716
19717 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19718
7b17aeda
JM
197192012-05-05 Joseph Myers <joseph@codesourcery.com>
19720
5779f134
JM
19721 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19722 Disable one test.
19723
41498f4d
JM
19724 [BZ #13787]
19725 [BZ #13922]
19726 [BZ #14036]
19727 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19728 (__ieee754_expl): Allow for and saturate large arguments.
19729 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19730 (u_threshold): Likewise.
19731 (__exp): Call __ieee754_exp before checking for overflow and
19732 underflow.
19733 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19734 (u_threshold): Likewise.
19735 (__expf): Call __ieee754_expf before checking for overflow and
19736 underflow.
19737 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19738 (u_threshold): Likewise.
19739 (__expl): Call __ieee754_expl before checking for overflow and
19740 underflow.
19741 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19742 (__ieee754_expl): Allow for and saturate large arguments.
19743 * math/libm-test.inc (exp_test): Add another test. Do not allow
19744 missing overflow exception on overflow.
19745 (expm1_test): Do not allow missing overflow exception on overflow.
19746
6698b8bf
JM
19747 * sysdeps/i386/fpu/e_expl.c: Move to ...
19748 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19749 rather than using inline asm.
19750 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19751 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19752 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19753
7b17aeda
JM
19754 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19755 (nice): Likewise.
19756 (poll): Likewise.
19757 (signal): Likewise.
19758 (time): Likewise.
19759 (times): Likewise.
19760
f7c85819
JM
197612012-05-04 Joseph Myers <joseph@codesourcery.com>
19762
19763 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19764 sysdeps/unix/common/syscalls.list.
19765 (fchmod): Likewise.
19766 (fchown): Likewise.
19767 (ftruncate): Likewise.
19768 (getrusage): Likewise.
19769 (gettimeofday): Likewise.
19770 (setpgid): Likewise.
19771 (setregid): Likewise.
19772 (setreuid): Likewise.
19773 (sigaction): Likewise.
19774 (truncate): Likewise.
19775 (vhangup): Likewise.
19776 * sysdeps/unix/common/syscalls.list: Remove file.
19777 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19778 * sysdeps/unix/sysv/linux/Implies: Likewise.
19779
336270d0
L
197802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19781
19782 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19784 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19785 Moved to ...
19786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19787 Here.
19788 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19789 to ...
19790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19791 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19792 to ...
19793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19795 to ...
19796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19797 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19798 to ...
19799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19800 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19801 to ...
19802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19803 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19804 to ...
19805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19806 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19807 to ...
19808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19809 Here.
19810 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19811 to ...
19812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19813 Here.
19814 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19815 to ...
19816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19817 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19818 Moved to ...
19819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19820 Here.
19821 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19822 to ...
19823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19824
d128e450
JM
198252012-05-04 Joseph Myers <joseph@codesourcery.com>
19826
fa8ee516
JM
19827 * sysdeps/unix/common/bits/dirent.h: Remove file.
19828 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19829
d128e450
JM
19830 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19831 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19832 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19833 * sysdeps/unix/bsd/isatty.c: Likewise.
19834 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19835 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19836 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19837
ff8faaf0 198382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19839
62881be4 19840 [BZ #13563]
31dc8730
AZ
19841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19842 long double comparison inaccuracies.
19843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19845
6fef930c
AS
198462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19847
19848 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19850
8f203e6c
JM
198512012-05-04 Joseph Myers <joseph@codesourcery.com>
19852
19853 [BZ #14049]
19854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19855 nonzero digits before rounding a hex value.
19856 * stdlib/tst-strtod.c (tests): Add another test.
19857
5197d9c2
AK
198582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19859
19860 * sysdeps/s390/fpu/libm-test-ulps: Update.
19861
f0c1dedf
AJ
198622012-05-03 Andreas Jaeger <aj@suse.de>
19863
19864 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19865 does not get optimized out.
19866 (malloc_opt_barrier): New.
19867
a65ef2ae 198682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19869 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19870
2b942cb7 19871 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19872 intermediate file deletion.
2b942cb7 19873 (generated): Add .symlist files.
a65ef2ae 19874
54b71e02
JM
198752012-05-03 Joseph Myers <joseph@codesourcery.com>
19876
19877 [BZ #13775]
19878 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19879 Redirect under this condition.
19880 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19881 [__USE_GNU] (__dprintf_chk): Not under this condition.
19882 [__USE_GNU] (__vdprintf_chk): Likewise.
19883 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19884 under this condition.
19885 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19886 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19887 [__USE_XOPEN2K8] (vdprintf): Likewise.
19888 [__USE_GNU] (__dprintf_chk): Not under this condition.
19889 [__USE_GNU] (__vdprintf_chk): Likewise.
19890 [__USE_GNU] (dprintf): Likewise.
19891 [__USE_GNU] (vdprintf): Likewise.
19892
d3dfcc41
RM
198932012-05-03 Roland McGrath <roland@hack.frob.com>
19894
19895 * elf/Makefile (common-generated): Set this instead of generated for
19896 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19897 $(all-built-dso)-derived lists.
19898
7ac30cc5
AJ
198992012-05-03 Andreas Jaeger <aj@suse.de>
19900
0c51e550
AJ
19901 * sysdeps/i386/fpu/libm-test-ulps: Update.
19902
7ac30cc5
AJ
19903 * FAQ: Removed.
19904 * FAQ.in: Likewise.
19905 * scripts/gen-FAQ.pl: Likewise.
19906 * manual/install.texi (Installation): Point to online location of
19907 FAQ.
19908 * Makefile (files-for-dist): Remove FAQ.
19909 (FAQ): Remove.
19910
d4c2917f
AM
199112012-05-02 Allan McRae <allan@archlinux.org>
19912
19913 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19914 (LDFLAGS-reldepmod5.so): Likewise.
19915 (LDFLAGS-reldep6mod1.so): Likewise.
19916 (LDFLAGS-reldep6mod4.so): Likewise.
19917 (LDFLAGS-reldep8mod3.so): Likewise.
19918 (LDFLAGS-unload4mod1.so): Likewise.
19919 (LDFLAGS-unload4mod2.so): Likewise.
19920 (LDFLAGS-tst-initorder): Likewise.
19921 (LDFLAGS-tst-initordera2.so): Likewise.
19922 (LDFLAGS-tst-initordera3.so): Likewise.
19923 (LDFLAGS-tst-initordera4.so): Likewise.
19924 (LDFLAGS-tst-initorderb2.so): Likewise.
19925 (LDFLAGS-noload): Likewise.
19926 (LDFLAGS-next): Likewise.
19927 (LDFLAGS-order2mod1.so): Likewise.
19928 (LDFLAGS-order2mod2.so): Likewise.
19929 (LDFLAGS-tst-initorder2): Likewise.
19930 (LDFLAGS-tst-initorder2a.so): Likewise.
19931 (LDFLAGS-tst-initorder2b.so): Likewise.
19932 (LDFLAGS-tst-initorder2c.so): Likewise.
19933 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19934
d77f993f
DM
199352012-05-02 David S. Miller <davem@davemloft.net>
19936
19937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19938
171a70b4
PP
199392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19940
19941 [BZ #14055]
19942 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19943
0be196ad
AJ
199442012-05-02 Andreas Jaeger <aj@suse.de>
19945
19946 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19947 since we manipulate rounding mode.
19948 (CPPFLAGS-test-idouble.c): Likewise.
19949 (CPPFLAGS-test-ifloat.c): Likewise.
19950 (CFLAGS-test-ldouble.c): Likewise.
19951 (CFLAGS-test-double.c): Likewise.
19952 (CFLAGS-test-float.c): Likewise.
19953 (CFLAGS-test-misc.c): Likewise.
19954 (CFLAGS-test-test-fenv.c): Likewise.
19955
4f9d04aa
AZ
199562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19957
2b942cb7
RM
19958 [BZ #2550]
19959 [BZ #2570]
19960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19961 comparisons to determine direction to adjust input.
4f9d04aa 19962
82a79e7d
RM
199632012-05-01 Roland McGrath <roland@hack.frob.com>
19964
f5a01ca9
RM
19965 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19966 output to the target.
19967
90fe4186
RM
19968 * scripts/localplt.awk: New file.
19969 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19970 (check-localplt-CFLAGS): Variable removed.
19971 ($(all-built-dso:=.jmprel)): New static pattern rule.
19972 (generated): Add those targets.
19973 (localplt-built-dso): New variable.
19974 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19975
19976 * elf/check-localplt.c: File removed.
19977
82397ed6
RM
19978 * scripts/check-execstack.awk: New file.
19979 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19980 (check-execstack-CFLAGS): Variable removed.
19981 ($(objpfx)check-execstack.h): Target removed.
19982 ($(objpfx)execstack-default): New target.
19983 (generated): Add that instead of check-execstack.h.
19984 ($(all-built-dso:=.phdr)): New static pattern rule.
19985 (generated): Add those targets.
19986 * elf/check-execstack.c: File removed.
19987
82a79e7d
RM
19988 * scripts/check-textrel.awk: New file.
19989 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19990 (check-textrel-CFLAGS): Variable removed.
19991 (all-built-dso): Use := to define.o
19992 ($(all-built-dso:=.dyn)): New static pattern rule.
19993 (generated): Add those targets.
19994 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19995 * config.make.in (READELF): New substituted variable.
19996 * elf/check-textrel.c: File removed.
19997
62fde54f 199982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19999
615605c9
JM
20000 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20001 allow.
20002 * conform/data/ctype.h-data [C99-based standards] (isblank):
20003 Expect function.
20004 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20005 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20007 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20008 Specify type. Require positive value.
20009 (EILSEQ): Likewise.
20010 (ERANGE): Likewise.
20011 [ISO || POSIX] (EILSEQ): Do not expect.
20012 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20013 Specify type. Require positive value.
20014 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20088 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20089 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20090 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20091 Require >= 2.
20092 (FLT_ROUNDS): Expect as macro, not constant.
20093 (FLT_MANT_DIG): Use macro-int-constant.
20094 (DBL_MANT_DIG): Likewise.
20095 (LDBL_MANT_DIG): Likewise.
20096 (FLT_DIG): Likewise.
20097 (DBL_DIG): Likewise.
20098 (LDBL_DIG): Likewise.
20099 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20100 (DBL_MIN_EXP): Likewise.
20101 (LDBL_MIN_EXP): Likewise.
20102 (FLT_MAX_EXP): Use macro-int-constant.
20103 (DBL_MAX_EXP): Likewise.
20104 (LDBL_MAX_EXP): Likewise.
20105 (FLT_MAX_10_EXP): Likewise.
20106 (DBL_MAX_10_EXP): Likewise.
20107 (LDBL_MAX_10_EXP): Likewise.
20108 (FLT_MAX): Use macro-constant.
20109 (DBL_MAX): Likewise.
20110 (LDBL_MAX): Likewise.
20111 (FLT_EPSILON): Use macro-constant. Give upper bound.
20112 (DBL_EPSILON): Likewise.
20113 (LDBL_EPSILON): Likewise.
20114 (FLT_MIN): Likewise.
20115 (DBL_MIN): Likewise.
20116 (LDBL_MIN): Likewise.
20117 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20118 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20119 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20120 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20121 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20122 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20123 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20124 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20125 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20126 [ISO11] (FLT_TRUE_MIN): Likewise.
20127 [ISO11] (LDBL_TRUE_MIN): Likewise.
20128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20129 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20130 (SCHAR_MIN): Use macro-int-constant. Specify type.
20131 (SCHAR_MAX): Likewise.
20132 (UCHAR_MAX): Likewise.
20133 (CHAR_MIN): Likewise.
20134 (CHAR_MAX): Likewise.
20135 (MB_LEN_MAX): Use macro-int-constant.
20136 (SHRT_MIN): Use macro-int-constant. Specify type.
20137 (SHRT_MAX): Likewise.
20138 (USHRT_MAX): Likewise.
20139 (INT_MAX): Likewise.
20140 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20141 bound negative.
20142 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20143 bound with "U".
20144 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20145 bound with "L".
20146 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20147 bound negative. Suffix upper bound with "L".
20148 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20149 bound with "UL".
20150 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20151 Specify type.
20152 [C99-based standards] (LLONG_MAX): Likewise.
20153 [C99-based standards] (ULLONG_MAX): Likewise.
20154 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20155 == 0.
20156 [ISO11] (max_align_t): Require type.
20157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20158
c9140a62
JM
20159 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20160 from $CFLAGS, without defining away __attribute__ calls.
20161 (checknamespace): Use $CFLAGS_namespace.
20162
9af0bf29
JM
20163 * conform/conformtest.pl (@keywords): Only include C99 keywords
20164 for standards based on C99 or C11.
20165
343222a2
JM
20166 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20167 Disable tests.
20168 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20169 UNIX98]: Likewise.
20170
661f8cf0
JM
20171 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20172 usability of symbols in #if.
20173
ee74b9cb
JM
20174 * conform/conformtest.pl: If macro or constant types start
20175 "promoted:", expect the symbol to be of the following type
20176 promoted by the integer promotions.
62fde54f 20177
aafc49b3
JM
20178 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20179 in one place. Also handle "macro-constant".
20180
fefdf574
JM
20181 * conform/conformtest.pl: Only accept expected macro values with
20182 "==". Parse all "macro" lines in one place.
20183 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20184
f2d922fe
JM
20185 * conform/conformtest.pl: Handle braced types on "constant" lines
20186 instead of handling "typed-constant".
20187 * conform/data/signal.h-data: Use "constant" instead of
20188 "typed-constant".
20189
d22956c9
JM
20190 * conform/conformtest.pl: Handle "optional-" at start of lines in
20191 one place rather than duplicating several cases. Handle each
20192 format of "macro" line with initial "optional-".
20193
028e2e38
JM
20194 * conform/conformtest.pl: Only accept expected constant or
20195 optional-constant values with "==". Parse all "constant" lines in
20196 one place. Parse all "optional-constant" lines in one place.
20197 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20198 * conform/data/fmtmsg.h-data: Likewise.
20199 * conform/data/netinet/in.h-data: Likewise.
20200 * conform/data/tar.h-data: Likewise.
20201 * conform/data/limits.h-data: Use "==" form on "constant" and
20202 "optional-constant" lines.
20203
1b8f2850
JM
20204 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20205 Use -std=c99 for XOPEN2K.
20206 (@knownproblems): Remove.
20207 (newtoken): Don't check %isknown.
20208
a05a144b
JM
20209 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20210 Do not expect macro.
20211 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20212 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20213 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20214 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20215 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20216 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20217 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20218 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20219 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20220 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20221 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20222 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20223 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20224 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20225 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20226 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20227 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20228 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20229 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20230 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20231 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20232 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20234 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20235 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20236 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20237 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20238 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20239 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20240 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20241 [XPG3] (acosh): Likewise.
20242 [XPG3] (asinh): Likewise.
20243 [XPG3] (atanh): Likewise.
20244 [XPG3] (cbrt): Likewise.
20245 [XPG3] (expm1): Likewise.
20246 [XPG3] (ilogb): Likewise.
20247 [XPG3] (log1p): Likewise.
20248 [XPG3] (logb): Likewise.
20249 [XPG3] (nextafter): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20252 [XPG3] (remainder): Likewise.
20253 [XPG3] (rint): Likewise.
20254 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20255 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20261 [UNIX98 || XOPEN2K] (scalb): Expect.
20262 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20263 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20266 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20267 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20268 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20271 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20272 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20273 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20274 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20275 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20276 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20277 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20278 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20279 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20280 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20283 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20284 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20292 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20293 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20294 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20399
73c5ebe3
JM
20400 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20401 _XOPEN_SOURCE_EXTENDED for XPG4.
20402
39c33b6c
JM
20403 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20404
62fde54f
JM
20405 * Makeconfig (localtime): Remove variable.
20406 (inst_localtime-file): Likewise.
20407
0741d64c
AS
204082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20409
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20411 Update.
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20413 Update.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20415 Update.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20417 Update.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20419 Update.
20420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20421 Update.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20423 Update.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20425 Update.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20427 Update.
20428
7cb029ee
JM
204292012-05-01 Joseph Myers <joseph@codesourcery.com>
20430
20431 [BZ #2550]
20432 [BZ #2570]
20433 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20434 comparisons to determine direction to adjust input.
20435 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20436 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20437 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20438 Likewise.
20439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20440 Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20442 Likewise.
20443 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20444 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20445 Likewise.
20446 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20447 Likewise.
20448 * math/libm-test.inc (nexttoward_test): Add more tests.
20449
412bd966
AS
204502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20451
20452 [BZ #14040]
20453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20454 in version GLIBC_2.1, not GLIBC_2.0.
20455 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20456 Likewise.
20457
9568c0c2
JM
204582012-04-30 Joseph Myers <joseph@codesourcery.com>
20459
adfbc8ac
JM
20460 [BZ #13942]
20461 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20462 (1 - x) * (1 + x).
20463 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20464 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20465 * math/libm-test.inc (acos_test): Add more tests.
20466 (asin_test): Likewise.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
5ba3cc69
JM
20470 [BZ #14034]
20471 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20472 of square root.
20473 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20474 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20475 * math/libm-test.inc (acos_test_tonearest): New function.
20476 (acos_test_towardzero): Likewise.
20477 (acos_test_downward): Likewise.
20478 (acos_test_upward): Likewise.
20479 (asin_test_tonearest): Likewise.
20480 (asin_test_towardzero): Likewise.
20481 (asin_test_downward): Likewise.
20482 (asin_test_upward): Likewise.
20483 (main): Call the new functions.
20484 * sysdeps/i386/fpu/libm-test-ulps: Update.
20485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20486
9568c0c2
JM
20487 [BZ #13884]
20488 [BZ #13924]
20489 * math/e_exp10.c: Include <float.h>.
20490 (__ieee754_exp10): Handle underflow here rather than multiplying
20491 large negative argument by M_LN10.
20492 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20493 of __ieee754_expf.
20494 * math/e_exp10l.c: Include <float.h>.
20495 (__ieee754_exp10l): Handle underflow here rather than multiplying
20496 large negative argument by M_LN10l.
20497 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20498 spurious overflow exception on underflow.
20499
5ac3ea17
MP
205002012-04-29 Marek Polacek <polacek@redhat.com>
20501
20502 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20503 (__fortify_function): New macro.
20504 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20505 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20506 __extern_always_inline.
20507 * libio/bits/stdio2.h: Likewise.
20508 * libio/bits/stdio.h: Likewise.
20509 * string/string.h: Likewise.
20510 * string/bits/string3.h: Likewise.
20511 * include/stdio.h: Likewise.
20512 * stdlib/bits/stdlib.h: Likewise.
20513 * stdlib/stdlib.h: Likewise.
20514 * rt/bits/mqueue2.h: Likewise.
20515 * rt/mqueue.h: Likewise.
20516 * posix/bits/unistd.h: Likewise.
20517 * posix/unistd.h: Likewise.
20518 * io/bits/poll2.h: Likewise.
20519 * io/bits/fcntl2.h: Likewise.
20520 * io/fcntl.h: Likewise.
20521 * io/sys/poll.h: Likewise.
20522 * misc/bits/syslog.h: Likewise.
20523 * misc/bits/syslog-ldbl.h: Likewise.
20524 * misc/sys/syslog.h: Likewise.
20525 * socket/bits/socket2.h: Likewise.
20526 * socket/sys/socket.h: Likewise.
20527 * debug/tst-chk1.c: Likewise.
20528 * wcsmbs/bits/wchar2.h: Likewise.
20529 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20530 * wcsmbs/wchar.h: Likewise.
20531
ecf0ebfb
AJ
205322012-04-29 Andreas Jaeger <aj@suse.de>
20533
20534 * Makerules (tests): Remove enable-check-abi protection.
20535 (check-abi-warn): Remove.
20536 (check-abi-%): Remove check-abi-warn usage.
20537
20538 * configure.in: Remove check-abi configure option.
20539 * configure: Regenerated.
20540 * config.make.in (enable-check-abi): Remove.
20541
6d5c57fa
AS
205422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20543
24c5d07e 20544 [BZ #14033]
ded5180a
AS
20545 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20546 double functions to double *_finite functions.
20547
7e0d315d
AS
20548 [BZ #13941]
20549 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20550 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20551 LDBL_MIN_EXP.
20552 * stdio-common/Makefile (tests): Add tst-sprintf3.
20553 * stdio-common/tst-sprintf3.c: New file.
20554
6d5c57fa
AS
20555 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20556 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20557
0749ff8b
JM
205582012-04-28 Joseph Myers <joseph@codesourcery.com>
20559
20560 * conform/conformtest.pl: Remove duplicate typed-constant
20561 handling.
20562
8dbd5d7b
DM
205632012-04-28 David S. Miller <davem@davemloft.net>
20564
20565 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20566 (check-abi-%): Remove AWK script prerequisite and explicit
20567 abilist directory.
20568 (check-abi): Rewrite to just diff the symlist with the abilist.
20569 (config-tls, config-abi-config): Delete, no longer used.
20570 (update-abi-%): Remove AWK script and explicit abilist directory.
20571 (update-abi): Rewrite to simply compare and conditionally copy the
20572 symlist and the sysdep abilist file. Remove update-abi-config
20573 checks.
20574 * abilist/ld.abilist: Remove.
20575 * abilist/libBrokenLocale.abilist: Remove.
20576 * abilist/libanl.abilist: Remove.
20577 * abilist/libcrypt.abilist: Remove.
20578 * abilist/libdl.abilist: Remove.
20579 * abilist/librt.abilist: Remove.
20580 * abilist/libthread_db.abilist: Remove.
20581 * abilist/libutil.abilist: Remove.
20582 * scripts/extract-abilist.awk: Remove.
20583 * scripts/merge-abilist.awk: Remove.
20584 * sysdeps/generic/libcidn.abilist: New file.
20585 * sysdeps/generic/libnss_compat.abilist: New file.
20586 * sysdeps/generic/libnss_db.abilist: New file.
20587 * sysdeps/generic/libnss_dns.abilist: New file.
20588 * sysdeps/generic/libnss_files.abilist: New file.
20589 * sysdeps/generic/libnss_hesiod.abilist: New file.
20590 * sysdeps/generic/libnss_nis.abilist: New file.
20591 * sysdeps/generic/libnss_nisplus.abilist: New file.
20592 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20593 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20594 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20595 file.
20596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20597 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20598 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20599 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20600 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20602 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20603 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20604 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20605 file.
20606 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20607 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20608 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20609 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20610 file.
20611 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20612 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20613 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20614 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20615 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20616 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20617 file.
20618 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20619 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20620 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20621 file.
20622 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20624 New file.
20625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20626 New file.
20627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20628 New file.
20629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20630 New file.
20631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20632 New file.
20633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20634 New file.
20635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20636 New file.
20637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20638 New file.
20639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20640 New file.
20641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20642 New file.
20643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20644 New file.
20645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20646 New file.
20647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20648 New file.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20650 file.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20652 New file.
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20654 New file.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20656 file.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20658 New file.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20660 New file.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20662 file.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20664 New file.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20666 New file.
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20668 New file.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20670 New file.
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20672 New file.
20673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20674 New file.
20675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20677 file.
20678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20679 New file.
20680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20681 file.
20682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20683 file.
20684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20685 file.
20686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20687 file.
20688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20689 file.
20690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20691 New file.
20692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20693 file.
20694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20695 file.
20696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20697 New file.
20698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20699 file.
20700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20702 file.
20703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20704 New file.
20705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20706 file.
20707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20708 file.
20709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20710 file.
20711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20712 file.
20713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20714 file.
20715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20716 New file.
20717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20718 file.
20719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20720 file.
20721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20722 New file.
20723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20724 file.
20725 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20726 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20727 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20728 file.
20729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20730 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20731 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20732 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20733 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20734 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20735 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20736 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20737 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20738 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20741 file.
20742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20743 New file.
20744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20745 file.
20746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20747 file.
20748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20749 file.
20750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20751 file.
20752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20753 file.
20754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20755 New file.
20756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20757 New file.
20758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20759 file.
20760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20761 New file.
20762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20763 file.
20764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20766 file.
20767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20768 New file.
20769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20770 file.
20771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20772 file.
20773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20774 file.
20775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20776 file.
20777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20778 file.
20779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20780 New file.
20781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20782 New file.
20783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20784 file.
20785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20786 New file.
20787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20788 file.
20789
41d73a1b
JM
207902012-04-28 Joseph Myers <joseph@codesourcery.com>
20791
20792 * conform/conformtest.pl: Fix typo in handling typed-constant from
20793 allow-header.
20794
28aeeda4
JM
207952012-04-27 Joseph Myers <joseph@codesourcery.com>
20796
adae8f5e
JM
20797 * README: Cut down references to pre-2.6 Linux kernels and
20798 Linuxthreads. Update lists of configurations in libc and ports
20799 and sort alphabetically. Say "or newer" with Linux kernel version
20800 requirements.
20801
28aeeda4
JM
20802 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20803
a462cb63
RA
208042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20805
20806 [BZ #887]
20807 * math/libm-test.inc (logb_test_downward): New test to expose
20808 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20809 rounding mode.
20810
6ad3493e
JM
208112012-04-27 Joseph Myers <joseph@codesourcery.com>
20812
20813 [BZ #14027]
20814 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20815 to be done.
20816 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20817 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20818
2ce4f015
JM
208192012-04-26 Joseph Myers <joseph@codesourcery.com>
20820
5aeb141a
JM
20821 * sysdeps/unix/i386/brk.S: Remove file.
20822 * sysdeps/unix/i386/dl-brk.S: Likewise.
20823 * sysdeps/unix/i386/pipe.S: Likewise.
20824 * sysdeps/unix/i386/sigreturn.S: Likewise.
20825 * sysdeps/unix/i386/syscall.S: Likewise.
20826 * sysdeps/unix/i386/vfork.S: Likewise.
20827 * sysdeps/unix/i386/wait.S: Likewise.
20828
7143acae
JM
20829 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20830 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20831
2ce4f015
JM
20832 * configure.in (arm*-none*): Do not allow without
20833 --enable-hacker-mode.
20834 (netbsd*): Remove case setting base_os.
20835 (386bsd*): Likewise.
20836 (freebsd*): Likewise.
20837 (bsdi*): Likewise.
20838 (osf*): Likewise.
20839 (sunos*): Likewise.
20840 (ultrix*): Likewise.
20841 (newsos*): Likewise.
20842 (dynix*): Likewise.
20843 (*bsd*): Likewise.
20844 (sysv*): Likewise.
20845 (isc*): Likewise.
20846 (esix*): Likewise.
20847 (sco*): Likewise.
20848 (minix*): Likewise.
20849 (irix4*): Likewise.
20850 (irix6*): Likewise.
20851 (solaris[2-9]*): Likewise.
20852 (none): Likewise.
20853 * configure: Regenerated.
20854
0ac229c8
AZ
208552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20856
20857 [BZ #11521]
20858 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20859 overflow or cancellation in calculating denominator.
20860 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20862 down expression to avoid unexpected rounding in newer GCCs.
20863 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20864
33f244f4
DM
208652012-04-26 David S. Miller <davem@davemloft.net>
20866
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20868 long-double compat symbols.
20869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20882
cfa1f3e8
DM
208832012-04-25 David S. Miller <davem@davemloft.net>
20884
20885 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20886 HWCAP_* values only after the memory barriers have been defined.
20887 (atomic_full_barrier): Define.
20888 (atomic_read_barrier): Define.
20889 (atomic_write_barrier): Define.
20890
6e236b92
SP
208912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20892
20893 * shlib-versions: Add libgcc_s version information.
20894 * sysdeps/generic/libgcc_s.h: Remove.
20895 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20896 libgcc_s.h.
20897 * sysdeps/gnu/unwind-resume.c: Likewise.
20898 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20899
aab39a09
DM
209002012-04-25 David S. Miller <davem@davemloft.net>
20901
20902 * sysdeps/unix/sparc/brk.S: Delete.
20903 * sysdeps/unix/sparc/dl-brk.S: Delete.
20904 * sysdeps/unix/sparc/pipe.S: Delete.
20905 * sysdeps/unix/sparc/sysdep.S: Delete.
20906 * sysdeps/unix/sparc/sysdep.h: Delete.
20907 * sysdeps/unix/sparc/vfork.S: Delete.
20908 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20909 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20911 ret_ERRVAL, r0, r1, MOVE): Define.
20912 (JUMPTARGET): Remove.
20913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20914 sysdeps/unix/sparc/sysdep.h
20915 (ENTRY, END): Remove.
20916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20917
a3cc4f48
JM
209182012-04-25 Joseph Myers <joseph@codesourcery.com>
20919
2ed8cda2
JM
20920 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20921 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20922 -DIS_IN_build.
20923
35d76d59
JM
20924 * timezone/README: Update upstream location and email address for
20925 tzcode and tzdata.
20926 * timezone/zdump.c: Update from tzcode 2012b.
20927 * timezone/zic.c: Likewise.
20928
a3cc4f48
JM
20929 * configure.in (libc_cv_as_needed): Remove test.
20930 * configure: Regenerated.
20931 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20932 conditional definition.
20933 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20934 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20935 * config.make.in (have-as-needed): Remove variable.
20936
ceab42c3
SP
209372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20938 Paul Pluzhnikov <ppluzhnikov@google.com>
20939
20940 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20941 strings correctly.
20942
3ce2865f
CLT
209432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20944
20945 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20946 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20947 * sysdeps/sh/strlen.S: Likewise.
20948
f37e0d68
JM
209492012-04-24 Joseph Myers <joseph@codesourcery.com>
20950
ae186e9a
JM
20951 * sysdeps/unix/fork.S: Remove file.
20952 * sysdeps/unix/i386/fork.S: Likewise.
20953 * sysdeps/unix/sparc/fork.S: Likewise.
20954
b96914af
JM
20955 * sysdeps/unix/system.c: Remove file.
20956 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20957
f37e0d68
JM
20958 * sysdeps/unix/getegid.S: Remove file.
20959 * sysdeps/unix/geteuid.S: Likewise.
20960
87ef29ca
RM
209612012-04-24 Roland McGrath <roland@hack.frob.com>
20962
83bcd236
RM
20963 * scripts/check-localplt.awk: New file.
20964 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20965 of diff.
20966 * scripts/data/localplt-generic.data: Add a comment.
20967
87ef29ca
RM
20968 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20969 NODE when __dir_mkfile failed.
20970 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20971 Reported by Ludovic Courtès <ludo@gnu.org>.
20972
e5a6e567
AJ
209732012-04-24 Andreas Jaeger <aj@suse.de>
20974
20975 * Makerules (common-clean): Also remove gen-as-const-headers
20976 files.
20977
c1820385
JM
209782012-04-24 Joseph Myers <joseph@codesourcery.com>
20979
20980 * Makerules (native-compile): Do not change working directory for
20981 build. Use $(OUTPUT_OPTION) in command.
20982 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20983
94e02fc4
AZ
209842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20985
20986 [BZ #13886]
20987 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20988 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20989 * math/libm-test.inc (floor_test): Add more tests.
20990 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20991
3a533ca3
JM
209922012-04-24 Joseph Myers <joseph@codesourcery.com>
20993
940ab4b3
JM
20994 * sysdeps/unix/getdents.c: Remove file.
20995 * sysdeps/unix/sysv/getdents.c: Likewise.
20996 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20997
90e037bd
JM
20998 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20999 sysdeps/unix/mman/syscalls.list.
21000 (mmap): Likewise.
21001 (mprotect): Likewise.
21002 (msync): Likewise.
21003 (munmap): Likewise.
21004 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21005 * sysdeps/unix/mman/syscalls.list: Remove.
21006 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21007
3a533ca3
JM
21008 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21009 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21010 * configure: Regenerated.
21011 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21012 $(libgcc_s_suffix).
21013 * config.make.in (libgcc_s_suffix): Remove variable.
21014
1ad743de
JM
210152012-04-23 Joseph Myers <joseph@codesourcery.com>
21016
4ad451e2
JM
21017 * sysdeps/unix/sysv/gethostname.c: Move to ...
21018 * sysdeps/posix/gethostname.c: ... here.
21019
5e37ce39
JM
21020 * sysdeps/unix/execve.S: Remove file.
21021
1ad743de
JM
21022 * sysdeps/unix/_exit.S: Remove file.
21023
4e681b5b
AJ
210242012-04-23 Andreas Jaeger <aj@suse.de>
21025
21026 [BZ #13739]
21027 * manual/Makefile: Remove make dist support, there's no
21028 need for a stand-alone documentation tar ball.
21029 (TEXI2DVI): Define always, it's not in Makeconfig.
21030 (dist): Removed.
21031 (tar-it): Removed.
21032 (edition): Removed.
21033 (glibc-doc-$(edition).tar): Removed
21034 (%.Z): Removed.
21035 (%.gz): Removed.
21036 (%.uu): Removed.
21037 (ETAGS): Remove, it's in Makeconfig.
21038 (move-if-change): Remove, it's in Makeconfig.
21039
38686a03 210402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21041
21042 [BZ #13970]
21043 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21044 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21045 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21046 (strtod_l, strtof_l, strtold_l): Remove __wur.
21047 It is not necessarily an error to ignore strtol's return value.
21048 One can reliably look at the stored endptr to decide whether
21049 the number had valid syntax.
21050
7c0616fa
AJ
210512012-04-21 Andreas Jaeger <aj@suse.de>
21052
803cb6b7 21053 [BZ #13739]
7c0616fa
AJ
21054 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21055
b0fe253f
JM
210562012-04-21 Joseph Myers <joseph@codesourcery.com>
21057
21058 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21059 * sysdeps/unix/sysv/Versions: Remove file.
21060
8280f22d
MT
210612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21062
21063 [BZ #13927]
21064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21065
75ce411f 210662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21067
21068 [BZ #7064]
21069 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21070 version from __vm86.
21071
097d59fa
JM
210722012-04-20 Joseph Myers <joseph@codesourcery.com>
21073
a90f3bcb
JM
21074 * sysdeps/unix/common/lxstat.c: Remove file.
21075 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21076
edc7ea78
JM
21077 * sysdeps/unix/sysv/Makefile: Remove file.
21078
cb78c221
JM
21079 * sysdeps/unix/sysv/direct.h: Remove file.
21080
efa6a45f
JM
21081 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21082 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21083 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21084 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21085 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21086 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21087 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21088
9c9f2d0c
JM
21089 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21090
4541c83b
JM
21091 * sysdeps/unix/xmknod.c: Remove file.
21092 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21093
f5d153a0
JM
21094 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21095
aa746595
JM
21096 * sysdeps/unix/sysv/i386/time.S: Remove file.
21097
cce5905e
JM
21098 * sysdeps/unix/fxstat.c: Remove file.
21099 * sysdeps/unix/xstat.c: Likewise.
21100 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21101
37fa3841
JM
21102 * sysdeps/unix/sysv/sigaction.c: Remove file.
21103
ff1962a3
JM
21104 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21105 (sysdep_headers): Remove variable.
21106 [termio.h not in sysdep_headers] (generated): Likewise.
21107 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21108 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21109 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21110 * sysdeps/unix/sysv/tcflow.c: Likewise.
21111 * sysdeps/unix/sysv/tcflush.c: Likewise.
21112 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21113 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21114 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21115 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21116 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21117
e7740d31
JM
21118 * sysdeps/unix/siglist.c: Remove file.
21119
ee06f18b
JM
21120 * sysdeps/unix/getppid.S: Remove file.
21121
097d59fa
JM
21122 * sysdeps/unix/mkdir.c: Remove file.
21123 * sysdeps/unix/rmdir.c: Likewise.
21124
ff3d51ec
AS
211252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21126
21127 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21128 ERR_MAX value.
21129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21130 errlist-compat value.
21131
50f81fd7
DM
211322012-04-18 David S. Miller <davem@davemloft.net>
21133
21134 * sysdeps/generic/memcopy.h (reg_char): Delete.
21135 * debug/strcat_chk.c: Use char, not reg_char.
21136 * debug/strcpy_chk.c: Likewise.
21137 * debug/strncat_chk.c: Likewise.
21138 * debug/strncpy_chk.c: Likewise.
21139 * string/memchr.c: Likewise.
21140 * string/memrchr.c: Likewise.
21141 * string/rawmemchr.c: Likewise.
21142 * string/strcat.c: Likewise.
21143 * string/strchr.c: Likewise.
21144 * string/strchrnul.c: Likewise.
21145 * string/strcmp.c: Likewise.
21146 * string/strcpy.c: Likewise.
21147 * string/strncat.c: Likewise.
21148 * string/strncmp.c: Likewise.
21149 * string/strncpy.c: Likewise.
21150
8ff41c46
WS
211512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21152
21153 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21154 __builtin_memcopy is called when src and dest ranges are known to not
21155 overlap.
21156
6b652f46
WS
211572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21158
21159 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21160 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21161 fwd_align_merge macro call.
21162 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21163 bwd_align_merge macro call.
21164 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21165
b282631e
WS
211662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21167
21168 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21169 bwd_align_merge macros.
21170 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21171 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21172 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21173
95aa737c
DM
211742012-04-18 David S. Miller <davem@davemloft.net>
21175
21176 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21177
7a99a614
AJ
211782012-04-18 Andreas Jaeger <aj@suse.de>
21179
21180 [BZ# 6794]
21181 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21182 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21183 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21184
21185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21186 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21187 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21188
21189 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21190 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21191 Adjust for changed ldbl-128 files.
21192
21193 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21194 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21195 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21196
e5270c23
DM
211972012-04-17 David S. Miller <davem@davemloft.net>
21198
21199 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21200
fb5e92c9
AS
212012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21202
21203 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21204 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21205 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21206 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21207 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21208 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21209
76da7265
AZ
212102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21211
21212 [BZ #6794]
21213 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21214 * math/libm-test.inc: Add ilogb errno and exception tests.
21215 * math/w_ilogb.c: New file: ilogb wrapper.
21216 * math/w_ilogbf.c: New file: ilogbf wrapper.
21217 * math/w_ilogbl.c: New file: ilogbl wrapper.
21218 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21219 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21220 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21221 exception being thrown with 0.0 as argument.
21222 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21223 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21224 exception being thrown with 0.0 as argument.
21225 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21226 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21227 exception being thrown with 0.0 as argument.
21228 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21229 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21230 exception being thrown with 0.0 as argument.
21231 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21232 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21233 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21234 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21236 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21237 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21238 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21239 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21240
0396e69d
PB
212412012-04-17 Petr Baudis <pasky@ucw.cz>
21242
21243 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21244 with altivec.
21245
750b5926
MP
212462012-04-16 Marek Polacek <polacek@redhat.com>
21247
21248 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21249
751728a1
MP
212502012-04-16 Marek Polacek <polacek@redhat.com>
21251
21252 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21253 operands of fdivp instruction.
21254
34a27407
L
212552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21258 * elf/tst-auditmod3b.c: Likewise.
21259 * elf/tst-auditmod4b.c: Likewise.
21260 * elf/tst-auditmod5b.c: Likewise.
21261 * elf/tst-auditmod6b.c: Likewise.
21262 * elf/tst-auditmod6c.c: Likewise.
21263 * elf/tst-auditmod7b.c: Likewise.
21264 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21265 * sysdeps/x86_64/preconfigure.in: Likewise.
21266 * sysdeps/x86_64/preconfigure: Regenerated.
21267
7e73e17d
L
212682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21271 __ILP32__.
21272
c7a6ab72
AB
212732012-04-13 Antoine Balestrat <merkil33@gmail.com>
21274
21275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21276 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21277
a9e8e0e0
CL
212782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21279
21280 [BZ #13973]
21281 * locale/iso-639.def: Fix gl language name. Spotted by
21282 Yaron Shahrabani.
21283
ec98af7d
RM
212842012-04-12 Roland McGrath <roland@hack.frob.com>
21285
21286 [BZ #2074]
21287 * libio/libio.h (__io_write_fn): Update comment.
21288
247c3ede
PB
212892012-04-12 Petr Baudis <pasky@ucw.cz>
21290
21291 [BZ #2074]
21292 * stdio.texi (Hook Functions): The user provided writer function
21293 is not allowed to return -1.
21294
55939d6d
DM
212952012-04-11 David S. Miller <davem@davemloft.net>
21296
21297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21298
90020f5a
MF
212992012-04-11 Mike Frysinger <vapier@gentoo.org>
21300
21301 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21302 Add a leading slash to rtkaio.
21303
288f9098
JM
213042012-04-11 Jim Meyering <meyering@redhat.com>
21305
90020f5a
MF
21306 [BZ #11959]
21307 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21308 It is not necessarily an error to ignore fwrite's return
21309 value. One can reliably use ferror to test for errors after
21310 the fact.
288f9098 21311
4be2b570
L
213122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 * bits/types.h (__snseconds_t): New type.
21315 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21316
21317 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21319 (__SNSECONDS_T_TYPE): Likewise.
21320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21321 (__SNSECONDS_T_TYPE): Likewise.
21322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21323 (__SNSECONDS_T_TYPE): Likewise.
21324
288f9098 213252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21326
21327 [BZ #2636]
21328 * manual/time.texi (Processor Time): Return type of times is
21329 elapsed real time since an arbitrary point in the past.
21330 (CPU Time): Move CLK_TCK from here...
21331 (Processor Time): ...to here. Correct description.
21332 * manual/conf.texi (Constants for Sysconf): Correct description of
21333 _SC_CLK_TCK.
21334
d7dd4413
DM
213352012-04-10 David S. Miller <davem@davemloft.net>
21336
21337 [BZ #13967]
21338 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21339 where the is a gap between DT_REL(A) and DT_JMPREL.
21340
b46068fc
L
213412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21342
21343 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21344 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21345 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21346
73d65cc3
SP
213472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21348
21349 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21350 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21351 (dl_main): Handle --inhibit-cache.
21352 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21353 _dl_inhibit_cache.
21354 * elf/dl-load.c (_dl_map_object): Use it.
21355 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21356
bcc8d661
JM
213572012-04-09 Joseph Myers <joseph@codesourcery.com>
21358
8f9a2fae
JM
21359 [BZ #13872]
21360 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21361 (__ieee754_powl): Saturate large exponents rather than testing for
21362 overflow of y*log2(x).
21363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21364 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21365 exceptions.
21366
bcc8d661
JM
21367 [BZ #11521]
21368 * math/s_ctan.c: Include <float.h>.
21369 (__ctan): Avoid internal overflow or cancellation in calculating
21370 denominator.
21371 * math/s_ctanf.c: Likewise.
21372 * math/s_ctanl.c: Likewise.
21373 * math/s_ctanh.c: Likewise.
21374 * math/s_ctanhf.c: Likewise.
21375 * math/s_ctanhl.c: Likewise.
21376 * math/libm-test.inc (ctan_test): Add more tests.
21377 (ctanh_test): Likewise.
21378 * sysdeps/i386/fpu/libm-test-ulps: Update.
21379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21380
823fbbb4
AJ
213812012-04-09 Andreas Jaeger <aj@suse.de>
21382
03879793
AJ
21383 [BZ #6894]
21384 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21385 is an optional BSD extension.
21386
823fbbb4
AJ
21387 [BZ #10254]
21388 * manual/stdio.texi (Opening Streams): Document additional fopen
21389 parameters.
21390
8de131cb
RM
213912012-04-09 Roland McGrath <roland@hack.frob.com>
21392
21393 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21394 %eax without telling the compiler.
21395
c0ed9d7d
CD
213962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21397
21398 [BZ # 13963]
21399 * manual/install.texi: Use sourceware.org.
21400
c483f6b4
JM
214012012-04-09 Joseph Myers <joseph@codesourcery.com>
21402
d7dd9453
JM
21403 [BZ #13873]
21404 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21405 (__ieee754_pow): Generate overflow and underflow using huge*huge
21406 and tiny*tiny rather than just returning constant infinity or zero
21407 for large exponents.
21408 * math/libm-test.inc (pow_test): Require overflow exceptions for
21409 applicable cases of large exponents.
21410
c483f6b4
JM
21411 [BZ #706]
21412 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21413 (__ieee754_pow): Use iterative multiplication algorithm only for
21414 integer exponents with absolute value below 1024. Check for odd
21415 integer exponents when using algorithm for real exponents.
21416 * math/libm-test.inc (pow_test): Add more tests.
21417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21418
d2de7579
JM
214192012-04-08 Joseph Myers <joseph@codesourcery.com>
21420
21421 [BZ #13705]
21422 * math/libm-test.inc (exp_test): Do not allow overflow exception
21423 on underflow test.
21424
f77f1232
AJ
214252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21426
21427 [BZ #13705]
21428 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21429 instead of __kernel_standard_f.
21430
3884932b
MF
214312012-04-08 Mike Frysinger <vapier@gentoo.org>
21432
21433 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21434 * sysdeps/x86_64/memset_chk.S: Likewise.
21435
54472e9c
AJ
214362012-04-08 Andreas Jaeger <aj@suse.de>
21437
6ab0fbfc
AJ
21438 [BZ #10153]
21439 * manual/startup.texi (Environment Access): Describe return value
21440 for putenv and setenv.
21441
61efba8c
AJ
21442 [BZ #6895]
21443 * manual/filesys.texi (Directory Entries): Add description for
21444 DT_LNK.
21445
95c3f29a
AJ
21446 [BZ #6890]
21447 * manual/filesys.texi (Directory Entries): Clarify that it's file
21448 system not operating system in the description of DT_UNKNOWN.
21449
54472e9c
AJ
21450 [BZ #6578]
21451 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21452
624254b1
SC
214532012-04-08 Stephen Compall <s11@member.fsf.org>
21454
21455 [BZ #6649]
21456 * manual/llio.texi (Opening and Closing Files): Add cross
21457 reference to explain mode argument.
21458
1e4920e0
MF
214592012-04-07 Mike Frysinger <vapier@gentoo.org>
21460
21461 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21462 * sysdeps/x86_64/memset_chk.S: Likewise.
21463
5ed848f3
DM
214642012-04-07 David S. Miller <davem@davemloft.net>
21465
21466 * elf/elf.h (R_SPARC_WDISP10): Define.
21467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21468 R_SPARC_SIZE32.
21469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21470 R_SPARC_SIZE64 and R_SPARC_H34.
21471
96154cd8
CD
214722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21473
21474 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21475 conditions and remove no longer applicable assertion.
21476
9904dc47
L
214772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21478
21479 * bits/byteswap.h: Include <features.h>.
21480 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21481 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21482
f8887d0a
L
214832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * bits/byteswap.h (__bswap_16): Removed.
21486 Include <bits/byteswap-16.h> to get __bswap_16.
21487 * sysdeps/i386/bits/byteswap.h: Likewise.
21488 * sysdeps/s390/bits/byteswap.h: Likewise.
21489 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21490 * bits/byteswap-16.h: New file.
21491 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21492 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21493 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21494 * string/Makefile (headers): Add bits/byteswap-16.h.
21495
62470f60
PP
214962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21497
21498 [BZ #13895]
21499 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21500 extra indirection.
21501 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21502 * nss/tst-nss-static.c: New.
21503
4dad7bab
RM
215042012-04-06 Robert Millan <rmh@gnu.org>
21505
21506 [BZ #6486]
21507 * manual/llio.texi (File Position Primitive): lseek
21508 refers to WHENCE when it really means OFFSET.
21509
e9142a17
AJ
215102012-04-06 Andreas Jaeger <aj@suse.de>
21511
2c040eff
AJ
21512 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21513 strncmp declarations.
21514
e9142a17
AJ
21515 * abilist/libc.abilist: Add __poll and __ppoll.
21516
ff9f1c5f
DM
215172012-04-05 David S. Miller <davem@davemloft.net>
21518
dcd2ae90
DM
21519 * scripts/check-local-headers.sh: Accept a host triplet in the
21520 path matched by the exclude regexp.
21521
993eb054
DM
21522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21523 definition.
21524 * sysdeps/powerpc/powerpc32/dl-machine.h
21525 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21526 * sysdeps/s390/s390-32/dl-machine.h
21527 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21528 * sysdeps/sparc/sparc32/dl-machine.h
21529 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21530 * sysdeps/sparc/sparc64/dl-machine.h
21531 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21532
ff9f1c5f
DM
21533 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21534 lazy binding.
48e2e132 21535 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21536 undefined symbol errors.
21537
48e2e132 21538 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21539 DT_NEEDED entries.
21540
e80d6f94
MM
215412012-04-05 Michael Matz <matz@suse.de>
21542
21543 [BZ #13592]
21544 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21545
349fa79f
AJ
215462012-04-05 Andreas Jaeger <aj@suse.de>
21547
21548 [BZ #13908]
21549 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21550 comment.
21551
f402708f
KK
215522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21553
21554 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21555 which ROUND is no valid rounding mode.
21556
2ecccfc9
KK
215572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21558
21559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21560 read again.
21561 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21562
8a53f50f
KK
215632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21564
21565 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21566 an exception using FPU order intentionally.
21567
215682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21569
21570 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21571 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21572 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21573 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21574
d653abb7
SJ
215752012-04-05 Simon Josefsson <simon@josefsson.org>
21576
21577 [BZ #12340]
21578 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21579 EINVAL when BUFLEN is too smal.
21580
c3b1bf7d
TS
215812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21582
21583 [BZ #13553]
21584 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21585 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21586
b1aa60f3
AJ
215872012-04-03 Andreas Jaeger <aj@suse.de>
21588
c3b1bf7d 21589 [BZ #13938]
67f60a26
AJ
21590 * manual/setjmp.texi (System V contexts): Fix sentence.
21591
b1aa60f3
AJ
21592 [BZ #13926]
21593 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21594 New macro for this case.
21595 [!__GNUC__] (__bswap_64): New inline function for this case.
21596 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21597 * bits/byteswap.h: Likewise.
21598 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21599 ull, guard with __GLIBC_HAVE_LONG_LONG.
21600
21601 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21602 __GLIBC_HAVE_LONG_LONG.
21603
21604 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21605 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21606
39c59c35
TMQMF
216072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21608
21609 [BZ #13691]
21610 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21611 inptr and inend, rather than using last_ch.
21612
135ffda8
DM
216132012-04-02 David S. Miller <davem@davemloft.net>
21614
21615 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21616 * stdio-common/printf-parse.h (read_int): Change return type to
21617 'int', return -1 on INT_MAX overflow.
21618 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21619 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21620 overflows INT_MAX. Check for overflow of in-format-string precision
21621 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21622 SIZE_MAX not INT_MAX for integer overflow test.
21623 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21624 skip the construct in the format string but do not record anything.
21625 * stdio-common/bug22.c: Adjust to test both width/prevision
21626 INT_MAX overflow as well as total length INT_MAX overflow. Check
21627 explicitly for proper errno values.
21628
228c019e
TS
216292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21630
302cadd3
TS
21631 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21632 CHAR_MAX.
21633 * string/test-strcmp.c [! WIDE]: Likewise.
21634 * time/tst-mktime2.c: Likewise for INT_MAX.
21635 * string/test-string.h: #include <sys/param.h> for MIN.
21636
228c019e
TS
21637 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21638 * sysdeps/i386/init-first.c (init): Likewise.
21639 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21640 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21641 * sysdeps/sh/init-first.c (init): Likewise.
21642
cfa633f5
UD
216432012-04-01 Ulrich Drepper <drepper@gmail.com>
21644
21645 * po/ru.po: Update from translation team.
d1635ef8 21646 * po/vi.po: Likewise.
cfa633f5 21647
6cd0a5ea
SP
216482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21649
21650 * resolv/nss_dns/dns-host.c: Merge copyright years.
21651
4b43400f
LD
216522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21653
21654 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21655 Optimize memcpy with prefetch if
21656 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21657 src, dst pointers have unequal 16 byte alignments.
21658
48c41d04
SP
216592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21660
21661 [BZ #13928]
21662 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21663 from a CNAME entry and return the minimum ttl for the query.
21664 (gaih_getanswer_slice): Likewise.
21665
b8dc394d
JL
216662012-03-30 Jeff Law <law@redhat.com>
21667
21668 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21669 due to long keys.
21670 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21671 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21672
2f5a5ed0
JL
21673 * resolv/nss_dns/dns-host.c: Update copyright year.
21674
1d39e359
UD
216752012-03-30 Ulrich Drepper <drepper@gmail.com>
21676
c030f70c 21677 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21678 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21679
1d39e359
UD
21680 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21681 comments for sendmmsg.
21682
216832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21684
21685 [BZ #13691]
21686 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21687 with only 1 character between 0x0041 and 0x01b0.
21688 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21689 * wcsmbs/tst-mbsnrtowcs.c: New file.
21690
20fde227
DM
216912012-03-29 David S. Miller <davem@davemloft.net>
21692
21693 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21694 small copies by hand.
21695
984a4237
JL
216962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21697
21698 [BZ #13761]
21699 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21700 _nss_compat_initgroups_dyn): Fall back to malloc/free
21701 for large group memberships.
21702
18c9d62b
DM
217032012-03-28 David S. Miller <davem@davemloft.net>
21704
88d85d4f
DM
21705 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21706 that branches into memcpy.
21707 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21710 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21712 bits.
21713 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21714 implementation too.
21715 * sysdeps/sparc/mempcpy.S: New file.
21716
e5aa83e1
DM
21717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21718 the IFUNC routine in the libc case.
21719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21720
88570753
DM
21721 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21722 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21723 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21724 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21725 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21726 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21727 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21728 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21729
249d7567
DM
21730 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21731 loop to 256 bytes instead of 64 bytes and fix test signedness.
21732
18c9d62b
DM
21733 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21734 * sysdeps/sparc/sparc32/Makefile: rather than here...
21735 * sysdeps/sparc/sparc64/Makefile: and here.
21736
05f3d1f6
UD
217372012-03-28 Ulrich Drepper <drepper@gmail.com>
21738
21739 * malloc/mallocbug.c: Avoid warnings about unused variables.
21740
86ae07a8
JL
217412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21742
21743 [BZ #13760]
21744 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21745 in the right place. Discard and retry query if response is
21746 larger than input buffer size.
21747
41bf21a1
JM
217482012-03-28 Joseph Myers <joseph@codesourcery.com>
21749
d6270972
JM
21750 [BZ #369]
21751 [BZ #2678]
21752 [BZ #3866]
21753 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21754 x for large integer exponent.
21755 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21756 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21757 sign of result as needed afterwards.
21758 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21759 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21760 result for underflowing pow the same as for overflow.
21761 (__kernel_standard_l): Handle powl overflow and underflow here
21762 rather than calling __kernel_standard.
21763 * math/libm-test.inc (pow_test): Add more tests.
21764
414fca03 21765 [BZ #3868]
41bf21a1
JM
21766 [BZ #13879]
21767 [BZ #13910]
21768 [BZ #13911]
21769 [BZ #13912]
21770 [BZ #13913]
21771 [BZ #13915]
21772 [BZ #13916]
21773 [BZ #13917]
21774 [BZ #13918]
21775 [BZ #13919]
21776 [BZ #13920]
21777 [BZ #13921]
21778 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21779 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21780 (__kernel_standard_l): New function.
21781 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21782 __kernel_standard.
21783 * math/w_acosl.c (__acosl): Likewise.
21784 * math/w_asinl.c (__asinl): Likewise.
21785 * math/w_atan2l.c (__atan2l): Likewise.
21786 * math/w_atanhl.c (__atanhl): Likewise.
21787 * math/w_coshl.c (__coshl): Likewise.
21788 * math/w_exp10l.c (__exp10l): Likewise.
21789 * math/w_exp2l.c (__exp2l): Likewise.
21790 * math/w_fmodl.c (__fmodl): Likewise.
21791 * math/w_hypotl.c (__hypotl): Likewise.
21792 * math/w_j0l.c (__j0l, __y0l): Likewise.
21793 * math/w_j1l.c (__j1l, __y1l): Likewise.
21794 * math/w_jnl.c (__jnl, __ynl): Likewise.
21795 * math/w_lgammal.c (__lgammal): Likewise.
21796 * math/w_log10l.c (__log10l): Likewise.
21797 * math/w_log2l.c (__log2l): Likewise.
21798 * math/w_logl.c (__logl): Likewise.
21799 * math/w_powl.c (__powl): Likewise.
21800 * math/w_remainderl.c (__remainderl): Likewise.
21801 * math/w_scalbl.c (sysv_scalbl): Likewise.
21802 * math/w_sinhl.c (__sinhl): Likewise.
21803 * math/w_sqrtl.c (__sqrtl): Likewise.
21804 * math/w_tgammal.c (__tgammal): Likewise.
21805 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21806 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21807 * math/libm-test.inc (acos_test): Add more tests.
21808 (acosh_test): Likewise.
21809 (asin_test): Likewise.
21810 (atanh_test): Likewise.
21811 (exp_test): Likewise.
21812 (exp10_test): Likewise.
21813 (exp2_test): Likewise.
21814 (expm1_test): Likewise.
21815 (lgamma_test): Likewise.
21816 (log_test): Likewise.
21817 (log10_test): Likewise.
21818 (log1p_test): Likewise.
21819 (log2_test): Likewise.
21820 (pow_test): Do not allow some spurious overflow exceptions.
21821 (sqrt_test): Add more tests.
21822 (tgamma_test): Likewise.
21823 (y0_test): Likewise.
21824 (y1_test): Likewise.
21825 (yn_test): Likewise.
21826
dd62fda6
AB
218272012-03-27 Anton Blanchard <anton@samba.org>
21828
21829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21830 MAP_HUGETLB.
21831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21832 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21834
1e3cdfda
AJ
218352012-03-27 David S. Miller <davem@davemloft.net>
21836
b855ab85
DM
21837 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21838
1e3cdfda
AJ
21839 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21840 have-as-vis3 check.
21841
218422012-03-27 Andreas Jaeger <aj@suse.de>
21843
21844 * sysdeps/x86_64/elf/configure.in: Moved to ...
21845 * sysdeps/x86_64/configure.in: ... here.
21846 * sysdeps/x86_64/elf/start.S: Moved to ...
21847 * sysdeps/x86_64/start.S: ... here.
21848 * sysdeps/x86_64/elf/configure: Delete.
21849
21850 * sysdeps/x86_64/configure.in: Merge contents from
21851 sysdeps/i386/configure.in (without i686 check).
21852
21853 * sysdeps/i386/elf/Versions: Merge into ...
21854 * sysdeps/i386/Versions: ... this.
21855 * sysdeps/i386/elf/Versions: Delete file.
21856 * sysdeps/i386/elf/start.S: Moved to ...
21857 * sysdeps/i386/start.S: ...here.
21858 * sysdeps/i386/elf/configure.in: Merge into...
21859 * sysdeps/i386/configure.in: ...here.
21860 * sysdeps/i386/elf/configure.in: Delete file.
21861 * sysdeps/i386/elf/configure: Delete file.
21862
21863 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21864 * debug/backtracesyms.c: ... here.
21865 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21866 * debug/backtracesymsfd.c: ... here.
21867 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21868 * sysdeps/generic/ifunc-sel.h: ... here.
21869
21870 * sysdeps/unix/i386/start.c: Delete file.
21871 * sysdeps/unix/sparc/start.c: Delete file.
21872 * sysdeps/unix/start.c: Delete file.
21873
21874 * sysdeps/sh/elf/configure.in: Moved to ...
21875 * sysdeps/sh/configure.in: ... here.
21876 * sysdeps/sh/elf/start.S: Moved to ...
21877 * sysdeps/sh/start.S: ... here.
21878 * sysdeps/sh/elf/configure: Delete file.
21879
21880 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21881 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21882 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21883 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21884 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21885 * sysdeps/powerpc/powerpc64/start.S: here.
21886 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21887 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21888 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21889 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21890 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21891
21892 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21893 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21894 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21895 * sysdeps/powerpc/powerpc32/start.S: ... here.
21896 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21897 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21898 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21899
21900 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21901 * sysdeps/powerpc/ifunc-sel.h: ... here.
21902 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21903 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21904
21905 * sysdeps/sparc/elf/configure.in: Moved to ...
21906 * sysdeps/sparc/configure.in: ... here.
21907 * sysdeps/sparc/elf/configure: Delete file.
21908 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21909 * sysdeps/sparc/sparc32/start.S: ... here.
21910 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21911 * sysdeps/sparc/sparc64/start.S: ... here.
21912 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21913 * sysdeps/sparc/sparc32/Makefile: ... this.
21914 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21915 * sysdeps/sparc/sparc64/Makefile: ... this.
21916
21917 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21918 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21919 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21920 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21921 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21922 * sysdeps/s390/s390-32/setjmp.S: ... here.
21923 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21924 * sysdeps/s390/s390-32/configure.in: ... here.
21925 * sysdeps/s390/s390-32/elf/configure: Delete file.
21926 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21927 * sysdeps/s390/s390-32/start.S: ... here.
21928
21929 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21930 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21931 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21932 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21933 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21934 * sysdeps/s390/s390-64/setjmp.S: ... here.
21935 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21936 * sysdeps/s390/s390-64/configure.in: ... here
21937 * sysdeps/s390/s390-64/elf/configure: Delete file.
21938 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21939 * sysdeps/s390/s390-64/start.S: ... here.
21940 * sysdeps/s390/s390-64/elf/configure: Delete.
21941
21942 * configure.in: Remove support for elf directories in sysdeps.
21943
21944 * configure: Regenerated.
21945 * sysdeps/i386/configure: Regenerated.
21946 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21947 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21948 * sysdeps/s390/s390-32/configure: Regenerated.
21949 * sysdeps/s390/s390-64/configure: Regenerated.
21950 * sysdeps/sh/configure: Regenerated.
21951 * sysdeps/sparc/configure: Regenerated.
21952 * sysdeps/x86_64/configure: Regenerated.
21953
a3f61311
AS
219542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21955
c876e002
AS
21956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21957
a3f61311
AS
21958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21959 denormal result into account.
21960
ac4c54f0
RM
219612012-03-25 Roland McGrath <roland@hack.frob.com>
21962
21963 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21964 Reported by Allan McRae <allan@archlinux.org>.
21965
6a9b9c02
JL
219662012-03-23 Jeff Law <law@redhat.com>
21967
21968 * nss/getnssent.c (__nss_getent): Fix typo.
21969
4c42a0c1
DM
219702012-03-23 David S. Miller <davem@davemloft.net>
21971
21972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21973
1532c7ac
L
219742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21975
21976 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21977 to pad to uint64_t for each field.
21978 (dl_tls_index): Replace unsigned long with uint64_t.
21979
3ff42526
PP
219802012-03-23 Daniel Jacobowitz <dmj@google.com>
21981 Paul Pluzhnikov <ppluzhnikov@google.com>
21982
21983 [BZ #6528]
21984 * grp/Makefile (otherlibs): Don't set it.
21985 * inet/Makefile (otherlibs): Likewise.
21986 * login/Makefile (otherlibs): Likewise.
21987 * nscd/Makefile (otherlibs): Likewise.
21988 * posix/Makefile (otherlibs): Likewise.
21989 * pwd/Makefile (otherlibs): Likewise.
21990 * rt/Makefile (otherlibs): Likewise.
21991 * sunrpc/Makefile (otherlibs): Likewise.
21992 * nss/Makefile (otherlibs): Likewise.
21993 Add libnss_files to routines and static-only-routines.
21994 ($(objpfx)getent): Remove rule.
21995 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21996 static-only-routines.
21997
7c69cd14
JM
219982012-03-22 Joseph Myers <joseph@codesourcery.com>
21999
22000 [BZ #13892]
22001 * math/s_cexp.c: Include <float.h>.
22002 (__cexp): Handle exp result overflowing not necessarily
22003 overflowing both real and imaginary parts of result.
22004 * math/s_cexpf.c: Likewise.
22005 * math/s_cexpl.c: Likewise.
22006 * math/libm-test.inc (cexp_test): Add more tests.
22007 * sysdeps/i386/fpu/libm-test-ulps: Update.
22008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22009
81b035fe
L
220102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22011
22012 * include/link.h (ELFW): New macro.
22013 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22014 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22015
1da7940c
L
220162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22017
22018 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22019 with uint64_t.
22020
b749dbb9
L
220212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22024 declaration.
22025 (struct La_x32_retval): Likewise.
22026
2ff87f3f
L
220272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 * sysdeps/x86_64/preconfigure.in: New file.
22030 * sysdeps/x86_64/preconfigure: New generated file.
22031
c0df8e69
JM
220322012-03-22 Joseph Myers <joseph@codesourcery.com>
22033
48e44791
JM
22034 [BZ #13824]
22035 * math/e_exp2l.c: Include <float.h>.
22036 (__ieee754_exp2l): Handle overflow and underflow cases
22037 separately. Only pass fractional part of argument to
22038 __ieee754_expl.
22039 * math/libm-test.inc (exp2_test): Add more tests.
22040
c0df8e69
JM
22041 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22042 negating x to take absolute value.
22043 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22044 Likewise.
22045 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22047 Likewise.
22048 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22049 computing low part if x was negated.
22050 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22051
c8e43ba7
L
220522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22053
22054 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22055 la_x32_gnu_pltexit.
22056 (pltexit): Cast int_retval to ptrdiff_t.
22057 * elf/tst-auditmod3b.c: Likewise.
22058 * elf/tst-auditmod4b.c: Likewise.
22059 * elf/tst-auditmod5b.c: Likewise.
22060 * elf/tst-auditmod6b.c: Likewise.
22061 * elf/tst-auditmod6c.c: Likewise.
22062 * elf/tst-auditmod7b.c: Likewise.
22063
22064 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22065 and x32_gnu_pltexit.
22066
22067 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22068 __ELF_NATIVE_CLASS.
22069 (La_x32_regs): New macro.
22070 (La_x32_retval): Likewise.
22071 (la_x32_gnu_pltenter): New function prototype.
22072 (la_x32_gnu_pltexit): Likewise.
22073
7998fa78
AS
220742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22075
dcb33988
AS
22076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22077 exponent.
22078
233fc563
AS
22079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22080
7998fa78
AS
22081 * configure.in (libc_cv_cc_nofma): Check for option to disable
22082 generation of FMA instructions.
22083 * configure: Regenerate.
22084 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22085 * sysdeps/ieee754/dbl-64/Makefile: New file.
22086 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22087 Remove brandred-fma4.
22088 (CFLAGS-brandred-fma4.c): Remove.
22089 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22091 define.
22092 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22093 define.
22094
8e95c99a
L
220952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22096
22097 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22098 LLONG_MAX != LONG_MAX.
22099 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22100 (_fitoa_word): Likewise.
22101 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22102 LLONG_MAX != LONG_MAX.
22103 * stdio-common/_itowa.h: Include <_itoa.h>.
22104 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22105 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22106 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22107 only if not defined.
22108 (_ITOA_WORD_TYPE): Likewise.
22109 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22110 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22111
6f4db457
DM
221122012-03-21 David S. Miller <davem@davemloft.net>
22113
22114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22115
7785fe5a
L
221162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22117
22118 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22119 of x86_64 when setting libc_cv_slibdir, libdir and
22120 libc_cv_localedir.
22121 * sysdeps/unix/sysv/linux/configure: Regenerated.
22122
4535cd55
JM
221232012-03-21 Joseph Myers <joseph@codesourcery.com>
22124
22125 * manual/lang.texi (Old Varargs): Remove section.
22126 (How Variadic): Update menu.
22127 (va_start): Do not mention varargs.h.
22128
17228132
TS
221292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22130 Joseph Myers <joseph@codesourcery.com>
22131
22132 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22133 link test.
22134 * configure: Regenerated.
22135
8149f976
TS
221362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22137
05f3d1f6
UD
22138 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22139 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22140 conformtest.pl
8149f976 22141
1a4ac776
JM
221422012-03-21 Joseph Myers <joseph@codesourcery.com>
22143
be22ce65
JM
22144 * NOTES: Remove.
22145 * Makefile (files-for-dist): Remove NOTES.
22146 (NOTES): Remove rule.
22147 * README: Don't refer to NOTES.
22148 * manual/creature.texi: Don't include macros.texi.
22149 * manual/intro.texi (creature.texi): Remove comment referring to
22150 NOTES.
22151
40b601fb
JM
22152 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22153 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22154 * configure: Regenerated.
22155 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22156 LIBC_TRY_CC_OPTION.
22157 (libc_cv_as_i686): Likewise.
22158 (libc_cv_cc_avx): Likewise.
22159 (libc_cv_cc_sse2avx): Likewise.
22160 (libc_cv_cc_fma4): Likewise.
22161 (libc_cv_cc_novzeroupper): Likewise.
22162 * sysdeps/i386/configure: Regenerated.
22163
1a4ac776
JM
22164 [BZ #13883]
22165 * sysdeps/i386/fpu/s_cexp.S: Remove.
22166 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22167 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22168 * math/libm-test.inc (cexp_test): Add more tests.
22169 * sysdeps/i386/fpu/libm-test-ulps: Update.
22170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171
a458e7fe
AM
221722012-03-21 Allan McRae <allan@archlinux.org>
22173
22174 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22175
0cb7efc5
JM
221762012-03-21 Joseph Myers <joseph@codesourcery.com>
22177
22178 [BZ #13871]
22179 * math/w_exp2.c: Do not include <float.h>.
22180 (o_threshold, u_threshold): Remove.
22181 (__exp2): Calculate result before checking finiteness and calling
22182 __kernel_standard.
22183 * math/w_exp2f.c: Likewise.
22184 * math/w_exp2l.c: Likewise.
22185 * math/libm-test.inc (exp2_test): Require overflow exception for
22186 1e6 input.
2460d3aa
JM
22187
22188 [BZ #3866]
22189 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22190 range of signed 64-bit integers before using fistpll. Remove
22191 checks for whether integers fit in mantissa bits.
22192 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22193 the range of signed 32-bit integers before using fistpl. Remove
22194 checks for whether integers fit in mantissa bits.
22195 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22196 (__ieee754_powl): Test for y outside the range of signed 64-bit
22197 integers before using fistpll. Reduce 64-bit values to 63-bit
22198 ones as needed.
22199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22200 divide-by-zero is raised for zero to large negative powers.
22201 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22202 (__ieee754_powl): Test for y outside the range of signed 64-bit
22203 integers before using fistpll. Reduce 64-bit values to 63-bit
22204 ones as needed.
22205 * math/libm-test.inc (pow_test): Add more tests.
22206
eb96ffb0
L
222072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22208
22209 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22210 <stdio-common/_itoa.h>.
22211 * debug/segfault.c: Likewise.
22212 * elf/dl-cache.c: Likewise.
22213 * elf/dl-minimal.c: Likewise.
22214 * elf/dl-misc.c: Likewise.
22215 * elf/dl-sysdep.c: Likewise.
22216 * elf/dl-version.c: Likewise.
22217 * elf/rtld.c: Likewise.
22218 * hurd/hurdsock.c: Likewise.
22219 * hurd/lookup-retry.c: Likewise.
22220 * malloc/malloc.c: Likewise.
22221 * malloc/mtrace.c: Likewise.
22222 * nscd/nscd_getgr_r.c: Likewise.
22223 * nscd/nscd_getpw_r.c: Likewise.
22224 * nscd/nscd_getserv_r.c: Likewise.
22225 * posix/getopt_init.c: Likewise.
22226 * posix/wordexp.c: Likewise.
22227 * stdio-common/_itoa.c: Likewise.
22228 * stdio-common/printf_fphex.c: Likewise.
22229 * stdio-common/vfprintf.c: Likewise.
22230 * string/_strerror.c: Likewise.
22231 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22232 * sysdeps/i386/i686/hp-timing.h: Likewise.
22233 * sysdeps/mach/_strerror.c: Likewise.
22234 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22235 * sysdeps/mach/hurd/sethostid.c: Likewise.
22236 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22237 * sysdeps/mach/xpg-strerror.c: Likewise.
22238 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22239 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22240 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22241 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22242 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22243 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22245 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22246 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22247 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22248 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22249 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22250 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22251 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22252 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22253 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22254 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22255 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22256 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22257 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22258 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22259
22260 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22261
22262 * stdio-common/_itoa.h: Moved to ...
22263 * sysdeps/generic/_itoa.h: Here.
22264
22265 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22266
22267 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22268 instead of "_itoa.h" and "_itowa.h".
22269 * stdio-common/vfprintf.: Likewise.
22270
d1af992d
L
222712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22272
22273 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22274 <bits/wordsize.h>.
22275 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22276 (__signbit): Likwise.
22277 (llrintf): Likwise.
22278 (llrint): Likwise.
22279
114883e0
L
222802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22281
22282 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22283 __WORDSIZE != 64.
22284
c135cc1b
JM
222852012-03-20 Joseph Myers <joseph@codesourcery.com>
22286
22287 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22288 OVERFLOW_EXCEPTION_OK.
22289 * math/libm-test.inc ("Philosophy"): Update comment about
22290 exception testing.
22291 (OVERFLOW_EXCEPTION): Define.
22292 (OVERFLOW_EXCEPTION_OK): Likewise.
22293 (INVALID_EXCEPTION_OK): Renumber.
22294 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22295 (IGNORE_ZERO_INF_SIGN): Likewise.
22296 (test_exceptions): Handle FE_OVERFLOW.
22297 (exp10_test): Expect overflow exceptions.
22298 (exp2_test): Likewise.
22299 (expm1_test): Likewise.
22300 (nextafter_test): Likewise.
22301 (pow_test): Likewise.
22302 (scalbn_test): Likewise.
22303 (scalbln_test): Likewise.
22304
95443d88
L
223052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22306
22307 * sysdeps/x86_64/bits/atomic.h
22308 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22309 64bit integer.
22310 (atomic_exchange_acq): Likewise.
22311 (__arch_exchange_and_add_body): Likewise.
22312 (__arch_add_body): Likewise.
22313 (atomic_add_negative): Likewise.
22314 (atomic_add_zero): Likewise.
22315
490df6c4
L
223162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22317
c2722551 22318 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22319 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22320
5e52b189
L
223212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22322
22323 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22324 Check __x86_64__ instead of __WORDSIZE.
22325
a9879d4c
L
223262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22327
22328 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22329
5df98260
DM
223302012-03-19 David S. Miller <davem@davemloft.net>
22331
e1497744
DM
22332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22333
5df98260
DM
22334 * sysdeps/sparc/fpu/fenv_private.h: New file.
22335 * sysdeps/sparc/fpu/math_private.h: Use it.
22336 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22337 Remove.
22338 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22339 (libc_feholdexcept_setroundl): Remove.
22340 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22341 Remove.
22342 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22343 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22344
b4c35121
L
223452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22346
22347 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22348 int64_t instead of long int.
22349 (INSERT_WORDS64): Likwise.
22350
56965fd7
L
223512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22354 _Unwind_GetCFA return to _Unwind_Ptr first.
22355
83d1aec8
JM
223562012-03-19 Joseph Myers <joseph@codesourcery.com>
22357
1897ad44
JM
22358 [BZ #13629]
22359 * math/s_clog.c: Include <float.h>.
22360 (__clog): Scale large or subnormal inputs.
22361 * math/s_clogf.c: Likewise.
22362 * math/s_clogl.c: Likewise.
22363 * math/s_clog10.c: Include <float.h>.
22364 (M_LOG10_2): Define.
22365 (__clog10): Scale large or subnormal inputs.
22366 * math/s_clog10f.c: Likewise.
22367 * math/s_clog10l.c: Likewise.
22368 * math/libm-test.inc (clog_test): Add more tests.
22369 (clog10_test): Likewise.
22370 * sysdeps/i386/fpu/libm-test-ulps: Update.
22371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22372
7726d6a9
JM
22373 [BZ #11451]
22374 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22375 x and y.
22376 * math/libm-test.inc (atan2_test): Add another test.
22377
83d1aec8
JM
22378 * Makerules (common-objdir-compile): Remove.
22379 * sysdeps/unix/Makefile (config-generated): Do not add
22380 $(unix-generated) to variable.
22381 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22382 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22383 Remove rule.
22384 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22385 Likewise.
22386 [generic bits/local_lim.h] (before-compile): Do not append to
22387 variable.
22388 [generic bits/local_lim.h] (common-generated): Likewise.
22389 [generic sys/param.h] (before-compile): Do not append to variable.
22390 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22391 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22392 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22393 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22394 include.
22395 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22396 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22397 [generic sys/param.h] ($(addprefix
22398 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22399 [generic sys/param.h] (common-generated): Do not append to
22400 variable.
22401 [generic sys/param.h] (sysdep_headers): Likewise.
22402 [generic bits/errno.h] (before-compile): Do not append to
22403 variable.
22404 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22405 rule.
22406 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22407 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22408 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22409 [generic bits/errno.h] (common-generated): Do not append to
22410 variable.
22411 [generic bits/ioctls.h] (before-compile): Do not append to
22412 variable.
22413 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22414 rule.
22415 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22416 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22417 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22418 rule.
22419 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22420 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22421 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22422 [generic bits/ioctls.h] (common-generated): Do not append to
22423 variable.
22424 [generic sys/syscall.h] (syscall.h): Remove variable.
22425 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22426 rule.
22427 [generic sys/syscall.h] (before-compile): Do not append to
22428 variable.
22429 [generic sys/syscall.h] (common-generated): Likewise.
22430 * sysdeps/unix/errnos-tmpl.c: Remove file.
22431 * sysdeps/unix/errnos.awk: Likewise.
22432 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22433 * sysdeps/unix/ioctls.awk: Likewise.
22434 * sysdeps/unix/mk-local_lim.c: Likewise.
22435 * sysdeps/unix/snarf-ioctls: Likewise.
22436
4851a949
RH
224372012-03-19 Richard Henderson <rth@twiddle.net>
22438
bd37f2ee
RH
22439 * sysdeps/i386/fpu/fenv_private.h: New file.
22440 * sysdeps/i386/fpu/math_private.h: Use it.
22441 (math_opt_barrier, math_force_eval): Remove.
22442 (libc_feholdexcept_setround_53bit): Remove.
22443 (libc_feupdateenv_53bit): Remove.
22444 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22445 (math_opt_barrier, math_force_eval): Remove.
22446 (libc_feholdexcept): Remove.
22447 (libc_feholdexcept_setround): Remove.
22448 (libc_fetestexcept, libc_fesetenv): Remove.
22449 (libc_feupdateenv_test): Remove.
22450 (libc_feupdateenv, libc_feholdsetround): Remove.
22451 (libc_feresetround): Remove.
22452
d0adc922
RH
22453 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22454 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22455
0fe0f1f8
RH
22456 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22457 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22458 (libc_feupdateenv_testl): New.
22459 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22460 (libc_feupdateenv_testf): New.
22461 (libc_feupdateenv): Use libc_feupdateenv_test.
22462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22463 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22464
eb92c487
RH
22465 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22466 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22467 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22468 (libc_feresetround_noex): New.
22469 (libc_feresetround_noexf): New.
22470 (libc_feresetround_noexl): New.
22471 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22472 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22473 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22474 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22475 SET_RESTORE_ROUND.
22476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22478 (__cos): Likewise.
22479 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22480 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22481 SET_RESTORE_ROUND_NOEX.
22482 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22483 SET_RESTORE_ROUND_NOEXF.
22484 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22485 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22486 (libc_feholdsetroundf): New.
22487 (libc_feresetround, libc_feresetroundf): New.
22488
7d2e8012
RH
22489 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22490 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22491 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22492
b4dabbb4
RH
22493 * sysdeps/generic/math_private.h: Include <fenv.h>.
22494 (default_libc_feholdexcept): New.
22495 (default_libc_feholdexcept_setround): New.
22496 (default_libc_fesetenv, default_libc_feupdateenv): New.
22497 (libc_feholdexcept): Only define if undefined.
22498 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22499 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22500 (libc_feholdexcept_setroundl): Likewise.
22501 (libc_feholdexcept_setround_53bit): Likewise.
22502 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22503 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22504 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22505 (libc_feupdateenv_53bit): Likewise.
22506 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22507 (libc_feholdexcept): Convert from macro to inline function.
22508 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22509 (libc_fesetenv, libc_feupdateenv): Likewise.
22510
4851a949
RH
22511 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22512 not previously defined.
22513 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22514 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22515 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22516 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22517 * sysdeps/ieee754/flt-32/math_private.h: New file.
22518 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22519 math_private.h below SET_FLOAT_WORD.
22520 (__isnan, __isinf_ns, __finite): Remove.
22521 (__isnanf, __isinf_nsf, __finitef): Remove.
22522
e79d442e
AS
225232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22524
22525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22526
90b80344
DM
225272012-03-17 David S. Miller <davem@davemloft.net>
22528
22529 [BZ #6471]
22530 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22531 for 2.16.
22532
edc21804
DM
225332012-03-16 David S. Miller <davem@davemloft.net>
22534
77e927af
DM
22535 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22536 warnings.
22537
374976dd
DM
22538 [BZ #6471]
22539 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22540 properly.
22541 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22542 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22543 sysdep_routines when subdir is sysvipc.
22544 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22545 __getshmlba helper.
22546
edc21804
DM
22547 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22548
473c3ef3
L
225492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22550
22551 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22552 [__LP64__].
22553
eb0f39b6
L
225542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22557 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22558 (__lround): Renamed to ...
22559 (__llround): This. Replace long int with long long int.
22560 Define lround functions as aliases of llround functions.
22561 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22562
6b6cd74b
L
225632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22566 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22567 adresses to uintptr_t. Replace "long int" and "unsigned long
22568 int" with "greg_t" on va_arg.
22569
f1a77b01
L
225702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22571
22572 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22573 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22574
22575 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22576 Move e_machine check before EI_CLASS check. Handle x32
22577 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22578 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22579 SKIP_EM_IA_64 and include
22580 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22581
22582 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22583 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22584 (add_system_dir): New macro.
22585
22586 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22587 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22588
11b90b9f
JM
225892012-03-16 Joseph Myers <joseph@codesourcery.com>
22590
c36e1d23
JM
22591 [BZ #2551]
22592 [BZ #2552]
22593 [BZ #2553]
22594 [BZ #2554]
22595 [BZ #2562]
22596 [BZ #2563]
22597 [BZ #2565]
22598 [BZ #2566]
22599 [BZ #2576]
22600 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22601 (y0): Likewise.
22602 * math/w_j0f.c (j0f): Likewise.
22603 (y0f): Likewise.
22604 * math/w_j0l.c (__j0l): Likewise.
22605 (__y0l): Likewise.
22606 * math/w_j1.c (j1): Likewise.
22607 (y1): Likewise.
22608 * math/w_j1f.c (j1f): Likewise.
22609 (y1f): Likewise.
22610 * math/w_j1l.c (__j1l): Likewise.
22611 (__y1l): Likewise.
22612 * math/w_jn.c (jn): Likewise.
22613 (yn): Likewise.
22614 * math/w_jnf.c (jnf): Likewise.
22615 (ynf): Likewise.
22616 * math/w_jnl.c (__jnl): Likewise.
22617 (__ynl): Likewise.
22618 * math/libm-test.inc (j0_test): Add more tests.
22619 (j1_test): Likewise.
22620 (jn_test): Likewise. Add trailing semicolon to existing test.
22621 (y0_test): Likewise.
22622 (y1_test): Likewise.
22623 * sysdeps/i386/fpu/libm-test-ulps: Update.
22624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22625
11b90b9f
JM
22626 [BZ #13851]
22627 [BZ #13854]
22628 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22629 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22630 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22632 (__tanl): Set errno for infinite argument.
22633 * sysdeps/i386/fpu/mptan.c: Remove.
22634 * sysdeps/i386/fpu/s_tan.S: Likewise.
22635 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22636 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22637 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22638 * math/libm-test.inc (tan_test): Add more tests and enable more
22639 tests for double and long double.
22640 * sysdeps/i386/fpu/libm-test-ulps: Update.
22641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22642
6a1bd2a1
JK
226432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22644
22645 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22646 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22647
10a803e0
RM
226482012-03-16 Roland McGrath <roland@hack.frob.com>
22649
22650 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22651 * configure.in: Use it for both main tree and add-ons.
22652 * configure: Regenerated.
22653
f196c7f7
L
226542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22657
8848d99d
JM
226582012-03-16 Joseph Myers <joseph@codesourcery.com>
22659
96cbe7f4
JM
22660 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22661 in comment.
22662
8848d99d
JM
22663 [BZ #13851]
22664 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22665 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22669 infinite argument.
22670 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22672 != 0 for prec == 2.
22673 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22674 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22675 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22676 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22677 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22678 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22679 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22680 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22681 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22682 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22683 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22684 * math/libm-test.inc (cos_test): Add more tests and enable more
22685 tests for long double.
22686 (sin_test): Likewise.
22687 (sincos_test): Likewise.
22688 * sysdeps/i386/fpu/libm-test-ulps: Update.
22689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22690
dd7f4703
DM
226912012-03-16 David S. Miller <davem@davemloft.net>
22692
22693 * sysdeps/sparc/fpu/math_private.h: New file.
22694
006f1daa
DM
226952012-03-15 David S. Miller <davem@davemloft.net>
22696
c0c83bc8
DM
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22698 file.
e6a62e18 22699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22701 file.
e6a62e18
DM
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22708 sysdep routines.
22709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22710
88cb87d9
DM
22711 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22712 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22713
006f1daa 22714 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22716 sparc-ifunc.h
006f1daa 22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22719 Likewise.
22720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22721 Likewise.
006f1daa
DM
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22726 Likewise.
006f1daa
DM
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22732 Likewise.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22734 Likewise.
006f1daa
DM
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22759
11e0098e
AS
227602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22761
22762 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22763 scaling.
22764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22765
e85b09d0
AJ
227662012-03-15 Andreas Jaeger <aj@suse.de>
22767
22768 [BZ #13852]
22769 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22770 ieee754/flt-32 implementation for sin, cos and sincos.
22771 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22772 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22773 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22774 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22775 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22776 ieee754/flt-32 implementation for tan.
22777
22778 * math/libm-test.inc (cos_test): Enable some large input tests for
22779 float as well
22780 (sin_test): Likewise.
22781 (sincos_test): Likewise.
22782 (tan_test): Add tests for large input.
22783
22784 * sysdeps/i386/fpu/libm-test-ulps: Update.
22785
81c64153
AJ
227862012-03-15 Andreas Jaeger <aj@suse.de>
22787
22788 [BZ #13658]
22789 * math/libm-test.inc (cos_test): Add more test cases.
22790 (sin_test): Likewise.
22791 (sincos_test): Likewise.
22792
7bbfa5c6
AJ
227932012-03-15 Andreas Jaeger <aj@suse.de>
22794
22795 [BZ #13837]
22796 * math/libm-test.inc (cos_test): Add a test case for large input
22797 value.
22798 (sin_test): Likewise.
22799 (sincos_test): Likewise.
22800
228012012-03-15 Andreas Jaeger <aj@suse.de>,
22802 Joseph Myers <joseph@codesourcery.com>
22803
22804 [BZ #13658]
0671f479 22805 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22806 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22807 * sysdeps/i386/fpu/branred.c: Likewise.
22808 * sysdeps/i386/fpu/dosincos.c: Likewise.
22809 * sysdeps/i386/fpu/mpa.c: Likewise.
22810 * sysdeps/i386/fpu/s_cos.S: Likewise.
22811 * sysdeps/i386/fpu/s_sin.S: Likewise.
22812 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22813 * sysdeps/i386/fpu/sincos32.c: Likewise.
22814
22815 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22816 Define.
22817 (libc_feupdateenv_53bit): Define.
22818 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22819 Define.
22820 (libc_feupdateenv_53bit): Define.
22821
22822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22823 53 bit (without extend i386 double precision).
22824
22825 * math/libm-test.inc (sincos_test): Add tests for large input.
22826 (sin): Likewise.
22827 (cos): Likewise.
22828
22829 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22830
9cad04ea
AS
228312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22832
22833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22834
f7062b9a
DM
228352012-03-15 David S. Miller <davem@davemloft.net>
22836
22837 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22838 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22839 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22840 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22853 file.
f7062b9a 22854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22856 file.
f7062b9a 22857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22859 file.
f7062b9a 22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22862 file.
f7062b9a
DM
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22865 fmin/fmax sysdep routines.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22867
7bd951ff
DM
228682012-03-14 David S. Miller <davem@davemloft.net>
22869
559398ab
DM
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22899 routines.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22901 file.
559398ab 22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22904 file.
559398ab 22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22907 file.
559398ab 22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22910 file.
559398ab 22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22913 file.
559398ab 22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22916 file.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22918 file.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22920 file.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22922 file.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22924 New file.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22926 file.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22928 file.
559398ab 22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22931 file.
559398ab 22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22934 file.
559398ab 22935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22937 file.
559398ab 22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22940 VIS3 routines.
559398ab
DM
22941
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22943 New file.
22944
5a1c1e32
DM
22945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22946
eae47a36
DM
22947 * sysdeps/sparc/configure.in: New file.
22948 * sysdeps/sparc/configure: Generate.
22949 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22950 * configure: Regenerate.
22951 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22952 * config.make.in (have-as-vis3): New.
22953 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22954 available use -Av9d instead of -Av9a.
22955 * sysdeps/sparc/sparc64/Makefile: Likewise.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22958 New file.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22960 file.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22962 New file.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22964 file.
eae47a36
DM
22965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22970
c0c83bc8
DM
22971 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22972 fzeros/fnegs to load 0x80000000 into a float register instead of
22973 using the stack.
7bd951ff
DM
22974 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22975
bd951ccb
JM
229762012-03-14 Joseph Myers <joseph@codesourcery.com>
22977
22978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22979 bits/syscall.h.
22980 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22981 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22982 ($(inst_includedir)/bits/syscall.h): Remove rule.
22983 ($(objpfx)bits/syscall.d): Include instead of
22984 $(objpfx)syscall-list.d.
22985 (generated): Change syscall-list.h and syscall-list.d to
22986 bits/syscall.h and bits/syscall.d.
22987
bb4e6db2
RM
229882012-03-14 Roland McGrath <roland@hack.frob.com>
22989
22990 [BZ #13846]
22991 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22992
aa4a2ae1
JM
229932012-03-14 Joseph Myers <joseph@codesourcery.com>
22994
e456826d
JM
22995 [BZ #13841]
22996 * math/s_csqrt.c: Include <float.h>.
22997 (__csqrt): Scale large or subnormal inputs.
22998 * math/s_csqrtf.c: Likewise.
22999 * math/s_csqrtl.c: Likewise.
23000 * math/libm-test.inc (csqrt_test): Add more tests.
23001 * sysdeps/i386/fpu/libm-test-ulps: Update.
23002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23003
aa4a2ae1
JM
23004 [BZ #13840]
23005 * math/libm-test.inc (hypot_test): Add more tests.
23006
7c10fd35
DM
230072012-03-13 David S. Miller <davem@davemloft.net>
23008
23009 [BZ #13840]
23010 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23011 double-precision for the calculation instead of scaling.
23012
f453b98b
JM
230132012-03-13 Joseph Myers <joseph@codesourcery.com>
23014
23015 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23016 manipulate bits before adding and subtracting TWO52[sx].
23017 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23018 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23019 Likewise.
23020 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23021
09a3453f
DM
230222012-03-13 David S. Miller <davem@davemloft.net>
23023
8e59da90
DM
23024 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23025 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23027 rtld-global-offsets.h
23028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23029
2a8ab7f2
DM
23030 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23031 large parameters.
23032
10f62770
DM
23033 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23034
5f0bdb18
DM
23035 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23036 'err' in the ifdef scope in which it is actually used.
23037
09a3453f
DM
23038 * nss/nss_db/db-init.c: Include string.h
23039
b4b2eb5e
DM
230402012-03-12 David S. Miller <davem@davemloft.net>
23041
98bb2f1c
DM
23042 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23043 masking out of the most significant byte of random value used.
23044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23045 Fix coding style in previous change.
23046
b4b2eb5e
DM
23047 * sysdeps/unix/sysv/linux/kernel-features.h
23048 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23049 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23050 expression.
23051 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23052 later.
23053
6e226b09
DM
230542012-03-11 David S. Miller <davem@davemloft.net>
23055
a1bcbd40
DM
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23057 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23059 for 'resultvar' otherwise things get truncated on 64-bit.
23060
cb9d6174
DM
23061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23062 Fix masking out of the most significant byte of random value used.
23063
6e226b09
DM
23064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23065
058c132d
AS
230662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23067
23068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23069
2d2cd515
DM
230702012-03-09 David S. Miller <davem@davemloft.net>
23071
23072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23073 variables with appropriate CPP guards.
23074 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23075 frame pointer, not the stack pointer. Correct layout comments. Fix test
23076 on resulting framesize and the management of the outregs buffer for pltexit.
23077 Preserve floating point return values across _dl_call_pltexit call.
23078 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23079 framesize and the management of the outregs buffer for pltexit.
23080 Preserve floating point return values across _dl_call_pltexit
23081 call.
23082 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23083 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23084 (print_exit): Fix format string for return register value.
23085
9a07f9d0
JM
230862012-03-10 Joseph Myers <joseph@codesourcery.com>
23087
23088 * sunrpc/Makefile (others): Add rpcgen.
23089 ($(objpfx)rpcgen): Remove special build rule and dependency on
23090 libc.
23091 * sunrpc/rpcgen.c: New file.
23092
547b5e30
PE
230932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23094
c524201a
PE
23095 [BZ #13673]
23096 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23097 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23098 * sysdeps/i386/crti.S: Likewise.
23099 * sysdeps/i386/crtn.S: Likewise.
23100 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23101 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23102 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23103 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23104 * sysdeps/sh/crti.S: Likewise.
23105 * sysdeps/sh/crtn.S: Likewise.
23106 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23107
7b6235f2
PE
23108 [BZ #13673]
23109 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23110 with URL.
23111 * locale/programs/locfile-kw.gperf: Likewise.
23112 * locale/programs/charmap-kw.h: Regenerated.
23113 * locale/programs/locfile-kw.h: Likewise.
23114
547b5e30
PE
23115 [BZ #13673]
23116 * intl/plural.y: Replace FSF snail mail address with URL.
23117 * intl/plural.c: Regenerated.
23118
5f0a5dae
RH
231192012-03-09 Richard Henderson <rth@twiddle.net>
23120
23121 * include/math_private.h: Remove file.
23122 * math/math_private.h: Move file ...
23123 * sysdeps/generic/math_private.h: ... here.
23124
b8c03620
RH
23125 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23126 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23127 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23128
4e234f5d 23129 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23130 and <math_private.h>.
23131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23219 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23224 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23225 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23226 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23228 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23230 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23231 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23232 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23233 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23234 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23236 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23240 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23241 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23242 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23243 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23244 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23248 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23249 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23250 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23251 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23254 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23255 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23257 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23258 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23259 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23260 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23262 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23263 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23264 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23266 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23267 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23268 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23269 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23270 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23272 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23273 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23274 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23275 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23276 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23277 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23278 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23279 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23280 * sysdeps/ieee754/k_standard.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23289 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23396 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23400 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23403 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23408 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23413 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23441 * sysdeps/ieee754/s_lib_version.c: Likewise.
23442 * sysdeps/ieee754/s_matherr.c: Likewise.
23443 * sysdeps/ieee754/s_signgam.c: Likewise.
23444 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23445 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23446 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23447 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23448 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23449 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23450 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23451 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23452 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23453 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23454 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23455 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23456 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23457 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23458 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23459 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23460 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23461 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23465
1991fa03
JM
234662012-03-09 Joseph Myers <joseph@codesourcery.com>
23467
23468 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23469 * sunrpc/rpc_main.c: Likewise.
23470 * sunrpc/rpc_svcout.c: Likewise.
23471
60d6f5a6
DM
234722012-03-09 David S. Miller <davem@davemloft.net>
23473
23474 * include/math_private.h: New file.
23475
4962050e
JM
234762012-03-09 Joseph Myers <joseph@codesourcery.com>
23477
02a6f887
JM
23478 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23479 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23480 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23481 from <bits/socket_type.h>.
23482 (enum __socket_type): Don't define here.
23483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23485 bits/socket_type.h.
23486
c6e013c1
JM
23487 [BZ #13566]
23488 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23489 checking __USE_GNU.
23490
4962050e
JM
23491 * Makerules ($(inst_includedir)/%.h): New rule.
23492 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23493 (install-others): Remove variable setting.
23494 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23495
38842f45
RH
234962012-03-08 Richard Henderson <rth@twiddle.net>
23497
67bb6da6
RH
23498 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23499 from macro to inline function; merge with the
23500 !__LIBC_INTERNAL_MATH_INLINES version.
23501 (__ieee754_sqrtf): Likewise.
23502
15194b4b
RH
23503 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23504 to inline function.
23505 (__rintf, __floor, __floorf): Likewise.
23506
64e21ede
RH
23507 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23508 macro to inline function.
23509 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23510
38842f45
RH
23511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23512 not <math/math_private.h>.
23513
c64bf5fe
DM
235142012-03-08 David S. Miller <davem@davemloft.net>
23515
23516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23517 copyright year.
23518 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23519
82d86f28
TS
235202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23521
23522 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23523 normalization.
23524 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23525 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23526
aea5d727
UD
235272012-03-08 Ulrich Drepper <drepper@gmail.com>
23528
23529 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23530 be defined individually, they must be defined as a block. Define
23531 S for printing a string instead of hidint the different by using a
23532 macro for adding the 'l'.
23533 * stdio-common/tst-fphex-wide.c: Adjust.
23534
70bca0a3
MP
235352012-03-07 Marek Polacek <polacek@redhat.com>
23536
23537 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23538
65b81130
MP
235392012-03-08 Marek Polacek <polacek@redhat.com>
23540
23541 [BZ #13806]
23542 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23543 * stdio-common/tst-fphex.c: Define a few macros to make the
23544 test reusable. Use them.
23545 * stdio-common/tst-fphex-wide.c: New file.
23546
07037eeb
JM
235472012-03-08 Joseph Myers <joseph@codesourcery.com>
23548
a7a93d50
JM
23549 [BZ #6911]
23550 * manual/macros.texi (gnusystems): New macro.
23551 (nongnusystems): Likewise.
23552 (gnulinuxhurdsystems): Likewise.
23553 (gnuhurdsystems): Likewise..
23554 (gnulinuxsystems): Likewise.
23555 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23556 variants of the GNU system, not "GNU system".
23557 * manual/conf.texi: Likewise.
23558 * manual/errno.texi: Likewise. Update example of errno macro
23559 expansion.
23560 * manual/filesys.texi: Likewise.
23561 (getumask): Document as specific to GNU/Hurd.
23562 * manual/install.texi: Likewise. Reword some references to
23563 GNU/Linux.
23564 * manual/intro.texi: Likewise.
23565 * manual/io.texi: Likewise.
23566 (File Name Portability): Detail which constraints are inapplicable
23567 to all GNU systems and which are only inapplicable to GNU/Hurd.
23568 * manual/job.texi: Likewise.
23569 * manual/llio.texi: Likewise.
23570 (O_NOCTTY): Document as present on GNU/Linux.
23571 * manual/maint.texi: Likewise.
23572 * manual/memory.texi: Likewise.
23573 * manual/pattern.texi: Likewise.
23574 * manual/pipe.texi: Likewise.
23575 * manual/process.texi: Likewise.
23576 * manual/resource.texi: Likewise.
23577 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23578 child on GNU/Hurd.
23579 * manual/setjmp.texi: Likewise.
23580 * manual/signal.texi: Likewise.
23581 * manual/startup.texi: Likewise.
23582 * manual/stdio.texi: Likewise.
23583 * manual/terminal.texi: Likewise.
23584 (ONLCR): Document as POSIX.
23585 (OXTABS): Document availability on GNU/Linux as XTABS.
23586 (ONOEOT): Document availability separately from other bits.
23587 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23588 * manual/time.texi: Likewise.
23589 * manual/users.texi: Likewise.
23590 * INSTALL: Regenerated.
23591 * sysdeps/gnu/errlist.c: Regenerated.
23592
07037eeb
JM
23593 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23594 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23595 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23596 puts.
23597 * configure: Regenerated.
23598
d1d3431a
JM
235992012-03-07 Joseph Myers <joseph@codesourcery.com>
23600
af6a1e37
JM
23601 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23602 default includes instead of AC_HEADER_CHECK.
23603 * sysdeps/i386/configure: Regenerated.
23604
d1d3431a
JM
23605 [BZ #10716]
23606 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23607 * math/s_cacoshf.c (__cacoshf): Likewise.
23608 * math/s_cacoshl.c (__cacoshl): Likewise.
23609 * math/s_casinh.c (__casinh): Set signs of result from argument.
23610 * math/s_casinhf.c (__casinhf): Likewise.
23611 * math/s_casinhl.c (__casinhl): Likewise.
23612 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23613 (casinh_test): Add more tests.
23614 * sysdeps/i386/fpu/libm-test-ulps: Update.
23615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23616
482ff4da
UD
236172012-03-07 Ulrich Drepper <drepper@gmail.com>
23618
872fda05
UD
23619 * po/zh_TW.po: Update from translation team.
23620
a4300c7a
UD
23621 * login/Makefile (distribute): Remove variable.
23622 * catgets/Makefile: Likewise.
23623 * mach/Makefile: Likewise.
23624 * malloc/Makefile: Likewise.
23625 * misc/Makefile: Likewise.
23626 * iconv/Makefile: Likewise.
23627 * nscd/Makefile: Likewise.
23628 * hurd/Makefile: Likewise.
23629 * manual/Makefile: Likewise.
23630 * locale/Makefile: Likewise.
23631 * intl/Makefile: Likewise.
23632 * conform/Makefile: Likewise.
23633 * nss/Makefile: Likewise.
23634 * time/Makefile: Likewise.
23635 * soft-fp/Makefile: Likewise.
23636 * dirent/Makefile: Likewise.
23637 * gmon/Makefile: Likewise.
23638 * po/Makefile: Likewise.
23639 * rt/Makefile: Likewise.
23640 * socket/Makefile: Likewise.
23641 * math/Makefile: Likewise.
23642 * signal/Makefile: Likewise.
23643 * debug/Makefile: Likewise.
23644 * elf/Makefile: Likewise.
23645 * timezone/Makefile: Likewise.
23646 * stdlib/Makefile: Likewise.
23647 * iconvdata/Makefile: Likewise.
23648 * sunrpc/Makefile: Likewise.
23649 * io/Makefile: Likewise.
23650 * argp/Makefile: Likewise.
23651 * inet/Makefile: Likewise.
23652 * hesiod/Makefile: Likewise.
23653 * grp/Makefile: Likewise.
23654 * csu/Makefile: Likewise.
23655 * wctype/Makefile: Likewise.
23656 * crypt/Makefile: Likewise.
23657 * libio/Makefile: Likewise.
23658 * string/Makefile: Likewise.
23659 * nis/Makefile: Likewise.
23660 * resolv/Makefile: Likewise.
23661 * stdio-common/Makefile: Likewise.
23662 * wcsmbs/Makefile: Likewise.
23663 * dlfcn/Makefile: Likewise.
23664 * posix/Makefile: Likewise.
23665
3b7c4e74 23666 [BZ #6959]
482ff4da
UD
23667 * timezone/Makefile: Don't install timezone files, just the programs
23668 and scripts.
23669
f72ed77d
UD
236702012-03-06 Ulrich Drepper <drepper@gmail.com>
23671
a000466f
UD
23672 * nss/databases.def: Add missing gshadow entry.
23673
f72ed77d
UD
23674 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23675
a53b7a4e
MP
236762012-03-06 Marek Polacek <polacek@redhat.com>
23677
23678 [BZ #13726]
23679 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23680 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23681 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23682 * stdio-common/tst-long-dbl-fphex.c: New file.
23683
e9258400
DM
236842012-03-06 David S. Miller <davem@davemloft.net>
23685
23686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23687 (set_obp_int): New function.
23688 (get_obp_int): New function.
23689 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23691 Avoid unused variable warnings on 'val' and use builtin_expect.
23692 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23693 __builtin_expect.
e9258400
DM
23694 (INLINE_CLONE_SYSCALL): Likewise.
23695
3bd2c723
DM
236962012-03-05 David S. Miller <davem@davemloft.net>
23697
23698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23699
bbb78d03
AS
237002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23701
884c5db4
AS
23702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23703
bbb78d03
AS
23704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23705 only for |x| >= 40.
23706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23707
1c9f702a 237082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23709
23710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23711 Replace gettimeofday with __vdso_gettimeofday.
23712
7be16f82
RM
23713 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23714 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23715 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23716
23717 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23718 time with __vdso_time.
23719
ed58a00f
JM
237202012-03-05 Joseph Myers <joseph@codesourcery.com>
23721
23722 * manual/lang.texi (size_t): Note types to which size_t may be
23723 equivalent with the GNU C Library, but do not describe when
23724 differences between them are significant.
23725
30ee4ced
AJ
237262012-03-05 Andreas Jaeger <aj@suse.de>
23727
23728 * sysdeps/i386/fpu/libm-test-ulps: Update.
23729
b7cd39e8
JM
237302012-03-05 Joseph Myers <joseph@codesourcery.com>
23731
23732 [BZ #3976]
23733 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23734 (__ieee754_pow): Save and restore rounding mode and use
23735 round-to-nearest for main computations.
23736 * math/libm-test.inc (pow_test_tonearest): New function.
23737 (pow_test_towardzero): Likewise.
23738 (pow_test_downward): Likewise.
23739 (pow_test_upward): Likewise.
23740 (main): Call the new functions.
23741 * sysdeps/i386/fpu/libm-test-ulps: Update.
23742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23743
23744 [BZ #3976]
23745 * math/libm-test.inc (cosh_test_tonearest): New function.
23746 (cosh_test_towardzero): Likewise.
23747 (cosh_test_downward): Likewise.
23748 (cosh_test_upward): Likewise.
23749 (sinh_test_tonearest): Likewise.
23750 (sinh_test_towardzero): Likewise.
23751 (sinh_test_downward): Likewise.
23752 (sinh_test_upward): Likewise.
23753 (main): Call the new functions.
23754 * sysdeps/i386/fpu/libm-test-ulps: Update.
23755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23756
6c6a98c9
TV
237572012-03-05 Tom de Vries <tom@codesourcery.com>
23758
23759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23760 default stack guard is set in last bytes.
23761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23762
21bb2d2e 237632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23764
21bb2d2e 23765 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23766
21bb2d2e
AJ
23767 [BZ #13656]
23768 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23769 possibly allocate from heap instead of stack.
23770 * stdio-common/bug-vfprintf-nargs.c: New file.
23771 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23772
c6922934
AS
237732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23774
23775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23776
bc957d53
MP
237772012-03-03 Marek Polacek <polacek@redhat.com>
23778
23779 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23780 * math/math_private.h: Likewise.
23781 * stdlib/tst-strtod.c: Likewise.
23782 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23783 * sysdeps/x86_64/bits/atomic.h: Likewise.
23784
6358490d
DM
237852012-03-02 David S. Miller <davem@davemloft.net>
23786
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23791 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23792 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23793 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23794 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23795
01ae168d
RM
237962012-03-02 Roland McGrath <roland@hack.frob.com>
23797
d9a17c07
RM
23798 [BZ #13792]
23799 * manual/examples/README: New file, says the example source files
23800 can be used under GPL>=2.
23801 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23802 line containing just "*/".
23803 * manual/examples/add.c: Add copyright header (GPL>=2).
23804 * manual/examples/argp-ex1.c: Likewise.
23805 * manual/examples/argp-ex2.c: Likewise.
23806 * manual/examples/argp-ex3.c: Likewise.
23807 * manual/examples/argp-ex4.c: Likewise.
23808 * manual/examples/atexit.c: Likewise.
23809 * manual/examples/db.c: Likewise.
23810 * manual/examples/dir.c: Likewise.
23811 * manual/examples/dir2.c: Likewise.
23812 * manual/examples/execinfo.c: Likewise.
23813 * manual/examples/filecli.c: Likewise.
23814 * manual/examples/filesrv.c: Likewise.
23815 * manual/examples/fmtmsgexpl.c: Likewise.
23816 * manual/examples/genpass.c: Likewise.
23817 * manual/examples/inetcli.c: Likewise.
23818 * manual/examples/inetsrv.c: Likewise.
23819 * manual/examples/isockad.c: Likewise.
23820 * manual/examples/longopt.c: Likewise.
23821 * manual/examples/memopen.c: Likewise.
23822 * manual/examples/memstrm.c: Likewise.
23823 * manual/examples/mkfsock.c: Likewise.
23824 * manual/examples/mkisock.c: Likewise.
23825 * manual/examples/mygetpass.c: Likewise.
23826 * manual/examples/pipe.c: Likewise.
23827 * manual/examples/popen.c: Likewise.
23828 * manual/examples/rprintf.c: Likewise.
23829 * manual/examples/search.c: Likewise.
23830 * manual/examples/select.c: Likewise.
23831 * manual/examples/setjmp.c: Likewise.
23832 * manual/examples/sigh1.c: Likewise.
23833 * manual/examples/sigusr.c: Likewise.
23834 * manual/examples/stpcpy.c: Likewise.
23835 * manual/examples/strdupa.c: Likewise.
23836 * manual/examples/strftim.c: Likewise.
23837 * manual/examples/strncat.c: Likewise.
23838 * manual/examples/subopt.c: Likewise.
23839 * manual/examples/swapcontext.c: Likewise.
23840 * manual/examples/termios.c: Likewise.
23841 * manual/examples/testopt.c: Likewise.
23842 * manual/examples/testpass.c: Likewise.
23843 * manual/examples/timeval_subtract.c: Likewise.
23844
01ae168d
RM
23845 [BZ #13792]
23846 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23847 function to ...
23848 * manual/timeval_subtract.c.texi: ... here, new file.
23849
49efa33d
DM
238502012-03-02 David S. Miller <davem@davemloft.net>
23851
23852 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23853
28afd92d
JM
238542012-03-02 Joseph Myers <joseph@codesourcery.com>
23855
804360ed
JM
23856 [BZ #3976]
23857 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23858 (__sin): Save and restore rounding mode and use round-to-nearest
23859 for all computations.
23860 (__cos): Save and restore rounding mode and use round-to-nearest
23861 for all computations.
23862 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23863 <fenv.h>.
23864 (tan): Save and restore rounding mode and use round-to-nearest for
23865 all computations.
23866 * math/libm-test.inc (cos_test_tonearest): New function.
23867 (cos_test_towardzero): Likewise.
23868 (cos_test_downward): Likewise.
23869 (cos_test_upward): Likewise.
23870 (sin_test_tonearest): Likewise.
23871 (sin_test_towardzero): Likewise.
23872 (sin_test_downward): Likewise.
23873 (sin_test_upward): Likewise.
23874 (tan_test_tonearest): Likewise.
23875 (tan_test_towardzero): Likewise.
23876 (tan_test_downward): Likewise.
23877 (tan_test_upward): Likewise.
23878 (main): Call the new functions.
23879 * sysdeps/i386/fpu/libm-test-ulps: Update.
23880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23881
a6d06d7b
JM
23882 [BZ #10135]
23883 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23884 small n, then large n, before computing and testing k+n.
23885 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23887 Likewise.
23888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23889 Likewise.
23890 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23891 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23897 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23898 * math/libm-test.inc (scalbn_test): Add more tests.
23899 (scalbln_test): Likewise.
23900
07e12bb3
JM
23901 * manual/filesys.texi (mode_t): Describe constraints on size and
23902 signedness, not exact equivalence to a particular type.
23903 (ino_t): Likewise.
23904 (ino64_t): Likewise.
23905 (dev_t): Likewise.
23906 (nlink_t): Likewise.
23907 (blkcnt_t): Likewise.
23908 (blkcnt64_t): Likewise.
23909 * manual/llio.texi (off_t): Likewise.
23910
28afd92d
JM
23911 [BZ #3976]
23912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23913 (__ieee754_exp): Save and restore rounding mode and use
23914 round-to-nearest for all computations.
23915 * math/libm-test.inc (exp_test_tonearest): New function.
23916 (exp_test_towardzero): Likewise.
23917 (exp_test_downward): Likewise.
23918 (exp_test_upward): Likewise.
23919 (main): Call the new functions.
23920 * sysdeps/i386/fpu/libm-test-ulps: Update.
23921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23922
b1eeb65d
CD
239232012-03-01 Chris Demetriou <cgd@google.com>
23924
23925 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23926 have predictable order.
23927
53362a4b
DM
239282012-03-01 David S. Miller <davem@davemloft.net>
23929
3c969083
DM
23930 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23931
759707de
DM
23932 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23933 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23936
dfdb8ff2
DM
23937 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23938 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23939 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23941 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23942 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23943 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23944 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23945 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23946
ead89f96
DM
23947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23948
7f66bd07
DM
23949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23950 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23951 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23952
53362a4b
DM
23953 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23954 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23955 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23956 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23957 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23960 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23961 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23962 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23963 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23969 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23970 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23971 * sysdeps/sparc/elf/configure: Regenerated.
23972
7b1902cb
JM
239732012-03-01 Joseph Myers <joseph@codesourcery.com>
23974
bec039bc
JM
23975 * configure.in (AS, LD): Require binutils 2.20 or later.
23976 * configure: Regenerated.
23977 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23978 as required minimum version.
23979 * INSTALL: Regenerated.
23980
7b1902cb
JM
23981 [BZ #2541]
23982 [BZ #4108]
23983 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23984 before squaring exponent.
23985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23986 bottom long double and 27 bits of top long double before squaring
23987 exponent.
23988 * math/libm-test.inc (erfc_test): Add more tests.
23989 * sysdeps/i386/fpu/libm-test-ulps: Update.
23990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23992
f775c276
KT
239932012-03-01 Kai Tietz <ktietz@redhat.com>
23994
23995 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23996 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23997 containing bit-fields.
23998 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23999 * soft-fp/single.h (_FP_UNION_S): Likewise.
24000 * soft-fp/double.h (_FP_UNION_D): Likewise.
24001
5b8a4d4a
JM
240022012-02-29 Joseph Myers <joseph@codesourcery.com>
24003
0bab47b6
JM
24004 [BZ #13786]
24005 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24006 not include ../strcmp.S.
24007 [USE_AS_STRNCASECMP_L]: Likewise.
24008 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24009 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24010 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24011 (__strncasecmp_l_ia32): Define as alias to
24012 __strncasecmp_l_nonascii.
24013
0fcad3e2
JM
24014 [BZ #5794]
24015 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24016 * sysdeps/i386/fpu/libm-test-ulps: Update.
24017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24018
5b8a4d4a
JM
24019 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24021
8fdceb2e
JL
240222012-02-29 Jeff Law <law@redhat.com>
24023
24024 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24025 out of bounds read.
24026
1f393a11
MP
240272012-02-29 Marek Polacek <polacek@redhat.com>
24028
24029 [BZ #13706]
24030 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24031 * elf/Makefile: Add rules to run tst-unused-dep.out.
24032
8847f037
DM
240332012-02-28 David S. Miller <davem@davemloft.net>
24034
24035 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24036 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24039 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24040 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24041
169d7f11
JM
240422012-02-29 Joseph Myers <joseph@codesourcery.com>
24043
24044 * math/libm-test.inc (llround_test): Move one test from
24045 lround_test. Use TEST_f_L in moved test.
24046 (lround_test): Move misplaced test to llround_test. Add testcase
24047 from bug 2561.
24048
39adf059
UD
240492012-02-28 Ulrich Drepper <drepper@gmail.com>
24050
24051 * sysdeps/x86_64/fpu/e_expf.S: New file.
24052 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24053
71b5d1c5
SB
240542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24055
24056 [BZ #13637]
24057 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24058 of remain_len that may cause incomplete multi-byte character and
24059 false match.
24060 * posix/bug-regex33.c: New file.
24061 * posix/Makefile (tests): Add bug-regex33.
24062
1f77f049
JM
240632012-02-28 Joseph Myers <joseph@codesourcery.com>
24064
24065 * manual/macros.texi: New file.
24066 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24067 * manual/libc.texinfo: Include macros.texi.
24068 * manual/creatute.texi: Likewise.
24069 * manual/install.texi: Likewise.
24070 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24071 @glibcadj{} in references to the GNU C Library.
24072 * manual/charset.texi: Likewise.
24073 * manual/conf.texi: Likewise.
24074 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24075 when not using those macros.
24076 * manual/creature.texi: Likewise.
24077 * manual/crypt.texi: Likewise.
24078 * manual/errno.texi: Likewise.
24079 * manual/filesys.texi: Likewise.
24080 * manual/header.texi: Likewise.
24081 * manual/install.texi: Likewise.
24082 * manual/intro.texi: Likewise.
24083 * manual/io.texi: Likewise.
24084 * manual/job.texi: Likewise.
24085 * manual/lang.texi: Likewise.
24086 * manual/libc.texiinfo: Likewise.
24087 * manual/llio.texi: Likewise.
24088 * manual/locale.texi: Likewise.
24089 * manual/maint.texi: Likewise.
24090 * manual/math.texi: Likewise.
24091 * manual/memory.texi: Likewise.
24092 * manual/message.texi: Likewise.
24093 * manual/nss.texi: Likewise.
24094 * manual/pattern.texi: Likewise.
24095 * manual/process.texi: Likewise.
24096 * manual/resource.texi: Likewise.
24097 * manual/search.texi: Likewise.
24098 * manual/setjmp.texi: Likewise.
24099 * manual/signal.texi: Likewise.
24100 * manual/socket.texi: Likewise.
24101 * manual/startup.texi: Likewise.
24102 * manual/stdio.texi: Likewise.
24103 * manual/string.texi: Likewise.
24104 * manual/sysinfo.texi: Likewise.
24105 * manual/syslog.texi: Likewise.
24106 * manual/terminal.texi: Likewise.
24107 * manual/time.texi: Likewise.
24108 * manual/users.texi: Likewise.
24109 * INSTALL: Regenerated.
24110 * NOTES: Regenerated.
d40c5d54 24111 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24112
450bf206
AS
241132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24114
24115 * include/dirent.h: Include <dirstream.h> before
24116 <dirent/dirent.h>.
24117
741a235b
DM
241182012-02-28 David S. Miller <davem@davemloft.net>
24119
24120 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24121 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24124
d6b5aa58
DM
241252012-02-27 David S. Miller <davem@davemloft.net>
24126
1aff59a3
DM
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24129 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24130 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24131
d6b5aa58
DM
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24133 frame pointer instead of stack pointer relative arg slot.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24137
433f48bf
CD
241382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24139
24140 [BZ #3992]
24141 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24142
d674b76d
DM
241432012-02-27 David S. Miller <davem@davemloft.net>
24144
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24149 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24150 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24151 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24152 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24153
0e7727f7
JM
241542012-02-27 Joseph Myers <joseph@codesourcery.com>
24155
24156 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24157 later. Allow versions 5-9.
43be4ca2 24158 * configure: Regenerated.
0e7727f7
JM
24159 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24160 required minimum version and 4.6 as recommended version. Do not
24161 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24162 * INSTALL: Regenerated.
0e7727f7 24163
a78bc654
DM
241642012-02-27 David S. Miller <davem@davemloft.net>
24165
428d5830
DM
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24170 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24171 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24172 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24173 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24174
a78bc654
DM
24175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24176 manipulate bits before adding and subtracting TWO112[sx].
24177 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24178
4579f81c
RM
241792012-02-27 Roland McGrath <roland@hack.frob.com>
24180
36c8acb4
RM
24181 [BZ #13775]
24182 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24183 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24184 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24185 being in POSIX, because they are in 1003.1-2008.
24186
84ad622b
RM
24187 * rt/tst-aio.c: Include <fcntl.h>.
24188 * rt/tst-aio7.c: Likewise.
24189 * rt/tst-aio64.c: Likewise.
24190
4579f81c
RM
24191 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24192
abd923db
JM
241932012-02-27 Joseph Myers <joseph@codesourcery.com>
24194
24195 * manual/install.texi (--with-headers): Describe headers as
24196 interface headers, not private headers.
24197 (Specific advice for GNU/Linux systems): Describe use of headers
24198 from "make headers_install", not private headers from older
24199 kernels.
43be4ca2 24200 * INSTALL: Regenerated.
abd923db
JM
24201 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24202 Change to 2.6.19.
24203 * sysdeps/unix/sysv/linux/configure: Regenerated.
24204
6664049b
JM
24205 * manual/llio.texi (fclean): Remove documentation.
24206
bb8b6697
JM
24207 * manual/Makefile (libc-texi-generated): New variable. Include
24208 version.texi.
24209 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24210 $(libc-texi-generated), not duplicated list of files.
24211 (version.texi, stamp-version): New rules.
24212 (realclean): Remove $(libc-texi-generated), not individual files
24213 from that list. Do not remove dir-add.texinfo.
24214 * manual/libc.texinfo: Comment out uses of edition numbers and
24215 references to printed manual. Remove last-updated dates.
24216 (EDITION): Comment out.
24217 (ISBN): Likewise.
24218 (VERSION, UPDATED): Remove.
24219 (version.texi): Include.
24220
12e5c3b9
AS
242212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24222
24223 * sysdeps/posix/spawni.c: Include <signal.h>.
24224 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24225 * sysdeps/pthread/aio_fsync.c: Likewise.
24226
4efeffc1 242272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24228
ba63ba08
UD
24229 * conform/Makefile (tests): Run only when not cross-compiling and
24230 when fast-check is not defined.
24231
d94a4670
UD
24232 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24233 * conform/data/limits.h-data: Fixes for POSIX2008.
24234 * conform/run-conformtest.sh: Run all tests.
24235 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24236 headers.
24237 * include/bits/dlfcn.h: Likewise.
24238 * include/langinfo.h: Likewise.
24239 * include/monetary.h: Likewise.
24240 * include/sys/poll.h: Likewise.
24241
24242 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24243 for __USE_GNU.
24244 * posix/spawn.h: Define __need_sigset_t.
24245 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24246 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24247 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24248 to get sigevent_t only.
24249 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24250 only for __USE_GNU.
24251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24252 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24253 process_vm_writev only for __USE_GNU.
24254 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24255
24256 * conform/Makefile: For now ignore errors from run-conformtest.
24257 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24258 POSIX to avoid namespace pollution. Don't prepend headers.
24259 * conform/data/aio.h-data: Fixes for POSIX testing.
24260 * conform/data/fcntl.h-data: Likewise.
24261 * conform/data/glob.h-data: Likewise.
24262 * conform/data/grp.h-data: Likewise.
24263 * conform/data/pthread.h-data: Likewise.
24264 * conform/data/pwd.h-data: Likewise.
24265 * conform/data/signal.h-data: Likewise.
24266 * conform/data/spawn.h-data: Likewise.
24267 * conform/data/stdio.h-data: Likewise.
24268 * conform/data/stdlib.h-data: Likewise.
24269 * conform/data/stropts.h-data: Likewise.
24270 * conform/data/sys/mman.h-data: Likewise.
24271 * conform/data/sys/stat.h-data: Likewise.
24272 * conform/data/sys/types.h-data: Likewise.
24273 * conform/data/sys/wait.h-data: Likewise.
24274 * conform/data/time.h-data: Likewise.
24275 * conform/data/unistd.h-data: Likewise.
24276 * conform/data/utime.h-data: Likewise.
24277
24278 * io/sys/stat.h: fchmod was always in POSIX.
24279 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24280 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24281 * rt/aio.h: Define __need_timespec before including <time.h>.
24282 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24283 struct. Add forward declaration of pthread_attr_t and use it in
24284 sigevent.
24285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24286 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24287 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24288 always remove CLK_TCK definition.
24289
c20105c3
AS
242902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24291
24292 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24293
7a270350
UD
242942012-02-25 Ulrich Drepper <drepper@gmail.com>
24295
31341567
UD
24296 * conform/run-conformtest.sh: New file.
24297 * conform/Makefile: Run run-conformtest for tests.
24298 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24299 support.
24300
24301 * conform/data/uchar.h-data: New file.
24302 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24303 * conform/data/arpa/inet.h-data: Likewise.
24304 * conform/data/assert.h-data: Likewise.
24305 * conform/data/complex.h-data: Likewise.
24306 * conform/data/cpio.h-data: Likewise.
24307 * conform/data/ctype.h-data: Likewise.
24308 * conform/data/dirent.h-data: Likewise.
24309 * conform/data/dlfcn.h-data: Likewise.
24310 * conform/data/errno.h-data: Likewise.
24311 * conform/data/fcntl.h-data: Likewise.
24312 * conform/data/float.h-data: Likewise.
24313 * conform/data/fmtmsg.h-data: Likewise.
24314 * conform/data/fnmatch.h-data: Likewise.
24315 * conform/data/ftw.h-data: Likewise.
24316 * conform/data/glob.h-data: Likewise.
24317 * conform/data/grp.h-data: Likewise.
24318 * conform/data/iconv.h-data: Likewise.
24319 * conform/data/inttypes.h-data: Likewise.
24320 * conform/data/langinfo.h-data: Likewise.
24321 * conform/data/libgen.h-data: Likewise.
24322 * conform/data/limits.h-data: Likewise.
24323 * conform/data/locale.h-data: Likewise.
24324 * conform/data/math.h-data: Likewise.
24325 * conform/data/monetary.h-data: Likewise.
24326 * conform/data/mqueue.h-data: Likewise.
24327 * conform/data/ndbm.h-data: Likewise.
24328 * conform/data/net/if.h-data: Likewise.
24329 * conform/data/netdb.h-data: Likewise.
24330 * conform/data/netinet/in.h-data: Likewise.
24331 * conform/data/nl_types.h-data: Likewise.
24332 * conform/data/poll.h-data: Likewise.
24333 * conform/data/pthread.h-data: Likewise.
24334 * conform/data/pwd.h-data: Likewise.
24335 * conform/data/regex.h-data: Likewise.
24336 * conform/data/sched.h-data: Likewise.
24337 * conform/data/search.h-data: Likewise.
24338 * conform/data/semaphore.h-data: Likewise.
24339 * conform/data/setjmp.h-data: Likewise.
24340 * conform/data/signal.h-data: Likewise.
24341 * conform/data/spawn.h-data: Likewise.
24342 * conform/data/stdarg.h-data: Likewise.
24343 * conform/data/stdio.h-data: Likewise.
24344 * conform/data/stdlib.h-data: Likewise.
24345 * conform/data/string.h-data: Likewise.
24346 * conform/data/strings.h-data: Likewise.
24347 * conform/data/stropts.h-data: Likewise.
24348 * conform/data/sys/ipc.h-data: Likewise.
24349 * conform/data/sys/mman.h-data: Likewise.
24350 * conform/data/sys/msg.h-data: Likewise.
24351 * conform/data/sys/resource.h-data: Likewise.
24352 * conform/data/sys/select.h-data: Likewise.
24353 * conform/data/sys/sem.h-data: Likewise.
24354 * conform/data/sys/shm.h-data: Likewise.
24355 * conform/data/sys/socket.h-data: Likewise.
24356 * conform/data/sys/stat.h-data: Likewise.
24357 * conform/data/sys/statvfs.h-data: Likewise.
24358 * conform/data/sys/time.h-data: Likewise.
24359 * conform/data/sys/timeb.h-data: Likewise.
24360 * conform/data/sys/times.h-data: Likewise.
24361 * conform/data/sys/types.h-data: Likewise.
24362 * conform/data/sys/uio.h-data: Likewise.
24363 * conform/data/sys/un.h-data: Likewise.
24364 * conform/data/sys/utsname.h-data: Likewise.
24365 * conform/data/sys/wait.h-data: Likewise.
24366 * conform/data/syslog.h-data: Likewise.
24367 * conform/data/tar.h-data: Likewise.
24368 * conform/data/termios.h-data: Likewise.
24369 * conform/data/utime.h-data: Likewise.
24370 * conform/data/utmpx.h-data: Likewise.
24371 * conform/data/varargs.h-data: Likewise.
24372 * conform/data/wchar.h-data: Likewise.
24373 * conform/data/wctype.h-data: Likewise.
24374 * conform/data/wordexp.h-data: Likewise.
24375
24376 * include/stropts.h: New file.
24377 * include/uchar.h: New file.
24378 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24379 * include/assert.h: Likewise.
24380 * include/ctype.h: Likewise.
24381 * include/dirent.h: Likewise.
24382 * include/dlfcn.h: Likewise.
24383 * include/fcntl.h: Likewise.
24384 * include/fnmatch.h: Likewise.
24385 * include/glob.h: Likewise.
24386 * include/grp.h: Likewise.
24387 * include/libio.h: Likewise.
24388 * include/locale.h: Likewise.
24389 * include/math.h: Likewise.
24390 * include/net/if.h: Likewise.
24391 * include/netdb.h: Likewise.
24392 * include/netinet/in.h: Likewise.
24393 * include/pthread.h: Likewise.
24394 * include/pwd.h: Likewise.
24395 * include/regex.h: Likewise.
24396 * include/sched.h: Likewise.
24397 * include/search.h: Likewise.
24398 * include/setjmp.h: Likewise.
24399 * include/signal.h: Likewise.
24400 * include/stdio.h: Likewise.
24401 * include/stdlib.h: Likewise.
24402 * include/string.h: Likewise.
24403 * include/sys/cdefs.h: Likewise.
24404 * include/sys/mman.h: Likewise.
24405 * include/sys/msg.h: Likewise.
24406 * include/sys/resource.h: Likewise.
24407 * include/sys/select.h: Likewise.
24408 * include/sys/socket.h: Likewise.
24409 * include/sys/stat.h: Likewise.
24410 * include/sys/statvfs.h: Likewise.
24411 * include/sys/time.h: Likewise.
24412 * include/sys/times.h: Likewise.
24413 * include/sys/uio.h: Likewise.
24414 * include/sys/utsname.h: Likewise.
24415 * include/sys/wait.h: Likewise.
24416 * include/termios.h: Likewise.
24417 * include/time.h: Likewise.
24418 * include/ulimit.h: Likewise.
24419 * include/unistd.h: Likewise.
24420 * include/utime.h: Likewise.
24421 * include/wchar.h: Likewise.
24422 * include/wctype.h: Likewise.
24423 * include/wordexp.h: Likewise.
24424
24425 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24426
7a270350
UD
24427 * time/time.h: TIME_UTC must be a macro.
24428 Make timespec_get available for ISO C11 only as well.
24429
7724defc
UD
244302012-02-24 Ulrich Drepper <drepper@gmail.com>
24431
24432 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24433 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24434
6b1d1d46
JM
244352012-02-24 Joseph Myers <joseph@codesourcery.com>
24436
24437 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24438
0f8bbd69
JM
244392012-02-24 Joseph Myers <joseph@codesourcery.com>
24440
24441 * manual/texinfo.tex: Update to version 2012-01-19.16.
24442
66ab80bc
JM
244432012-02-24 Joseph Myers <joseph@codesourcery.com>
24444
24445 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24446
74981cc5
RM
244472012-02-24 Roland McGrath <roland@hack.frob.com>
24448
ee968201
RM
24449 [BZ #13738]
24450 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24451 * manual/fdl-1.3.texi: New file.
24452 * manual/fdl-1.1.texi: File removed.
24453
74981cc5
RM
24454 [BZ #13738]
24455 * manual/libc.texinfo (FDL_VERSION): New @set.
24456 Use it for mention of FDL in cover text.
24457 (Documentation License): Use it in @include file name.
24458
7bb764bc
JM
244592012-02-22 Joseph Myers <joseph@codesourcery.com>
24460 Roland McGrath <roland@hack.frob.com>
24461
24462 [BZ #5461]
24463 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24464 not LONG_LONG_MAX and LONG_LONG_MIN.
24465 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24466 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24467 name.
24468 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24469
6cbeae47
JM
244702012-02-22 Joseph Myers <joseph@codesourcery.com>
24471
24472 [BZ #2547]
24473 [BZ #11365]
24474 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24475 manipulate bits before adding and subtracting TWO23[sx].
24476 * math/libm-test.inc (nearbyint_test): Add more tests.
24477
fe45ce09
JM
244782012-02-22 Joseph Myers <joseph@codesourcery.com>
24479
24480 [BZ #2548]
24481 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24482 bits before adding and subtracting TWO23[sx].
24483 * math/libm-test.inc (rint_test): Add more tests.
24484 (rint_test_tonearest): Likewise.
24485 (rint_test_towardzero): Likewise.
24486 (rint_test_downward): Likewise.
24487 (rint_test_upward: Likewise.
24488
ff3b3d82
JM
244892012-02-22 Joseph Myers <joseph@codesourcery.com>
24490
24491 [BZ #10110]
24492 * include/stdc-predef.h: New file. Extracted from features.h.
24493 * include/features.h: Include stdc-predef.h.
24494 * Makefile (headers): Add stdc-predef.h.
24495 * CONFORMANCE (Compiler limitations): Update.
24496
ef0aab35
JM
244972012-02-22 Joseph Myers <joseph@codesourcery.com>
24498
24499 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24500
58639409
DM
245012012-02-21 David S. Miller <davem@davemloft.net>
24502
24503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24505
c0e70b25
DM
245062012-02-20 David S. Miller <davem@davemloft.net>
24507
24508 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24509 using a normal save/restore sequence, rather than allocating a
24510 dummy stack frame just to store a frame pointer and restore.
24511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24512
fb06851d
JM
245132012-02-21 Joseph Myers <joseph@codesourcery.com>
24514
24515 * manual/install.texi: Fix stray word in line-wrapped comment.
24516
7a8b71c3
DM
245172012-02-20 David S. Miller <davem@davemloft.net>
24518
d510c123
DM
24519 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24520 both binutils and gcc support GOTDATA.
24521
0722d7c2
DM
24522 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24523 "rd %pc" in the PIC register setup sequences.
24524
3d2b3019
DM
24525 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24526 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24528 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24529 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24534 (SYSCALL_ERROR_HANDLER): Likewise.
24535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24538 (SYSCALL_ERROR_HANDLER): Likewise.
24539
c80098a9
DM
24540 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24541 (HAVE_GCC_GOTDATA): New.
24542 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24543 relocation support in both binutils and gcc.
24544 * sysdeps/sparc/elf/configure: Regenerate.
24545
3a2545a0
DM
24546 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24547 * sysdeps/sparc/sparc32/elf/configure: Delete.
24548 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24549 * sysdeps/sparc/sparc64/elf/configure: Delete.
24550 * sysdeps/sparc/elf/configure.in: New file.
24551 * sysdeps/sparc/elf/configure: Generate.
24552
7a8b71c3
DM
24553 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24554 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24555 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24556 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24557 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24558
f1e86fca
JM
245592012-02-21 Joseph Myers <joseph@codesourcery.com>
24560
24561 * manual/install.texi: Do not mention specific glibc version
24562 numbers.
24563 * manual/libc.texinfo (VERSION, UPDATED): Update.
24564 (@copying): Use @copyright{} and range of years.
24565
0e7dfaef
JM
245662012-02-21 Joseph Myers <joseph@codesourcery.com>
24567
24568 [BZ #13695]
24569 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24570 [crti.S not in sysdirs] (generated): Do not append.
24571 [crti.S not in sysdirs] (omit-deps): Likewise.
24572 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24573 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24574 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24575 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24576 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24577 Likewise.
24578 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24579 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24580 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24581 * csu/defs.awk: Remove file.
24582 * sysdeps/generic/initfini.c: Likewise.
24583 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24584 variable.
24585 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24586 Likewise.
24587
599af3ca
JM
245882012-02-20 Joseph Myers <joseph@codesourcery.com>
24589
24590 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24591 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24592 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24593 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24595 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24596 <bits/epoll.h>.
24597 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24598 (__EPOLL_PACKED): Define to empty if not defined by
24599 <bits/epoll.h>.
24600 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24602 bits/epoll.h.
24603
0e499750
JM
246042012-02-20 Joseph Myers <joseph@codesourcery.com>
24605
24606 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24607 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24608 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24609 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24610 <bits/timerfd.h>.
24611 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24613 bits/timerfd.h.
24614
5ad91f6e
JM
246152012-02-20 Joseph Myers <joseph@codesourcery.com>
24616
24617 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24618 in C locale.
24619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24620 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24623
06b99b02
AJ
246242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24625
24626 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24627 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24628
7638c0fd
AS
246292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24630
24631 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24632 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24633 defined.
24634 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24635 Likewise.
24636 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24637 entry for 2.16.
24638
92221550
AJ
246392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24640
24641 * math/w_acos.c: Use non-signaling floating-point comparisons.
24642 * math/w_acosf.c: Likewise.
24643 * math/w_acosh.c: Likewise.
24644 * math/w_acoshf.c: Likewise.
24645 * math/w_acoshl.c: Likewise.
24646 * math/w_acosl.c: Likewise.
24647 * math/w_asin.c: Likewise.
24648 * math/w_asinf.c: Likewise.
24649 * math/w_asinl.c: Likewise.
24650 * math/w_atanh.c: Likewise.
24651 * math/w_atanhf.c: Likewise.
24652 * math/w_atanhl.c: Likewise.
24653 * math/w_exp2.c: Likewise.
24654 * math/w_exp2f.c: Likewise.
24655 * math/w_exp2l.c: Likewise.
24656 * math/w_j0.c: Likewise.
24657 * math/w_j0f.c: Likewise.
24658 * math/w_j0l.c: Likewise.
24659 * math/w_j1.c: Likewise.
24660 * math/w_j1f.c: Likewise.
24661 * math/w_j1l.c: Likewise.
24662 * math/w_jn.c: Likewise.
24663 * math/w_jnf.c: Likewise.
24664 * math/w_log.c: Likewise.
24665 * math/w_log10.c: Likewise.
24666 * math/w_log10f.c: Likewise.
24667 * math/w_log10l.c: Likewise.
24668 * math/w_log2.c: Likewise.
24669 * math/w_log2f.c: Likewise.
24670 * math/w_log2l.c: Likewise.
24671 * math/w_logf.c: Likewise.
24672 * math/w_logl.c: Likewise.
24673 * math/w_sqrt.c: Likewise.
24674 * math/w_sqrtf.c: Likewise.
24675 * math/w_sqrtl.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24677 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24679 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24680 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24681
ebaf36eb
JM
246822012-02-19 Joseph Myers <joseph@codesourcery.com>
24683
24684 [BZ #9739]
24685 * manual/string.texi (strnlen): Use correct parameter name in
24686 equivalent expression.
24687
71c254a6
JM
246882012-02-19 Joseph Myers <joseph@codesourcery.com>
24689
24690 [BZ #11174]
24691 * manual/users.texi (seteuid): Consistently use neweuid for
24692 argument name.
24693
16d2c631
JM
246942012-02-19 Joseph Myers <joseph@codesourcery.com>
24695
24696 [BZ #13704]
24697 * manual/nss.texi (Services in the NSS configuration): Correct
24698 list of services in example configuration file.
24699
cd837b09
NB
247002012-02-19 Nick Bowler <nbowler@draconx.ca>
24701
24702 [BZ #11322]
24703 * manual/arith.texi: Remove statements about negative zero
24704 behaving identically to zero.
24705
02c4bbad
JM
247062012-02-18 Joseph Myers <joseph@codesourcery.com>
24707
24708 [BZ #5993]
24709 * manual/install.texi: Do not document upgrading from libc5.
24710
366842e7
JM
247112012-02-18 Joseph Myers <joseph@codesourcery.com>
24712
24713 [BZ #4596]
24714 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24715
dd54084d
DM
247162012-02-18 David S. Miller <davem@davemloft.net>
24717
24718 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24719 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24720 %o7 across the call.
24721 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24722 instead.
24723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24724 SETUP_PIC_REG_LEAF.
24725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24726 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24727 * sysdeps/sparc/crtn.S: Likewise.
24728
2bcc53a3
UD
247292012-02-17 Ulrich Drepper <drepper@gmail.com>
24730
24731 * aout/Makefile: Remove.
24732
09c093b5
RK
247332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24734
24735 [BZ #13058]
24736 * manual/examples/argp-ex1.c (main): Format definition in GNU
24737 style.
24738 * manual/examples/argp-ex2.c (main): Likewise.
24739 * manual/examples/argp-ex3.c (main): Likewise.
24740 * manual/examples/argp-ex4.c (main): Likewise.
24741 * manual/examples/longopt.c (main): Use new-style prototype
24742 definition.
24743 * manual/examples/strncat.c (main): Specify return type and use
24744 (void) for arguments.
24745 * manual/examples/subopt.c (main): Use char **argv argument.
24746
2ee633a2
JM
247472012-02-17 Joseph Myers <joseph@codesourcery.com>
24748
24749 [BZ #5077]
24750 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24751 rounding modes.
24752
0520adde
FB
247532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24754
24755 [BZ #6907]
24756 * manual/string.texi (strchr): Change when strchrnul is
24757 recommended.
24758
3f4081cd
DGM
247592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24760
24761 [BZ #174]
24762 * manual/locale.texi (setlocale): Document LOCPATH.
24763
d1b10e78
JM
247642012-02-17 Joseph Myers <joseph@codesourcery.com>
24765
24766 [BZ #10210]
24767 * manual/process.texi (execle): Move @dots{} before last argument.
24768
79c6869c
PB
247692012-02-17 Paul Bolle <pebolle@tiscali.nl>
24770
24771 [BZ #12047]
24772 * manual/charset.texi (Generic Charset Conversion): Fix typo
24773 (LC_TYPE -> LC_CTYPE).
24774
cc6e48bc
NB
247752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24776
24777 [BZ #5805]
24778 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24779 (scalbnf): Likewise.
24780 (scalbnl): Likewise.
24781 (scalbln): Likewise.
24782 (scalblnf): Likewise.
24783 (scalblnl): Likewise.
24784 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24785 (vwarnx): Likewise.
24786 (verr): Likewise.
24787 (verrx): Likewise.
24788 * manual/filesys.texi (telldir): Use braces around return type.
24789 * manual/llio.texi (mmap): Add space after comma.
24790 (mmap64): Likewise.
24791 * manual/math.texi (jn): Use @var{} on parameter names.
24792 (jnf): Likewise.
24793 (jnl): Likewise.
24794 (yn): Likewise.
24795 (ynf): Likewise.
24796 (ynl): Likewise.
24797 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24798 line.
24799 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24800 "...".
24801 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24802 (sched_get_priority_max): Likewise.
24803 * manual/signal.texi (sigvec): Add space after comma.
24804 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24805 names.
24806 (if_indextoname): Likewise.
24807 (if_freenameindex): Likewise.
24808 (sendto): Use ',' instead of '.' in prototype.
24809 * manual/startup.texi (syscall): Use @dots{} instead of literal
24810 "...".
24811 * manual/stdio.texi (__fpending): Separate initial words of
24812 paragraph from @deftypefun line.
24813 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24814 "...".
24815 (vsyslog): Use @var{} on parameter names.
24816 * manual/terminal.texi (stty): Use @var{} on parameter names.
24817 * manual/users.texi (getutmp): Use @var{} on parameter names.
24818 (getutmpx): Likewise.
24819
5b23062f
JM
248202012-02-17 Joseph Myers <joseph@codesourcery.com>
24821
24822 [BZ #6884]
24823 * manual/stdio.texi (fopen): Fix typos in description of
24824 ",ccs=STRING".
24825
8dee4833
AJ
248262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24827
24828 [BZ #4026]
24829 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24830 get clock_id definition.
24831
9078ce93
TS
248322012-02-17 Thomas Schwinge <thomas@schwinge.name>
24833
24834 [BZ #4822]
24835 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24836 (madvise): Cast every argument to void on its own.
24837
3835c55f
JM
248382012-02-17 Joseph Myers <joseph@codesourcery.com>
24839
24840 [BZ #9902]
24841 * manual/startup.texi (Exit Status): Fix typo.
24842
35c47e37
JM
248432012-02-17 Joseph Myers <joseph@codesourcery.com>
24844
24845 [BZ #10140]
24846 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24847 * manual/examples/argp-ex2.c: Likewise.
24848 * manual/examples/argp-ex3.c: Likewise.
24849
e3b69ca7
RH
248502012-02-16 Richard Henderson <rth@redhat.com>
24851
24852 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24853 * sysdeps/s390/s390-32/initfini.c: Remove.
24854 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24855 * sysdeps/s390/s390-64/initfini.c: Remove.
24856
df83af67
KK
248572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24858
24859 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24860 compiler output for sysdeps/generic/initfini.c.
24861 * sysdeps/sh/elf/initfini.c: Remove file.
24862
f63f3380
DM
248632012-02-16 David S. Miller <davem@davemloft.net>
24864
fb59b3a4
DM
24865 [BZ #11494]
24866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24867
f63f3380
DM
24868 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24869 * sysdeps/sparc/crti.S: New file.
24870 * sysdeps/sparc/crtn.S: New file.
24871 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24872 * sysdeps/sparc/sparc64/Makefile: Likewise.
24873
df6a4a4a
MF
248742012-02-15 Mike Frysinger <vapier@gentoo.org>
24875
6dd8f3dc 24876 [BZ #3335]
df6a4a4a
MF
24877 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24878
1cac7236
RM
248792012-02-15 Roland McGrath <roland@hack.frob.com>
24880
d2c736f8
RM
24881 [BZ #4822]
24882 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24883
1cac7236
RM
24884 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24885 (write, read, close): Likewise.
24886 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24887
8e475601
JM
248882012-02-15 Joseph Myers <joseph@codesourcery.com>
24889
24890 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24891 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24892 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24893 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24894 <bits/signalfd.h>.
24895 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24897 bits/signalfd.h.
24898
ed656b40
MP
248992012-02-14 Marek Polacek <polacek@redhat.com>
24900
24901 * sysdeps/x86_64/crti.S: New file.
24902 * sysdeps/x86_64/crtn.S: New file.
24903 * sysdeps/x86_64/elf/initfini.c: Remove file.
24904
2a979d3a
JM
249052012-02-13 Joseph Myers <joseph@codesourcery.com>
24906
24907 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24908 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24910 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24911 <bits/inotify.h>.
24912 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24914 bits/inotify.h.
24915
2a418ac3
JM
249162012-02-13 Joseph Myers <joseph@codesourcery.com>
24917
24918 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24919 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24920 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24921 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24922 <bits/eventfd.h>.
24923 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24925 bits/eventfd.h.
24926
fb779be7
TS
249272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24928
e19e83c5
RM
24929 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24930 __feraiseexcept instead of feraiseexcept.
7c35ffed 24931
fb779be7
TS
24932 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24933 nanosleep invocations.
24934 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24935 strings, and add error checking for a nanosleep invocations.
24936
59ba27a6
PE
249372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24938
24939 Replace FSF snail mail address with URLs, as per GNU coding standards.
24940 Most of the snail mail addresses were wrong anyway, and omitting
24941 them makes the source code easier to maintain. Almost all of the
24942 changes are to license notices and to locale LC_IDENTIFICATION
24943 addresses, except for this one:
24944 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24945 not its snail mail address.
24946
57b957eb
RH
249472012-02-09 Richard Henderson <rth@twiddle.net>
24948
af850b1c
RH
24949 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24950 of kernel-features.h.
24951
57b957eb
RH
24952 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24953
6b73181a
MP
249542012-02-08 Marek Polacek <polacek@redhat.com>
24955
24956 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24957 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24958 * sysdeps/gnu/_G_config.h: Likewise.
24959 * sysdeps/generic/_G_config.h: Likewise.
24960
26ecc33a
AS
249612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24962
6c6dbc63
AS
24963 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24964 tests.
24965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24966
e216c012
AS
24967 * sysdeps/powerpc/powerpc32/crti.S: New file.
24968 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24969 * sysdeps/powerpc/powerpc64/crti.S: New file.
24970 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24971
26ecc33a
AS
24972 * Makeconfig (have-initfini): Don't set.
24973 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24974 * configure.in (nopic_initfini): Don't substitute.
24975 * config.h.in (HAVE_INITFINI): Don't #undef.
24976 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24977 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24978
3add8e13
JM
249792012-02-08 Joseph Myers <joseph@codesourcery.com>
24980
24981 Support crti.S and crtn.S provided directly by architectures.
24982 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24983 [crti.S in sysdirs] (omit-deps): Likewise.
24984 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24985 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24986 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24987 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24988 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24989 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24990 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24991 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24992 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24993 compiler output for sysdeps/generic/initfini.c.
24994 * sysdeps/i386/elf/Makefile: Remove file.
24995 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24996
a22f12b4
MP
249972012-02-07 Marek Polacek <polacek@redhat.com>
24998
24999 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25000 * sysdeps/gnu/_G_config.h: Likewise.
25001 * sysdeps/mach/hurd/_G_config.h: Likewise.
25002
148cf100
MP
250032012-02-07 Marek Polacek <polacek@redhat.com>
25004
25005 * math/Makefile (tests): Add tst-CMPLX2.
25006 * math/tst-CMPLX2.c: New file.
25007
cfdc0dd7
AS
250082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25009
84ba42c4
AS
25010 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25011
cfdc0dd7
AS
25012 * math/libm-test.inc (jn_test): Add missing L suffix.
25013
622c86f4
MP
250142012-02-06 Marek Polacek <polacek@redhat.com>
25015
25016 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25017 * sysdeps/i386/fpu/e_powf.S: Likewise.
25018 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25019 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25021 * sysdeps/i386/fpu/e_pow.S: Likewise.
25022 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25023 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25024 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25025 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25026 * sysdeps/i386/fpu/e_log2.S: Likewise.
25027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25028 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25029 * sysdeps/i386/fpu/e_powl.S: Likewise.
25030 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25032 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25033 * sysdeps/i386/fpu/e_logl.S: Likewise.
25034 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25035 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25036 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25037 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25038 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25039 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25040 * sysdeps/i386/fpu/e_log.S: Likewise.
25041 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25042 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25043 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25044 * sysdeps/i386/fpu/e_logf.S: Likewise.
25045 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25047 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25048 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25049 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25050 * sysdeps/i386/fpu/e_log10.S: Likewise.
25051 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25052 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25053 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25054 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25055 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25056 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25057 * sysdeps/i386/asm-syntax.h: Likewise.
25058 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25059 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25060 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25061 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25062 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25063 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25064 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25065 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25066 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25067 * sysdeps/powerpc/sysdep.h: Likewise.
25068 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25069 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25070
d4a54ac6
JM
250712012-02-06 Joseph Myers <joseph@codesourcery.com>
25072
25073 [BZ #411]
25074 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25075
314054ea
JM
250762012-02-06 Joseph Myers <joseph@codesourcery.com>
25077
25078 * sysdeps/i386/sysdep.h: Include <features.h>.
25079 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25080 version.
25081
d8e0ca50
JM
250822012-02-05 Joseph Myers <joseph@codesourcery.com>
25083
25084 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25085 Define.
25086 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25087 LOAD_PIC_REG_STR.
25088
b1da7dd9
JM
250892012-02-03 Joseph Myers <joseph@codesourcery.com>
25090
25091 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25092 (SETUP_PIC_REG): Use GET_PC_THUNK.
25093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25094 macro.
25095
9a1d9254
JM
250962012-02-03 Joseph Myers <joseph@codesourcery.com>
25097
25098 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25099 for non-PIC compilation.
25100 (SETUP_PIC_REG): Add .p2align directive.
25101 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25102 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25105 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25106 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25107 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25109 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25110 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25111 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25112 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25113 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25114 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25115 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25116 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25117 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25118 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25119 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25120 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25121 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25122 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25123 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25124 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25125 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25127 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25129 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25130 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25131 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25133 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25137 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25138 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25139 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25140 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25141 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25142
65dc3b75
JM
251432012-02-03 Joseph Myers <joseph@codesourcery.com>
25144
25145 * math/tst-CMPLX.c: Include <stdio.h>.
25146
d55bf177
JM
251472012-01-31 Joseph Myers <joseph@codesourcery.com>
25148
25149 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25150 float.
25151 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25152 * sysdeps/sparc/bits/mathdef.h: Likewise.
25153
69db4f8f
MP
251542012-01-31 Marek Polacek <polacek@redhat.com>
25155
25156 * libio/libio.h: Don't define _PARAMS.
25157 * locale/programs/config.h: Don't define PARAMS.
25158 * stdlib/strtol_l.c: Likewise.
25159 (__strtol_l): Remove PARAMS from the prototype.
25160
41b81892
UD
251612012-01-31 Ulrich Drepper <drepper@gmail.com>
25162
3b49edc0
UD
25163 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25164 names. Just use the correct names. Remove unnecessary wrapper
25165 functions.
25166 * malloc/arena.c: Likewise.
25167 * malloc/hooks.c: Likewise.
25168
41b81892
UD
25169 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25170 ARENA_TEST says not to. Simplify test for creation of a new arena.
25171 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25172
27a25b6e
UD
251732012-01-30 Ulrich Drepper <drepper@gmail.com>
25174
25175 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25176 into tail calls.
25177 (update_get_addr): New function.
25178 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25179 GET_ADDR_MODULE parameter.
25180
c8a89e7d
JM
251812012-01-30 Joseph Myers <joseph@codesourcery.com>
25182
25183 * crypt/cert.c: Remove __STDC__ conditionals.
25184 * crypt/crypt-entry.c: Likewise.
25185 * crypt/crypt_util.c: Likewise.
25186 * libio/filedoalloc.c: Likewise.
25187 * libio/fileops.c: Likewise.
25188 * libio/genops.c: Likewise.
25189 * libio/iofclose.c: Likewise.
25190 * libio/iofdopen.c: Likewise.
25191 * libio/iofopen.c: Likewise.
25192 * libio/iofopen64.c: Likewise.
25193 * libio/iogetdelim.c: Likewise.
25194 * libio/iopopen.c: Likewise.
25195 * libio/obprintf.c: Likewise.
25196 * libio/oldfileops.c: Likewise.
25197 * libio/oldiofclose.c: Likewise.
25198 * libio/oldiofdopen.c: Likewise.
25199 * libio/oldiofopen.c: Likewise.
25200 * libio/oldiopopen.c: Likewise.
25201 * libio/wfiledoalloc.c: Likewise.
25202 * libio/wgenops.c: Likewise.
25203 * locale/programs/xmalloc.c: Likewise.
25204 * misc/syslog.c: Likewise.
25205 * stdio-common/xbug.c: Likewise.
25206 * string/memchr.c: Likewise.
25207 * string/memcmp.c: Likewise.
25208 * string/memrchr.c: Likewise.
25209 * string/rawmemchr.c: Likewise.
25210 * sysdeps/posix/getcwd.c: Likewise.
25211 * time/strftime_l.c: Likewise.
25212
3b100462
JM
252132012-01-30 Joseph Myers <joseph@codesourcery.com>
25214
25215 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25216 * config.make.in (config-cflags-sse2avx): Define.
25217 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25218 Fix typo.
25219
607998af
CM
252202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25221
25222 * scripts/config.guess: Update from upstream config git repository.
25223 * scripts/config.sub: Likewise.
25224
3601428f
CM
252252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25226
3ac8b282
CM
25227 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25228 (EM_NUM): Update.
25229 (R_TILEPRO_*, R_TILEGX_*): New macros.
25230
e034841e
CM
25231 * scripts/firstversions.awk: Fix bug in version range handling.
25232
540d7568
CM
25233 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25234
3601428f
CM
25235 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25236
463de862
CM
25237 * include/sys/epoll.h: New file.
25238 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25239 libc_hidden_def.
25240
73139a76
UD
252412012-01-28 Ulrich Drepper <drepper@gmail.com>
25242
96bc5b45
UD
25243 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25244 Avoid unnecessary __WORDSIZE == 64 test.
25245 (fmaxf): Use VEX format if possible.
25246 (fmax): Likewise.
25247 (fminf): Likewise.
25248 (fmin): Likewise.
25249
56f6f6a2
UD
25250 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25251 * math/math_private.h: Remove libc_fegetround* and
25252 libc_fesetround*.
25253 * sysdeps/i386/configure.in: Check for -msse2avx.
25254 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25255 also if SSE2AVX is defined.
25256 Remove libc_fegetround* and libc_fesetround*.
25257 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25258 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25259 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25260 of HAS_YMM_USABLE.
25261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25266
73139a76
UD
25267 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25268
d73f93a4
AZ
252692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25270
25271 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25272 size is not set.
25273 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25274
6ee65ed6
UD
252752012-01-27 Ulrich Drepper <drepper@gmail.com>
25276
25277 [BZ #13618]
25278 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25279 relocation.
25280 * Makeconfig (libm): Define.
25281 * elf/Makefile: Add rules to build and run tst-relsort1.
25282 * elf/tst-relsort1.c: New file.
25283 * elf/tst-relsort1mod1.c: New file.
25284 * elf/tst-relsort1mod2.c: New file.
25285
8db21882
JM
252862012-01-27 Joseph Myers <joseph@codesourcery.com>
25287
25288 * math/s_ldexp.c: Remove __STDC__ conditionals.
25289 * math/s_ldexpf.c: Likewise.
25290 * math/s_ldexpl.c: Likewise.
25291 * math/s_nextafter.c: Likewise.
25292 * math/s_nexttowardf.c: Likewise.
25293 * math/s_significand.c: Likewise.
25294 * math/s_significandf.c: Likewise.
25295 * math/s_significandl.c: Likewise.
25296 * math/w_jnl.c: Likewise.
25297 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25298 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25299 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25300 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25301 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25303 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25306 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25311 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25312 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25313 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25314 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25316 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25317 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25318 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25319 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25321 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25322 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25323 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25324 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25325 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25326 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25327 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25328 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25329 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25330 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25331 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25332 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25333 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25334 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25335 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25336 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25337 * sysdeps/ieee754/k_standard.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25399 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25404 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25413 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25417 * sysdeps/ieee754/s_matherr.c: Likewise.
25418 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25419 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25422
965a54a4
JM
254232012-01-26 Joseph Myers <joseph@codesourcery.com>
25424
25425 * crypt/md5.h: Remove __STDC__ conditionals.
25426 * libio/libioP.h: Likewise.
25427 * locale/programs/config.h: Likewise.
25428 * sysdeps/generic/sysdep.h: Likewise.
25429 * sysdeps/i386/asm-syntax.h: Likewise.
25430 * sysdeps/s390/asm-syntax.h: Likewise.
25431 * sysdeps/unix/sysdep.h: Likewise.
25432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25434
7071ad79
JM
254352012-01-26 Joseph Myers <joseph@codesourcery.com>
25436
25437 * libio/libio.h: Remove __STDC__ conditionals.
25438 * malloc/obstack.h: Likewise.
25439 * math/complex.h: Likewise.
25440 * math/math.h: Likewise.
25441 * sysdeps/generic/_G_config.h: Likewise.
25442 * sysdeps/gnu/_G_config.h: Likewise.
25443 * sysdeps/mach/hurd/_G_config.h: Likewise.
25444 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25445 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25446 * sysdeps/sparc/bits/mathdef.h: Likewise.
25447
afc5ed09
UD
254482012-01-26 Ulrich Drepper <drepper@gmail.com>
25449
25450 [BZ #13583]
25451 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25452 Clean up HAS_* macros.
afc5ed09 25453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25454 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25455 possible.
25456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25457 HAS_AVX.
25458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25459 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25460 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25462 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25463
bdb6de1d
JM
254642012-01-25 Joseph Myers <joseph@codesourcery.com>
25465
25466 * elf/tst-unique3.cc (gets): Remove declaration.
25467 * elf/tst-unique3lib.cc (gets): Likewise.
25468 * elf/tst-unique3lib2.cc (gets): Likewise.
25469 * elf/tst-unique4.cc (gets): Likewise.
25470
b15549e6
UD
254712012-01-24 Ulrich Drepper <drepper@gmail.com>
25472
25473 * include/stdio.h: Add C++ protection. Add gets declarations and
25474 definitions.
25475 * debug/tst-chk1.c: Don't declare gets here.
25476 * stdio-common/tst-gets.c: Likewise.
25477
a037381f
JM
254782012-01-24 Joseph Myers <joseph@codesourcery.com>
25479
25480 * posix/glob: Remove directory.
25481
f1d4aa75
JM
254822012-01-24 Joseph Myers <joseph@codesourcery.com>
25483
25484 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25485
81c0c964
PT
254862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25487
25488 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25489 of the non-standard EPFNOSUPPORT.
25490
0ea698ae
ST
254912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25492
25493 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25494 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25495 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25496
d220b117
UD
254972012-01-21 Ulrich Drepper <drepper@gmail.com>
25498
25499 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25500
3e1aa84e
UD
255012012-01-20 Ulrich Drepper <drepper@gmail.com>
25502
25503 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25504 transient errors.
25505 * nscd/grpcache.c (cache_addgr): Likewise.
25506 * nscd/hstcache.c (cache_addhst): Likewise.
25507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25508 * nscd/pwdcache.c (cache_addpw): Likewise.
25509 * nscd/servicescache.c (cache_addserv): Likewise.
25510
400aa020
UD
255112012-01-16 Ulrich Drepper <drepper@gmail.com>
25512
d77e7869
UD
25513 * malloc/malloc.c: Various cleanups.
25514 * malloc/hooks.c: Likewise.
25515
400aa020
UD
25516 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25517 * stdlib/bug-fmtmsg1.c: New file.
25518
25519 * stdlib/fmtmsg.c (init): Add missing unlock.
25520 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25521
e0a309cf
MP
255222012-01-12 Marek Polacek <polacek@redhat.com>
25523
25524 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25525 and _GNU_SOURCE.
25526
929d11c7
WS
255272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25528
25529 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25530 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25531 macro to ensure uniqueness of label name.
25532 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25533 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25534
41d0e869
UD
255352012-01-11 Ulrich Drepper <drepper@gmail.com>
25536
0cc5ed3b
UD
25537 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25538
41d0e869
UD
25539 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25540 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25543
a47a831a
UD
255442012-01-10 Ulrich Drepper <drepper@gmail.com>
25545
daa891c0
UD
25546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25547
25548 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25549 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25551
e58ef0f2
UD
25552 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25553
a47a831a 25554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25555 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25557 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25558
25559 * math/bits/math-finite.h: Add ldexp support.
25560
a0bfc9c7
MP
255612012-01-10 Marek Polacek <polacek@redhat.com>
25562
25563 * locale/programs/localedef.h (show_archive_content): Add noreturn
25564 attribute.
25565
d6e97a1d
UD
255662012-01-09 Ulrich Drepper <drepper@gmail.com>
25567
25568 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25569
d5835c26
UD
255702012-01-08 Ulrich Drepper <drepper@gmail.com>
25571
e5f484c6
UD
25572 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25573
d5835c26
UD
25574 * io/Makefile (headers): Add bits/poll2.h.
25575
d1f741e9
WS
255762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25577
25578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25579 typo #include statement.
25580
ec09c1c4
UD
255812012-01-08 Ulrich Drepper <drepper@gmail.com>
25582
25583 * include/sys/cdefs.h: Define __attribute_alloc_size.
25584 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25585 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25586 * elf/pldd.c: Likewise.
25587 * iconv/iconv_charmap.c: Likewise.
25588 * iconv/iconvconfig.c: Likewise.
25589 * iconv/strtab.c: Likewise.
25590 * locale/programs/locale.c: Likewise.
25591 * locale/programs/localedef.h: Likewise.
25592 * locale/programs/simple-hash.c: Likewise.
25593 * nscd/nscd.h: Likewise.
25594 * nss/makedb.c: Likewise.
25595 * sysdeps/generic/ldconfig.h: Likewise.
25596 * locale/programs/localedef.c: Remove xmalloc prototype.
25597 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25598
20b38e03
PP
255992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25600
25601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25602 appropriate.
25603
a0da5fe1
UD
256042012-01-08 Ulrich Drepper <drepper@gmail.com>
25605
1d5a644a 25606 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25607 * math/tst-CMPLX.c: New file.
1d5a644a 25608
8784a6db
UD
25609 * math/complex.h (CMPLXL): Fix typo.
25610
d9a216c0
UD
25611 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25612 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25613 GLIBC_2.16.
25614 * debug/tst-chk1.c: Add poll and ppoll tests.
25615 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25616 * include/sys/poll.h: Add hidden proto for ppoll.
25617 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25618 * sysdeps/mach/hurd/ppoll.c: Likewise.
25619 * io/ppoll.c: Likewise.
25620 * debug/poll_chk.c: New file.
25621 * debug/ppoll_chk.c: New file.
25622 * include/bits/poll2.h: New file.
25623 * io/bits/poll2.h: New file.
25624
ac097f5c
UD
25625 [BZ #1350]
25626 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25627
2119dcfa
UD
25628 * configure.in: static is always set to yes. Remove.
25629 * config.make.in: Don't set build-static.
25630 * Makeconfig: Remove use of build-static.
25631 * dlfcn/Makefile: Likewise.
25632 * elf/Makefile: Likewise.
25633 * math/Makefile: Likewise.
25634 * misc/Makefile: Likewise.
25635 * nptl/Makefile: Likewise.
25636 * sysdeps/mach/hurd/Makefile: Likewise.
25637
121766a9
UD
25638 * configure.in: PWD_P is not used anymore.
25639 * config.make.in: Remove PWD_P entry.
25640
51a1d39c 25641 * configure.in: Remove last remnants of RANLIB.
8720d066 25642 No need to check for signed size_t anymore.
215f4bdc
UD
25643 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25644 and IA-64.
3857022a 25645 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25646 * aclocal.m4: Likewise.
25647
d3ed7225
UD
25648 * wcsmbs/mbrtoc16.c: Implement using towc function.
25649 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25650 * wcsmbs/wcsmbsload.c: Likewise.
25651 * iconv/gconv_simple.c: Likewise.
25652 * iconv/gconv_int.h: Likewise.
25653 * iconv/gconv_builtin.h: Likewise.
25654 * iconv/iconv_prog.c: Remove CHAR16 handling.
25655
25656 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25657
25658 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25659
a0da5fe1
UD
25660 * configure.in: Remove --with-elf and --enable-bounded options.
25661 Dont set base_machine for ia64. More non-ELF conditions removed.
25662 Remove testing and setting of leading underscore information.
25663 * config.make.in (build-bounded): Set to no.
25664 * config.h.in: Remove NO_UNDERSCORES entry.
25665 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25666 them.
25667 * csu/start.c: Remove !NO_UNDERSCORE code.
25668 * locale/localeinfo.h: Likewise.
25669 * sysdeps/generic/machine-gmon.h: Likewise.
25670 * sysdeps/generic/sysdep.h: Likewise.
25671 * sysdeps/i386/sysdep.h: Likewise.
25672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25673 * sysdeps/mach/sysdep.h: Likewise.
25674 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25676 * sysdeps/sh/sysdep.h: Likewise.
25677 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25678 * sysdeps/unix/i386/sysdep.S: Likewise.
25679 * sysdeps/unix/sparc/start.c: Likewise.
25680 * sysdeps/unix/sparc/sysdep.S: Likewise.
25681 * sysdeps/unix/sparc/sysdep.h: Likewise.
25682 * sysdeps/unix/start.c: Likewise.
25683 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25684 * sysdeps/x86_64/sysdep.h: Likewise.
25685
df78418a
UD
256862012-01-07 Ulrich Drepper <drepper@gmail.com>
25687
a784e502
UD
25688 [BZ #13553]
25689 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25690 for non-gcc.
25691 * argp/argp-fmtstream.h: Use const instead __const.
25692 * argp/argp.h: Likewise.
25693 * assert/assert.h: Likewise.
25694 * bits/fenv.h: Likewise.
25695 * bits/sched.h: Likewise.
25696 * bits/sigset.h: Likewise.
25697 * bits/sigthread.h: Likewise.
25698 * catgets/nl_types.h: Likewise.
25699 * conform/data/pthread.h-data: Likewise.
25700 * crypt/crypt-private.h: Likewise.
25701 * crypt/crypt.h: Likewise.
25702 * crypt/crypt_util.c: Likewise.
25703 * ctype/ctype.h: Likewise.
25704 * debug/execinfo.h: Likewise.
25705 * debug/mbsnrtowcs_chk.c: Likewise.
25706 * debug/mbsrtowcs_chk.c: Likewise.
25707 * debug/wcsnrtombs_chk.c: Likewise.
25708 * debug/wcsrtombs_chk.c: Likewise.
25709 * debug/wcstombs_chk.c: Likewise.
25710 * dirent/dirent.h: Likewise.
25711 * dlfcn/dlfcn.h: Likewise.
25712 * elf/neededtest4.c: Likewise.
25713 * grp/grp.h: Likewise.
25714 * gshadow/gshadow.h: Likewise.
25715 * iconv/gconv.h: Likewise.
25716 * iconv/gconv_int.h: Likewise.
25717 * iconv/gconv_simple.c: Likewise.
25718 * iconv/iconv.h: Likewise.
25719 * iconv/loop.c: Likewise.
25720 * iconv/skeleton.c: Likewise.
25721 * include/aio.h: Likewise.
25722 * include/aliases.h: Likewise.
25723 * include/argz.h: Likewise.
25724 * include/arpa/inet.h: Likewise.
25725 * include/assert.h: Likewise.
25726 * include/dirent.h: Likewise.
25727 * include/dlfcn.h: Likewise.
25728 * include/execinfo.h: Likewise.
25729 * include/fcntl.h: Likewise.
25730 * include/fenv.h: Likewise.
25731 * include/glob.h: Likewise.
25732 * include/grp.h: Likewise.
25733 * include/libintl.h: Likewise.
25734 * include/mntent.h: Likewise.
25735 * include/netdb.h: Likewise.
25736 * include/pwd.h: Likewise.
25737 * include/rpc/netdb.h: Likewise.
25738 * include/sched.h: Likewise.
25739 * include/search.h: Likewise.
25740 * include/shadow.h: Likewise.
25741 * include/signal.h: Likewise.
25742 * include/stdio.h: Likewise.
25743 * include/stdlib.h: Likewise.
25744 * include/string.h: Likewise.
25745 * include/sys/socket.h: Likewise.
25746 * include/sys/stat.h: Likewise.
25747 * include/sys/statfs.h: Likewise.
25748 * include/sys/statvfs.h: Likewise.
25749 * include/sys/syslog.h: Likewise.
25750 * include/sys/time.h: Likewise.
25751 * include/sys/uio.h: Likewise.
25752 * include/time.h: Likewise.
25753 * include/unistd.h: Likewise.
25754 * include/utmp.h: Likewise.
25755 * include/wchar.h: Likewise.
25756 * include/wctype.h: Likewise.
25757 * inet/aliases.h: Likewise.
25758 * inet/arpa/inet.h: Likewise.
25759 * inet/netinet/ether.h: Likewise.
25760 * inet/netinet/in.h: Likewise.
25761 * intl/libintl.h: Likewise.
25762 * io/bits/fcntl2.h: Likewise.
25763 * io/fcntl.h: Likewise.
25764 * io/ftw.h: Likewise.
25765 * io/sys/poll.h: Likewise.
25766 * io/sys/stat.h: Likewise.
25767 * io/sys/statfs.h: Likewise.
25768 * io/sys/statvfs.h: Likewise.
25769 * io/utime.h: Likewise.
25770 * libio/bits/stdio.h: Likewise.
25771 * libio/bits/stdio2.h: Likewise.
25772 * libio/libio.h: Likewise.
25773 * libio/libioP.h: Likewise.
25774 * libio/stdio.h: Likewise.
25775 * locale/lc-ctype.c: Likewise.
25776 * locale/locale.h: Likewise.
25777 * login/utmp.h: Likewise.
25778 * malloc/arena.c: Likewise.
25779 * malloc/malloc.c: Likewise.
25780 * malloc/malloc.h: Likewise.
25781 * malloc/mcheck.c: Likewise.
25782 * malloc/mtrace.c: Likewise.
25783 * math/bits/mathcalls.h: Likewise.
25784 * math/fenv.h: Likewise.
25785 * math/math_private.h: Likewise.
25786 * misc/bits/error.h: Likewise.
25787 * misc/bits/syslog.h: Likewise.
25788 * misc/err.h: Likewise.
25789 * misc/error.h: Likewise.
25790 * misc/fstab.h: Likewise.
25791 * misc/mntent.h: Likewise.
25792 * misc/regexp.h: Likewise.
25793 * misc/search.h: Likewise.
25794 * misc/sgtty.h: Likewise.
25795 * misc/sys/mman.h: Likewise.
25796 * misc/sys/syslog.h: Likewise.
25797 * misc/sys/uio.h: Likewise.
25798 * misc/sys/xattr.h: Likewise.
25799 * misc/ttyent.h: Likewise.
25800 * nis/rpcsvc/ypclnt.h: Likewise.
25801 * nss/nss.h: Likewise.
25802 * posix/bits/unistd.h: Likewise.
25803 * posix/fnmatch.h: Likewise.
25804 * posix/glob.h: Likewise.
25805 * posix/sched.h: Likewise.
25806 * posix/spawn.h: Likewise.
25807 * posix/sys/wait.h: Likewise.
25808 * posix/unistd.h: Likewise.
25809 * posix/wordexp.h: Likewise.
25810 * pwd/pwd.h: Likewise.
25811 * resolv/netdb.h: Likewise.
25812 * resource/sys/resource.h: Likewise.
25813 * rt/aio.h: Likewise.
25814 * rt/bits/mqueue2.h: Likewise.
25815 * rt/mqueue.h: Likewise.
25816 * shadow/shadow.h: Likewise.
25817 * signal/signal.h: Likewise.
25818 * socket/send.c: Likewise.
25819 * socket/sendto.c: Likewise.
25820 * socket/sys/socket.h: Likewise.
25821 * stdio-common/printf.h: Likewise.
25822 * stdlib/bits/stdlib.h: Likewise.
25823 * stdlib/fmtmsg.h: Likewise.
25824 * stdlib/monetary.h: Likewise.
25825 * stdlib/stdlib.h: Likewise.
25826 * stdlib/ucontext.h: Likewise.
25827 * streams/stropts.h: Likewise.
25828 * string/argz.h: Likewise.
25829 * string/bits/string2.h: Likewise.
25830 * string/string.h: Likewise.
25831 * string/strings.h: Likewise.
25832 * sunrpc/rpc/auth.h: Likewise.
25833 * sunrpc/rpc/auth_des.h: Likewise.
25834 * sunrpc/rpc/clnt.h: Likewise.
25835 * sunrpc/rpc/netdb.h: Likewise.
25836 * sunrpc/rpc/pmap_clnt.h: Likewise.
25837 * sunrpc/rpc/xdr.h: Likewise.
25838 * sysdeps/generic/inttypes.h: Likewise.
25839 * sysdeps/generic/net/if.h: Likewise.
25840 * sysdeps/generic/sys/swap.h: Likewise.
25841 * sysdeps/gnu/net/if.h: Likewise.
25842 * sysdeps/gnu/utmpx.h: Likewise.
25843 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25844 * sysdeps/i386/i486/bits/string.h: Likewise.
25845 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25846 * sysdeps/s390/bits/string.h: Likewise.
25847 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25848 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25849 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25850 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25851 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25852 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25853 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25854 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25855 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25856 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25857 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25858 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25859 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25860 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25861 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25862 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25863 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25868 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25869 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25870 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25871 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25872 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25873 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25875 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25876 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25877 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25878 * sysvipc/sys/ipc.h: Likewise.
25879 * sysvipc/sys/msg.h: Likewise.
25880 * sysvipc/sys/sem.h: Likewise.
25881 * sysvipc/sys/shm.h: Likewise.
25882 * termios/termios.h: Likewise.
25883 * time/sys/time.h: Likewise.
25884 * time/time.h: Likewise.
25885 * wcsmbs/bits/wchar2.h: Likewise.
25886 * wcsmbs/uchar.h: Likewise.
25887 * wcsmbs/wchar.h: Likewise.
25888 * wctype/wctype.h: Likewise.
25889
0269750c
UD
25890 [BZ #13551]
25891 * Makeconfig: Remove all but ELF support including AIX support.
25892 * Makerules: Likewise.
25893 * config.h.in: Likewise.
25894 * config.make.in: Likewise.
25895 * configure: Likewise.
25896 * configure.in: Likewise.
25897 * csu/Makefile: Likewise.
25898 * csu/version.c: Likewise.
25899 * debug/Makefile: Likewise.
25900 * dlfcn/Makefile: Likewise.
25901 * elf/Makefile: Likewise.
25902 * extra-lib.mk: Likewise.
25903 * iconv/Makefile: Likewise.
25904 * include/libc-symbols.h: Likewise.
25905 * include/shlib-compat.h: Likewise.
25906 * resolv/Makefile: Likewise.
25907 * resolv/res_libc.c: Likewise.
25908 * rt/Makefile: Likewise.
25909 * sysdeps/i386/asm-syntax.h: Likewise.
25910 * sysdeps/i386/sysdep.h: Likewise.
25911 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25912 * sysdeps/mach/sysdep.h: Likewise.
25913 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25914 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25915 * sysdeps/s390/asm-syntax.h: Likewise.
25916 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25918 * sysdeps/sh/sysdep.h: Likewise.
25919 * sysdeps/unix/sparc/sysdep.h: Likewise.
25920 * sysdeps/wordsize-32/divdi3.c: Likewise.
25921 * sysdeps/x86_64/sysdep.h: Likewise.
25922
00bbd29b
UD
25923 * argp/Versions: Remove _argp_unlock_xxx.
25924
25925 [BZ #13559]
25926 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25927 * abilist/libBrokenLocale.abilist: Likewise.
25928 * abilist/libanl.abilist: Likewise.
25929 * abilist/libc.abilist: Likewise.
25930 * abilist/libcrypt.abilist: Likewise.
25931 * abilist/libdl.abilist: Likewise.
25932 * abilist/libm.abilist: Likewise.
25933 * abilist/libnsl.abilist: Likewise.
25934 * abilist/libpthread.abilist: Likewise.
25935 * abilist/libresolv.abilist: Likewise.
25936 * abilist/librt.abilist: Likewise.
25937 * abilist/libthread_db.abilist: Likewise.
25938 * abilist/libutil.abilist: Likewise.
25939 * abilist/libnss_db.abilist: New file.
25940
25941 * scripts/abilist.awk: Add support for indirect functions.
25942
a2693a0e
UD
25943 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25944
3f05895f
UD
25945 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25946
ecb6fb48
UD
25947 * shlib-versions: Remove entries for ports architectures.
25948
664f8cb9
UD
25949 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25950 files in ports.
25951 * elf/stackguard-macros.h: Remove support for IA-64.
25952 * elf/tst-auditmod1.c: Likewise.
25953 * sysdeps/generic/ldsodefs.h: Likewise.
25954
7ae81d88
UD
25955 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25956 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25957 configure files.
25958
bdeba135
UD
25959 [BZ #13552]
25960 * configure.in: Remove --enable-omitfp support.
25961 * FAQ.in: Adjust.
25962 * config.make.in: Likewise.
25963 * Makeconfig: Likewise.
25964 * manual/install.texi: Likewise.
25965
d75a0a62
UD
25966 In case anyone cares, the IA-64 architecture could move to ports.
25967 * sysdeps/ia64/*: Removed.
25968 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25969 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25970
dcc9756b
UD
25971 [BZ #13555]
25972 * configure.in: Remove entries for unsupported architectures.
25973
d3761ebc 25974 [BZ #13533]
9954432e
UD
25975 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25976 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25977 routines.
25978 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25979 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25980 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25981 fall back to using wcrtomb.
25982 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25983 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25984 renaming.
25985 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25986 * wcsmbs/tst-c16c32-1.c: New file.
25987
25988 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25989 local variable.
25990
c3a87236
UD
25991 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25992
28926a1b
UD
25993 * elf/tst-unique3.cc: Add explicit declaration of gets.
25994 * elf/tst-unique3lib.cc: Likewise.
25995 * elf/tst-unique3lib2.cc: Likewise.
25996 * elf/tst-unique4.cc: Likewise.
25997
df78418a
UD
25998 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25999
8ecd6b2a
JM
260002012-01-06 Joseph Myers <joseph@codesourcery.com>
26001
26002 [BZ #13566]
26003 * assert/assert.h (static_assert): Don't define for C++.
26004 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26005 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26006
9f115170
UD
260072012-01-03 Ulrich Drepper <drepper@gmail.com>
26008
5e0d0300
UD
26009 * iconv/loop.c (single loop): Fix assertion in storing of
26010 remaining bytes.
26011
9f115170
UD
26012 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26013
81fb02b0
UD
260142012-01-01 Ulrich Drepper <drepper@gmail.com>
26015
26016 * posix/getconf.c: Update copyright year.
26017 * nss/getent.c: Likewise.
a316c1f6 26018 * nss/makedb.c: Likewise.
81fb02b0
UD
26019 * iconv/iconvconfig.c: Likewise.
26020 * iconv/iconv_prog.c: Likewise.
26021 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26022 * elf/pldd.c: Likewise.
26023 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26024 * catgets/gencat.c: Likewise.
26025 * csu/version.c: Likewise.
26026 * elf/ldd.bash.in: Likewise.
26027 * elf/sprof.c (print_version): Likewise.
26028 * locale/programs/locale.c: Likewise.
26029 * locale/programs/localedef.c: Likewise.
a316c1f6 26030 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26031 * nscd/nscd.c (print_version): Likewise.
26032 * debug/xtrace.sh: Likewise.
26033 * malloc/memusage.sh: Likewise.
26034 * malloc/mtrace.pl: Likewise.
26035 * debug/catchsegv.sh: Likewise.
26036
2ba92745
JJ
260372011-12-30 Jakub Jelinek <jakub@redhat.com>
26038
26039 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26040 pure attribute.
26041
dadebdae
UD
260422011-12-24 Ulrich Drepper <drepper@gmail.com>
26043
d3761ebc 26044 [BZ #13533]
db6af3eb
UD
26045 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26046 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26047 transformations.
26048 * iconv/gconv_int.h: Likewise.
26049 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26050 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26051 from libc for GLIBC_2.16.
26052 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26053 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26054 * wcsmbs/uchar.h: Really define mbstate_t.
26055 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26056 * wcsmbs/c16rtomb.c: New file.
26057 * wcsmbs/mbrtoc16.c: New file.
26058 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26059 for C/POSIX locale.
26060 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26061 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26062
dadebdae
UD
26063 * wcsmbs/wchar.h: Add missing __restrict.
26064
67371b56
UD
260652011-12-23 Ulrich Drepper <drepper@gmail.com>
26066
74033a25
UD
26067 [BZ #13532]
26068 * time/Makefile (routines): Add timespec_get.
26069 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26070 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26071 timespec for ISO C11.
26072 * time/timespec_get.c: New file.
26073 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26074 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26075
380d7e87
UD
26076 [BZ #13531]
26077 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26078 * stdlib/stdlib.h: Declare aligned_alloc.
26079 * Versions.def: Add GLIBC_2.16 for libc.
26080 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26081
4e9e7a35
UD
26082 [BZ 13527]
26083 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26084 ISO C11.
26085
380d7e87 26086 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26087 code.
26088
03a71829
UD
26089 [BZ #13528]
26090 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26091
839e283e
UD
26092 [BZ #13529]
26093 * assert/assert.h (static_assert): Define.
26094
ce5294e2 26095 * version.h: Update for 2.16 development version.
90fa7312 26096
8d44e150 26097 [BZ #13526]
d7809905
UD
26098 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26099 _ISOC11_SOURCE.
26100
c0da14cd
UD
26101 * version.h (RELEASE): Bump for 2.15 release.
26102 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26103
530a3249
MP
26104 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26105 Patch by Marek Polacek <mpolacek@redhat.com>.
26106
67371b56
UD
26107 * bits/byteswap.h: Protect long long constants with __extension__.
26108 * sysdeps/i386/bits/byteswap.h: Likewise.
26109 * sysdeps/ia64/bits/byteswap.h: Likewise.
26110 * sysdeps/s390/bits/byteswap.h: Likewise.
26111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26112
15db4de1
LD
261132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26114
26115 [BZ #13540]
bbe315ea
LD
26116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26117 destination buffer.
15db4de1
LD
26118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26119
2b2596b1
MP
261202011-12-23 Marek Polacek <polacek@redhat.com>
26121
26122 * elf/dl-addr.c (determine_info): Add inline keyword.
26123 * elf/tst-auditmod4b.c (check_avx): Likewise.
26124 * elf/tst-auditmod6b.c (check_avx): Likewise.
26125 * elf/tst-auditmod6c.c (check_avx): Likewise.
26126 * elf/tst-auditmod7b.c (check_avx): Likewise.
26127
70c6c246
UD
261282011-12-23 Ulrich Drepper <drepper@gmail.com>
26129
26130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26131 !__SSE_MATH__.
26132
c044cf14
LD
261332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26134
15db4de1 26135 [BZ #13540]
c044cf14
LD
26136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26137 processing for last bytes.
26138
6b13d9d9
BH
261392011-08-06 Bruno Haible <bruno@clisp.org>
26140
d455f537
BH
26141 [BZ #13061]
26142 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26143 U+0385, not to U+1FEE.
26144
6b13d9d9
BH
26145 [BZ #13062]
26146 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26147 entry for U+00A5 U+0301.
26148
db910efd
UD
261492011-12-22 Ulrich Drepper <drepper@gmail.com>
26150
27deeafc
UD
26151 [BZ #13166]
26152 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26153 buffer for the output is too small.
26154
aed9d171
UD
26155 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26156 optimization.
26157
db910efd
UD
26158 [BZ #13185]
26159 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26160 SSE flags if possible.
26161
2bd779ae
LD
261622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26163
e7f9dac3 26164 [BZ #13540]
2bd779ae
LD
26165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26166 processing for last bytes.
26167
154bfc16
JM
261682011-12-22 Joseph Myers <joseph@codesourcery.com>
26169
26170 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26171 (syscall-list-default-options, syscall-list-default-condition)
26172 (syscall-list-includes): Define.
26173 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26174 list of ABIs and options and #if conditions for each ABI. Do not
26175 handle common syscalls between ABIs specially.
26176 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26177 Remove.
26178 (syscall-list-variants, syscall-list-32bit-options)
26179 (syscall-list-32bit-condition, syscall-list-64bit-options)
26180 (syscall-list-64bit-condition): Define.
26181 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26182 (syscall-list-variants, syscall-list-32bit-options)
26183 (syscall-list-32bit-condition, syscall-list-64bit-options)
26184 (syscall-list-64bit-condition): Define.
26185 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26186 Remove.
26187 (syscall-list-variants, syscall-list-32bit-options)
26188 (syscall-list-32bit-condition, syscall-list-64bit-options)
26189 (syscall-list-64bit-condition): Define.
26190 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26191 Remove.
26192 (syscall-list-variants, syscall-list-32bit-options)
26193 (syscall-list-32bit-condition, syscall-list-64bit-options)
26194 (syscall-list-64bit-condition): Define.
26195
21eaf3a5
UD
261962011-12-22 Ulrich Drepper <drepper@gmail.com>
26197
16c6f992
UD
26198 * locale/iso-639.def: Add brx entry.
26199
41043168
UD
26200 [BZ #13328]
26201 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26202 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26203
21eaf3a5
UD
26204 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26205 __feraiseexcept_renamed.
26206
e3a851a2
UD
262072011-12-21 Ulrich Drepper <drepper@gmail.com>
26208
4920765e
UD
26209 [BZ #13538]
26210 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26211 EPOLLET with unsigned values.
26212 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26213 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26214
e3a851a2
UD
26215 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26216 to large cancellation.
26217 * math/s_cacoshf.c: Likewise.
26218 * math/s_cacoshl.c: Likewise.
26219
b27e24b8
RK
262202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26221
26222 [BZ #13305]
aebefeee 26223 [BZ #12786]
b27e24b8
RK
26224 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26225 * math/s_cacoshf.c: Likewise.
26226 * math/s_cacoshl.c: Likewise.
26227
ee190f67
UD
262282011-12-21 Ulrich Drepper <drepper@gmail.com>
26229
26230 [BZ #13439]
26231 * iconv/gconv.h: Define __GCONV_SWAP.
26232 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26233 * iconvdata/utf-16.c: Likewise.
26234 * iconvdata/utf-32.c: Likewise.
26235
707f25df
AS
262362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26237
26238 [BZ #13524]
26239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26240 numerator after shifting it by one limb.
26241
d2daaa1e
RÁE
262422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26243
26244 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26245 under [__USE_EXTERN_INLINES].
26246
a4647e72
UD
262472011-12-17 Ulrich Drepper <drepper@gmail.com>
26248
26249 [BZ #13446]
26250 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26251
f0b264f1
AZ
262522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26253
26254 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26255 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26256 optimized code.
26257 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26258 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26259 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26260 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26261 for strncasecmp/strncasecmp_l compilation.
26262 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26263 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26264
8ef4f244
MP
262652011-12-08 Marek Polacek <mpolacek@redhat.com>
26266
26267 [BZ #13484]
26268 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26269 of __asm__.
26270
97ac2654
UD
262712011-12-17 Ulrich Drepper <drepper@gmail.com>
26272
26273 [BZ #13506]
26274 * time/tzfile.c (__tzfile_read): Check values from file header.
26275
91d2a845
WS
262762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26277
26278 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26279 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26280 * powerpc/powerpc32/dl-start.S: Likewise.
26281 * powerpc/powerpc32/elf/start.S: Likewise.
26282 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26283 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26284 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26285 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26286 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26287 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26288 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26289 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26290 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26291 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26292 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26293 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26294 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26295 * powerpc/powerpc32/memset.S: Likewise.
26296 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26297 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26298 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26299 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26300 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26301 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26302 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26303 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26304 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26305 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26306 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26307 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26308 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26309
a1267ba1
AZ
263102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26311
26312 * math/libm-test.inc: Added more nearbyint tests.
26313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26317
ad8ac1bd
RL
263182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26319
26320 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26321 FD_CLOEXEC.
26322
1d3e4b61
UD
263232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26324
26325 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26326 Add wcscpy-ssse3 wcscpy-c.
26327 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26328 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26329 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26330 * sysdeps/x86_64/wcschr.S: New file.
26331 * sysdeps/x86_64/wcsrchr.S: New file.
26332 * string/test-strcmp.c: Remove checking of wcscmp function for
26333 wrong alignments.
26334 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26335 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26336 wcsrchr-sse2 wcsrchr-c.
26337 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26338 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26339 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26340 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26341 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26342 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26343 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26344 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26345 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26346 * wcsmbc/wcschr.c (WCSCHR): New macro.
26347
5b330a2d
UD
263482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26349
26350 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26351 * wcsmbs/test-wcsrchr.c: New file.
26352 * string/test-strrchr.c: Add wcsrchr support.
26353 (WIDE): New macro.
26354 * wcsmbs/test-wcscpy.c: New file.
26355 * string/test-strcpy.c: Add wcscpy support.
26356 (WIDE): New macro.
26428b7c 26357
f039c043
UD
263582011-12-10 Ulrich Drepper <drepper@gmail.com>
26359
26360 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26361 the inner loop.
26362
850fb039
AS
263632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26364
26365 [BZ #13472]
26366 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26367
4efbd5cb
UD
263682011-12-04 Ulrich Drepper <drepper@gmail.com>
26369
52ff5dd0 26370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26371 Minor optimizations.
52ff5dd0 26372
4efbd5cb
UD
26373 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26374 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26375 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26376
8a426e12
UD
263772011-12-03 Ulrich Drepper <drepper@gmail.com>
26378
aff2453d
UD
26379 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26380 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26381 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26382 for gcc to avoid warnings.
26383 * inet/Makefile (tests): Add tst-checks.
26384 * inet/tst-checks.c: New file.
26385
26386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26387 warning.
26388
26389 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26390 __wmemcmp_sse2.
26391
26392 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26393 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26394
8a426e12
UD
26395 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26396
9bea3473
UD
263972011-12-02 Ulrich Drepper <drepper@gmail.com>
26398
3a965496
UD
26399 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26400 problem.
26401
9bea3473
UD
26402 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26403
f101631b
UD
264042011-11-29 Joseph Myers <joseph@codesourcery.com>
26405
26406 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26407 conditional on GCC version.
26408 (__arch_compare_and_exchange_val_8_acq)
26409 (__arch_compare_and_exchange_val_16_acq)
26410 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26411 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26412 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26413
a98275aa
UD
264142011-12-02 Joseph Myers <joseph@codesourcery.com>
26415
26416 * sysdeps/sh/backtrace.c: New file.
26417
d4cc29a2
AS
264182011-12-02 Andreas Schwab <schwab@redhat.com>
26419
26420 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26421 parenthesis.
26422
6257af2d
AS
264232011-12-01 Andreas Schwab <schwab@redhat.com>
26424
26425 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26426 falling back to utime.
26427
b5f44c1a
AS
264282011-11-30 Andreas Schwab <schwab@redhat.com>
26429
26430 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26431 expectations for float.
26432
f3a6cc0a
AS
264332011-11-29 Andreas Schwab <schwab@redhat.com>
26434
26435 * locale/weight.h (findidx): Add parameter len.
26436 * locale/weightwc.h (findidx): Likewise.
26437 * posix/fnmatch_loop.c (FCT): Adjust caller.
26438 * posix/regcomp.c (build_equiv_class): Likewise.
26439 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26440 * posix/regexec.c (check_node_accept_bytes): Likewise.
26441 * string/strcoll_l.c (STRCOLL): Likewise.
26442 * string/strxfrm_l.c (STRXFRM): Likewise.
26443
9d65ea3a
UD
264442011-11-17 Ulrich Drepper <drepper@gmail.com>
26445
26446 * Makefile.in: Remove CVSOPT handling.
26447 * configure.in: Remove use of AC_REVISION.
26448 * iconvdata/Makefile (distribute): No need to filter out CVS.
26449 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26450 handling.
26451
5583a086
AS
264522011-11-16 Andreas Schwab <schwab@redhat.com>
26453
26454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26455 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26456 [USE_AS_STRNCASECMP_L]: Likewise.
26457 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26458 NO_TLS_DIRECT_SEG_REFS.
26459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26460 Fix argument offsets for non-PIC.
26461 [USE_AS_STRNCASECMP_L]: Likewise.
26462 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26463 NO_TLS_DIRECT_SEG_REFS.
26464
d62a8200
UD
264652011-11-15 Ulrich Drepper <drepper@gmail.com>
26466
9d65ea3a 26467 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26468 O_CLOEXEC.
26469 * locale/loadlocale.c (_nl_load_locale): Likewise.
26470
09f93bd3
AS
264712011-11-15 Andreas Schwab <schwab@redhat.com>
26472
446514f9
AS
26473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26474 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26475 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26476 (SYSCALL_GETTIME): Set errno on error.
26477
09f93bd3
AS
26478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26479 count references to noai6ai_cached.
26480
312be3f9
UD
264812011-11-15 Ulrich Drepper <drepper@gmail.com>
26482
26483 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26484
26485 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26486 FD_CLOEXEC for /proc/self/maps.
26487
26488 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26489 FD_CLOEXEC for /proc/meminfo.
26490
26491 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26492 gai.conf.
26493
26494 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26495 FD_CLOEXEC for given file.
26496
26497 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26498
26499 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26500 FD_CLOEXEC for /etc/hosts.
26501 (_gethtent): Likewise.
26502
26503 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26504
26505 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26506 cancellation and set FD_CLOEXEC for /etc/netgroup.
26507
26508 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26509 reading /etc/publickey.
26510
26511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26512 allow cancellation when reading /etc/group.
26513
26514 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26515 cancellation.
26516 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26517
26518 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26519 when using data file.
26520
26521 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26522
26523 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26524 (write_nis_obj): Use "c" and "e" in fopen.
26525
26526 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26527
26528 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26529
26530 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26531
26532 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26533
26534 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26535 locale.alias.
26536
26537 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26538
26539 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26540
26541 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26542
26543 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26544 file parsing and set FD_CLOEXEC.
26545
82af0fa8
UD
265462011-11-14 Ulrich Drepper <drepper@gmail.com>
26547
26548 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26549
a5fb313c
AS
265502011-11-14 Andreas Schwab <schwab@redhat.com>
26551
26552 * malloc/arena.c (arena_get2): Don't call reused_arena when
26553 _int_new_arena failed.
26554
6abf3465
UD
265552011-11-14 Ulrich Drepper <drepper@gmail.com>
26556
26557 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26558 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26561 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26563 to compile strcasecmp and strncasecmp.
26564 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26565 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26566
26567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26568
76e3966e
UD
265692011-11-13 Ulrich Drepper <drepper@gmail.com>
26570
26571 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26572 locale-defines.sym to gen-as-const-headers.
26573 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26574 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26576 to compile strcasecmp and strncasecmp.
26577 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26578 strcasecmp_l and strncasecmp_l.
26579 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26580 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26581 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26582 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26583 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26584 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26585 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26586 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26587 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26588 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26589 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26590
ab26144e
UD
265912011-11-12 Ulrich Drepper <drepper@gmail.com>
26592
7edb22ef
UD
26593 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26594 result of SYSDEP_GETTIME_CPU to retval.
26595 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26596 parameter list to macro. Remove trailing semicolon. Adjust users.
26597
9694fc44
UD
26598 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26599 variable.
26600
8ad89ef8
UD
26601 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26602 mantissa words.
26603 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26604
0c822ef9
UD
26605 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26606 from unused variable.
26607
874e0564
UD
26608 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26609 DWARF definitions.
26610 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26611 for assembling.
26612
3a2edc79
UD
26613 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26614 over namespaces.
26615
f3c2577f
UD
26616 * sunrpc/rpc_prot.c (rejected): Fix case value.
26617
294ce126
UD
26618 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26619 unsigned long long int to avoid warnings in shift.
26620
5e2b63c6
UD
26621 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26622 of use of trans.
26623 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26624 variable tmp.
26625
e7f4b08e
UD
26626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26627 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26628 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26629
ab26144e
UD
26630 * nis/nis_table.c (nis_list): Use variable of correct type for
26631 result of __follow_path call.
26632
8a6d5255
AZ
266332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26634
26635 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26636 of math functions ceil, trunc, floor, round, and sqrt, when
26637 avaliable on the platform.
26638 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26639 name clash.
26640 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26641 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26642 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26643
aaddc98c
MP
266442011-10-30 Marek Polacek <mpolacek@redhat.com>
26645
26646 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26647 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26648
95b7042b
RM
266492011-11-11 Roland McGrath <roland@hack.frob.com>
26650
26651 * include/unistd.h: Fix __readlink return type.
26652 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26653
57769839
UD
266542011-11-11 Ulrich Drepper <drepper@gmail.com>
26655
26656 * stdlib/ucontext.h: Undo last change for makecontext.
26657
edc5984d
AS
266582011-11-11 Andreas Schwab <schwab@redhat.com>
26659
98591e58
AS
26660 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26661
edc5984d
AS
26662 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26663 * setjmp/setjmp.h: Mark functions as non-leaf.
26664 * setjmp/bits/setjmp2.h: Likewise.
26665 * stdlib/ucontext.h: Likewise.
26666
77cdc054
AS
266672011-11-10 Andreas Schwab <schwab@redhat.com>
26668
26669 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26670 (reused_arena): Don't check arena limit.
26671 (arena_get2): Atomically check arena limit.
26672
fe72eebd
UD
266732011-11-08 Ulrich Drepper <drepper@gmail.com>
26674
5f078c32
UD
26675 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26676 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26677
fe72eebd
UD
26678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26679 instructions.
26680
ae1bc2fa
AS
266812011-11-07 Andreas Schwab <schwab@redhat.com>
26682
7583a88d
AS
26683 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26684 handler when locking.
26685
ae1bc2fa
AS
26686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26687 Fix size of allocated buffer.
26688
10fb0bfa
AS
266892011-11-04 Andreas Schwab <schwab@redhat.com>
26690
998832a4
AS
26691 [BZ #10103]
26692 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26693 declarations for long double functions.
26694 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26695
10fb0bfa
AS
26696 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26697
3d7ba52b
AS
266982011-11-03 Andreas Schwab <schwab@redhat.com>
26699
a9ae54a1
AS
26700 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26701 installed.
26702
3d7ba52b
AS
26703 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26704 is disabled.
26705
bc8db248
ST
267062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26707
26708 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26709
45b96dd6
AS
267102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26711
647776f6
AS
26712 * include/alloca.h (stackinfo_alloca_round): Define.
26713 (extend_alloca): Use it.
26714 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26715 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26716 here.
26717
d91a8b93
AS
26718 * scripts/check-local-headers.sh: Ignore libaudit.h.
26719
45b96dd6
AS
26720 * nscd/Makefile (extra-objs): Make recursively expanded.
26721
432d41ce
UD
267222011-11-01 Ulrich Drepper <drepper@gmail.com>
26723
34372fc6
UD
26724 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26725 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26726
fadb59f8
UD
26727 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26728 * posix/tst-rfc3484-2.c: Likewise.
26729 * posix/tst-rfc3484-3.c: Likewise.
26730
78239589
UD
26731 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26732 process_vm_writev.
26733 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26734 process_vm_writev.
26735 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26736 process_vm_writev from libc using GLIBC_2.15 version.
26737
432d41ce
UD
26738 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26739
02f9c6cf
PP
267402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26741
26742 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26743 stack usage.
26744
3a2c0242
UD
267452011-10-31 Ulrich Drepper <drepper@gmail.com>
26746
f4ec4833
UD
26747 [BZ #13367]
26748 * nss/getent.c (initgroups_keys): Show error message in case no group
26749 names are given.
26750
3a2c0242
UD
26751 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26752 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26753 __bump_nl_timestamp.
26754 * nscd/connections (nscd_init): When host database is served open
26755 netlink socket and request notification about configuration changes.
26756 (main_loop_poll): Track netlink file descriptor and bump timestamp
26757 in case data becomes available.
26758 (main_loop_epoll): Likewise.
26759 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26760 (database_pers_head): Add extra_data fileds.
26761 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26762 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26763 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26764 Adjust caller.
26765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26766 in6ai data, call __free_in6ai.
26767 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26768 Add -DHAVE_NETLINK.
26769 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26770 interface information. Reuse previous data if netlink timestamp
26771 is not changed.
26772 (__bump_nl_timestamp): New function.
26773 (__free_in6ai): New function.
26774
636064eb
UD
267752011-10-30 Ulrich Drepper <drepper@gmail.com>
26776
26777 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26778 close_not_cancel_no_status here.
26779 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26780
9beb2334
UD
267812011-10-29 Ulrich Drepper <drepper@gmail.com>
26782
6ef76f3b
UD
26783 [BZ #13276]
26784 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26785 return value.
26786
0ffc4f3e 26787 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26788 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26789 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26790
cb95113e
UD
267912011-07-03 Andreas Jaeger <aj@suse.de>
26792
26793 [BZ #10709]
26794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26795 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26796 * math/libm-test.inc (sin_test): Add test case.
26797
a1b560ff
UD
267982011-10-29 Ulrich Drepper <drepper@gmail.com>
26799
c9aaface
UD
26800 [BZ #13337]
26801 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26802 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26803
d272e7f1
UD
26804 * elf/chroot_canon.c (chroot_canon): Cleanups.
26805
1bc33071
UD
26806 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26807
1760874d
TJ
26808 [BZ #13335]
26809 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26810 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26811
51d91b18
UD
26812 * string/test-strchr.c: Make usable for strchrnul testing.
26813 * string/test-strchrnul.c: New file.
26814 * string/Makefile (strop-tests): Add strchrnul.
26815
a1b560ff 26816 * po/it.po: Update from translation team.
b611fb81 26817 * po/es.po: Likewise.
a1b560ff 26818
a5b81e1f
UD
268192011-10-28 Ulrich Drepper <drepper@gmail.com>
26820
fd52bc6d
UD
26821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26822 the three constants needed as parameters. Drop the others.
26823 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26824 __m128i_strloadu_tolower.
52e4b9eb
UD
26825 Create and initialize variable zero and use it in all the places
26826 where _mm_setzero_si128 was used.
fd52bc6d 26827
a5b81e1f
UD
26828 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26829 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26830 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26831 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26832 anymore.
26833 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26834 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26835 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26836 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26837 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26838 __mpranred, __mptan.
26839 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26840 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26841 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26842 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26843 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26844 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26846 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26847 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26848
b4343346
AS
268492011-10-28 Andreas Schwab <schwab@redhat.com>
26850
0c92d8a8
AS
26851 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26852 redefine if SHARED.
26853 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26854
b4343346
AS
26855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26856 wide char related routines to wcsmbs subdir.
26857
3871f58f
AS
268582011-10-27 Andreas Schwab <schwab@redhat.com>
26859
26860 [BZ #13344]
26861 * misc/sys/cdefs.h (__THROWNL): Define.
26862 * posix/unistd.h: Use __THREADNL instead of __THREAD
26863 for memory synchronization functions.
26864
94d44d9f
RM
268652011-10-26 Roland McGrath <roland@hack.frob.com>
26866
21b64b15 26867 [BZ #13349]
94d44d9f
RM
26868 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26869 doesn't exist.
26870 * manual/stdio.texi (Obstack Streams): Node removed.
26871
f6ce9294
AS
268722011-10-26 Andreas Schwab <schwab@redhat.com>
26873
80479147
AS
26874 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26875 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26877
f6ce9294
AS
26878 * math/math_private.h (math_force_eval): Allow non-addressable
26879 arguments.
26880 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26881
618280a1
UD
268822011-10-25 Ulrich Drepper <drepper@gmail.com>
26883
e0016b11
UD
26884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26885 file is not needed.
26886
26887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26894 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26895 Add AVX variants.
26896 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26897 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26898 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26899 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26900 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26901 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26902 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26904 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26905 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26906 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26907 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26909 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26910 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26911 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26912 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26913 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26914 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26915
26916 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26917 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26918
618280a1
UD
26919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26920 place. Use VEX encoding when compiling for AVX.
26921
37822576
AS
269222011-10-25 Andreas Schwab <schwab@redhat.com>
26923
1f1e1947
AS
26924 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26925 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26926
37822576
AS
26927 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26928
31ea014d
UD
269292011-10-25 Ulrich Drepper <drepper@gmail.com>
26930
d7826aa1 26931 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26932 useless if() expression.
d7826aa1
UD
26933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26935 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26944 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26945 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26948 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26951 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26952
31ea014d
UD
26953 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26954
16437fec
AS
269552011-10-25 Andreas Schwab <schwab@redhat.com>
26956
26957 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26958 condition.
26959 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26960
31d3cc00
UD
269612011-10-25 Ulrich Drepper <drepper@gmail.com>
26962
26963 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26964 .text section. Avoid duplicate constants.
26965 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26973 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26974 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26975 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26977 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26978 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26981 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26982 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26988 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26989 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26990 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26991 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26992 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26994 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26995 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27003 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27007 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27008 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27009 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27010
58985aa9
UD
270112011-10-24 Ulrich Drepper <drepper@gmail.com>
27012
202c9deb
UD
27013 * sysdeps/x86_64/dla.h: Move to ...
27014 * sysdeps/x86_64/fpu/dla.h: ...here.
27015 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27016 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27017
af968f62
UD
27018 * config.make.in: Add have-mfma4 entry.
27019 * configure.in: Substitute libc_cv_cc_fma4.
27020 * math/Makefile (dbl-only-routines): Add sincostab.
27021 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27022 Use __sincostab not sincos.
27023 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27024 name is a macro.
27025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27029 using __copysign.
27030 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27031 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27032 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27033 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27034 and __inv.
27035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27036 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27037 __copysign.
27038 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27039 define aliases when function name is a macro.
27040 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27041 sysdeps/ieee754/dbl-64/sincos.tbl.
27042 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27043 fma4-enabled routines.
27044 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27045 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27046 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27047 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27049 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27051 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27053 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27054 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27055 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27056 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27057 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27058 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27059 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27060 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27061 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27062 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27063 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27064 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27068 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27074
58985aa9
UD
27075 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27076 rename.
27077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27085
a201fbcf
AS
270862011-10-24 Andreas Schwab <schwab@redhat.com>
27087
27088 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27089
fc2ee42a
LD
270902011-10-23 Ulrich Drepper <drepper@gmail.com>
27091
bb3129bd
UD
27092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27093
0275fff8
UD
27094 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27095 prediction.
27096 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27097
2fa2ae85
UD
27098 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27099 Remove unused variable magic_bits.
27100 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27101
fc2ee42a
LD
27102 * string/strnlen.c: Define and use STRNLEN macro.
27103 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27104 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27106 * wcsmbs/wcslen.c: Define and use WCSLEN.
27107 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27108 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27109 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27110 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27111 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27112 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27113 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27114
ce7dd29f
LD
271152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27116
27117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27118 strnlen-sse2-no-bsf.
27119 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27121 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27122 Add strnlen support.
27123 (USE_AS_STRNLEN): New macro.
27124 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27125 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27126 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27127 * sysdeps/x86_64/wcslen.S: New file.
27128
979c70a3
MZ
271292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27130
27131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27132 XMM-moves are used for copying on small sizes.
27133
2d09f82f
LD
271342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27135
27136 * wcsmbs/Makefile (strop-tests): Add wcschr.
27137 * wcsmbs/test-wcschr.c: New file.
27138 * string/test-strchr.c: Update.
27139 Add wcschr support.
27140 (WIDE): New macro.
27141
619fccca
LD
271422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27143
2d09f82f 27144 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27145 * wcsmbs/test-wcslen.c: New file.
27146 * string/test-strlen.c: Update.
27147 Add wcslen support.
27148 (WIDE): New macro.
27149
09f699ea
UD
271502011-10-23 Ulrich Drepper <drepper@gmail.com>
27151
27152 * po/it.po: Update from translation team.
27153
95584d3b
LD
271542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27155
27156 * sysdeps/x86_64/wcscmp.S: Update.
27157 Fix wrong comparison semantics.
27158 wcscmp shall use signed comparison not unsigned.
27159 Don't use substraction to avoid overflow bug.
27160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27161 * wcsmbc/wcscmp.c: Likewise.
27162 * string/test-strcmp.c: Likewise.
27163 Add new tests to check cases with negative values.
27164
c8b3296b
UD
271652011-10-23 Ulrich Drepper <drepper@gmail.com>
27166
27167 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27168 * sysdeps/x86_64/dla.h: ...here. New file.
27169 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27178
246ad57a
AS
271792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27180
27181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27182 __ynl_finite aliases.
27183
a1a87169
UD
271842011-10-22 Ulrich Drepper <drepper@gmail.com>
27185
0d355eb7
UD
27186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27187
a1a87169
UD
27188 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27189 define DLA_FMA.
27190 [DLA_FMA] (EMULV): Use DLA_FMA.
27191 [DLA_FMA] (MUL12): Use EMULV.
27192 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27193 that are not needed.
27194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27201
ee2aafe0
AS
272022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27203
27204 * math/s_nan.c: Undef __nan.
27205 * math/s_nanf.c: Undef __nanf.
27206 * math/s_nanl.c: Undef __nanl.
27207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27208 "math_private.h".
27209
bc62c2fb
UD
272102011-10-22 Ulrich Drepper <drepper@gmail.com>
27211
77425c63
UD
27212 * math/s_catan.c: Add branch predictions.
27213 * math/s_catanf.c: Likewise.
27214 * math/s_catanh.c: Likewise.
27215 * math/s_catanhf.c: Likewise.
27216 * math/s_catanhl.c: Likewise.
27217 * math/s_catanl.c: Likewise.
27218 * math/s_cexp.c: Likewise.
27219 * math/s_cexpf.c: Likewise.
27220 * math/s_cexpl.c: Likewise.
27221 * math/s_clog.c: Likewise.
27222 * math/s_clog10.c: Likewise.
27223 * math/s_clog10f.c: Likewise.
27224 * math/s_clog10l.c: Likewise.
27225 * math/s_clogf.c: Likewise.
27226 * math/s_clogl.c: Likewise.
27227 * math/s_csqrt.c: Likewise.
27228 * math/s_csqrtf.c: Likewise.
27229 * math/s_csqrtl.c: Likewise.
27230 * math/s_ctanf.c: Likewise.
27231 * math/s_ctanh.c: Likewise.
27232 * math/s_ctanhf.c: Likewise.
27233 * math/s_ctanhl.c: Likewise.
27234 * math/s_ctanl.c: Likewise.
27235
bc62c2fb
UD
27236 * math/math_private.h: Define __nan, __nanf, __nanl.
27237 * math/s_cacosh.c: Include <math_private.h>.
27238 * math/s_cacoshl.c: Likewise.
27239 * math/s_casinh.c: Likewise.
27240 * math/s_casinhf.c: Likewise.
27241 * math/s_casinhl.c: Likewise.
27242 * math/s_ccos.c: Rely entire on ccosh.
27243 * math/s_ccosf.c: Rely entire on ccoshf.
27244 * math/s_ccosl.c: Rely entirely on ccoshl.
27245 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27246 Remove tests for FE_INVALID.
27247 * math/s_ccoshf.c: Likewise.
27248 * math/s_ccoshl.c: Likewise.
27249 * math/s_csin.c: Likewise.
27250 * math/s_csinf.c: Likewise.
27251 * math/s_csinh.c Likewise.
27252 * math/s_csinhf.c: Likewise.
27253 * math/s_csinhl.c: Likewise.
27254 * math/s_csinl.c: Likewise.
27255 * math/s_ctan.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27257 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27258 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27259
8ec250a4
UD
272602011-10-21 Ulrich Drepper <drepper@gmail.com>
27261
c196fed8
UD
27262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27263 compilation problems.
27264
8ec250a4
UD
27265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27266 __builtin_expect.
27267
8d4f46c6
UD
272682011-10-20 Ulrich Drepper <drepper@gmail.com>
27269
ed72b654
UD
27270 * sysdeps/i386/configure.in: Test for -mfma4 option.
27271 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27272 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27273 COMMON_CPUID_INDEX_80000001.
27274 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27275 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27276 use it if FMA3 is not supported.
27277 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27278
8d4f46c6
UD
27279 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27280 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27281
d45c60c2
AS
272822011-10-20 Andreas Schwab <schwab@redhat.com>
27283
27284 [BZ #12892]
27285 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27286 it would create a cycle with a link time dependency.
27287
d9a4d2ab
UD
272882011-10-19 Ulrich Drepper <drepper@gmail.com>
27289
855d1560
UD
27290 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27291 instruction.
27292 * string/Makefile (strop-tests): Add rawmemchr.
27293 * string/test-rawmemchr.c: New file.
27294
d9a4d2ab
UD
27295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27297 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27298 when compiling str{,n}casecmp and when AVX is available. Hook up
27299 new optimized code in initializers.
27300
8f3b1ffe
AS
273012011-10-19 Andreas Schwab <schwab@redhat.com>
27302
27303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27304 __feraiseexcept instead of feraiseexcept.
27305
d38f1dba
UD
273062011-10-18 Ulrich Drepper <drepper@gmail.com>
27307
d9a8d0ab
UD
27308 * math/math_private.h: Define defaults for libc_fetestexcept and
27309 libc_feupdateenv.
27310 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27311 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27312 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27313 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27314 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27316 libc_fetestexcept and libc_feupdateenv.
27317
4855e3dd
UD
27318 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27319 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27320 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27321 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27322 libc_feholdexcept_setround.
27323
581d30e3
UD
27324 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27325 Add s_nearbyint-c and s_nearbyintf-c.
27326 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27327 nearbyintf inlines.
27328 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27329 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27330 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27332
d38f1dba
UD
27333 * math/math_private.h: Define defaults for libc_fegetround,
27334 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27335 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27336 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27337 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27338 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27339 standard functions.
27340 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27341 Remove comments and hacks for old compiler versions.
27342 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27343 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27344 libc_feholdexceptl.
27345
caa6c9d8
AS
273462011-10-18 Andreas Schwab <schwab@redhat.com>
27347
27348 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27349 (__feraiseexcept_renamed): Add __NTH.
27350 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27351 namespace violations.
27352
97c066e6
UD
273532011-10-17 Ulrich Drepper <drepper@gmail.com>
27354
99ce7b04
UD
27355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27356
1004d182
UD
27357 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27358
228a984d
UD
27359 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27360 recently added interfaces.
27361 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27362
c8553a6a
UD
27363 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27364 about macro parameter expansion.
27365
ed22dcf6
UD
27366 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27367 __NO_MATH_INLINES is defined. Cleanups.
27368
27369 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27370 and __floorf is target has SSE4.1.
27371 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27373 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27374 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27375
b171c137
UD
27376 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27377 name.
27378 (floorf): Likewise.
27379
97c066e6
UD
27380 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27381
629f62ef
AS
273822011-10-17 Andreas Schwab <schwab@redhat.com>
27383
49a43d80
AS
27384 * misc/sys/cdefs.h: Fix last change.
27385
629f62ef
AS
27386 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27387 database lookup.
27388
e453f6cd
UD
273892011-10-16 Ulrich Drepper <drepper@gmail.com>
27390
aa78043a
UD
27391 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27392
ad0f5cad
UD
27393 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27399 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27401 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27402 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27403 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27404 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27405 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27406 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27407 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27408 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27409 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27410 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27411 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27412 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27413 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27414 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27415
27416 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27417 ceil, ceilf, floor, floorf.
27418
27419 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27420 Perform IRELATIVE relocations last.
27421
e453f6cd
UD
27422 * elf/do-rel.h: Add another parameter nrelative, replacing the
27423 local variable with the same name. Change name of the function
27424 to end in Rel or Rela (uppercase).
27425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27426 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27427 elf_dynamic_do_##reloc function.
27428
fd5bdc09
UD
274292011-10-15 Ulrich Drepper <drepper@gmail.com>
27430
79b195b5
UD
27431 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27432 is sufficient, at least on modern CPUs.
27433
d4a28569
UD
27434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27435
b61099b5
UD
27436 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27438
bcf01e6d
UD
27439 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27440 __expl_finite.
27441 * math/bits/math-finite.h: Add entries for exp.
27442 * math/e_expl.c: Add __*_finite alias.
27443 * sysdeps/i386/fpu/e_exp.S: Likewise.
27444 * sysdeps/i386/fpu/e_expf.S: Likewise.
27445 * sysdeps/i386/fpu/e_expl.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27447 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27451 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27452 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27453
ba1a0d59
UD
27454 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27455 is sufficient, at least on modern CPUs.
27456
fd5bdc09
UD
27457 * ctype/ctype-info.c (__ctype_init): Define.
27458 * include/ctype.h (__ctype_init): Declare.
27459 (__ctype_b_loc): The variable is always initialized.
27460 (__ctype_toupper_loc): Likewise.
27461 (__ctype_tolower_loc): Likewise.
27462 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27463 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27464
7872cfb0
AS
274652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27466
b468825a
AS
27467 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27468
7872cfb0
AS
27469 * configure.in: Also look in $cxxmachine/include for C++ system
27470 headers.
27471
be13f7bf
LD
274722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27473
27474 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27475 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27476 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27477 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27478 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27479 (USE_AS_WMEMCMP): New macro.
27480 Fixing indents.
27481 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27482 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27483 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27484 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27486 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27487 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27489 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27490 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27491 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27492 (USE_AS_WMEMCMP): New macro.
27493 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27494 * sysdeps/string/test-memcmp.c: Update.
27495 Fix simple_wmemcmp.
27496 Add new tests.
27497 * wcsmbs/wmemcmp.c: Update.
27498 (WMEMCMP): New macro.
27499 Fix overflow bug.
27500
556a2007
AJ
275012011-10-12 Andreas Jaeger <aj@suse.de>
27502
27503 [BZ #13268]
27504 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27505
538faaa7
UD
275062011-10-15 Ulrich Drepper <drepper@gmail.com>
27507
ab6737ff
UD
27508 * libio/iofwide.c (do_length): Avoid warning.
27509
538faaa7
UD
27510 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27511
396a21b1
UD
275122011-10-14 Ulrich Drepper <drepper@gmail.com>
27513
cdf2901f
UD
27514 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27515
38ad40ce
UD
27516 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27517 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27518 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27519 * sysdeps/i386/i686/fpu/e_log.S: New file.
27520 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27521 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27522
396a21b1
UD
27523 * ctype/ctype.h: Add support for inlined isXXX functions when
27524 compiling C++ code.
27525
6b1f68c9
AS
275262011-10-14 Andreas Schwab <schwab@redhat.com>
27527
349290c0
AS
27528 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27529
6b1f68c9
AS
27530 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27531
f2282d42
RM
275322011-10-13 Roland McGrath <roland@hack.frob.com>
27533
27534 [BZ #13291]
27535 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27536
5298ffa8
AS
275372011-10-13 Andreas Schwab <schwab@redhat.com>
27538
714fad23
AS
27539 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27540 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27541 feraiseexcept.
27542
81dcc7fb
AS
27543 * sysdeps/x86_64/memrchr.S: Check for zero size.
27544
5298ffa8
AS
27545 * string/stratcliff.c: Add memrchr tests.
27546
951fbcec
LD
275472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27548
27549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27550 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27551 rawmemchr-sse2 rawmemchr-sse2-bsf.
27552 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27553 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27554 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27555 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27556 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27557 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27558 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27559 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27560 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27561 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27562 * string/memrchr.c (MEMRCHR): New macro.
27563
0ac5ae23
UD
275642011-10-12 Ulrich Drepper <drepper@gmail.com>
27565
27566 Add integration with gcc's -ffinite-math-only and optimize wrapper
27567 functions in libm.
27568 * Versions.def: Define GLIBC_2.15 version for libm.
27569 * math/Makefile (headers): Add bits/math-finite.h.
27570 * math/bits/math-finite.h: New file.
27571 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27572 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27573 * math/e_acoshl.c: Add __*_finite alias.
27574 * math/e_acosl.c: Likewise.
27575 * math/e_asinl.c: Likewise.
27576 * math/e_atan2l.c: Likewise.
27577 * math/e_atanhl.c: Likewise.
27578 * math/e_coshl.c: Likewise.
27579 * math/e_exp10.c: Likewise.
27580 * math/e_exp10f.c: Likewise.
27581 * math/e_exp10l.c: Likewise.
27582 * math/e_exp2l.c: Likewise.
27583 * math/e_fmodl.c: Likewise.
27584 * math/e_gammal_r.c: Likewise.
27585 * math/e_hypotl.c: Likewise.
27586 * math/e_j0l.c: Likewise.
27587 * math/e_j1l.c: Likewise.
27588 * math/e_jnl.c: Likewise.
27589 * math/e_lgammal_r.c: Likewise.
27590 * math/e_log10l.c: Likewise.
27591 * math/e_log2l.c: Likewise.
27592 * math/e_logl.c: Likewise.
27593 * math/e_powl.c: Likewise.
27594 * math/e_sinhl.c: Likewise.
27595 * math/e_sqrtl.c: Likewise.
27596 * math/e_scalb.c: Completely rewritten and optimized.
27597 * math/e_scalbf.c: Likewise.
27598 * math/e_scalbl.c: Likewise.
27599 * math/w_acos.c: Likewise.
27600 * math/w_acosf.c: Likewise.
27601 * math/w_acosl.c: Likewise.
27602 * math/w_acosh.c: Likewise.
27603 * math/w_acoshf.c: Likewise.
27604 * math/w_acoshl.c: Likewise.
27605 * math/w_asin.c: Likewise.
27606 * math/w_asinf.c: Likewise.
27607 * math/w_asinl.c: Likewise.
27608 * math/w_atan2.c: Likewise.
27609 * math/w_atan2f.c: Likewise.
27610 * math/w_atan2l.c: Likewise.
27611 * math/w_atanh.c: Likewise.
27612 * math/w_atanhf.c: Likewise.
27613 * math/w_atanhl.c: Likewise.
27614 * math/w_exp10.c: Likewise.
27615 * math/w_exp10f.c: Likewise.
27616 * math/w_exp10l.c: Likewise.
27617 * math/w_fmod.c: Likewise.
27618 * math/w_fmodf.c: Likewise.
27619 * math/w_fmodl.c: Likewise.
27620 * math/w_j0.c: Likewise.
27621 * math/w_j0f.c: Likewise.
27622 * math/w_j0l.c: Likewise.
27623 * math/w_j1.c: Likewise.
27624 * math/w_j1f.c: Likewise.
27625 * math/w_j1l.c: Likewise.
27626 * math/w_jn.c: Likewise.
27627 * math/w_jnf.c: Likewise.
27628 * math/w_log.c: Likewise.
27629 * math/w_logf.c: Likewise.
27630 * math/w_logl.c: Likewise.
27631 * math/w_log10.c: Likewise.
27632 * math/w_log10f.c: Likewise.
27633 * math/w_log10l.c: Likewise.
27634 * math/w_log2.c: Likewise.
27635 * math/w_log2f.c: Likewise.
27636 * math/w_log2l.c: Likewise.
27637 * math/w_pow.c: Likewise.
27638 * math/w_powf.c: Likewise.
27639 * math/w_powl.c: Likewise.
27640 * math/w_remainder.c: Likewise.
27641 * math/w_remainderf.c: Likewise.
27642 * math/w_remainderl.c: Likewise.
27643 * math/w_scalb.c: Likewise.
27644 * math/w_scalbf.c: Likewise.
27645 * math/w_scalbl.c: Likewise.
27646 * math/w_sqrt.c: Likewise.
27647 * math/w_sqrtf.c: Likewise.
27648 * math/w_sqrtl.c: Likewise.
27649 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27650 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27651 used.
27652 * math/math_private.h: Declare __kernel_standard_f.
27653 * math/w_cosh.c: Remove cruft and optimize a bit.
27654 * math/w_coshf.c: Likewise.
27655 * math/w_coshl.c: Likewise.
27656 * math/w_exp2.c: Likewise.
27657 * math/w_exp2f.c: Likewise.
27658 * math/w_exp2l.c: Likewise.
27659 * math/w_hypot.c: Likewise.
27660 * math/w_hypotf.c: Likewise.
27661 * math/w_hypotl.c: Likewise.
27662 * math/w_lgamma.c: Likewise.
27663 * math/w_lgamma_r.c: Likewise.
27664 * math/w_lgammaf.c: Likewise.
27665 * math/w_lgammaf_r.c: Likewise.
27666 * math/w_lgammal.c: Likewise.
27667 * math/w_lgammal_r.c: Likewise.
27668 * math/w_sinh.c: Likewise.
27669 * math/w_sinhf.c: Likewise.
27670 * math/w_sinhl.c: Likewise.
27671 * math/w_tgamma.c: Likewise.
27672 * math/w_tgammaf.c: Likewise.
27673 * math/w_tgammal.c: Likewise.
27674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27676 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27677 Minor optimizations. Pretty printing. Remove cruft.
27678 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27679 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27680 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27681 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27682 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27683 * sysdeps/i386/fpu/e_asin.S: Likewise.
27684 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27685 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27686 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27687 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27688 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27689 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27690 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27691 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27692 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27693 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27694 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27695 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27696 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27697 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27698 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27699 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27700 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27701 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27702 * sysdeps/i386/fpu/e_log.S: Likewise.
27703 * sysdeps/i386/fpu/e_log10.S: Likewise.
27704 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27705 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27706 * sysdeps/i386/fpu/e_log2.S: Likewise.
27707 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27708 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27709 * sysdeps/i386/fpu/e_logf.S: Likewise.
27710 * sysdeps/i386/fpu/e_logl.S: Likewise.
27711 * sysdeps/i386/fpu/e_pow.S: Likewise.
27712 * sysdeps/i386/fpu/e_powf.S: Likewise.
27713 * sysdeps/i386/fpu/e_powl.S: Likewise.
27714 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27715 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27716 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27717 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27718 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27719 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27720 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27721 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27722 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27734 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27741 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27743 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27744 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27745 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27746 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27747 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27748 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27749 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27750 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27751 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27752 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27753 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27754 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27756 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27757 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27758 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27759 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27760 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27761 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27762 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27763 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27764 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27778 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27788 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27803 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27811 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27814 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27815 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27816 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27817 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27818 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27819 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27820 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27821 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27822 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27823 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27824 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27825 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27826 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27827 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27828 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27829 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27830 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27831 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27833 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27834 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27835 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27836 (__isnanf): Likewise.
27837 (__isinf_ns): Likewise.
27838 (__isinf_nsf): Likewise.
27839 (__finite): Likewise.
27840 (__finitef): Likewise.
27841 (__ieee754_sqrt): Define as macro.
27842 (__ieee754_sqrtf): Define as macro.
27843 (__ieee754_sqrtl): Define as macro.
27844 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27845 inlined copy.
27846 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27847 __FINITE_MATH_ONLY__ consistent.
27848 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27849
12cc2fcd
AS
278502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27851
a843a204
AS
27852 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27853 of rawmemchr.
27854
12cc2fcd
AS
27855 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27856
c853acd5
UD
278572011-10-09 Ulrich Drepper <drepper@gmail.com>
27858
27859 * po/ja.po: Update from translation team.
27860
c658d255
RM
278612011-10-08 Roland McGrath <roland@hack.frob.com>
27862
110946e4
RM
27863 * locale/programs/locarchive.c (prepare_address_space): New function.
27864 (create_archive, enlarge_archive, open_archive): Use it.
27865
50604220
RM
27866 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27867 inside [SHARED], where it is used.
27868
c658d255
RM
27869 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27870
27871 * nss/getent.c (netgroup_keys): Remove unused variable.
27872 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27873
6a621eb7
UD
278742011-10-08 Ulrich Drepper <drepper@gmail.com>
27875
7edb55ce
UD
27876 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27877 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27879 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27880 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27881 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27882 * math/Makefile (libm-calls): Add s_isinf_ns.
27883 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27884 * math/multc3.c: Likewise.
27885 * math/s_casin.c: Likewise.
27886 * math/s_casinf.c: Likewise.
27887 * math/s_casinl.c: Likewise.
27888 * math/s_ccos.c: Likewise.
27889 * math/s_ccosf.c: Likewise.
27890 * math/s_ccosl.c: Likewise.
27891 * math/s_ctan.c: Likewise.
27892 * math/s_ctanf.c: Likewise.
27893 * math/s_ctanh.c: Likewise.
27894 * math/s_ctanhf.c: Likewise.
27895 * math/s_ctanhl.c: Likewise.
27896 * math/s_ctanl.c: Likewise.
27897 * math/w_fmod.c: Likewise.
27898 * math/w_fmodf.c: Likewise.
27899 * math/w_fmodl.c: Likewise.
27900 * math/w_remainder.c: Likewise.
27901 * math/w_remainderf.c: Likewise.
27902 * math/w_remainderl.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27904 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27905 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27907 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27908 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27909 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27910 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27911
187da0ae
UD
27912 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27913 of the number.
27914 * stdio-common/printf_fphex.c: Likewise.
27915 * stdio-common/printf_size.c: Likewise.
27916
9277c064
UD
27917 * math/e_exp10.c: Include math_private.h using <...> not "...".
27918 * math/e_exp10f.c: Likewise.
27919 * math/e_exp10l.c: Likewise.
27920 * math/e_exp2l.c: Likewise.
27921 * math/e_j0l.c: Likewise.
27922 * math/e_j1l.c: Likewise.
27923 * math/e_jnl.c: Likewise.
27924 * math/e_lgammal_r.c: Likewise.
27925 * math/e_rem_pio2l.c: Likewise.
27926 * math/e_scalb.c: Likewise.
27927 * math/e_scalbf.c: Likewise.
27928 * math/e_scalbl.c: Likewise.
27929 * math/k_cosl.c: Likewise.
27930 * math/k_sinl.c: Likewise.
27931 * math/k_tanl.c: Likewise.
27932 * math/s_cacoshf.c: Likewise.
27933 * math/s_catan.c: Likewise.
27934 * math/s_catanf.c: Likewise.
27935 * math/s_catanh.c: Likewise.
27936 * math/s_catanhf.c: Likewise.
27937 * math/s_catanhl.c: Likewise.
27938 * math/s_catanl.c: Likewise.
27939 * math/s_ccosh.c: Likewise.
27940 * math/s_ccoshf.c: Likewise.
27941 * math/s_ccoshl.c: Likewise.
27942 * math/s_cexp.c: Likewise.
27943 * math/s_cexpf.c: Likewise.
27944 * math/s_cexpl.c: Likewise.
27945 * math/s_clog.c: Likewise.
27946 * math/s_clog10.c: Likewise.
27947 * math/s_clog10f.c: Likewise.
27948 * math/s_clog10l.c: Likewise.
27949 * math/s_clogf.c: Likewise.
27950 * math/s_clogl.c: Likewise.
27951 * math/s_csin.c: Likewise.
27952 * math/s_csinf.c: Likewise.
27953 * math/s_csinh.c: Likewise.
27954 * math/s_csinhf.c: Likewise.
27955 * math/s_csinhl.c: Likewise.
27956 * math/s_csinl.c: Likewise.
27957 * math/s_csqrt.c: Likewise.
27958 * math/s_csqrtf.c: Likewise.
27959 * math/s_csqrtl.c: Likewise.
27960 * math/s_ctan.c: Likewise.
27961 * math/s_ctanf.c: Likewise.
27962 * math/s_ctanh.c: Likewise.
27963 * math/s_ctanhf.c: Likewise.
27964 * math/s_ctanhl.c: Likewise.
27965 * math/s_ctanl.c: Likewise.
27966 * math/s_ldexp.c: Likewise.
27967 * math/s_ldexpf.c: Likewise.
27968 * math/s_ldexpl.c: Likewise.
27969 * math/s_significand.c: Likewise.
27970 * math/s_significandf.c: Likewise.
27971 * math/s_significandl.c: Likewise.
27972 * math/w_acos.c: Likewise.
27973 * math/w_acosf.c: Likewise.
27974 * math/w_acosh.c: Likewise.
27975 * math/w_acoshf.c: Likewise.
27976 * math/w_acoshl.c: Likewise.
27977 * math/w_acosl.c: Likewise.
27978 * math/w_asin.c: Likewise.
27979 * math/w_asinf.c: Likewise.
27980 * math/w_asinl.c: Likewise.
27981 * math/w_atan2.c: Likewise.
27982 * math/w_atan2f.c: Likewise.
27983 * math/w_atan2l.c: Likewise.
27984 * math/w_atanh.c: Likewise.
27985 * math/w_atanhf.c: Likewise.
27986 * math/w_atanhl.c: Likewise.
27987 * math/w_cosh.c: Likewise.
27988 * math/w_coshf.c: Likewise.
27989 * math/w_coshl.c: Likewise.
27990 * math/w_dremf.c: Likewise.
27991 * math/w_exp10.c: Likewise.
27992 * math/w_exp10f.c: Likewise.
27993 * math/w_exp10l.c: Likewise.
27994 * math/w_exp2.c: Likewise.
27995 * math/w_exp2f.c: Likewise.
27996 * math/w_fmod.c: Likewise.
27997 * math/w_fmodf.c: Likewise.
27998 * math/w_fmodl.c: Likewise.
27999 * math/w_hypot.c: Likewise.
28000 * math/w_hypotf.c: Likewise.
28001 * math/w_hypotl.c: Likewise.
28002 * math/w_j0.c: Likewise.
28003 * math/w_j0f.c: Likewise.
28004 * math/w_j0l.c: Likewise.
28005 * math/w_j1.c: Likewise.
28006 * math/w_j1f.c: Likewise.
28007 * math/w_j1l.c: Likewise.
28008 * math/w_jn.c: Likewise.
28009 * math/w_jnf.c: Likewise.
28010 * math/w_jnl.c: Likewise.
28011 * math/w_lgamma.c: Likewise.
28012 * math/w_lgamma_r.c: Likewise.
28013 * math/w_lgammaf.c: Likewise.
28014 * math/w_lgammaf_r.c: Likewise.
28015 * math/w_lgammal.c: Likewise.
28016 * math/w_lgammal_r.c: Likewise.
28017 * math/w_log.c: Likewise.
28018 * math/w_log10.c: Likewise.
28019 * math/w_log10f.c: Likewise.
28020 * math/w_log10l.c: Likewise.
28021 * math/w_log2.c: Likewise.
28022 * math/w_log2f.c: Likewise.
28023 * math/w_log2l.c: Likewise.
28024 * math/w_logf.c: Likewise.
28025 * math/w_logl.c: Likewise.
28026 * math/w_pow.c: Likewise.
28027 * math/w_powf.c: Likewise.
28028 * math/w_powl.c: Likewise.
28029 * math/w_remainder.c: Likewise.
28030 * math/w_remainderf.c: Likewise.
28031 * math/w_remainderl.c: Likewise.
28032 * math/w_scalb.c: Likewise.
28033 * math/w_scalbf.c: Likewise.
28034 * math/w_scalbl.c: Likewise.
28035 * math/w_sinh.c: Likewise.
28036 * math/w_sinhf.c: Likewise.
28037 * math/w_sinhl.c: Likewise.
28038 * math/w_sqrt.c: Likewise.
28039 * math/w_sqrtf.c: Likewise.
28040 * math/w_sqrtl.c: Likewise.
28041 * math/w_tgamma.c: Likewise.
28042 * math/w_tgammaf.c: Likewise.
28043 * math/w_tgammal.c: Likewise.
28044
6a621eb7
UD
28045 * po/ja.po: Update from translation team.
28046
bf582445
AJ
280472011-09-29 Andreas Jaeger <aj@suse.de>
28048
f9efbf3a
AJ
28049 [BZ #13179]
28050 * sunrpc/netname.c (netname2host): Fix logic.
28051
bf582445
AJ
28052 [BZ #6779]
28053 [BZ #6783]
28054 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28055 correctly.
28056 * math/w_remainder.c (__remainder): Likewise.
28057 * math/w_remainderf.c (__remainderf): Likewise.
28058 * math/libm-test.inc (remainder_test): Add test cases.
28059
48693bea
AK
280602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28061
28062 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28063 sdiv_qrnnd.
28064
42622229
LD
280652011-10-07 Ulrich Drepper <drepper@gmail.com>
28066
28067 * string/test-memcmp.c: Avoid unncessary #defines.
28068 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28069
093ecf92
LD
280702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28071
28072 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28073 Use new sse2 version for core i3 - i7 as it's faster
28074 than sse42 version.
28075 (bit_Prefer_PMINUB_for_stringop): New.
28076 * sysdeps/x86_64/rawmemchr.S: Update.
28077 Replace with faster SSE2 version.
28078 * sysdeps/x86_64/memrchr.S: New file.
28079 * sysdeps/x86_64/memchr.S: Update.
28080 Replace with faster SSE2 version.
28081
fde56e5c
MP
280822011-09-12 Marek Polacek <mpolacek@redhat.com>
28083
28084 * elf/dl-load.c (lose): Add cast to avoid warning.
28085
21fd49a9
UD
280862011-10-07 Ulrich Drepper <drepper@gmail.com>
28087
5a06e643
UD
28088 * po/ca.po: Update from translation team.
28089
684ae515
UD
28090 * inet/getnetgrent_r.c: Hook up nscd.
28091 * nscd/Makefile (routines): Add nscd_netgroup.
28092 (nscd-modules): Add netgroupcache.
28093 (CFLAGS-netgroupcache.c): Define.
28094 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28095 (cache_search): Add const to second parameter.
28096 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28097 INNETGR.
28098 (dbs): Add netgrdb entry.
28099 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28100 (verify_persistent_db): Handle netgrdb.
28101 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28102 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28103 GETFDNETGR.
28104 (netgroup_response_header): Define.
28105 (innetgroup_response_header): Define.
28106 (datahead): Add netgroup_response_header and innetgroup_response_header
28107 elements.
28108 * nscd/nscd.conf: Add entries for netgroup cache.
28109 * nscd/nscd.h (dbtype): Add netgrdb.
28110 (_PATH_NSCD_NETGROUP_DB): Define.
28111 (netgroup_iov_disabled): Declare.
28112 (xmalloc, xcalloc, xrealloc): Move declarations here.
28113 (cache_search): Adjust prototype.
28114 Add netgroup-related prototypes.
28115 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28116 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28117 (__nscd_innetgr): Declare.
28118 * nscd/selinux.c (perms): Use access_vector_t as element type and
28119 add netgroup-related initializers.
28120 * nscd/netgroupcache.c: New file.
28121 * nscd/nscd_netgroup.c: New file.
28122 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28123 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28124 For four parameters use innetgr.
28125 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28126 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28127 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28128 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28129
21fd49a9
UD
28130 * nscd/connections.c (register_traced_file): Don't register file
28131 for disabled databases.
28132
054c0457
UD
281332011-10-06 Ulrich Drepper <drepper@gmail.com>
28134
32b63198
UD
28135 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28136
054c0457
UD
28137 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28138 from tree and freeing node.
28139
64031225
JO
281402011-09-25 Jiri Olsa <jolsa@redhat.com>
28141
28142 * nss/nsswitch.c (__nss_database_lookup): Handle
28143 nss_parse_service_list out of memory case.
28144
0490345c
JO
281452011-09-15 Jiri Olsa <jolsa@redhat.com>
28146
28147 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28148 out of memory case.
28149
3a62d00d
AS
281502011-10-04 Andreas Schwab <schwab@redhat.com>
28151
28152 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28153 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28154 pass it down.
28155 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28156 elf_machine_rela, elf_machine_lazy_rel.
28157 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28158 (ELF_DYNAMIC_DO_REL): Likewise.
28159 (ELF_DYNAMIC_DO_RELA): Likewise.
28160 (ELF_DYNAMIC_RELOCATE): Likewise.
28161 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28162 to ELF_DYNAMIC_DO_REL.
28163 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28164 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28165 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28166 elf_machine_rela.
28167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28168 skip_ifunc, don't call ifunc function if non-zero.
28169 (elf_machine_rela): Likewise.
28170 (elf_machine_lazy_rel): Likewise.
28171 (elf_machine_lazy_rela): Likewise.
28172 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28173 (elf_machine_lazy_rel): Likewise.
28174 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28175 Likewise.
28176 (elf_machine_lazy_rel): Likewise.
28177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28178 Likewise.
28179 (elf_machine_lazy_rel): Likewise.
28180 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28181 (elf_machine_lazy_rel): Likewise.
28182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28183 (elf_machine_lazy_rel): Likewise.
28184 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28185 (elf_machine_lazy_rel): Likewise.
28186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28187 (elf_machine_lazy_rel): Likewise.
28188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28189 (elf_machine_lazy_rel): Likewise.
28190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28191 (elf_machine_lazy_rel): Likewise.
28192
68577918
UD
281932011-09-28 Ulrich Drepper <drepper@gmail.com>
28194
28195 * nss/nss_files/files-init.c (_nss_files_init): Use static
28196 initialization for all the *_traced_file variables.
28197
68822d74
AS
281982011-09-28 Andreas Schwab <schwab@redhat.com>
28199
28200 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28201
2056100b
RM
282022011-09-27 Roland McGrath <roland@hack.frob.com>
28203
28204 [BZ #13226]
28205 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28206
32c76b63
AS
282072011-09-27 Andreas Schwab <schwab@redhat.com>
28208
28209 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28210 Reread the line before reparsing it.
28211
bf972c9d
AS
282122011-09-26 Andreas Schwab <schwab@redhat.com>
28213
28214 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28215
e057a1b5
JM
282162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28217 Maxim Kuvyrkov <maxim@codesourcery.com>
28218 Joseph Myers <joseph@codesourcery.com>
28219
28220 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28221 if needed for __stack_chk_guard.
28222
bc7e1c36
RM
282232011-09-19 Roland McGrath <roland@hack.frob.com>
28224
ecb1482f
RM
28225 * sysdeps/posix/spawni.c (script_execute): Always define it.
28226 It will be optimized away if unused.
28227 (maybe_script_execute): New function.
28228 (__spawni): Call it.
28229
bc7e1c36
RM
28230 * Makerules: Don't include tls.make.
28231 (config-tls): Always set to thread.
28232 * tls.make.c: File removed.
28233
1c3b002b
MF
282342011-09-19 Mike Frysinger <vapier@gentoo.org>
28235
28236 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28237 * config.make.in (CPPFLAGS-config): New substituted variable.
28238
2840865d
UD
282392011-09-15 Ulrich Drepper <drepper@gmail.com>
28240
88738eb6
UD
28241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28242
cbf645a6 28243 [BZ #13192]
2840865d
UD
28244 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28245 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28246
b402e91a
RM
282472011-09-15 Roland McGrath <roland@hack.frob.com>
28248
28249 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28250 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28252 (CALL_FAIL): Likewise.
28253 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28254 (CALL_FAIL): Macro removed.
28255 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28256
4c1a1f71
UD
282572011-09-15 Ulrich Drepper <drepper@gmail.com>
28258
28259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28260 for __FINITE_MATH_ONLY__ == 1.
28261
edc121be
AS
282622011-09-15 Andreas Schwab <schwab@redhat.com>
28263
28264 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28265 __ieee754_sqrt instead of sqrt.
28266 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28267 __ieee754_sqrtf instead of sqrtf.
28268 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28269 __floorf instead of floorf.
28270 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28271 __floorf, __truncf instead of floorf, truncf.
28272
cd205654
UD
282732011-09-14 Ulrich Drepper <drepper@gmail.com>
28274
ee4d0315
UD
28275 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28276
cd205654
UD
28277 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28278 __extern_always_inline.
28279 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28280 32-bit.
28281
48b67d71
AS
282822011-09-14 Andreas Schwab <schwab@redhat.com>
28283
28284 * elf/rtld.c (dl_main): Also relocate in dependency order when
28285 doing symbol dependency testing.
28286
1ae12c75
AS
282872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28288
28289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28290 Always define `refsym'.
28291
995a80df
AS
282922011-09-13 Andreas Schwab <schwab@redhat.com>
28293
e529793b
AS
28294 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28295 (__FD_ELT): Renamed from __FDELT.
28296 * misc/bits/select2.h (__FD_ELT): Likewise.
28297 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28298 __FD_MASK instead of __FDELT, __FDMASK.
28299 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28300 Likewise.
28301 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28302 Likewise.
28303
52d4fef8
AS
28304 * elf/Makefile (gen-ldd): Fix pattern.
28305
995a80df
AS
28306 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28307 (init_tls): Likewise.
28308
8682f8b0
UD
283092011-09-12 Ulrich Drepper <drepper@gmail.com>
28310
28311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28312
de82006d
AS
283132011-09-12 Andreas Schwab <schwab@redhat.com>
28314
a7c8e6a1
AS
28315 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28316 `struct cmsghdr *' instead of `void *'.
28317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28318 Likewise.
28319
0f31fe77
AS
283202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28321
28322 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28323 if non-absolute.
28324 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28325 ldd_rewrite_script.
0f31fe77 28326
32b4c839
UD
283272011-09-11 Ulrich Drepper <drepper@gmail.com>
28328
83cd1420
UD
28329 * configure.in: Remove --with-tls option.
28330 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28331 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28332 out in case it is missing.
28333 * sysdeps/ia64/elf/configure.in: Likewise.
28334 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28335 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28336 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28337 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28338 * sysdeps/sh/elf/configure.in: Likewise.
28339 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28340 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28341 * sysdeps/x86_64/elf/configure.in: Likewise.
28342 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28343 * sysdeps/mach/hurd/tls.h: Likewise.
28344
633f745d
UD
28345 [BZ #13067]
28346 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28347
f318beb8
UD
28348 [BZ #13090]
28349 * configure.in: Fix use of AC_INIT.
28350
32b4c839
UD
28351 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28352
3ce1f295
UD
283532011-09-10 Ulrich Drepper <drepper@gmail.com>
28354
bb016596
UD
28355 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28356 __set_errno.
8e58439c
UD
28357 * malloc/hooks.c: Likewise.
28358
aebae053 28359 [BZ #11929]
02d46fc4
UD
28360 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28361 variables statically.
28362 (narenas): Initialize.
28363 (list_lock): Initialize.
bb016596
UD
28364 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28365 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28366 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28367 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28368 Add initializers to main_arena and mp_.
28369 (malloc_state): Remove pagesize member. Change all users to use
28370 GLRO(dl_pagesize).
28371
28372 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28373 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28374 is always initialized.
28375
22a89187
UD
28376 * malloc/malloc.c: Removed unused configurations and dead code.
28377 * malloc/arena.c: Likewise.
28378 * malloc/hooks.c: Likewise.
02d46fc4 28379 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28380
d063d164
UD
28381 * include/tls.h: Removed. USE___THREAD must always be defined.
28382 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28383 * elf/dl-libc.c: Likewise.
28384 * elf/dl-tsd.c: Likewise.
28385 * include/errno.h: Likewise.
28386 * include/netdb.h: Likewise.
28387 * include/resolv.h: Likewise.
28388 * inet/herrno-loc.c: Likewise.
28389 * inet/herrno.c: Likewise.
28390 * malloc/arena.c: Likewise.
28391 * malloc/hooks.c: Likewise.
28392 * malloc/malloc.c: Likewise.
28393 * resolv/res-state.c: Likewise.
28394 * resolv/res_libc.c: Likewise.
28395 * sysdeps/i386/dl-machine.h: Likewise.
28396 * sysdeps/ia64/dl-machine.h: Likewise.
28397 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28398 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28399 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28400 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28401 * sysdeps/sh/dl-machine.h: Likewise.
28402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28403 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28404 * sysdeps/unix/i386/sysdep.S: Likewise.
28405 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28406 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28411 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28415 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28416 * sysdeps/x86_64/dl-machine.h: Likewise.
28417 * tls.make.c: Likewise.
28418
3ce1f295
UD
28419 * configure.in: Remove --with-__thread option. Make tests for
28420 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28421 tls_model attribute fail if no support is available. Remove
28422 USE_IN_LIBIO.
28423 * Makeconfig: Adjust for dropped configure option. All features are
28424 now mandatory.
28425 * Makerules: Likewise.
28426 * Versions.def: Likewise.
28427 * argp/argp-fmtstream.c: Likewise.
28428 * argp/argp-fmtstream.h: Likewise.
28429 * argp/argp-help.c: Likewise.
28430 * assert/assert.c: Likewise.
28431 * config.h.in: Likewise.
28432 * config.make.in: Likewise.
28433 * configure: Likewise.
28434 * configure.in: Likewise.
28435 * csu/Versions: Likewise.
28436 * csu/init.c: Likewise.
28437 * elf/tst-audit2.c: Likewise.
28438 * elf/tst-tls10.c: Likewise.
28439 * elf/tst-tls10.h: Likewise.
28440 * elf/tst-tls11.c: Likewise.
28441 * elf/tst-tls12.c: Likewise.
28442 * elf/tst-tls14.c: Likewise.
28443 * elf/tst-tlsmod11.c: Likewise.
28444 * elf/tst-tlsmod12.c: Likewise.
28445 * elf/tst-tlsmod13.c: Likewise.
28446 * elf/tst-tlsmod13a.c: Likewise.
28447 * elf/tst-tlsmod14a.c: Likewise.
28448 * elf/tst-tlsmod15b.c: Likewise.
28449 * elf/tst-tlsmod16a.c: Likewise.
28450 * elf/tst-tlsmod16b.c: Likewise.
28451 * elf/tst-tlsmod7.c: Likewise.
28452 * elf/tst-tlsmod8.c: Likewise.
28453 * elf/tst-tlsmod9.c: Likewise.
28454 * gmon/gmon.c: Likewise.
28455 * grp/fgetgrent_r.c: Likewise.
28456 * grp/putgrent.c: Likewise.
28457 * hurd/fopenport.c: Likewise.
28458 * include/libc-symbols.h: Likewise.
28459 * include/tls.h: Likewise.
28460 * intl/gettextP.h: Likewise.
28461 * intl/loadinfo.h: Likewise.
28462 * locale/global-locale.c: Likewise.
28463 * locale/localeinfo.h: Likewise.
28464 * mach/devstream.c: Likewise.
28465 * malloc/arena.c: Likewise.
28466 * malloc/set-freeres.c: Likewise.
28467 * misc/err.c: Likewise.
28468 * misc/getttyent.c: Likewise.
28469 * misc/mntent_r.c: Likewise.
28470 * posix/getopt.c: Likewise.
28471 * posix/wordexp.c: Likewise.
28472 * pwd/fgetpwent_r.c: Likewise.
28473 * resolv/Versions: Likewise.
28474 * resolv/res_hconf.c: Likewise.
28475 * shadow/fgetspent_r.c: Likewise.
28476 * shadow/putspent.c: Likewise.
28477 * stdio-common/printf_fphex.c: Likewise.
28478 * stdio-common/tmpfile.c: Likewise.
28479 * stdlib/abort.c: Likewise.
28480 * stdlib/fmtmsg.c: Likewise.
28481 * sunrpc/auth_unix.c: Likewise.
28482 * sunrpc/clnt_perr.c: Likewise.
28483 * sunrpc/clnt_tcp.c: Likewise.
28484 * sunrpc/clnt_udp.c: Likewise.
28485 * sunrpc/clnt_unix.c: Likewise.
28486 * sunrpc/openchild.c: Likewise.
28487 * sunrpc/svc_simple.c: Likewise.
28488 * sunrpc/svc_tcp.c: Likewise.
28489 * sunrpc/svc_udp.c: Likewise.
28490 * sunrpc/svc_unix.c: Likewise.
28491 * sunrpc/xdr.c: Likewise.
28492 * sunrpc/xdr_array.c: Likewise.
28493 * sunrpc/xdr_rec.c: Likewise.
28494 * sunrpc/xdr_ref.c: Likewise.
28495 * sunrpc/xdr_stdio.c: Likewise.
28496
1248c1c4
PB
284972011-09-09 Ulrich Drepper <drepper@gmail.com>
28498
28499 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28500
285012011-07-03 Andreas Jaeger <aj@suse.de>
28502
28503 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28504 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28505 regenerate with gen-libm-tests.pl.
28506
285072010-05-12 Petr Baudis <pasky@suse.cz>
28508
28509 [BZ #11589]
28510 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28511 around j0() zero points by switching to j1().
28512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28513 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28516
f22e1074
UD
285172011-09-09 Ulrich Drepper <drepper@gmail.com>
28518
f19009c1
UD
28519 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28520 instead of 0.
28521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28522 instead of 0.
f19009c1
UD
28523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28524 Patch in part by Pavel Roskin <proski@gnu.org>.
28525
3f8cc204
UD
28526 [BZ #13138]
28527 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28528 realloc.
28529 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28530 Free memory block if necessary.
28531
f22e1074
UD
28532 [BZ #12847]
28533 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28534 be NULL. Don't lock in this case.
28535
0a2349f9
RM
285362011-09-09 Roland McGrath <roland@hack.frob.com>
28537
28538 * elf/elf.h (ELFOSABI_GNU): New macro.
28539 (ELFOSABI_LINUX): Define to that.
28540
f3cdd467
DZ
285412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28542
28543 * string/strncat.c (strncat): Undef the symbol in case it has been
28544 defined in bits/string.h.
28545
74718d13
UD
285462011-09-09 Ulrich Drepper <drepper@gmail.com>
28547
633e9e0f
UD
28548 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28549
0a2349f9 28550 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28551 link map.
28552
f9924780
AJ
285532011-08-17 Andreas Jaeger <aj@suse.de>
28554
28555 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28556
7f5517aa
PP
285572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28558 Ian Lance Taylor <iant@google.com>
28559
28560 * math/libm-test.inc (lround_test): New testcase.
28561 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28562
762011fe
UD
285632011-09-08 Ulrich Drepper <drepper@gmail.com>
28564
92963737
UD
28565 * Makefile: Remove support for automatic cvs check-ins.
28566 * Makerules: Likewise.
28567 * config.make.in: Likewise.
28568 * configure.in: Likewise.
28569 * intl/Makefile: Likewise.
28570 * locale/Makefile: Likewise.
28571 * po/Makefile: Likewise.
28572 * posix/Makefile: Likewise.
28573 * sysdeps/gnu/Makefile: Likewise.
28574 * sysdeps/mach/hurd/Makefile: Likewise.
28575 * sysdeps/sparc/sparc32/Makefile: Likewise.
28576
b0727fd8
JS
28577 [BZ #13118]
28578 * posix/Makefile (bug-regex32-ENV): Define.
28579 Patch by John Stanley <jpsinthemix@verizon.net>.
28580
a0f33f99
UD
28581 * misc/Makefile (headers): Add bits/select2.h.
28582 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28583 * misc/bits/select2.h: New file.
28584 * include/bits/select2.h: New file.
28585 * debug/Makefile (routines): Add fdelt_chk.
28586 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28587 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28588 FD_ISSET.
28589 * debug/fdelt_chk.c: New file.
28590
762011fe
UD
28591 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28592 * wcsmbs/test-wmemcmp.c: Likewise.
28593 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28594 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28595
285962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28597
28598 * string/Makefile (strop-tests): Add memcmp.
28599 * string/test-wmemcmp.c: New file.
28600 * string/test-memcmp.c: Add wmemcmp support.
28601
7f513ec8
RM
286022011-09-08 Roland McGrath <roland@hack.frob.com>
28603
0442afb4
RM
28604 [BZ #13153]
28605 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28606 2011-07-19 change.
28607
7f513ec8
RM
28608 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28609 garbage value in a __mach_port_mod_refs call in the cases of the
28610 task-self and thread-self ports.
28611
a12b2239
ST
286122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28613
28614 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28615
610f9ab4
AS
286162011-09-08 Andreas Schwab <schwab@redhat.com>
28617
7f513ec8 28618 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28619
48882a1a
LD
286202011-09-07 Ulrich Drepper <drepper@gmail.com>
28621
b49865be
UD
28622 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28623
fdc86bc9
UD
28624 * elf/dl-libc.c (dlerror_run): Pass back error code from
28625 dl_catch_error.
28626
c966526a
UD
28627 [BZ #13123]
28628 * elf/dl-load.c (lose): Free l_origin if it is valid.
28629
48882a1a
LD
28630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28631 names.
28632 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28633 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28634 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28635 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28637 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28638
77a2a8b4
AZ
286392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28640
28641 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28642 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28643 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28644 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28645 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28646 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28647 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28648 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28649 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28650 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28651
24f579d8
AM
286522011-08-15 Alan Modra <amodra@gmail.com>
28653
28654 [BZ #13092]
28655 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28656 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28657 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28658 ppc_mcount to static-only-routines.
28659 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28660 __mcount_internal.
28661 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28662 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28663
3d4837df
UD
286642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28665
28666 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28667 for finite and infinity parameters.
28668
22700377
WS
286692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28670
28671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28672 and add nop instructions for throughput optimization.
28673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28674
5025581e
WS
286752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28676
28677 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28678 aligned copy for power7 with vector-scalar instructions.
28679 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28680
08a300c9
L
286812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28684 AVX check.
28685
59178ef9
AS
286862011-09-07 Andreas Schwab <schwab@redhat.com>
28687
28688 [BZ #13144]
28689 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28690 last change.
28691
e38ba7ab
UD
286922011-09-07 Ulrich Drepper <drepper@gmail.com>
28693
28694 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28695 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28696 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28697 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28698 clock_gettime.
28699
d53a73ac
UD
287002011-09-06 Ulrich Drepper <drepper@gmail.com>
28701
fc8bffcc
UD
28702 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28703 Forgot to demangle the pointer.
28704
ceaa0c5d
UD
28705 * sysdeps/i386/sysdep.h: Define atom_text_section.
28706 * sysdeps/x86_64/sysdep.h: Likewise.
28707 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28708 section with atom_text_section.
28709 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28710 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28711 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28713 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28714
a77d3c17
UD
28715 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28717 already be defined. Change to take two parameters and don't assign
28718 result to variable. Adjust all users.
28719 Define INTERNAL_GETTIME if not already defined.
28720 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28721 call.
28722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28723 HAVE_CLOCK_GETTIME_VSYSCALL.
28724 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28725
d53a73ac
UD
28726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28727 gettimeofday vsyscall, just use time.
28728
a8f84144
AS
287292011-09-06 Andreas Schwab <schwab@redhat.com>
28730
28731 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28732 <errno.h>.
28733
ef606249
UD
287342011-09-06 Ulrich Drepper <drepper@gmail.com>
28735
28736 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28737 syscall on x86-64.
28738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28739 syscall.
28740 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28742 syscall if possible.
28743
6585cb60
UD
287442011-09-05 Ulrich Drepper <drepper@gmail.com>
28745
28746 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28747 e_ident. Don't pass to find_mapsXX.
28748 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28749
a5f524e4
LD
287502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28751
28752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28753 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28754 * sysdeps/x86_64/multiarch/strchr.S: Update.
28755 Check bit_slow_BSF bit.
28756 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28757 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28758 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28759
554881ef
UD
287602011-09-05 Ulrich Drepper <drepper@gmail.com>
28761
d96de963
UD
28762 [BZ #13134]
28763 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28764 before glibc 2.15.
28765 (tryshell): Define.
28766 (__spawni): Change last parameter to be flag. Test
28767 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28768 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28769 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28770 * posix/spawni.c: Likewise.
28771 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28772 * posix/spawnp.c: Likewise. Change normal version to use
28773 SPAWN_XFLAGS_USE_PATH.
28774 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28775 SPAWN_XFLAGS_TRY_SHELL.
28776
d48e5868
UD
28777 [BZ #13150]
28778 * posix/glob.h: Remove gcc 1.x support.
28779
554881ef
UD
28780 [BZ #13068]
28781 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28782
693fb948
LD
287832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28784
28785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28786 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28787 strrchr-sse2-bsf
28788 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28789 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28790 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28792 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28793 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28794
1b48c537
UD
287952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28796
49d42c37
UD
28797 * sysdeps/x86_64/wcscmp.S: New file.
28798
1b48c537
UD
28799 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28800 wcscmp-c wcscmp-sse2
28801 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28802 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28803 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28804 * wcsmbs/wcscmp.c: Allow renaming.
28805
15c95c5d
DM
288062011-09-05 David S. Miller <davem@davemloft.net>
28807
28808 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28809 stack slot, rather than the struct return pointer slot.
28810 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28811 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28813 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28814
2f0ad8f3
UD
288152011-09-05 Ulrich Drepper <drepper@gmail.com>
28816
d88ae418
UD
28817 * po/ja.po: Update from translation team.
28818
2f0ad8f3
UD
28819 [BZ #13144]
28820 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28821 kernel in 64-bit binaries.
28822
5f4318d1
DM
288232011-09-01 David S. Miller <davem@davemloft.net>
28824
28825 * elf/elf.h (HWCAP_SPARC_*): Move to..
28826 * sysdeps/sparc/sysdep.h: this new file and add new values.
28827 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28828 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28829 _DL_HWCAP_COUNT to 24.
28830 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28831 entries.
28832 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28833 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28834 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28836 instead of magic constants.
28837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28838
3ba57516
DM
288392011-08-31 David S. Miller <davem@davemloft.net>
28840
28841 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28843 Reimplement to do errno handling inline.
28844 (SYSCALL_ERROR_HANDLER): New macro.
28845 (__SYSCALL_STRING): Do not do errno handling in asm.
28846 (__CLONE_SYSCALL_STRING): Delete.
28847 (__INTERNAL_SYSCALL_STRING): Delete.
28848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28849 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28850 (PSEUDO): Reimplement to do errno handling inline.
28851 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28852 (SYSCALL_ERROR_HANDLER): New macro.
28853 (__SYSCALL_STRING): Do not do errno handling in asm.
28854 (__CLONE_SYSCALL_STRING): Delete.
28855 (__INTERNAL_SYSCALL_STRING): Delete.
28856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28857 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28858 i386.
28859 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28860 (inline_syscall*): Add 'err' argument.
28861 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28862 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28863 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28864 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28865
28866 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28867 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28868
2bc17433
AS
288692011-08-30 Andreas Schwab <schwab@redhat.com>
28870
28871 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28872
fbeb5f4d
JO
288732011-08-29 Jiri Olsa <jolsa@redhat.com>
28874
28875 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28876 directive.
28877
ad69cc26
DM
288782011-08-24 David S. Miller <davem@davemloft.net>
28879
28880 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28881
39dd69df
AS
288822011-08-24 Andreas Schwab <schwab@redhat.com>
28883
28884 * elf/Makefile: Add rules to build and run unload8 test.
28885 * elf/unload8.c: New file.
28886 * elf/unload8mod1.c: New file.
28887 * elf/unload8mod1x.c: New file.
28888 * elf/unload8mod2.c: New file.
28889 * elf/unload8mod3.c: New file.
28890
28891 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28892 it wasn't used.
28893
2c0b250a
DM
288942011-08-23 David S. Miller <davem@davemloft.net>
28895
28896 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28897 subtract stack bias.
28898 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28899 %sp not %fp in calculations.
28900 (_JMPBUF_UNWINDS_ADJ): Likewise.
28901
22044b48
DM
28902 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28903 (aio_suspend): Call it to force an exception region around the
28904 AIO_MISC_WAIT() invocation.
28905
2cae4995
AS
289062011-08-23 Andreas Schwab <schwab@redhat.com>
28907
28908 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28909 backslash.
28910
873a772e
AJ
289112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28912
28913 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28914 protection macro.
28915 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28916 and <dl-machine.h>.
28917 (Elf64_FuncDesc): Remove.
28918
25ad0df1
DM
289192011-08-22 David S. Miller <davem@davemloft.net>
28920
28921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28922 sigaltstack check, add missing cfi directives.
28923 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28924 missing cfi directives, and sigaltstack handling.
28925
e888bcbe
AS
289262011-08-16 Andreas Schwab <schwab@redhat.com>
28927
28928 [BZ #11724]
28929 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28930 object is seen twice.
28931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28932
28933 * elf/Makefile (distribute): Add tst-initorder2.c.
28934 (tests): Add tst-initorder2.
28935 (modules-names): Add tst-initorder2a tst-initorder2b
28936 tst-initorder2c tst-initorder2d. Add rules to build them.
28937 ($(objpfx)tst-initorder2.out): New rule.
28938 * elf/tst-initorder2.c: New file.
28939 * elf/tst-initorder2.exp: New file.
28940
87162f46
AS
289412011-08-22 Andreas Schwab <schwab@redhat.com>
28942
70538b7f
AS
28943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28944
f55ffe58
AS
28945 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28946 dependencies back to end of function.
28947
87162f46
AS
28948 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28949 $(elfobjdir)/ld.so.
28950
91b392a4
UD
289512011-08-21 Ulrich Drepper <drepper@gmail.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28954 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28956 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28957 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28958 of __vdso_gettimeofday.
28959 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28960 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28961 attribute_hidden.
28962 (_libc_vdso_platform_setup): Remove initialization of
28963 __vdso_gettimeofday and __vdso_time.
28964
5c43483f
UD
289652011-08-20 Ulrich Drepper <drepper@gmail.com>
28966
775a77e7
UD
28967 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28968 and fgetc_unlocked.
28969 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28970 getc_unlocked.
89f447ed 28971
49c74ba9
UD
28972 * elf/dl-open.c (add_to_global): Report additions to the global scope
28973 for LD_DEBUG=scopes.
28974 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28975 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28976
5c43483f
UD
28977 [BZ #13114]
28978 * stdio-common/Makefile (tests): Add bug24.
28979 * stdio-common/bug24.c: New file.
28980
a101b025
AJ
289812011-08-19 Andreas Jaeger <aj@suse.de>
28982
28983 [BZ #13114]
28984 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28985 non-existant file when using close-on-exec mode.
28986
c88f1766
UD
289872011-08-20 Ulrich Drepper <drepper@gmail.com>
28988
0276a718
UD
28989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28990 the very first instruction.
28991
c88f1766
UD
28992 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28993 the CFI state in the end.
28994 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28995 inclusion of dl-trampoline.h.
28996 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28997
51ccffa0
AS
289982011-08-19 Andreas Schwab <schwab@redhat.com>
28999
94d7165f
AS
29000 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29001 expectations for long double.
29002
51ccffa0
AS
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29004 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29005
fd708658 290062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29007
29008 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29009 artificual limit depends upon the system page size.
29010
44f0a71e
UD
290112011-08-17 Ulrich Drepper <drepper@gmail.com>
29012
29013 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29014 * resolv/Makefile: Define CFLAGS-libresolv.
29015
8de79a24
AS
290162011-08-17 Andreas Schwab <schwab@redhat.com>
29017
29018 * nss/makedb.c (compute_tables): Make variables used in nested
29019 function static.
29020
27724598
UD
290212011-08-17 Ulrich Drepper <drepper@gmail.com>
29022
c5305d88
UD
29023 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29024 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29025 if buffer was too small.
29026
27724598
UD
29027 * elf/pldd.c (main): Attach to all threads in the process.
29028 Rewrite /proc handling to use *at functions.
29029
076fe015
UD
290302011-08-16 Ulrich Drepper <drepper@gmail.com>
29031
174baab3
UD
29032 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29033 specifies first scope to show.
29034 (dl_open_worker): Update callers. Move printing scope of new
29035 object to before the relocation.
44f0a71e 29036 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29037 * sysdeps/generic/ldsodefs.h: Update declaration.
29038
076fe015
UD
29039 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29040 string for the scope number.
29041
a60df2c3
UD
290422011-08-14 Ulrich Drepper <drepper@gmail.com>
29043
29044 * nscd/servicescache.c (cache_addserv): Make sure written is always
29045 initialized.
29046
5e4287d1
RM
290472011-08-14 Roland McGrath <roland@hack.frob.com>
29048
85ae0589
RM
29049 * sysdeps/i386/i486/bits/atomic.h
29050 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29051 statement expression, so as to suppress "set but not used" warning.
29052 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29053
69f63097
RM
29054 * string/strncat.c (STRNCAT): Use prototype definition.
29055
675456ef
RM
29056 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29057 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29058 -Iprograms here.
29059 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29060 (localedef-modules): Add localedef.
29061 (locale-modules): Add locale.
29062
5e4287d1
RM
29063 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29064 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29065 to avoid a warning.
29066
9c96ff23
DM
290672011-08-14 David S. Miller <davem@davemloft.net>
29068
29069 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29070 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29071
f9ddf089
UD
290722011-08-13 Ulrich Drepper <drepper@gmail.com>
29073
44f0a71e 29074 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29075 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29076 * elf/rtld.c (dl_main): Set l_name of vDSO.
29077 Call _dl_show_scope when DL_DEBUG_SCOPES.
29078 (process_dl_debug): Recognize scopes flag and also set it for all.
29079 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29080 Declare _dl_show_scope.
29081
1dc27704
UD
29082 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29083 (do_dlopen): Pass caller_dlopen to dl_open.
29084 (__libc_dlopen_mode): Initialize caller_dlopen.
29085
f9ddf089
UD
29086 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29087 of libc. Make tolower call locale-independent. Optimize a bit by
29088 using isdigit instead of isalnum.
29089 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29090
9ac533d3
UD
290912011-08-12 Ulrich Drepper <drepper@gmail.com>
29092
29093 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29094 was a dependency or dynamically loaded.
29095
89edf2e9
UD
290962011-08-11 Ulrich Drepper <drepper@gmail.com>
29097
8e999d29
UD
29098 * intl/l10nflist.c: Allow architecture-specific pop function.
29099 * sysdeps/x86_64/l10nflist.c: New file.
29100
89edf2e9
UD
29101 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29102 classification.
29103
14d96785
AS
291042011-08-10 Andreas Schwab <schwab@redhat.com>
29105
29106 * include/dirent.h: Add libc_hidden_proto for scandirat and
29107 scandirat64. Don't declare __scandirat64.
29108 * dirent/scandirat.c: Add libc_hidden_def.
29109 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29110 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29111
6761ac04
DM
291122011-08-10 David S. Miller <davem@davemloft.net>
29113
29114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29115 enum.
29116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29119
c55fbd1e
UD
291202011-08-09 Ulrich Drepper <drepper@gmail.com>
29121
29122 * Versions.def [libc]: Add GLIBC_2.15.
29123 * dirent/Makefile (routines): Add scandirat and scandirat64.
29124 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29125 GLIBC_2.15.
29126 * dirent/dirent.h: Declare scandirat and scandirat64.
29127 * dirent/scandirat.c: New file.
29128 * dirent/scandirat64.c: New file.
29129 * sysdeps/wordsize-64/scandirat.c: New file.
29130 * sysdeps/wordsize-64/scandirat64.c: New file.
29131 * dirent/opendir.c: Define opendirat.
29132 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29133 using scandirat.
29134 * dirent/scandir64.c: Adjust for scandir.c change.
29135 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29136 __scandirat64, and __scandir_cancel_handler.
29137 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29138 additional parameter and use openat instead of open (outside of ld.so).
29139 Add new __opendir as wrapper around __opendirat.
29140 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29141 here without requiring old scandirat implementation.
29142
879165f2
UD
291432011-08-08 Ulrich Drepper <drepper@gmail.com>
29144
29145 * dirent/scandir.c (cancel_handler): Renamed to
29146 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29147 defined. Adjust users.
29148 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29150
cb7e923b
UD
291512011-08-04 Ulrich Drepper <drepper@gmail.com>
29152
16292edd
UD
29153 * string/test-string.h (IMPL): Use __STRING to expand name and then
29154 stringify it.
29155
cb7e923b
UD
29156 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29157 of cleanups.
29158
cff82933
LD
291592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29160
29161 * string/Makefile: Update.
29162 (strop-tests): Append strncat.
29163 * string/test-wcscmp.c: New file.
29164 New comprehensive test for wcscmp.
29165 * string/test-strcmp.c: Update.
29166 (WIDE): New define.
29167
9be9bfcc
AS
291682011-07-22 Andreas Schwab <schwab@redhat.com>
29169
29170 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29171 line.
29172
2e96f1c7
AS
291732011-07-26 Andreas Schwab <schwab@redhat.com>
29174
29175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29176 encoding to ACE if AI_IDN.
29177
85188888
JJ
291782011-08-01 Jakub Jelinek <jakub@redhat.com>
29179
29180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29181 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29182
5fa16e9b
LD
291832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29184
29185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29186 Fix overflow bug in strncat.
29187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29188
29189 * string/test-strncat.c: Update.
29190 Add new tests for checking overflow bugs.
29191
291922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29193
29194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29195 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29196 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29197 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29198 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29199 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29200 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29201 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29202 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29203
29204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29205 (USE_AS_STRCAT): Define.
29206 Add strcat and strncat support.
29207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29208
8c1a459f
AS
292092011-07-25 Andreas Schwab <schwab@redhat.com>
29210
29211 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29212 __n bigger than INT_MAX+1.
29213 (__strncmp_g): Likewise.
29214
bba33c28
UD
292152011-07-23 Ulrich Drepper <drepper@gmail.com>
29216
798be72d
UD
29217 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29218 * libio/stido.h: Likewise.
29219
8accd4dc
UD
29220 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29221 (AF_NFC): Define.
29222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29223 (AF_NFC): Define.
29224
cbff0d96
UD
29225 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29226 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29228 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29230
9191c04a
UD
29231 [BZ #13021]
29232 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29233 installed.
29234
bba33c28
UD
29235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29236 typo.
29237 (_dl_x86_64_save_sse): Likewise.
29238
90f139dd
UD
292392011-07-22 Ulrich Drepper <drepper@gmail.com>
29240
1aae088a
UD
29241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29242 OSXSAVE.
29243 (_dl_x86_64_save_sse): Likewise.
29244
8e2045f5
UD
29245 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29246
90f139dd
UD
29247 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29248
1d002f25
AS
292492011-07-21 Andreas Schwab <schwab@redhat.com>
29250
29251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29252 change.
29253 (_dl_x86_64_save_sse): Use correct AVX check.
29254
21137f89
UD
292552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29256
29257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29258 bug in strncpy/strncat.
29259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29260
a65c0b7a
UD
292612011-07-21 Ulrich Drepper <drepper@gmail.com>
29262
29263 * string/tester.c (test_strcat): Add tests for different alignments
29264 of source and destination.
29265 (test_strncat): Likewise.
29266
6986b98a
UD
292672011-07-20 Ulrich Drepper <drepper@gmail.com>
29268
90bb2039
UD
29269 [BZ #12852]
29270 * posix/glob.c (glob): Check passed in values before using them in
29271 expressions to avoid some overflows.
29272 (glob_in_dir): Likewise.
29273
5644ef54
UD
29274 [BZ #13007]
29275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29276 check for AVX enablement so that we don't crash with old kernels and
29277 new hardware.
29278 * elf/tst-audit4.c: Add same checks here.
29279 * elf/tst-audit6.c: Likewise.
29280
29281 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29282
bfc9dc9b
AS
292832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29284
29285 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29286
702e64bb
UD
292872011-07-20 Ulrich Drepper <drepper@gmail.com>
29288
29289 * po/cs.po: Update from translation team.
29290 * po/bg.po: Likewise.
29291
295e904f
MP
292922011-07-12 Marek Polacek <mpolacek@redhat.com>
29293
29294 * misc/sys/cdefs.h: Add support for const attribute.
29295 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29296 to gnu_dev_{major,minor,makedev} functions.
29297
3ff94596
MP
292982011-07-20 Marek Polacek <mpolacek@redhat.com>
29299
29300 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29301
28b59fca
AS
293022011-07-20 Andreas Schwab <schwab@redhat.com>
29303
29304 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29305 strlen results.
29306
19df733e
AK
293072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29308
29309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29310 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29311 register in order to avoid conflicts with the soft frame pointer
29312 being held in r11 when necessary.
29313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29314 (INTERNAL_VSYSCALL_NCS): Likewise.
29315
c8835729
MP
293162011-07-14 Marek Polacek <mpolacek@redhat.com>
29317
29318 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29319 * elf/dl-fini.c (_dl_fini): Adjust caller.
29320 * elf/dl-close.c (_dl_close_worker): Likewise.
29321 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29322
b902330c
MP
293232011-07-15 Marek Polacek <mpolacek@redhat.com>
29324
8991e135
MP
29325 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29326 "aux_cache->nlibs < 0".
29327
b902330c
MP
29328 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29329 in the reload-count case.
29330
99710781
LD
293312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29332
29333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29334 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29335 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29336 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29337 * sysdeps/x86_64/multiarch/strcat.S: New file.
29338 * sysdeps/x86_64/multiarch/strncat.S: New file.
29339 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29340 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29341 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29342 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29344 (USE_AS_STRCAT): Define.
29345 Add strcat and strncat support.
29346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29349 * string/strncat.c: Update.
29350 (USE_AS_STRNCAT): Define.
29351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29352 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29353 and i7.
29354 * sysdeps/x86_64/multiarch/init-arch.h
29355 (bit_Prefer_PMINUB_for_stringop): New.
29356 (index_Prefer_PMINUB_for_stringop): Likewise.
29357 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29358 bit_Prefer_PMINUB_for_stringop.
29359
7dc6bd90
UD
293602011-07-19 Ulrich Drepper <drepper@gmail.com>
29361
29362 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29363 buffer64.
29364 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29365 of casting of buffer.
29366 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29367 buffer32 and buffer64.
29368 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29369 writes instead of casting of buffer.
29370 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29371 buffer32.
29372 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29373 casting of buffer.
29374
e0e72284
AS
293752011-07-19 Andreas Schwab <schwab@redhat.com>
29376
29377 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29378
feb1eb0b
UD
293792011-07-19 Ulrich Drepper <drepper@gmail.com>
29380
29381 * nscd/nscd.c (termination_handler): Don't do anything for a database
29382 if it has not yet been initialized.
29383
298711ff
UD
293842011-07-18 Ulrich Drepper <drepper@gmail.com>
29385
29386 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29387
293882011-07-15 Marek Polacek <mpolacek@redhat.com>
29389
29390 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29391
f9d68389
UD
293922011-07-18 Ulrich Drepper <drepper@gmail.com>
29393
29394 * po/nl.po: Update from translation team.
29395 * po/sv.po: Likewise.
29396
db290cf5
RM
293972011-07-16 Roland McGrath <roland@hack.frob.com>
29398
29399 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29400 now disallowed by GCC.
5c550700 29401
fd5e21c7
RM
29402 * configure.in (use-default-link): Default to yes if a test -shared
29403 link meets our qualifications.
29404 * configure: Regenerated.
29405
5c550700
RM
29406 * config.make.in (output-format): New variable.
29407 * configure.in: Check for ld --print-output-format support.
29408 * configure: Regenerated.
29409 * Makerules ($(common-objpfx)format.lds)
29410 [$(output-format) != unknown]: Just use $(output-format),
29411 instead of the linker-script munging.
29412
9fa2c032
RM
294132011-07-14 Roland McGrath <roland@hack.frob.com>
29414
a6928d51
RM
29415 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29416 of $(common-objpfx)shlib.lds.
29417 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29418
661607b3
RM
29419 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29420 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29421
9fa2c032
RM
29422 * configure.in (-z relro check): Adjust test code to add a large
29423 writable data section after it.
29424 * configure: Regenerated.
29425
defe9061
RM
294262011-07-11 Roland McGrath <roland@hack.frob.com>
29427
29428 * configure.in (-z relro check): Fix test code to make the variable
29429 truly const.
29430 * configure: Regenerated.
29431
319b9ad4
UD
294322011-07-11 Ulrich Drepper <drepper@gmail.com>
29433
29434 * nscd/nscd.h (struct traced_file): Define.
29435 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29436 elements. Add traced_files.
29437 (inotify_fd): Declare.
29438 (register_traced_file): Declare.
29439 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29440 (inotify_fd): Export.
29441 (resolv_conf_descr): Remove.
29442 (nscd_init): Move inotify descriptor creation to main.
29443 Don't register files for notification here.
29444 (register_traced_file): New function.
29445 (invalidate_cache): Don't use reset_res to determine whether to call
29446 res_init, go through the list of registered files.
29447 (main_loop_poll): The inotify descriptors are now stored in the
29448 structures for the traced files.
29449 (main_loop_epoll): Likewise
29450 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29451 to __nss_disable_nscd.
29452 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29453 for a database anymore. Check the records for all the registered
29454 files instead.
29455 * nss/Makefile (libnss_files-routines): Add files-init.
29456 (libnss_db-routines): Add db-init.
29457 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29458 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29459 * nss/nss_db/db-init.c: New file.
29460 * nss/nss_files/files-init.c: New file.
29461 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29462 __nss_lookup_function.
29463 (__nss_lookup_function): Call nss_load_library.
29464 (nss_load_all_libraries): New function.
29465 (__nss_disable_nscd): Take parameter with callback function for files
29466 to register. Set is_nscd. Load all the DSOs for the NSS modules
29467 used for the cached services.
29468 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29469 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29470 options for features to all the files in nscd.
29471
29472 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29473
23bee3e8
RM
294742011-07-10 Roland McGrath <roland@hack.frob.com>
29475
29476 * csu/elf-init.c (__libc_csu_init): Comment typo.
29477
46a5b7f0
UD
294782011-07-09 Ulrich Drepper <drepper@gmail.com>
29479
29480 * po/pl.po: Update from translation team.
29481 * po/ja.po: Likewise.
29482 * po/ru.po: Likewise.
29483 * po/ko.po: Likewise.
29484 * po/fr.po: Likewise.
29485
d30cf5bb
RM
294862011-07-09 Roland McGrath <roland@hack.frob.com>
29487
113ddea4
RM
29488 * configure.in (.ctors/.dtors header and trailer check):
29489 Use an empirical test on a built program.
29490 * configure: Regenerated.
29491
574920b4
RM
29492 * configure.in (-z relro check): Use an empirical test on a built DSO.
29493 Detect, but do not require, on ia64.
29494 * configure: Regenerated.
29495
d30cf5bb
RM
29496 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29497 Update tests that use readelf to use $READELF instead.
29498 * configure: Regenerated.
29499
8538fdb3
UD
295002011-07-08 Ulrich Drepper <drepper@gmail.com>
29501
29502 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29503 if the result is not used.
29504
04d08991
AJ
295052011-07-05 Andreas Jaeger <aj@suse.de>
29506
29507 [BZ#9696]
29508 * stdlib/tst-strtod.c: Add testcase.
29509
de283087
AD
295102011-07-07 Ulrich Drepper <drepper@gmail.com>
29511
4e5f31c8 29512 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29513 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29514 The latter has a higher limit. Take additional parameter to pass to
29515 the new function.
29516 (__pathconf): Pass file to __statfs_link_max.
29517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29518 __statfs_link_max.
29519 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29520 __statfs_link_max.
29521
de283087
AD
29522 [BZ #12868]
29523 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29525 Handle Lustre.
29526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29527 (__statfs_filesize_max): Likewise.
29528 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29529
c75fa153
AJ
295302011-07-05 Andreas Jaeger <aj@suse.de>
29531
29532 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29533
1a544854
UD
295342011-07-06 Marek Polacek <mpolacek@redhat.com>
29535
29536 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29537 `status' variable.
29538 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29539 Likewise.
29540
6f0eec67
UD
295412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29542
29543 * Makefile (strop-tests): Add strncat.
29544 * string/test-strncat.c: New file.
29545
aae30307
UD
295462011-06-30 Marek Polacek <mpolacek@redhat.com>
29547
29548 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29549
c0cfb5eb
UD
295502011-06-21 Andreas Jaeger <aj@suse.de>
29551
29552 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29553 Copy rule from iconvdata/Makefile.
29554
01636b21
UD
295552011-07-06 Ulrich Drepper <drepper@gmail.com>
29556
29557 [BZ #12922]
29558 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29559 but no long options are defined, just return 'W'.
29560
9895c8bc
UD
295612011-06-22 Marek Polacek <mpolacek@redhat.com>
29562
29563 [BZ #9696]
29564 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29565
5d4cf042
UD
295662011-07-06 Ulrich Drepper <drepper@gmail.com>
29567
29568 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29569 netgroups to read.
960e5535 29570 (innetgr): Likewise.
5d4cf042 29571
751eb97e
RM
295722011-07-05 Roland McGrath <roland@hack.frob.com>
29573
29574 * config.make.in (install_root): Default to $(DESTDIR).
29575
f15f1e45
UD
295762011-07-05 Ulrich Drepper <drepper@gmail.com>
29577
29578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29579
4e34ac6a
RM
295802011-07-02 Roland McGrath <roland@hack.frob.com>
29581
5e9b6af4
RM
29582 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29583
84f9ea0f
RM
29584 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29585 containing directory rather than embedding absolute directory names.
29586
ea5ee9f7
RM
29587 * scripts/check-local-headers.sh: Rewritten using awk.
29588 Match by word, not by line. Print error messages for matches.
29589 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29590
1b74661a
RM
29591 * Makerules [shlib-lds-flags empty]:
29592 ($(common-objpfx)libc_pic.opts): New target.
29593 ($(common-objpfx)libc_pic.os.clean): New target.
29594 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29595
29596 * config.make.in (OBJCOPY): New variable.
29597 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29598 * configure: Regenerated.
29599
f781ef40
RM
29600 * config.make.in (use-default-link): New variable.
29601 * configure.in (use_default_link): Grok --with-default-link to set it.
29602 * configure: Regenerated.
29603 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29604 (shlib-lds, shlib-lds-flags): Define to empty.
29605
2d4fa81e
RM
29606 * Makerules (shlib-lds): New variable.
29607 (shlib-lds-flags): New variable.
29608 (build-shlib, build-moduile, build-module-asneeded): Use it.
29609 ($(common-objpfx)libc.so): Use $(shlib-lds).
29610 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29611 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29612
31fffa6b
RM
29613 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29614 DT_FLAGS/DT_FLAGS_1 with zero flags.
29615
4e34ac6a
RM
29616 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29617 linker script munging.
29618
fcfc776b
UD
296192011-07-02 Ulrich Drepper <drepper@gmail.com>
29620
29621 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29622 as 128-bit value.
29623 * crypt/sha512.c (sha512_process_block): Perform total addition using
29624 128-bit if possible.
29625 (__sha512_finish_ctx): Likewise.
29626 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29627 as 64-bit value.
29628 * crypt/sha256.c (SWAP64): Define.
29629 (sha256_process_block): Perform total addition using 64-bit if
29630 possible.
29631 (__sha256_finish_ctx): Likewise.
29632
99231d9a
UD
296332011-07-01 Ulrich Drepper <drepper@gmail.com>
29634
29635 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29636 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29637 * nscd/hstcache.c (cache_addhst): Likewise.
29638 * nscd/grpcache.c (cache_addgr): Likewise.
29639 * nscd/aicache.c (addhstaiX): Likewise
29640 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29641
445b4a53
TK
296422011-07-01 Thorsten Kukuk <kukuk@suse.de>
29643
29644 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29646 * nscd/hstcache.c (cache_addhst): Likewise.
29647 * nscd/grpcache.c (cache_addgr): Likewise.
29648 * nscd/aicache.c (addhstaiX): Likewise
29649
6d4d8e8e
AS
296502011-07-01 Andreas Schwab <schwab@redhat.com>
29651
29652 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29653 domain only when needed.
29654
89f654c5
AS
296552011-06-30 Andreas Schwab <schwab@redhat.com>
29656
29657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29658 is always restored.
29659
cf3b23ff
UD
296602011-06-29 Ulrich Drepper <drepper@gmail.com>
29661
29662 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29663 are re-adding the entry.
29664 * nscd/servicescache.c (cache_addserv): Likewise.
29665
751626f9
AJ
296662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29667
29668 * sysdeps/generic/dl-irel.h: fix protection against multiple
29669 inclusions.
29670 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29671
9113ea1f
UD
296722011-06-28 Ulrich Drepper <drepper@gmail.com>
29673
5c0b8d90
UD
29674 [BZ #12935]
29675 * malloc/memusage.sh: Fix quoting in message.
29676 * debug/xtrace.sh: Likewise.
29677
9113ea1f
UD
29678 * configure.in: Remove support for --experimental-malloc option, make
29679 it the default.
29680 * config.make.in: Likewise.
29681 * malloc/Makefile: Likewise.
29682
a4172181
AS
296832011-06-27 Andreas Schwab <schwab@redhat.com>
29684
29685 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29686 two-byte characters.
29687
78a7eee7
RM
296882011-06-27 Roland McGrath <roland@hack.frob.com>
29689
62bede13
RM
29690 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29691 AC_CACHE_CHECK invocation.
29692 * configure: Regenerated.
29693
78a7eee7
RM
29694 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29695
5ce33a62
UD
296962011-06-27 Ulrich Drepper <drepper@gmail.com>
29697
034807a9
UD
29698 [BZ #12350]
29699 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29700 bit from old_res_options.
29701
4902da17
UD
29702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29703
5ce33a62
UD
29704 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29705 value type for setfct.
29706
c2344f56
L
297072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29708
29709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29710 __gettimeofday instead of gettimeofday.
29711
68468076
UD
297122011-06-26 Ulrich Drepper <drepper@gmail.com>
29713
29714 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29715
acb0d739
L
297162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29717
29718 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29719
29720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29721 info.
29722
8912479f
L
297232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29724
29725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29726 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29727 strcpy-sse2-unaligned strncpy-sse2-unaligned
29728 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29729 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29730 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29731 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29732 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29735 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29736 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29737 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29738 (STRCPY): Support SSE2 and SSSE3 versions.
29739
d5495a11
UD
297402011-06-24 Ulrich Drepper <drepper@gmail.com>
29741
29742 [BZ #12874]
29743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29744 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29745 kernels which artificially limit size of requests.
29746
0b1cbaae
L
297472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29748
29749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29750 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29751 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29752 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29753 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29754 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29755 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29756 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29757 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29759 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29760 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29761 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29762 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29763 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29765 Enable unaligned load optimization for Intel Core i3, i5 and i7
29766 processors.
29767 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29768 Define.
29769 (index_Fast_Unaligned_Load): Define.
29770 (HAS_FAST_UNALIGNED_LOAD): Define.
29771
07f494a0
MP
297722011-06-23 Marek Polacek <mpolacek@redhat.com>
29773
29774 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29775
fa3fc0fe
UD
297762011-06-22 Ulrich Drepper <drepper@gmail.com>
29777
29778 [BZ #12907]
29779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29780 until it is clear that the information is realy needed.
29781 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29782
e12df166
AS
297832011-06-22 Andreas Schwab <schwab@redhat.com>
29784
29785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29786
852eb34d
UD
297872011-06-22 Ulrich Drepper <drepper@gmail.com>
29788
84e2a551
UD
29789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29790 /sys/devices/system/cpu/online if it is usable.
29791
852eb34d
UD
29792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29793 reading the information from the /proc filesystem to once a second.
29794
6e502e19
UD
297952011-06-21 Andreas Jaeger <aj@suse.de>
29796
29797 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29798 NULL after inclusion of kernel headers.
29799
75d39ff2
UD
298002011-06-21 Ulrich Drepper <drepper@gmail.com>
29801
51f9aa6a
UD
29802 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29803 calls to internal_setent.
29804
c0244a9d
UD
29805 [BZ #12885]
29806 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29807 addresses using gethostbyname4_r ignore IPv4 addresses.
29808
c5e3c2ae
UD
29809 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29810 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29811
75d39ff2
UD
29812 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29813
42675c6f
DM
298142011-06-20 David S. Miller <davem@davemloft.net>
29815
29816 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29817 inclusions.
29818 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29819
29820 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29821 (elf_irel): Use it.
29822 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29823 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29824 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29825 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29826 * sysdeps/x86_64/dl-irel.h: Likewise.
29827
29828 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29829 * elf/dl-sym.c: Likewise.
29830
57912a71
UD
298312011-06-15 Ulrich Drepper <drepper@gmail.com>
29832
29833 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29834 need to dereference resplen2.
29835
ee22793d
AS
298362011-06-14 Andreas Schwab <schwab@redhat.com>
29837
29838 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29839
a9e836b0
UD
298402011-06-15 Ulrich Drepper <drepper@gmail.com>
29841
77fb9117
UD
29842 * Makeconfig: Define vardbdir and inst_vardbdir.
29843 * nss/Makefile: Add rules to install db-Makefile.
29844
40c1b22c
UD
29845 * nss/nss_db/db-XXX.c: Cleanup.
29846
9f2da732
UD
29847 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29848 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29849 GLIBC_PRIVATE.
29850 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29851 * nss/makedb.c: Implement -g option to specify that value strings
29852 are generated and should not be added to table iterated over for
29853 get*ent calls.
29854 * nss/nss_db/db-initgroups.c: New file.
29855
82e9a1f7
UD
29856 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29857 interface.
29858
c41af17e
UD
29859 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29860 (internal_getgrouplist): Adjust to name change.
29861 Update use_initgroups_entry if this is not the first call.
29862 * nss/databases.def: Add initgroups entry.
29863
a9e836b0
UD
29864 * nss/makedb.c (compute_tables): Check result of multiple hash table
29865 sizes to minimize maximum chain length.
29866
2666d441
UD
298672011-06-14 Ulrich Drepper <drepper@gmail.com>
29868
29869 * Versions.def: Add entry for libnss_db.
29870 * shlib-versions: Likewise.
29871 * nss/Makefile: Add rules to build libnss_db.
29872 * nss/Versions: Add libnss_db information. Organize libnss_files
29873 entries better.
29874 * nss/db-Makefile: Add gshadow support. Change rules for the new
29875 makedb progra. Some minor improvements to generate smaller files.
29876 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29877 here from...
29878 * nss/makedb.c: ...here.
29879 Improve database format to be smaller and require less memory at
29880 runtime.
29881 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29882 db anymore.
29883 * nss/nss_db/db-netgrp.c: Likewise.
29884 * nss/nss_db/db-open.c: Likewise.
29885 * nss/nss_files/flies-XXX.x: Adjust comments.
29886 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29887 * nss/nss_files/files-grp.c: Likewise.
29888 * nss/nss_files/files-hosts.c: Likewise.
29889 * nss/nss_files/files-network.c: Likewise.
29890 * nss/nss_files/files-proto.c: Likewise.
29891 * nss/nss_files/files-pwd.c: Likewise.
29892 * nss/nss_files/files-rpc.c: Likewise.
29893 * nss/nss_files/files-service.c: Likewise.
29894 * nss/nss_files/files-sgrp.c: Likewise.
29895 * nss/nss_files/files-spwd.c: Likewise.
29896 * nss/nss_db/db-alias.c: Removed.
29897 * nss/nss_db/dummy-db.h: Removed.
29898
9ee76b5a
UD
298992011-06-02 Ulrich Drepper <drepper@gmail.com>
29900
29901 * nss/makedb.c: Rewritten to not use database library.
29902 * nss/Makefile: Update to build new makedb program.
29903
c71ca1f8
AJ
299042011-06-14 Andreas Jaeger <aj@suse.de>
29905
29906 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29907 memset declaration.
29908
3154bfb8
UD
299092011-06-10 Andreas Schwab <schwab@redhat.com>
29910
29911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29912 tmpbuf.
29913
b350afab
RM
299142011-06-10 Roland McGrath <roland@hack.frob.com>
29915
decd4e50
RM
29916 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29917 * elf/Makefile ($(objpfx)ld.so): Likewise.
29918
5615eaf2
RM
29919 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29920 Don't list ld.so twice in dependencies.
29921
29922 * posix/bug-regex31.c: Include <stdlib.h>.
29923
29924 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29925
29926 * nis/nss_compat/compat-spwd.c
29927 (getspent_next_nss_netgr): Remove unused variable.
29928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29929
29930 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29931 nonmembers" output to use the right array.
29932
29933 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29934
29935 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29936
29937 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29938 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29939 * catgets/gencat.c (read_input_file): Likewise.
29940 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29941
29942 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29943 variable definition inside #if's controlling its use.
29944
29945 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29946
29947 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29948
29949 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29950
29951 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29952 unreachable code.
29953
29954 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29955
b68e08db
RM
29956 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29957 * configure: Regenerated.
29958
b350afab
RM
29959 * Makerules: Revert last change.
29960 * elf/Makefile: Likewise.
29961
28368601
RM
299622011-06-09 Roland McGrath <roland@hack.frob.com>
29963
29964 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29965 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29966 (reloc-link): Likewise.
29967
11988f8f
UD
299682011-06-09 Ulrich Drepper <drepper@gmail.com>
29969
29970 * elf/Makefile: Add rules to build pldd.
29971 * elf/pldd.c: New file.
29972 * elf/pldd-xx.c: New file.
29973
e80fab37
UD
299742011-06-07 Ulrich Drepper <drepper@gmail.com>
29975
29976 * version.h: Update for 2.15 development version.
29977
9b849836
DM
299782011-06-07 David S. Miller <davem@davemloft.net>
29979
29980 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29981 ifuncs.
29982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29983 elf_machine_lazy_rel): Likewise.
29984 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29986 elf_machine_lazy_rel): Likewise.
29987 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29988 dl_hwcap via passed in argument.
29989 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29990 Likewise.
29991
5a31b283
AK
299922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29993
29994 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29995
069e52f8
RM
299962011-06-06 Roland McGrath <roland@hack.frob.com>
29997
29998 [BZ #12849]
29999 * manual/fdl-1.1.texi: New file, verbatim from:
30000 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30001 * manual/lgpl-2.1.texi: New file, verbatim from:
30002 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30003 * manual/Makefile (licenses): New variable, list those new file names.
30004 (texis): Use it.
30005 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30006
30007 * manual/fdl.texi: File removed.
30008 * manual/lesser.texi: File removed.
30009 * manual/libc.texinfo (Copying, Documentation License):
30010 Use new @include file names, put @appendix directive before @include.
30011
f16846a5
JJ
300122011-06-04 Jakub Jelinek <jakub@redhat.com>
30013
30014 [BZ #12841]
30015 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30016 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30017 (mq_open): Add __NTH.
30018
3d29045b
L
300192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30020
30021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30022 Assume Intel Core i3/i5/i7 processor if AVX is available.
30023
8c297311
UD
300242011-05-31 Ulrich Drepper <drepper@gmail.com>
30025
30026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30027 typo.
30028
c8fc0c91
UD
300292011-05-31 Andreas Schwab <schwab@redhat.com>
30030
30031 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30032 memory. Use alloca_account. Fix memory leak when retrying.
30033
5b27a807
UD
300342011-05-31 Ulrich Drepper <drepper@gmail.com>
30035
356f8bc6
UD
30036 * version.h (RELEASE): Bump for 2.14 release.
30037 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30038
5b27a807
UD
30039 * config.make.in (RANLIB): Remove entry.
30040
01f16ab0
UD
300412011-05-30 Ulrich Drepper <drepper@gmail.com>
30042
41fce8bd
UD
30043 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30044 (libc.pot): Work around missing support for .ksh extension in xgettext.
30045
4769ae77
UD
30046 [BZ #12684]
30047 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30048 if both request failed.
30049 (send_dg): In case of server errors clear resplen or *resplen2.
30050
6b1e7d19
UD
30051 [BZ #12454]
30052 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30053 when there are multiple maps.
30054 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30055 (_dl_fini): Remove test here.
30056
01f16ab0
UD
30057 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30058
b1ebd700
UD
300592011-05-29 Ulrich Drepper <drepper@gmail.com>
30060
7ae22829
UD
30061 [BZ #12350]
30062 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30063 bit from old_res_options.
30064 (gaih_inet): Likewise.
30065
553149f6 30066 [BZ #11099]
18a84741 30067 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30068 as signed.
30069
652ffab1
UD
30070 * resolv/res_init.c (res_setoptions): Make the code more compact.
30071
16985fd0
UD
30072 [BZ #11558]
30073 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30074 set RES_USEVC.
30075
0464f746
UD
30076 [BZ #11634]
30077 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30078
7d17596c
UD
30079 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30080
cf6bbbd7
UD
30081 [BZ #11781]
30082 * malloc/malloc.h: Declare malloc hook variables as volatile.
30083
13f1ab36
UD
30084 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30085 in last patch.
30086
b1ebd700
UD
30087 [BZ #11799]
30088 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30089 raise in the comment.
80e2212d
UD
30090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30092 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30093
ce67228d
UD
300942011-05-28 Ulrich Drepper <drepper@gmail.com>
30095
8887a920
UD
30096 [BZ #12811]
30097 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30098 grow the buffers more if it already has to be sufficient.
30099 (build_wcs_upper_buffer): Likewise.
30100 * posix/regexec.c (check_matching): Likewise.
30101 (clean_state_log_if_needed): Likewise.
30102 (extend_buffers): Don't enlarge buffers beyond size of the input
30103 buffer.
30104 Patches mostly by Emil Wojak <emil@wojak.eu>.
30105 * posix/bug-regex32.c: New file.
30106 * posix/Makefile (tests): Add bug-regex32.
30107
4f031072
UD
30108 * locale/findlocale.c (_nl_find_locale): Return right away if
30109 _nl_explode_name failed.
30110 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30111
d0478f0c
UD
30112 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30113
de81b246
UD
30114 * debug/xtrace.sh: Unify messages.
30115 * malloc/memusage.sh: Likewise.
30116
c738465a
UD
30117 [BZ #12813]
30118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30119 time symbol from vDSO. Substitute with vsyscall if not available.
30120 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30121 __vdso_time.
30122
f1f929d7
UD
30123 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30124 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30125 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30126 Add sendmmsg and internal_sendmmsg.
30127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30128 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30130
ce67228d
UD
30131 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30132 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30134
e57420c6
UD
301352011-05-27 Ulrich Drepper <drepper@gmail.com>
30136
a8509ca5
UD
30137 [BZ #12813]
30138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30139 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30140 available.
30141 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30142 __vdso_getcpu.
30143
e57420c6
UD
30144 [BZ #12814]
30145 * iconvdata/Makefile (tests): Add bug-iconv9.
30146 * iconvdata/bug-iconv9.c: New file.
30147
4d07db15
AS
301482011-05-27 Andreas Schwab <schwab@redhat.com>
30149
30150 [BZ #12814]
30151 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30152
ea486f69
JJ
301532011-05-25 Jakub Jelinek <jakub@redhat.com>
30154
30155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30156 (struct user_regs_struct): Change intcs field back to cs.
30157
6f038433
UD
301582011-05-25 Ulrich Drepper <drepper@gmail.com>
30159
30160 * po/ja.po: Update from translation team.
30161
67f86a25
UD
301622011-05-23 Ulrich Drepper <drepper@gmail.com>
30163
30164 [BZ #12795]
30165 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30166 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30167
def7fbd6
AS
301682011-05-20 Andreas Schwab <schwab@redhat.com>
30169
30170 * stdlib/longlong.h: Update from GCC.
30171
f50ef8f1
AS
301722011-05-23 Andreas Schwab <schwab@redhat.com>
30173
30174 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30175 parameter name.
30176 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30177 Add parameter name.
30178 (__sysconf): Pass it down.
30179
de7ce8f1
UD
301802011-05-22 Ulrich Drepper <drepper@gmail.com>
30181
f2962a71
UD
30182 [BZ #12671]
30183 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30184 some situations.
30185 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30186 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30187 add in in __libc_use_alloca calls. Adjust callers.
30188 (glob): Use malloc in some situations.
30189
de7ce8f1
UD
30190 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30191 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30192 pltexit.
30193
aec84f53
UD
301942011-05-21 Ulrich Drepper <drepper@gmail.com>
30195
05bb4a68
UD
30196 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30197 and CLOCK_BOOTTIME_ALARM.
30198
7ea72f99
UD
30199 [BZ #12782]
30200 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30201 is returned.
30202
7e4afad5
UD
30203 * string/_strerror.c (__strerror_r): Print negative errors as signed
30204 numbers.
30205
8e211fec
UD
30206 [BZ #12777]
30207 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30208 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30209 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30210
f7d82dc9
UD
30211 * configure.in: Fix typo in redirection and correct removal of test
30212 files in two cases.
30213
cc9e536d
UD
30214 [BZ #12788]
30215 * locale/setlocale.c (new_composite_name): Fix test to check for
30216 identical name of all categories.
30217
aec84f53
UD
30218 [BZ #12792]
30219 * libio/filedoalloc.c (local_isatty): New function.
30220 (_IO_file_doallocate): Use local_isatty.
30221 * stdio-common/perror.c (perror): In case a new stream is used
30222 forward the stream error.
30223 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30224 error flag.
30225
78e64fdc
RT
302262011-05-20 Ulrich Drepper <drepper@gmail.com>
30227
34a9094f
UD
30228 [BZ #11869]
30229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30230 alloca.
30231 * include/alloca.h (extend_alloca_account): Define.
30232
78e64fdc
RT
30233 [BZ #11857]
30234 * posix/regex.h: Fix comments with documentation of user-accessible
30235 fields after compilation and describe correct free'ing of pattern
30236 after re_compile_pattern.
30237 Patch by Reuben Thomas <rrt@sc3d.org>.
30238
457bddfc
RA
302392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30240
30241 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30242 and -mno-altivec to prevent the compiler from using Altivec and/or
30243 VSX instructions when the corresponding registers are not available.
30244
a4527b51
AS
302452011-05-19 Andreas Schwab <schwab@redhat.com>
30246
30247 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30248
ed690b2f
UD
302492011-05-19 Ulrich Drepper <drepper@gmail.com>
30250
30251 * libio/freopen.c (freopen): Use __dup2, not dup2.
30252 * libio/freopen64.c (freopen64): Likewise.
30253
8db73634
L
302542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 [BZ #12775]
30257 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30258 * math/Makefile (tests): Add test-powl.
30259 (CFLAGS-test-powl.c): Define.
30260 * math/test-powl.c: New file.
30261
0a197a9d
L
302622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30263
30264 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30265
ee30c380
UD
302662011-05-17 Ulrich Drepper <drepper@gmail.com>
30267
30268 [BZ #11837]
30269 * iconvdata/gb18030.c: Update to GB18020-2005.
30270
6ce75379
UD
302712011-05-16 Ulrich Drepper <drepper@gmail.com>
30272
a4b89fd8
AR
30273 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30274 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30275 Patch by Aharon Robbins <arnold@skeeve.com>.
30276
ea389b12
UD
30277 [BZ #11892]
30278 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30279 on the stack.
30280
68a3f91f
UD
30281 [BZ #11895]
30282 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30283 through underflows.
30284
15cc7dd1
UD
30285 [BZ #12766]
30286 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30287 point to strings before performing equality test for error_one_per_line
30288 mode.
30289
f3799213
UD
30290 [BZ #11697]
30291 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30292
d79a9c94
UD
30293 [BZ #11820]
30294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30295 (struct user_fpregs_struct): Avoid __uint*_t types.
30296
56e5eb46
UD
30297 [BZ #6420]
30298 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30299 symbol info. Use it instead of calling _dl_addr locally.
30300 (lock_and_info): New function.
30301 (tr_freehook): Call lock_and_info and pass symbol info as additional
30302 parameter to tr_where.
30303 (tr_mallochook): Likewise.
30304 (tr_reallochook): Likewise.
30305 (tr_memalignhook): Likewise.
30306
6ce75379
UD
30307 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30308 used and couldn't be at all thread-safe.
30309
f8a3b5bf
UD
303102011-05-15 Ulrich Drepper <drepper@gmail.com>
30311
94b7cc37
UD
30312 * libio/freopen.c (freopen): Don't close old file descriptor
30313 before the new one is opened. Instead dup the new file descriptor
30314 to the old one after the new stream is created.
30315 * libio/freopen64.c (freopen64): Likewise.
30316 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30317 * libio/fileops.c (_IO_new_file_close_it): Handle new
30318 _IO_FLAGS2_NOCLOSE flag.
30319 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30320 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30321 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30322 _IO_FLAGS2_NOCLOSE flag.
30323 * include/unistd.h: Add hidden_proto for dup3.
30324 Define __have_dup3.
30325 * io/dup3.c: Define hidden symbol.
30326 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30327
bd25564e
UD
30328 [BZ #7101]
30329 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30330 when an incomplete long option is used.
30331 * posix/tst-getopt_long1.c: New file.
30332 * posix/Makefile (tests): Add tst-getopt_long1.
30333
c84cfef4
UD
30334 [BZ #10138]
30335 * scripts/config.guess: Update from autoconf-2.68.
30336 * scripts/config.sub: Likewise.
30337
3b85df27
UD
30338 [BZ #10157]
30339 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30340 tests into ...
30341 (has_cpuclock): ...this. New function.
30342 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30343 macro here based on has_cpuclock code.
30344
15a856b1
UD
30345 [BZ #10149]
30346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30347 First byte (not low byte) is now always NUL.
30348 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30349
05f399e6
UD
30350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30351 Use non-cancelable interfaces.
30352
10a52685 30353 [BZ #9809]
94ecc67d
UD
30354 * locale/iso-639.def: Add entry for Sorani.
30355
f8a3b5bf
UD
30356 [BZ #11901]
30357 * include/stdlib.h: Move include protection to the right place.
30358 Define abort_msg_s. Declare __abort_msg with it.
30359 * stdlib/abort.c (__abort_msg): Adjust type.
30360 * assert/assert.c (__assert_fail_base): New function. Majority
30361 of code from __assert_fail. Allocate memory for __abort_msg with
30362 mmap.
30363 (__assert_fail): Now call __assert_fail_base.
30364 * assert/assert-perr.c: Remove bulk of implementation. Use
30365 __assert_fail_base.
30366 * include/assert.hL Declare __assert_fail_base.
30367 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30368 mmap.
30369 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30370
1af4e298
UD
303712011-05-14 Ulrich Drepper <drepper@gmail.com>
30372
f8a3b5bf 30373 [BZ #11952]
d26dfc60
MG
30374 [BZ #12453]
30375 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30376 until all modules are registered in the DTV.
30377 * elf/Makefile: Add rules to build and run tst-tls19.
30378 * elf/tst-tls19.c: New file.
30379 * elf/tst-tls19mod1.c: New file.
30380 * elf/tst-tls19mod2.c: New file.
30381 * elf/tst-tls19mod3.c: New file.
30382 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30383
2fc54d6f
UD
30384 [BZ #12083]
30385 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30386 correctly.
30387
98d76b46
UD
30388 [BZ #12601]
30389 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30390 two-byte sequence errors.
30391 * iconvdata/Makefile (tests): Add bug-iconv8.
30392 * iconvdata/bug-iconv8.c: New file.
30393
da3c19ef
UD
30394 [BZ #12626]
30395 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30396 buf2 definition.
30397
ca408c15
UD
30398 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30399
d6f67f7d
UD
30400 [BZ #12432]
30401 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30402 (dummy_getcfa): New function.
30403 (init): Get _Unwind_GetCFA address, use dummy if not found.
30404 (backtrace_helper): In recursion check, also check whether CFA changes.
30405 (__backtrace): Completely initialize arg.
30406
1af4e298 30407 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30408 storing incomplete byte sequence in state object. Avoid testing for
30409 guaranteed too small input if we know there is enough data available.
1af4e298 30410
da62f81b
AS
304112011-05-11 Andreas Schwab <schwab@redhat.com>
30412
30413 * Makeconfig (+link-pie): Indent.
30414 * Rules (binaries-pie): Define if $(have-fpie) and
30415 $(build-shared).
30416 (binaries-shared): Also filter out $(binaries-pie).
30417 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30418 * nscd/Makefile (others-pie): Add nscd.
30419 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30420 ($(objpfx)nscd): Remove command override.
30421 * login/Makefile (others-pie): Add pt_chown.
30422 ($(objpfx)pt_chown): Remove command override.
30423 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30424 remove command overrides.
30425
fcabc0f8
UD
304262011-05-13 Ulrich Drepper <drepper@gmail.com>
30427
20030ae6
UD
30428 * libio/tst_putwc.c: Fix error messages.
30429
fcabc0f8
UD
30430 [BZ #12724]
30431 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30432 currently writing and seek to current position when not.
30433 * libio/Makefile (tests): Add bug-fclose1.
30434 * libio/bug-fclose1.c: New file.
30435
320a5dc0
PB
304362011-05-12 Ulrich Drepper <drepper@gmail.com>
30437
30438 [BZ #12511]
30439 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30440 don't set DF_1_NODELETE here.
30441 (do_lookup_x): When entering new entry test for copy relocation
30442 and if necessary set DF_1_NODELETE flag.
30443 * elf/tst-unique4.cc: New file.
30444 * elf/tst-unique4.h: New file.
30445 * elf/tst-unique4lib.cc: New file.
30446 * elf/Makefile: Add rules to build and run tst-unique4.
30447 Patch by Piotr Bury <pbury@goahead.com>.
30448
22836f52
UD
304492011-05-11 Ulrich Drepper <drepper@gmail.com>
30450
f574184a
UD
30451 [BZ #12052]
30452 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30453
e1fb097f
UD
30454 [BZ #12625]
30455 * misc/mntent_r.c (addmntent): Flush the stream after the output
30456
22836f52
UD
30457 [BZ #12393]
30458 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30459 (is_trusted_path_normalize): Skip initial colon. Append slash
30460 to empty buffer. Duplicate is_trusted_path code but allow
30461 constructed patch to be prefix.
30462 (is_dst): Allow $ORIGIN followed by /.
30463 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30464 Correct testing of result of is_trusted_path_normalize
30465 (decompose_rpath): Fix warning.
30466
7b3b0b2a
UD
304672011-05-10 Ulrich Drepper <drepper@gmail.com>
30468
30469 [BZ #11257]
30470 * grp/initgroups.c (internal_getgrouplist): When we found the service
30471 list through the initgroups entry in nsswitch.conf do not always
30472 continue on a successful lookup. Don't always use the
eac80ce2 30473 __nss_group_database value if it is set.
7b3b0b2a
UD
30474 * nss/nsswitch.conf (initgroups): Change action for successful db
30475 lookup to continue for compatibility.
30476
2a81eaa5
UD
304772011-05-09 Ulrich Drepper <drepper@gmail.com>
30478
be97a69e
UD
30479 [BZ #11532]
30480 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30481 and CP774 modules.
30482 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30483 and CP774 modules.
30484 * iconvdata/tst-tables.sh: Likewise.
30485 * iconvdata/cp770.c: New file.
30486 * iconvdata/cp771.c: New file.
30487 * iconvdata/cp772.c: New file.
30488 * iconvdata/cp773.c: New file.
30489 * iconvdata/cp774.c: New file.
30490 * iconvdata/testdata/CP770: New file.
30491 * iconvdata/testdata/CP770..UTF8: New file.
30492 * iconvdata/testdata/CP771: New file.
30493 * iconvdata/testdata/CP771..UTF8: New file.
30494 * iconvdata/testdata/CP772: New file.
30495 * iconvdata/testdata/CP772..UTF8: New file.
30496 * iconvdata/testdata/CP773: New file.
30497 * iconvdata/testdata/CP773..UTF8: New file.
30498 * iconvdata/testdata/CP774: New file.
30499 * iconvdata/testdata/CP774..UTF8: New file.
30500
30501 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30502 END CHARMAP line.
30503 * iconvdata/gen-8bit-gap.sh: Likewise.
30504 * iconvdata/gen-8bit.sh: Likewise.
30505
c1e9e399
UD
30506 * locale/iso-639.def: Add ary entry.
30507
24c55fb3 30508 [BZ #11258]
96b4b1b0
UD
30509 * locale/C-translit.h.in: Add U20A1 transliteration.
30510
bdc2f971
KB
30511 [BZ #12178]
30512 * locale/iso-639.def: Add wae entry.
30513 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30514
2952b117
UD
30515 [BZ #12545]
30516 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30517 for n.
30518
2a81eaa5
UD
30519 [BZ #12711]
30520 * locale/C-translit.h.in: Add entry for U20B9.
30521 Patch by pravin.d.s@gmail.com.
30522
28377d1b
UD
305232011-05-08 Ulrich Drepper <drepper@gmail.com>
30524
7fb90fb8
UD
30525 [BZ #12713]
30526 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30527 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30528 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30529 in rtld. Use *stat64.
7fb90fb8 30530 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30531 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30532 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30533 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30534 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30535 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30536 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30537 __fstatat64 macros.
7fb90fb8
UD
30538 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30539 * dirent/rewinddir.c: Add libc_hidden_def.
30540 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30541 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30542
28377d1b
UD
30543 * include/dirent.h (__alloc_dir): Add flags parameter.
30544 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30545 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30546 __alloc_dir.
30547 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30548 from fdopendir if O_CLOEXEC is already set.
30549
66bdbaa4
AM
305502011-03-15 Alan Modra <amodra@gmail.com>
30551
30552 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30553 l_tls_firstbyte_offset non-zero. Save padding offset in
30554 l_tls_firstbyte_offset for later use.
30555 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30556 freeing static tls block.
30557
95721191
JN
305582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30559
30560 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30561 where #ifdef was intended. The intent is to prevent ARG_MAX from
30562 being defined by the kernel headers.
30563
f87dfb1f
UD
305642011-05-07 Ulrich Drepper <drepper@gmail.com>
30565
30566 [BZ #12734]
30567 * resolv/resolv.h: Define RES_NOTLDQUERY.
30568 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30569 no-tld-query and set RES_NOTLDQUERY.
30570 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30571 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30572 modern BIND to search name as TLD unless forbidden.
30573
47c3cd7a
UD
305742011-05-07 Petr Baudis <pasky@suse.cz>
30575 Ulrich Drepper <drepper@gmail.com>
30576
30577 [BZ #12393]
30578 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30579 (is_trusted_path): ...to here.
c1e9ea35 30580 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30581 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30582 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30583
8a35c912
PP
305842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30585
30586 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30587 __BEGIN/__END_DECLS.
30588
acd41f47
UD
305892011-05-06 Ulrich Drepper <drepper@gmail.com>
30590
30591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30592 NSS_STATUS_NOTFOUND if no record was found.
30593
597df647
AS
305942011-05-05 Andreas Schwab <schwab@redhat.com>
30595
30596 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30597 (headers-not-in-tirpc): Remove rpc/netdb.h
30598 * resolv/netdb.h: Revert last change.
30599
b9af1301
PP
306002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30601
30602 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30603 circular dependency between libgcc.a and libc.a.
30604
4e34d5f5
AS
306052011-05-05 Andreas Schwab <schwab@redhat.com>
30606
30607 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30608 * nis/Makefile: Don't install rpcsvc/*.
30609 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30610 instead of <rpc/types.h>.
30611 (MAXHOSTNAMELEN): Define.
30612
00ee369c
AS
306132011-05-03 Andreas Schwab <schwab@redhat.com>
30614
30615 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30616
0b592a30
MB
306172011-04-28 Maciej Babinski <mbabinski@google.com>
30618
30619 [BZ #12714]
30620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30621 gethostbyname4_r when IPv6 results are possible.
30622
6e04cbbe
UD
306232011-05-02 Ulrich Drepper <drepper@gmail.com>
30624
30625 [BZ #12723]
30626 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30627 _PC_PIPE_BUF handling.
30628
e4ecafe0
BH
306292011-04-30 Bruno Haible <bruno@clisp.org>
30630
30631 [BZ #12717]
30632 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30633 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30634 to 'int'.
30635 * inet/getnameinfo.c (getnameinfo): Likewise.
30636
125ee683
UD
306372011-04-29 Ulrich Drepper <drepper@gmail.com>
30638
30639 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30640 to groups setting in database lookup.
30641 * nss/nsswitch.conf: Add initgroups entry.
30642
b722481a
EB
306432011-04-22 Ulrich Drepper <drepper@gmail.com>
30644
30645 [BZ #12685]
30646 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30647 mode string.
30648 Patch by Eric Blake <eblake@redhat.com>.
30649
4df46dbd
L
306502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * sunrpc/Makefile (need-export-routines): Add svc_run.
30653 (routines): Remove svc_run.
30654 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30655 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30656 * sunrpc/svc_run.c (svc_run): Likewise.
30657 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30658
e84142d2
UD
306592011-04-21 Ulrich Drepper <drepper@gmail.com>
30660
30661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30662 problem in reallocation in last patch.
30663
877175d8
UD
306642011-04-20 Ulrich Drepper <drepper@gmail.com>
30665
30666 * sunrpc/Makefile: Move inclusion of Rules.
30667
ab8eed78
UD
306682011-04-19 Ulrich Drepper <drepper@gmail.com>
30669
30670 * nss/nss_files/files-initgroups.c: New file.
30671 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30672 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30673 _nss_files_initgroups_dyn.
30674
e3d8f584
RS
306752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30676
30677 * elf/elf.h (R_ARM_IRELATIVE): Define.
30678
af190f45
UD
306792011-04-19 Ulrich Drepper <drepper@gmail.com>
30680
30681 * po/ru.po: Update from translation team.
30682
53cf59ef
UD
306832011-04-17 Ulrich Drepper <drepper@gmail.com>
30684
30685 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30686 dependencies.
30687
4c559bcd
MF
306882011-02-06 Mike Frysinger <vapier@gentoo.org>
30689
30690 [BZ #12653]
30691 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30692 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30696
4420675c
AS
306972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30698
30699 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30700 differing bytes.
30701 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30704
75ea32ab
UD
307052011-04-17 Ulrich Drepper <drepper@gmail.com>
30706
30707 [BZ #12420]
30708 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30709 storing it.
30710 * stdlib/bug-getcontext.c: New file.
30711 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30712
27390476
AK
307132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30714
30715 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30716 instructions into .machine "z9-109".
30717 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30718 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30719
10442705
AK
307202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30721
30722 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30723 between environment variables and auxiliary vector.
30724
7b57bfe5
UD
307252011-04-16 Ulrich Drepper <drepper@gmail.com>
30726
30727 * Makefile: Add rules to build linkobj/libc.so.
30728 * include/libc-symbols.h: Define libc_hidden_nolink.
30729 * include/rpc/auth.h: Mark functions which are to be hidden.
30730 * include/rpc/auth_des.h: Likewise.
30731 * include/rpc/auth_unix.h: Likewise.
30732 * include/rpc/clnt.h: Likewise.
30733 * include/rpc/des_crypt.h: Likewise.
30734 * include/rpc/key_prot.h: Likewise.
30735 * include/rpc/pmap_clnt.h: Likewise.
30736 * include/rpc/pmap_prot.h: Likewise.
30737 * include/rpc/pmap_rmt.h: Likewise.
30738 * include/rpc/rpc_msg.h: Likewise.
30739 * include/rpc/svc.h: Likewise.
30740 * include/rpc/svc_auth.h: Likewise.
30741 * include/rpc/xdr.h: Likewise.
30742 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30743 * nss/Makefile: Likewise.
30744 * sunrpc/Makefile: Don't install headers. Build library with normal
30745 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30746 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30747 for the compat linking library. Remove use of INTDEF/INTUSE.
30748 * sunrpc/auth_none.c: Likewise.
30749 * sunrpc/auth_unix.c: Likewise.
30750 * sunrpc/authdes_prot.c: Likewise.
30751 * sunrpc/authuxprot.c: Likewise.
30752 * sunrpc/clnt_gen.c: Likewise.
30753 * sunrpc/clnt_perr.c: Likewise.
30754 * sunrpc/clnt_raw.c: Likewise.
30755 * sunrpc/clnt_simp.c: Likewise.
30756 * sunrpc/clnt_tcp.c: Likewise.
30757 * sunrpc/clnt_udp.c: Likewise.
30758 * sunrpc/clnt_unix.c: Likewise.
30759 * sunrpc/des_crypt.c: Likewise.
30760 * sunrpc/des_soft.c: Likewise.
30761 * sunrpc/get_myaddr.c: Likewise.
30762 * sunrpc/key_call.c: Likewise.
30763 * sunrpc/key_prot.c: Likewise.
30764 * sunrpc/netname.c: Likewise.
30765 * sunrpc/pm_getmaps.c: Likewise.
30766 * sunrpc/pm_getport.c: Likewise.
30767 * sunrpc/pmap_clnt.c: Likewise.
30768 * sunrpc/pmap_prot.c: Likewise.
30769 * sunrpc/pmap_prot2.c: Likewise.
30770 * sunrpc/pmap_rmt.c: Likewise.
30771 * sunrpc/publickey.c: Likewise.
30772 * sunrpc/rpc_cmsg.c: Likewise.
30773 * sunrpc/rpc_common.c: Likewise.
30774 * sunrpc/rpc_dtable.c: Likewise.
30775 * sunrpc/rpc_prot.c: Likewise.
30776 * sunrpc/rpc_thread.c: Likewise.
30777 * sunrpc/rtime.c: Likewise.
30778 * sunrpc/svc.c: Likewise.
30779 * sunrpc/svc_auth.c: Likewise.
30780 * sunrpc/svc_authux.c: Likewise.
30781 * sunrpc/svc_raw.c: Likewise.
30782 * sunrpc/svc_run.c: Likewise.
30783 * sunrpc/svc_simple.c: Likewise.
30784 * sunrpc/svc_tcp.c: Likewise.
30785 * sunrpc/svc_udp.c: Likewise.
30786 * sunrpc/svc_unix.c: Likewise.
30787 * sunrpc/svcauth_des.c: Likewise.
30788 * sunrpc/xcrypt.c: Likewise.
30789 * sunrpc/xdr.c: Likewise.
30790 * sunrpc/xdr_array.c: Likewise.
30791 * sunrpc/xdr_float.c: Likewise.
30792 * sunrpc/xdr_intXX_t.c: Likewise.
30793 * sunrpc/xdr_mem.c: Likewise.
30794 * sunrpc/xdr_rec.c: Likewise.
30795 * sunrpc/xdr_ref.c: Likewise.
30796 * sunrpc/xdr_sizeof.c: Likewise.
30797 * sunrpc/xdr_stdio.c: Likewise.
30798
e6c61494
UD
307992011-04-10 Ulrich Drepper <drepper@gmail.com>
30800
30801 [BZ #12650]
30802 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30803 * sysdeps/ia64/dl-tls.h: Likewise.
30804 * sysdeps/powerpc/dl-tls.h: Likewise.
30805 * sysdeps/s390/dl-tls.h: Likewise.
30806 * sysdeps/sh/dl-tls.h: Likewise.
30807 * sysdeps/sparc/dl-tls.h: Likewise.
30808 * sysdeps/x86_64/dl-tls.h: Likewise.
30809 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30810
34fe483e
AS
308112011-03-14 Andreas Schwab <schwab@redhat.com>
30812
30813 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30814 rpath element also skip the following colon.
30815 (expand_dynamic_string_token): Add is_path parameter and pass
30816 down to DL_DST_REQUIRED and _dl_dst_substitute.
30817 (decompose_rpath): Call expand_dynamic_string_token with
30818 non-zero is_path. Ignore empty rpaths.
30819 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30820 with zero is_path.
30821
f12a32e6
AS
308222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30823
30824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30825 Make cancelable.
30826
38a7d692
UD
308272011-04-09 Ulrich Drepper <drepper@gmail.com>
30828
30829 [BZ #12655]
30830 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30831 Patch by Filipe David Manana <fdmanana@apache.org>.
30832
e451d22b
AS
308332011-04-07 Andreas Schwab <schwab@redhat.com>
30834
30835 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30836 Maintain aligned stack.
30837 (CHECK_RSP): Remove unused macro.
30838
dedc7c7b
UD
308392011-04-03 Ulrich Drepper <drepper@gmail.com>
30840
30841 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30843
94521213
UD
308442011-04-02 Ulrich Drepper <drepper@gmail.com>
30845
30846 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30847
8cb700c0 30848 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30849
0354e355
L
308502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30851
30852 [BZ #12518]
30853 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30854 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30855 * sysdeps/x86_64/memmove.c: New file.
30856 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30857 (memcpy): Renamed to ...
30858 (__new_memcpy): This.
30859 (memcpy): Provide GLIBC_2_14 memcpy.
30860 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30861 (memcpy): Provide GLIBC_2_2_5 memcpy.
30862
8593482f
UD
308632011-04-01 Ulrich Drepper <drepper@gmail.com>
30864
30865 [BZ #12631]
30866 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30867
81a5726b
AS
308682011-03-30 Andreas Schwab <schwab@redhat.com>
30869
30870 * misc/syncfs.c: New file.
30871 * misc/Makefile (routines): Add syncfs.
30872 * posix/unistd.h: Declare syncfs.
30873 * sysdeps/unix/syscalls.list: Add syncfs.
30874
00e5419f
AS
308752011-04-01 Andreas Schwab <schwab@redhat.com>
30876
30877 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30878 open_by_handle_at.
30879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30884 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30886
748876bf
UD
308872011-04-01 Ulrich Drepper <drepper@gmail.com>
30888
658e451d
UD
30889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30891 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30893 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30896
748876bf
UD
30897 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30898 sync_file_range.c with -fexceptions.
30899 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30900 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30901 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30902 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30903 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30904 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30906 sync_file_range as cancellation point
30907 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30908 now a wrapper around __call_sync_file_range with cancellation handling.
30909 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30910 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30911 function name to __call_sync_file_range.
30912 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30913 Add call_sync_file_range.
748876bf 30914
6e63d5e1
AS
309152011-04-01 Andreas Schwab <schwab@redhat.com>
30916
30917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30918 bits/timex.h.
6e63d5e1 30919
46998f74
UD
309202011-04-01 Ulrich Drepper <drepper@gmail.com>
30921
4c1423ed
UD
30922 * iconv/iconv.h: Fix typo in comment.
30923 * io/fcntl.h: Likewise.
30924 * libio/stdio.h: Likewise.
30925 * posix/spawn.h: Likewise.
30926 * posix/unistd.h: Likewise.
30927 * stdlib/stdlib.h: Likewise.
30928 * time/time.h: Likewise.
30929 * wcsmbs/wchar.h: Likewise.
30930
158648c0
UD
30931 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30932 open_by_handle): Add.
30933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30934 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30935 Augment a few comments.
30936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30941 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30942 open_by_handle.
30943
46998f74
UD
30944 * io/fcntl.h (AT_EMPTY_PATH): Define.
30945
83fe108b
UD
309462011-03-30 Ulrich Drepper <drepper@gmail.com>
30947
30948 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30949 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30950 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30951 to...
30952 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30953 * Versions.def: Add GLIBC_2.14.
30954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30955 Export.
83fe108b 30956
bb242059
UD
309572011-03-22 Ulrich Drepper <drepper@gmail.com>
30958
30959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30960 round counter.
30961 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30962
c97a1282
L
309632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 [BZ #12597]
30966 * string/test-strncmp.c (do_page_test): New function.
30967 (check2): Likewise.
30968 (test_main): Call check2.
30969 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30970
2a115601
UD
309712011-03-20 Ulrich Drepper <drepper@gmail.com>
30972
30973 [BZ #12587]
30974 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30975 Handle cache information in CPU leaf 4.
30976 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30977
8126d904
UD
309782011-03-18 Ulrich Drepper <drepper@gmail.com>
30979
042c49c6 30980 [BZ #12583]
8126d904
UD
30981 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30982 character representation.
30983 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30984
ccfe366e
RA
309852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30986
30987 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30988 END(__isnan) to END(__isnanf) to match function entry point/label
30989 EALIGN(__isnanf,...).
30990
c6e13027
JJ
309912011-03-10 Jakub Jelinek <jakub@redhat.com>
30992
30993 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30994
33f85a3f
UD
309952011-03-10 Ulrich Drepper <drepper@gmail.com>
30996
028478fa
UD
30997 [BZ #12510]
30998 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30999 copy from the symbol referenced in the relocation to initialize the
31000 used variable.
31001 Patch by Piotr Bury <pbury@goahead.com>.
31002 * elf/Makefile: Add rules to build and tst-unique3.
31003 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31004 * elf/tst-unique3.cc: New file.
31005 * elf/tst-unique3.h: New file.
31006 * elf/tst-unique3lib.cc: New file.
31007 * elf/tst-unique3lib2.cc: New file.
31008
33f85a3f
UD
31009 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31010
03592fc7
MF
310112011-03-10 Mike Frysinger <vapier@gentoo.org>
31012
31013 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31014 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31015 to _start.
03592fc7 31016
6a5ee102
UD
310172011-03-06 Ulrich Drepper <drepper@gmail.com>
31018
31019 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31020 to-be-loaded object along a path to loader is ld.so.
31021
7e4ba49c
HJ
310222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31023 Ulrich Drepper <drepper@gmail.com>
31024
31025 * sysdeps/x86_64/memset.S: After aligning destination, code
31026 branches to different locations depending on the value of
31027 misalignment, when multiarch is enabled. Fix this.
31028
310292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31030
31031 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31032 Set _x86_64_preferred_memory_instruction for AMD processsors.
31033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31034 Set bit_Prefer_SSE_for_memop for AMD processors.
31035
13a804de
UD
310362011-03-04 Ulrich Drepper <drepper@gmail.com>
31037
31038 * libio/fmemopen.c (fmemopen): Optimize a bit.
31039
9d25c392
AS
310402011-03-03 Andreas Schwab <schwab@redhat.com>
31041
31042 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31043
a5543c6a
RM
310442011-03-03 Roland McGrath <roland@redhat.com>
31045
31046 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31047
012d35f7
DM
310482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31049
7e4ba49c 31050 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31051 __bzero_ultra1 instead of __memset_ultra1.
31052
4bff6e01
AS
310532011-02-23 Andreas Schwab <schwab@redhat.com>
31054 Ulrich Drepper <drepper@gmail.com>
31055
31056 [BZ #12509]
31057 * include/link.h (struct link_map): Add l_orig_initfini.
31058 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31059 returning unsuccessfully.
31060 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31061 close of a file loaded at startup, restore the original l_initfini
31062 list.
31063 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31064 list, store the pointer.
31065 * elf/Makefile ($(objpfx)noload-mem): New rule.
31066 (noload-ENV): Define.
31067 (tests): Add $(objpfx)noload-mem.
31068 * elf/noload.c: Include <memcheck.h>.
31069 (main): Call mtrace. Close all opened handles.
31070
f2092faf
AS
310712011-02-17 Andreas Schwab <schwab@redhat.com>
31072
31073 [BZ #12454]
31074 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31075 dependencies are missing.
31076
6c8a2e88
ST
310772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31078
f2092faf 31079 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31080 Hurd needs munmap.
31081 * sysdeps/mach/hurd/ifreq.h: New file.
31082
84a42118
PB
310832011-01-27 Petr Baudis <pasky@suse.cz>
31084 Ulrich Drepper <drepper@gmail.com>
31085
071f805e 31086 [BZ 12445]#
84a42118
PB
31087 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31088 to extend_alloca().
31089 * stdio-common/bug23.c: New file.
31090 * stdio-common/Makefile (tests): Add bug23.
31091
e23fe25b
AS
310922010-09-28 Andreas Schwab <schwab@redhat.com>
31093 Ulrich Drepper <drepper@gmail.com>
31094
31095 [BZ #12489]
31096 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31097 before performing relro protection. At old place add assertion
31098 to make sure nothing changed.
31099
d3f02e10
NS
311002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31101 Glauber de Oliveira Costa <glommer@gmail.com>
31102
31103 * elf/elf.h: Add new ARM TLS relocs.
31104
d55fd7a5
RA
311052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31106
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31108 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31109 cast from r3.
31110 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31111 'tests' variable.
31112 * sysdeps/wordsize-64/tst-writev.c: New file.
31113
2206397e
RA
311142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31115
31116 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31117 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31118 insns in _dl_start to prevent a TOC reference before relocs are
31119 resolved.
31120
e9433893
UD
311212011-02-15 Ulrich Drepper <drepper@gmail.com>
31122
31123 [BZ #12469]
31124 * Makeconfig: Remove RANLIB definition.
31125 * Makerules: Don't use RANLIB.
31126 * aclocal.m4: Remove ranlib test.
31127 * configure.in: No need to check for ranlib.
31128 * elf/rtld-Rules: Don't use RANLIB.
31129
f75286c6
ST
311302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31131
8e31c82d
ST
31132 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31133 protection macro.
31134 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31135 inclusion protection macro.
31136
f75286c6
ST
31137 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31138 SIGRTMIN and SIGRTMAX and print information in that case only when
31139 SIGRTMIN is defined.
31140
c1d0e639
JJ
311412011-02-11 Jakub Jelinek <jakub@redhat.com>
31142
31143 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31144 arginfo fn returning -1.
31145
31146 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31147 and thousands string is zero terminated.
31148
edf9294e
AS
311492011-02-03 Andreas Schwab <schwab@redhat.com>
31150
31151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31152 sysdeps/unix/sysv/linux/bits/socket.h.
31153
2b7e92df
ST
311542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31155
edf9294e
AS
31156 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31157 (__CPU_COUNT): Remove old macros.
31158 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31159 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31160 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31161 (__sched_cpualloc, __sched_cpufree): Add declarations.
31162
a4c7ea7b
UD
311632011-02-05 Ulrich Drepper <drepper@gmail.com>
31164
31165 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31166 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31167 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31168 (readdhstai): Return value of addhstaiX call.
31169 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31170 (addgrbyX): Return value returned by cache_addgr.
31171 (readdgrbyname): Return value returned by addgrbyX.
31172 (readdgrbygid): Likewise.
31173 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31174 (addpwbyX): Return value returned by cache_addpw.
31175 (readdpwbyname): Return value returned by addhstbyX.
31176 (readdpwbyuid): Likewise.
31177 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31178 (addservbyX): Return value returned by cache_addserv.
31179 (readdservbyname): Return value returned by addservbyX:
31180 (readdservbyport): Likewise.
31181 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31182 (addhstbyX): Return value returned by cache_addhst.
31183 (readdhstbyname): Return value returned by addhstbyX.
31184 (readdhstbyaddr): Likewise.
31185 (readdhstbynamev6): Likewise.
31186 (readdhstbyaddrv6): Likewise.
31187 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31188 (readdinitgroups): Return value returned by addinitgroupsX.
31189 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31190 (prune_cache): Keep track of timeout value of re-added entries.
31191 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31192 * nscd/nscd.h: Adjust prototypes of readd* functions.
31193
a0bf67cc
RM
311942011-02-04 Roland McGrath <roland@redhat.com>
31195
31196 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31197 (nis_stats): Likewise.
31198 * nis/nis_modify.c (nis_modify): Likewise.
31199 * nis/nis_remove.c (nis_remove): Likewise.
31200 * nis/nis_add.c (nis_add): Likewise.
31201
31202 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31203
31204 * posix/fnmatch_loop.c: Add some consts.
31205
31206 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31207
435b95eb
L
312082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 [BZ #12460]
31211 * config.make.in (config-cflags-novzeroupper): Define.
31212 * configure.in: Substitute libc_cv_cc_novzeroupper.
31213 * elf/Makefile (AVX-CFLAGS): Define.
31214 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31215 (CFLAGS-tst-auditmod4a.c): Likewise.
31216 (CFLAGS-tst-auditmod4b.c): Likewise.
31217 (CFLAGS-tst-auditmod6b.c): Likewise.
31218 (CFLAGS-tst-auditmod6c.c): Likewise.
31219 (CFLAGS-tst-auditmod7b.c): Likewise.
31220 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31221
8517b15e
UD
312222011-02-02 Ulrich Drepper <drepper@gmail.com>
31223
31224 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31225 function to the callback.
31226 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31227
10a656fe
AS
312282011-02-02 Andreas Schwab <schwab@redhat.com>
31229
31230 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31231 of errno.
31232
968dad0a
UD
312332011-01-19 Ulrich Drepper <drepper@gmail.com>
31234
9f94d2ea 31235 [BZ #11724]
968dad0a
UD
31236 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31237 of constructors.
31238 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31239 of destructors.
31240 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31241
31242 [BZ #11724]
31243 * elf/Makefile: Add rules to build and run new test.
31244 * elf/tst-initorder.c: New file.
31245 * elf/tst-initorder.exp: New file.
31246 * elf/tst-initordera1.c: New file.
31247 * elf/tst-initordera2.c: New file.
31248 * elf/tst-initordera3.c: New file.
31249 * elf/tst-initordera4.c: New file.
31250 * elf/tst-initorderb1.c: New file.
31251 * elf/tst-initorderb2.c: New file.
31252 * elf/tst-order-a1.c: New file.
31253 * elf/tst-order-a2.c: New file.
31254 * elf/tst-order-a3.c: New file.
31255 * elf/tst-order-a4.c: New file.
31256 * elf/tst-order-b1.c: New file.
31257 * elf/tst-order-b2.c: New file.
31258 * elf/tst-order-main.c: New file.
31259 New test case by George Gensure <werkt0@gmail.com>.
31260
86e92359
UD
312612010-10-01 Andreas Schwab <schwab@redhat.com>
31262
31263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31264 decoding ACE if AI_CANONIDN.
31265
5d5732b0
UD
312662011-01-18 Ulrich Drepper <drepper@gmail.com>
31267
31268 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31269
a77e8cbc
UD
312702011-01-17 Ulrich Drepper <drepper@gmail.com>
31271
6392473f
UD
31272 * version.h (RELEASE): Bump for 2.13 release.
31273 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31274
620a0529
UD
31275 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31276
18ba70a5
UD
31277 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31278 MADV_NOHUGEPAGE.
32465c3e
UD
31279 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31280 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31281 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31283 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31285
c0dafcf1
UD
31286 * posix/getconf.c: Update copyright year.
31287 * catgets/gencat.c: Likewise.
31288 * csu/version.c: Likewise.
31289 * debug/catchsegv.sh: Likewise.
31290 * debug/xtrace.sh: Likewise.
31291 * elf/ldconfig.c: Likewise.
31292 * elf/ldd.bash.in: Likewise.
31293 * elf/sprof.c (print_version): Likewise.
31294 * iconv/iconv_prog.c: Likewise.
31295 * iconv/iconvconfig.c: Likewise.
31296 * locale/programs/locale.c: Likewise.
31297 * locale/programs/localedef.c: Likewise.
31298 * malloc/memusage.sh: Likewise.
31299 * malloc/mtrace.pl: Likewise.
31300 * nscd/nscd.c (print_version): Likewise.
31301 * nss/getent.c: Likewise.
31302
a77e8cbc
UD
31303 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31304 PF_CAIF, and PF_ALG.
31305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31306
77e8bddf
AS
313072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31308
1f20b93a
AS
31309 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31310 (modules-names): Use them.
31311 (ifunc-test-modules, ifunc-pie-tests): Define.
31312 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31313 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31314 (test-extras): Likewise.
31315 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31316 $(compile-command.c).
31317 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31318 (all-built-dso): Define.
31319 (check-textrel.out, check-execstack.out): Depend on it.
31320
77e8bddf
AS
31321 * configure.in: Don't override --enable-multi-arch.
31322
bc425b33
UD
313232011-01-15 Ulrich Drepper <drepper@gmail.com>
31324
31325 [BZ #6812]
31326 * nscd/hstcache.c (tryagain): Define.
31327 (cache_addhst): Return tryagain not notfound for temporary errors.
31328 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31329 failed.
31330
794c3ad3
UD
313312011-01-14 Ulrich Drepper <drepper@gmail.com>
31332
70181fdd
UD
31333 [BZ #10563]
31334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31335 to make the syscall.
31336 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31337
794c3ad3
UD
31338 [BZ #12378]
31339 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31340 and fall back to matching as normal character if the string ends before
31341 the matching ']' is found. This is what POSIX requires.
31342 * posix/testfnm.c: Adjust test result.
31343 * posix/globtest.sh: Adjust test result. Add new test.
31344 * posix/tst-fnmatch.input: Likewise.
31345 * posix/tst-fnmatch2.c: Add new test.
31346
68dc9497
AS
313472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31348
31349 * elf/Makefile (check-execstack): Revert last change. Depend on
31350 check-execstack.h.
31351 (check-execstack.h): New target.
31352 (generated): Add check-execstack.h.
31353 * elf/check-execstack.c: Include "check-execstack.h".
31354 (main): Revert last change.
31355 (handle_file): Return zero if GNU_STACK is absent and
31356 DEFAULT_STACK_PERMS doesn't include PF_X.
31357
451f001b
UD
313582011-01-13 Ulrich Drepper <drepper@gmail.com>
31359
cfa28e56
UD
31360 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31361 in child fails because the descriptor is already closed.
8cf8ce17
UD
31362 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31363 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31364 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31365
1086d70d
UD
31366 [BZ #12397]
31367 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31368 syscall.
31369
451f001b
UD
31370 [BZ #10484]
31371 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31372 temporary buffer used to handle multi lookups locally.
a85b5cb4 31373 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31374
08769175
UD
313752011-01-12 Ulrich Drepper <drepper@gmail.com>
31376
31377 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31378 loader is ld.so.
31379
5e49c52e
UD
313802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31381
31382 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31383 alignment for SSE2.
31384
60522a5f
UD
313852011-01-12 Ulrich Drepper <drepper@gmail.com>
31386
31387 [BZ #12394]
31388 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31389 characters. When rounding increased number of integer digits recompute
31390 number of groups.
31391 * stdio-common/tst-grouping.c: New file.
31392 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31393
f257bbd7
UD
313942011-01-09 Ulrich Drepper <drepper@gmail.com>
31395
31396 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31397 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31398
31399 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31400 void.
31401 * bits/select.h: Likewise.
31402
fa9c15cb
UD
314032011-01-08 Ulrich Drepper <drepper@gmail.com>
31404
31405 * po/ja.po: Update from translation team.
31406
16c2895f
DM
314072011-01-04 David S. Miller <davem@sunset.davemloft.net>
31408
31409 [BZ #11155]
31410 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31411 implementation just like for lxstat, fxstatat, et al.
31412
2543fef2
JM
314132010-12-27 Jim Meyering <meyering@redhat.com>
31414
31415 [BZ #12348]
31416 * posix/regexec.c (build_trtable): Return failure indication upon
31417 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31418
98727dbe
UD
314192010-12-25 Ulrich Drepper <drepper@gmail.com>
31420
5bd6dc5c
UD
31421 [BZ #12201]
31422 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31423 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31424 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31426
97983464
UD
31427 [BZ #12207]
31428 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31429
98727dbe
UD
31430 [BZ #12204]
31431 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31432 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31433
4a531bb0
L
314342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31435
31436 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31437 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31438 script has SORT_BY_INIT_PRIORITY.
31439 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31440 NO_CTORS_DTORS_SECTIONS is defined.
31441 * elf/soinit.c: Likewise.
31442 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31443 NO_CTORS_DTORS_SECTIONS is defined.
31444 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31445 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31446 * sysdeps/sh/init-first.c: Likewise.
31447 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31448
07eb4b71
UD
314492010-12-24 Ulrich Drepper <drepper@gmail.com>
31450
31451 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31452 always use the slow path.
31453
30950a5f
RA
314542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31455
31456 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31457 similar rule which adds the sysdep directories to the header search in
31458 order to pick up the correct platform stackinfo.h.
31459 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31460 perform test if it is, otherwise return successfully without testing.
31461 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31462 DEFAULT_STACK_PERMS define in stackinfo.h.
31463 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31464 defined in stackinfo.h.
31465 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31466 DEFAULT_STACK_PERMS defined in stackinfo.h.
31467 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31468 * sysdeps/ia64/stackinfo.h: Likewise.
31469 * sysdeps/s390/stackinfo.h: Likewise.
31470 * sysdeps/sh/stackinfo.h: Likewise.
31471 * sysdeps/sparc/stackinfo.h: Likewise.
31472 * sysdeps/x86_64/stackinfo.h: Likewise.
31473 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31474 PF_X for powerpc64. Retain PF_X for powerpc32.
31475
db753e2c
UD
314762010-12-19 Ulrich Drepper <drepper@gmail.com>
31477
14b697f7
UD
31478 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31479 accurately.
db753e2c
UD
31480 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31481 GETDENTS_64BIT_ALIGNED.
31482
28300719
UD
314832010-12-14 Ulrich Drepper <dreper@gmail.com>
31484
14b697f7 31485 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31486
4f197237
AS
314872010-12-10 Andreas Schwab <schwab@redhat.com>
31488
dbb0472f
AS
31489 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31490 _GNU_SOURCE.
31491
4f197237
AS
31492 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31493 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31494 Remove __restrict.
31495 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31496 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31497
fb88ac72
UD
314982010-12-09 Ulrich Drepper <drepper@gmail.com>
31499
31500 [BZ #11655]
31501 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31502 are initialized.
31503
42acbb92
JJ
315042010-12-09 Jakub Jelinek <jakub@redhat.com>
31505
31506 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31507
c038d98d
UD
315082010-12-03 Ulrich Drepper <drepper@gmail.com>
31509
31510 * po/it.po: Update from translation team.
31511
3a4a2499
L
315122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31515 unused codes.
31516
1e24cf6e
UD
315172010-11-30 Ulrich Drepper <drepper@gmail.com>
31518
31519 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31520
a7690819
AS
315212010-11-24 Andreas Schwab <schwab@redhat.com>
31522
31523 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31524 specially.
31525 (gaih_getanswer_slice): Likewise.
31526
3bf8d1b1
JJ
315272010-10-20 Jakub Jelinek <jakub@redhat.com>
31528
31529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31530
6db52fbb
PB
315312010-05-31 Petr Baudis <pasky@suse.cz>
31532
31533 [BZ #11149]
31534 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31535 silently even in the chroot mode.
31536
eaca7569
UD
315372010-11-22 Ulrich Drepper <drepper@gmail.com>
31538
31539 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31540 last patch a bit. Pretty printing
31541
3056dcdb
UD
315422010-05-31 Petr Baudis <pasky@suse.cz>
31543
31544 [BZ #10085]
31545 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31546 initialization of skip_initgroups_dyn.
31547
cf7c9078
UD
315482010-11-19 Ulrich Drepper <drepper@gmail.com>
31549
31550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31552
a1fb5e3e
UD
315532010-11-16 Ulrich Drepper <drepper@gmail.com>
31554
31555 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31556
3540d66b
AS
315572010-11-11 Andreas Schwab <schwab@redhat.com>
31558
31559 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31560 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31561 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31562 ($(objpfx)tst-fnmatch-mem): New rule.
31563 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31564 * posix/tst-fnmatch.c (main): Call mtrace.
31565
13b69574
L
315662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31567
31568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31569 Support Intel processor model 6 and model 0x2c.
31570
da93d214
LM
315712010-11-10 Luis Machado <luisgpm@br.ibm.com>
31572
31573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31574 signed comparison.
31575
8ca52c6e
L
315762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31577
31578 [BZ #12205]
31579 * string/test-strncasecmp.c (check_result): New function.
31580 (do_one_test): Use it.
31581 (check1): New function.
31582 (test_main): Use it.
31583 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31584 Support strcasecmp and strncasecmp.
31585
69da074d
UD
315862010-11-08 Ulrich Drepper <drepper@gmail.com>
31587
31588 [BZ #12194]
31589 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31590 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31591
ff02d528
L
315922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31593
31594 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31595 IFUNC support.
31596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31597 memset-x86-64.
31598 * sysdeps/x86_64/multiarch/bzero.S: New file.
31599 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31600 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31601 * sysdeps/x86_64/multiarch/memset.S: New file.
31602 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31604 Set bit_Prefer_SSE_for_memop for Intel processors.
31605 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31606 Define.
31607 (index_Prefer_SSE_for_memop): Define.
31608 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31609
344d0b54
LM
316102010-11-04 Luis Machado <luisgpm@br.ibm.com>
31611
31612 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31613 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31614
c0dde15b
UD
316152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 [BZ #12191]
31618 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31619 (__x86_64_raw_data_cache_size_half): Likewise.
31620 (__x86_64_raw_shared_cache_size): Likewise.
31621 (__x86_64_raw_shared_cache_size_half): Likewise.
31622
31623 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31624 (__x86_64_raw_data_cache_size_half): Likewise.
31625 (__x86_64_raw_shared_cache_size): Likewise.
31626 (__x86_64_raw_shared_cache_size_half): Likewise.
31627 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31628 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31629 and __x86_64_raw_shared_cache_size_half. Round
31630 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31631 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31632 to multiple of 256 bytes.
31633
0e516e0e
MS
316342010-11-03 Ulrich Drepper <drepper@gmail.com>
31635
31636 [BZ #12167]
31637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31638 of inacessible symlinks. Verify result of symlink before returning it.
31639 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31640 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31641
0e012e87
ER
316422010-10-28 Erich Ritz <erichritz@gmail.com>
31643
31644 * math/math.h (isinf): Fix typo in comment.
31645
de0ff7bc
UD
316462010-11-01 Ulrich Drepper <drepper@gmail.com>
31647
31648 * po/da.po: Update from translation team.
31649
fa41c84d
UD
316502010-10-26 Ulrich Drepper <drepper@gmail.com>
31651
31652 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31653 is added to the list.
31654
f0967738
AK
316552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31656 Ulrich Drepper <drepper@gmail.com>
31657
31658 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31659 the global list here. Move code to...
31660 (_dl_add_to_namespace_list): ...here. New function.
31661 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31662 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31663 * elf/dl-load.c (lose): Don't remove the element from the list.
31664 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31665 (_dl_map_object): Likewise.
31666
316672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31668
31669 [BZ #12159]
31670 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31671 into all bytes of SSE register.
31672 Patch by Richard Li <richardpku@gmail.com>.
31673
f0967738 316742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31675
31676 [BZ #12140]
31677 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31678 perturbing.
31679
d0b9e94f
MB
316802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31681
31682 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31683 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31687 submachine.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31689
8e9f92e9
AS
316902010-10-22 Andreas Schwab <schwab@redhat.com>
31691
31692 * include/dlfcn.h (__RTLD_SECURE): Define.
31693 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31694 mode & __RTLD_SECURE instead.
31695 (open_path): Rename preloaded parameter to secure.
31696 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31697 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31698 * elf/dl-deps.c (openaux): Likewise.
31699 * elf/rtld.c (struct map_args): Remove is_preloaded.
31700 (map_doit): Don't use it.
31701 (dl_main): Likewise.
31702 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31703 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31704
bc96fbda
AS
317052010-09-09 Andreas Schwab <schwab@redhat.com>
31706
31707 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31708 (sysd-rules-targets): Remove duplicates.
31709 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31710 rtld-%.$o dependency.
31711
22cd1c9b
AS
317122010-10-18 Andreas Schwab <schwab@redhat.com>
31713
31714 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31715 _dl_map_object do it.
31716
18edac48
UD
317172010-10-19 Ulrich Drepper <drepper@gmail.com>
31718
31719 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31720 fast fma builtins, define the macros in the C99 standard.
31721 (FP_FAST_FMAF): Likewise.
31722 (FP_FAST_FMAL): Likewise.
31723 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31724
31725 * bits/mathdef.h: Update copyright year.
31726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31727
d2050124
MM
317282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31729
31730 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31731 builtins, define the macros in the C99 standard.
31732 (FP_FAST_FMAF): Likewise.
31733 (FP_FAST_FMAL): Likewise.
31734 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31735 multiply/add.
31736 (FP_FAST_FMAF): Likewise.
31737
475facd1
JJ
317382010-10-15 Jakub Jelinek <jakub@redhat.com>
31739
31740 [BZ #3268]
31741 * math/libm-test.inc (fma_test): Some new testcases.
31742 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31743 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31744 y and infinite z. Do multiplication by C already in long double.
31745 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31747 y and infinite z. Do bitwise or of inexact bit into u.d.
31748 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31749 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31750 * sysdeps/i386/fpu/s_fma.S: Removed.
31751 * sysdeps/i386/fpu/s_fmal.S: Removed.
31752
7c08a05c
JJ
317532010-10-16 Jakub Jelinek <jakub@redhat.com>
31754
31755 [BZ #3268]
31756 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31758 computation is not scheduled after fetestexcept. Fix value
31759 of minimum denormal long double.
31760
f3f7372d
JJ
317612010-10-14 Jakub Jelinek <jakub@redhat.com>
31762
31763 [BZ #3268]
31764 * math/libm-test.inc (fma_test): Add some more tests.
31765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31766 correctly.
31767
14d43591
AS
317682010-10-15 Andreas Schwab <schwab@redhat.com>
31769
31770 * scripts/data/localplt-s390-linux-gnu.data: New file.
31771 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31772
5e908464
JJ
317732010-10-13 Jakub Jelinek <jakub@redhat.com>
31774
31775 [BZ #3268]
31776 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31777 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31778 instead of dbl-64.
31779 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31780 inlines.
31781 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31783 if one of x and y is very large and the other is subnormal.
31784 * sysdeps/s390/fpu/s_fmaf.c: New file.
31785 * sysdeps/s390/fpu/s_fma.c: New file.
31786 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31787 * sysdeps/powerpc/fpu/s_fma.S: New file.
31788 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31789 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31790 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31791
317922010-10-12 Jakub Jelinek <jakub@redhat.com>
31793
31794 [BZ #3268]
31795 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31796 fma tests.
31797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31798 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31799 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31800 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31801 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31802 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31803 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31804
b833d51f
UD
318052010-10-12 Ulrich Drepper <drepper@redhat.com>
31806
31807 [BZ #12078]
31808 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31809 * posix/bug-regex31.input: Add test case.
31810
1751705d
UD
318112010-10-11 Ulrich Drepper <drepper@gmail.com>
31812
e9b9cbf5
UD
31813 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31814 * posix/bug-regex31.input: New file.
31815
31816 [BZ #12078]
31817 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31818 (parse_sub_exp): Fix last change, use postorder.
31819
ef06edbe
UD
31820 * posix/bug-regex31.c: New file.
31821 * posix/Makefile: Add rules to build and run bug-regex31.
31822
a129c80d
UD
31823 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31824
31825 [BZ #12078]
31826 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31827
b76b818e
UD
31828 [BZ #12108]
31829 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31830 to have entries in sys_siglist.
31831
1751705d
UD
31832 [BZ #12093]
31833 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31834 be NULL.
31835
9ff8d36f
JJ
318362010-10-07 Jakub Jelinek <jakub@redhat.com>
31837
31838 [BZ #3268]
31839 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31840 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31841 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31842 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31843 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31844 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31845 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31846 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31847 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31848 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31849 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31850 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31851 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31852 * math/ftestexcept.c (fetestexcept): Likewise.
31853 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31854 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31855 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31856 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31857 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31858 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31859 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31860
af325969
UD
318612010-10-11 Ulrich Drepper <drepper@gmail.com>
31862
c579b202 31863 [BZ #12107]
af325969
UD
31864 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31865 newline.
31866
67a67b95
UD
318672010-10-06 Ulrich Drepper <drepper@gmail.com>
31868
31869 * string/bug-strstr1.c: New file.
31870 * string/Makefile: Add rules to build and run bug-strstr1.
31871
5fb308bc
EB
318722010-10-05 Eric Blake <eblake@redhat.com>
31873
31874 [BZ #12092]
31875 * string/str-two-way.h (two_way_long_needle): Always clear memory
31876 when skipping input due to the shift table.
31877
45db99c7
UD
318782010-10-03 Ulrich Drepper <drepper@gmail.com>
31879
3b111893
UD
31880 [BZ #12005]
31881 * malloc/mcheck.c: Handle large requests.
31882
45db99c7
UD
31883 [BZ #12077]
31884 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31885 for strncmp and strncasecmp.
31886 * string/stratcliff.c: Add tests for strcmp and strncmp.
31887 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31888
cf7a1eb8
NI
318892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31890
31891 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31892 __set_fpscr.
31893
6484ba5e
AJ
318942010-09-30 Andreas Jaeger <aj@suse.de>
31895
31896 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31897 (CGROUP_SUPER_MAGIC): Define.
31898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31899 Handle btrfs and cgroup file systems.
31900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31901 Likewise.
31902
91c42559
LM
319032010-09-27 Luis Machado <luisgpm@br.ibm.com>
31904
31905 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31906 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31907
87a97932
AK
319082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31909
31910 [BZ #12067]
31911 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31912 trying to locate the ELF header.
31913
c21cc9bc
AS
319142010-09-27 Andreas Schwab <schwab@redhat.com>
31915
31916 [BZ #11611]
31917 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31918 Mask out sign-bit copies when constructing f_fsid.
31919
315970f6
PB
319202010-09-24 Petr Baudis <pasky@suse.cz>
31921
31922 * debug/stack_chk_fail_local.c: Add missing licence exception.
31923 * debug/warning-nop.c: Likewise.
31924
1ac7a2c7
JM
319252010-09-15 Joseph Myers <joseph@codesourcery.com>
31926
31927 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31928 implementing getdents64 using getdents syscall, set d_type if
31929 __ASSUME_GETDENTS32_D_TYPE.
31930
56801c50
AS
319312010-09-16 Andreas Schwab <schwab@redhat.com>
31932
31933 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31934 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31935
dda51327
UD
319362010-09-21 Ulrich Drepper <drepper@redhat.com>
31937
31938 [BZ #12037]
31939 * posix/unistd.h: Undo change of feature selection for ftruncate from
31940 2010-01-11.
31941
8ffcee4a
UD
319422010-09-20 Ulrich Drepper <drepper@redhat.com>
31943
a545ecd9 31944 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31945 detection.
31946
e24f0a8b
AS
319472010-09-20 Andreas Schwab <schwab@redhat.com>
31948
31949 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31950 fanotify_mark.
31951 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31952
7291c56f
AS
319532010-09-14 Andreas Schwab <schwab@redhat.com>
31954
31955 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31956 variables after CHECK_SP call.
31957 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31958
bc5fb037
AS
319592010-09-13 Andreas Schwab <schwab@redhat.com>
31960 Ulrich Drepper <drepper@redhat.com>
31961
31962 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31963 re-relocationg ld.so.
31964 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31965 _dl_init_paths call.
31966 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31967 here anymore.
31968
e66e7419
UD
319692010-09-14 Ulrich Drepper <drepper@redhat.com>
31970
31971 * resolv/res_init.c (__res_vinit): Count the default server we added.
31972
c044aa75
CLT
319732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31974 Ulrich Drepper <drepper@redhat.com>
31975
31976 [BZ #11968]
31977 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31978 (____longjmp_chk): Use %ebx for saving value across system call.
31979 Add unwind info.
31980
32cf4069
AS
319812010-09-06 Andreas Schwab <schwab@redhat.com>
31982
31983 * manual/Makefile: Don't mix pattern rules with normal rules.
31984
817328ee
AS
319852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31986
31987 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31988 operation.
31989 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31990 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31991 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31992 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31994 Likewise.
31995
29fddf61
UD
319962010-09-04 Ulrich Drepper <drepper@redhat.com>
31997
31998 [BZ #11979]
31999 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32000 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32001
0959ffc9
UD
320022010-09-02 Ulrich Drepper <drepper@redhat.com>
32003
32004 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32005 * sysdeps/x86_64/addmul_1.S: Likewise.
32006 * sysdeps/x86_64/lshift.S: Likewise.
32007 * sysdeps/x86_64/mul_1.S: Likewise.
32008 * sysdeps/x86_64/rshift.S: Likewise.
32009 * sysdeps/x86_64/sub_n.S: Likewise.
32010 * sysdeps/x86_64/submul_1.S: Likewise.
32011
ece29840
ST
320122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32013
0959ffc9
UD
32014 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32015 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32016 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32017 * bits/sched.h [__need_schedparam]
ece29840 32018 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32019 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32020 (__defined_schedparam): Define to 1.
ece29840
ST
32021 (__sched_param): New structure, identical to sched_param.
32022 (__need_schedparam): Undefine.
32023
e53a31fe
MF
320242010-08-31 Mike Frysinger <vapier@gentoo.org>
32025
fdc0c10d
MF
32026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32027 (epoll_create1): Declare.
32028
e53a31fe
MF
32029 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32030
a726d796
AS
320312010-08-31 Andreas Schwab <schwab@redhat.com>
32032
32033 [BZ #7066]
32034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32035 shifting retval into place.
32036
2f3e3dc7
UD
320372010-09-01 Ulrich Drepper <drepper@redhat.com>
32038
f2933da9
UD
32039 * nis/rpcsvc/nis.h: Update copyright notice.
32040 * nis/rpcsvc/nis.x: Likewise.
32041 * nis/rpcsvc/nis_callback.h: Likewise.
32042 * nis/rpcsvc/nis_callback.x: Likewise.
32043 * nis/rpcsvc/nis_object.x: Likewise.
32044 * nis/rpcsvc/nis_tags.h: Likewise.
32045 * nis/rpcsvc/yp.h: Likewise.
32046 * nis/rpcsvc/yp.x: Likewise.
32047 * nis/rpcsvc/ypupd.h: Likewise.
32048 * nis/yp_xdr.c: Likewise.
32049 * nis/ypupdate_xdr.c: Likewise.
32050
2f3e3dc7
UD
32051 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32052 mainly the body of pmap_getport. Add parameters to specify timeouts.
32053 (pmap_getport): Use __libc_rpc_getport.
32054 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32055 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32056 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32057
f3dcc2f9
AS
320582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32059
32060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32061 fanotify_mark.
32062
6d34eb5b
RM
320632010-08-27 Roland McGrath <roland@redhat.com>
32064
32065 * sysdeps/i386/i686/multiarch/Makefile
32066 (CFLAGS-varshift.c): New variable.
32067
9ea3de11
UD
320682010-08-27 Ulrich Drepper <drepper@redhat.com>
32069
c96d23fc
UD
32070 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32071 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32072
9ea3de11
UD
32073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32074
32075 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32076
623aac7f
L
320772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32078
32079 * sysdeps/x86_64/strlen.S: Unroll the loop.
32080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32081 strlen-sse2 strlen-sse2-bsf.
32082 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32083 __strlen_no_bsf if bit_Slow_BSF is set.
32084 (__strlen_sse42): Removed.
32085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32086 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32087
8b2b7715
RM
320882010-08-25 Roland McGrath <roland@redhat.com>
32089
32090 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32091 * sysdeps/x86_64/multiarch/varshift.c: New file.
32092 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32093 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32094 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32095 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32096
e73015f2
L
320972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32100 strlen-sse2 strlen-sse2-bsf.
32101 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32102 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32103 (__strlen_sse2): Removed.
32104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32107 bit_Slow_BSF for Atom.
32108 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32109 (index_Slow_BSF): Define.
32110 (HAS_SLOW_BSF): Define.
32111
df24a73e
UD
321122010-08-25 Ulrich Drepper <drepper@redhat.com>
32113
32114 [BZ #10851]
32115 * resolv/res_init.c (__res_vinit): When no server address at all
32116 is given default to loopback.
32117
f2ac4868
RM
321182010-08-24 Roland McGrath <roland@redhat.com>
32119
09055553
RM
32120 * configure.in: Remove config-name.h generation.
32121 * configure: Regenerated.
32122 * config-name.in: File removed.
32123 * scripts/config-uname.sh: New file.
32124 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32125 ($(objdir)config-name.h): New target.
32126
f2ac4868
RM
32127 * sunrpc/rpc_parse.h: Avoid nested comment.
32128
73f27d5e
RH
321292010-08-24 Richard Henderson <rth@redhat.com>
32130 Ulrich Drepper <drepper@redhat.com>
32131 H.J. Lu <hongjiu.lu@intel.com>
32132
32133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32135 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32136 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32137 _mm_alignr_epi8 with _mm_loadu_si128.
32138 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32139 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32140 (__m128i_shift_right): Removed.
32141 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32142 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32143 * sysdeps/x86_64/multiarch/varshift.h: New file.
32144 * sysdeps/x86_64/multiarch/varshift.S: New file.
32145
84b9230c
MF
321462010-08-21 Mike Frysinger <vapier@gentoo.org>
32147
32148 * configure.in: Move assembler checks to before sysdep dir checking.
32149
9bbd0ddc
PB
321502010-08-20 Petr Baudis <pasky@suse.cz>
32151
32152 * LICENSES: Sync the sunrpc license.
32153
9da4bb31
UD
321542010-08-19 Ulrich Drepper <drepper@redhat.com>
32155
a7ab6ec8
UD
32156 * sunrpc/auth_des.c: Update copyright notice once again.
32157 * sunrpc/auth_none.c: Likewise.
32158 * sunrpc/auth_unix.c: Likewise.
32159 * sunrpc/authdes_prot.c: Likewise.
32160 * sunrpc/authuxprot.c: Likewise.
32161 * sunrpc/bindrsvprt.c: Likewise.
32162 * sunrpc/clnt_gen.c: Likewise.
32163 * sunrpc/clnt_perr.c: Likewise.
32164 * sunrpc/clnt_raw.c: Likewise.
32165 * sunrpc/clnt_simp.c: Likewise.
32166 * sunrpc/clnt_tcp.c: Likewise.
32167 * sunrpc/clnt_udp.c: Likewise.
32168 * sunrpc/clnt_unix.c: Likewise.
32169 * sunrpc/des_crypt.c: Likewise.
32170 * sunrpc/des_soft.c: Likewise.
32171 * sunrpc/get_myaddr.c: Likewise.
32172 * sunrpc/getrpcport.c: Likewise.
32173 * sunrpc/key_call.c: Likewise.
32174 * sunrpc/key_prot.c: Likewise.
32175 * sunrpc/openchild.c: Likewise.
32176 * sunrpc/pm_getmaps.c: Likewise.
32177 * sunrpc/pm_getport.c: Likewise.
32178 * sunrpc/pmap_clnt.c: Likewise.
32179 * sunrpc/pmap_prot.c: Likewise.
32180 * sunrpc/pmap_prot2.c: Likewise.
32181 * sunrpc/pmap_rmt.c: Likewise.
32182 * sunrpc/rpc/auth.h: Likewise.
32183 * sunrpc/rpc/auth_unix.h: Likewise.
32184 * sunrpc/rpc/clnt.h: Likewise.
32185 * sunrpc/rpc/des_crypt.h: Likewise.
32186 * sunrpc/rpc/key_prot.h: Likewise.
32187 * sunrpc/rpc/netdb.h: Likewise.
32188 * sunrpc/rpc/pmap_clnt.h: Likewise.
32189 * sunrpc/rpc/pmap_prot.h: Likewise.
32190 * sunrpc/rpc/pmap_rmt.h: Likewise.
32191 * sunrpc/rpc/rpc.h: Likewise.
32192 * sunrpc/rpc/rpc_des.h: Likewise.
32193 * sunrpc/rpc/rpc_msg.h: Likewise.
32194 * sunrpc/rpc/svc.h: Likewise.
32195 * sunrpc/rpc/svc_auth.h: Likewise.
32196 * sunrpc/rpc/types.h: Likewise.
32197 * sunrpc/rpc/xdr.h: Likewise.
32198 * sunrpc/rpc_clntout.c: Likewise.
32199 * sunrpc/rpc_cmsg.c: Likewise.
32200 * sunrpc/rpc_common.c: Likewise.
32201 * sunrpc/rpc_cout.c: Likewise.
32202 * sunrpc/rpc_dtable.c: Likewise.
32203 * sunrpc/rpc_hout.c: Likewise.
32204 * sunrpc/rpc_main.c: Likewise.
32205 * sunrpc/rpc_parse.c: Likewise.
32206 * sunrpc/rpc_parse.h: Likewise.
32207 * sunrpc/rpc_prot.c: Likewise.
32208 * sunrpc/rpc_sample.c: Likewise.
32209 * sunrpc/rpc_scan.c: Likewise.
32210 * sunrpc/rpc_scan.h: Likewise.
32211 * sunrpc/rpc_svcout.c: Likewise.
32212 * sunrpc/rpc_tblout.c: Likewise.
32213 * sunrpc/rpc_util.c: Likewise.
32214 * sunrpc/rpc_util.h: Likewise.
32215 * sunrpc/rpcinfo.c: Likewise.
32216 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32217 * sunrpc/rpcsvc/key_prot.x: Likewise.
32218 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32219 * sunrpc/rpcsvc/mount.x: Likewise.
32220 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32221 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32222 * sunrpc/rpcsvc/rex.x: Likewise.
32223 * sunrpc/rpcsvc/rstat.x: Likewise.
32224 * sunrpc/rpcsvc/rusers.x: Likewise.
32225 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32226 * sunrpc/rpcsvc/spray.x: Likewise.
32227 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32228 * sunrpc/rtime.c: Likewise.
32229 * sunrpc/svc.c: Likewise.
32230 * sunrpc/svc_auth.c: Likewise.
32231 * sunrpc/svc_authux.c: Likewise.
32232 * sunrpc/svc_raw.c: Likewise.
32233 * sunrpc/svc_run.c: Likewise.
32234 * sunrpc/svc_simple.c: Likewise.
32235 * sunrpc/svc_tcp.c: Likewise.
32236 * sunrpc/svc_udp.c: Likewise.
32237 * sunrpc/svc_unix.c: Likewise.
32238 * sunrpc/svcauth_des.c: Likewise.
32239 * sunrpc/xcrypt.c: Likewise.
32240 * sunrpc/xdr.c: Likewise.
32241 * sunrpc/xdr_array.c: Likewise.
32242 * sunrpc/xdr_float.c: Likewise.
32243 * sunrpc/xdr_mem.c: Likewise.
32244 * sunrpc/xdr_rec.c: Likewise.
32245 * sunrpc/xdr_ref.c: Likewise.
32246 * sunrpc/xdr_sizeof.c: Likewise.
32247 * sunrpc/xdr_stdio.c: Likewise.
32248
9da4bb31
UD
32249 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32250 handling.
32251
bdaa77bc
AS
322522010-08-19 Andreas Schwab <schwab@redhat.com>
32253
32254 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32255
fe2f79db
LM
322562010-08-19 Luis Machado <luisgpm@br.ibm.com>
32257
32258 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32261 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32262 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32263 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32264 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32265 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32267 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32268 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32269 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32270 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32271 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32272
b9b42ee0
AB
322732010-07-26 Anton Blanchard <anton@samba.org>
32274
32275 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32276 * malloc/arena.c (heap_trim): Likewise.
32277
1c06ba31
UD
322782010-08-16 Ulrich Drepper <drepper@redhat.com>
32279
32280 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32281 here. Not...
32282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32283 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32284
f8392f40
L
322852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32286
32287 * sysdeps/i386/elf/Makefile: New file.
32288
3162f12e
AS
322892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32290
32291 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32292 from fanotify_init.
32293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32295
28c90b2c
UD
322962010-08-15 Ulrich Drepper <drepper@redhat.com>
32297
32298 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32299 of strncasecmp_l.
1feccb6c 32300 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32301
ca6bb004
UD
323022010-08-14 Ulrich Drepper <drepper@redhat.com>
32303
e9f82e0d
UD
32304 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32305 strncase_l-nonascii.
32306 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32307 Add strncase_l-ssse3.
32308 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32309 * sysdeps/x86_64/strcmp.S: Likewise.
32310 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32311 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32312 * sysdeps/x86_64/strncase.S: New file.
32313 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32314 * sysdeps/x86_64/strncase_l.S: New file.
32315 * string/Makefile (strop-tests): Add strncasecmp.
32316 * string/test-strncasecmp.c: New file.
32317
32318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32319 warning.
32320
ca6bb004
UD
32321 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32323
052fa7b3
AS
323242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32325
32326 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32327
962dba78
UD
323282010-08-12 Ulrich Drepper <drepper@redhat.com>
32329
32330 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32331 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32333
bebff237
AM
323342010-05-01 Alan Modra <amodra@gmail.com>
32335
32336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32337 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32338 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32339 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32340 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32341 tidying. Don't tail-call __sigjmp_save for static lib.
32342 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32343 save location.
32344 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32345 (CALL_MCOUNT): Add eh info, and nop after bl.
32346 (TAIL_CALL_SYSCALL_ERROR): New macro.
32347 (PSEUDO_RET): Use it.
32348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32349 Correct save location of integer regs and cr.
32350 (_dl_profile_resolve): Correct cr save location. Delete nops
32351 after bl when SHARED. Reduce cfi size a little by better
32352 placement of cfi directives.
32353 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32354 make a stack frame. Instead use parm save area as a temp.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32356 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32358 Don't make a stack frame for parent, use parm save area.
32359 Increase child stack frame to 112 bytes. Don't save unused reg,
32360 and adjust reg usage. Set up cfi on error recovery and
32361 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32363 (__makecontext): Add dummy nop after jump to exit.
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32365 Use correct parm save area and cr save, reduce stack frame.
32366 Correct cfi for possible PSEUDO_RET frame setup.
32367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32368 Branch to local label emitted by PSEUDO_RET rather than
32369 __syscall_error.
32370
02637374
AS
323712010-08-12 Andreas Schwab <schwab@redhat.com>
32372
32373 [BZ #11904]
32374 * locale/programs/locale.c (print_assignment): New function.
32375 (show_locale_vars): Use it.
32376
c3e2f19b
UD
323772010-08-11 Ulrich Drepper <drepper@redhat.com>
32378
3cdaa6ad
UD
32379 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32380 field.
32381 (struct statfs64): Likewise.
32382 (_STATFS_F_FLAGS): Define.
32383 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32385 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32386 (ST_VALID): Define locally.
32387 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32388 __statvfs_getflags, use the provided value.
32389 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32390 __ASSUME_STATFS_F_FLAGS.
32391
754f7da3
UD
32392 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32393
10b3bedc
UD
32394 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32395 Add sys/fanotify.h.
32396 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32397 fanotify_mask for GLIBC_2.13.
32398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32399 fanotify_init and fanotify_mark.
32400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32401 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32402
c08fb0d7
UD
32403 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32404 Add prlimit.
32405 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32406 prlimit64 for GLIBC_2.13.
32407 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32408 prlimit64.
32409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32410 syscall.
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32412 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32413 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32416 add prlimit alias.
32417 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32418
15bac72b
UD
32419 [BZ #11903]
32420 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32421 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32422
c3e2f19b
UD
32423 * nss/Makefile: Add rules to build and run tst-nss-test1.
32424 * shlib-versions: Add entry for libnss_test1.
32425 * nss/nss_test1.c: New file.
32426 * nss/tst-nss-test1.c: New file.
32427
32428 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32429 (__nss_configure_lookup): Set appropriate entry in
32430 __nss_configure_lookup to true.
32431 * nss/nsswitch.h: Define enum with indeces of databases in
32432 databases and __nss_database_custom arrays. Declare
32433 __nss_database_custom.
32434 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32435 to avoid using nscd when custom rules are installed.
32436 * nss/getXXbyYY_r.c: Likewise.
32437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32438
32439 * nss/nss_files/files-parse.c: Whitespace fixes.
32440
f15ce4d8
UD
324412010-08-09 Ulrich Drepper <drepper@redhat.com>
32442
32443 [BZ #11883]
32444 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32445 * posix/fnmatch_loop.c: Likewise.
32446
d22e4cc9
AK
324472010-07-17 Andi Kleen <ak@linux.intel.com>
32448
32449 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32450 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32451 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32452 * Versions.def [GLIBC_2.13]: Add.
32453
805bc17d
UD
324542010-08-06 Ulrich Drepper <drepper@redhat.com>
32455
32456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32457 Also fail if tpwd after pwuid call is NULL.
32458
5a42321d
ST
324592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32460
32461 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32462 when converting to ms.
32463
fd3ebeda
ST
324642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32465
32466 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32467 EOPNOTSUPP errors with ENOTTY.
32468 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32469 EOPNOTSUPP errors with ENOTTY.
32470
73507d3a
UD
324712010-07-31 Ulrich Drepper <drepper@redhat.com>
32472
32473 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32474 Add strcasecmp_l-ssse3.
32475 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32476 strcasecmp.
32477 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32478 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32479 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32480
fe36dd02
UD
324812010-07-30 Ulrich Drepper <drepper@redhat.com>
32482
66f6765a
UD
32483 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32484
42e08a54
UD
32485 * string/Makefile (strop-tests): Add strcasecmp.
32486 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32487 strcasecmp_l-nonascii.
32488 (gen-as-const-headers): Add locale-defines.sym.
32489 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32490 * sysdeps/x86_64/strcasecmp.S: New file.
32491 * sysdeps/x86_64/strcasecmp_l.S: New file.
32492 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32493 * sysdeps/x86_64/locale-defines.sym: New file.
32494 * string/test-strcasecmp.c: New file.
32495
fe36dd02
UD
32496 * string/test-strcasestr.c: Test both ends of the range of characters.
32497 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32498
48cbc0d6
RM
324992010-07-29 Roland McGrath <roland@redhat.com>
32500
76e6d6bc 32501 [BZ #11856]
48cbc0d6
RM
32502 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32503
880113d9
UD
325042010-07-27 Ulrich Drepper <drepper@redhat.com>
32505
32506 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32507 for ld.so.
32508
deb9cabb
AS
325092010-07-27 Andreas Schwab <schwab@redhat.com>
32510
32511 * manual/memory.texi (Malloc Tunable Parameters): Document
32512 M_PERTURB.
32513
1c7570ff
RM
325142010-07-26 Roland McGrath <roland@redhat.com>
32515
32516 [BZ #11840]
32517 * configure.in (-fgnu89-inline check): Set and substitute
32518 gnu89_inline, not libc_cv_gnu89_inline.
32519 * configure: Regenerated.
32520 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32521
24fb0f88
UD
325222010-07-26 Ulrich Drepper <drepper@redhat.com>
32523
32524 * string/test-strnlen.c: New file.
32525 * string/Makefile (strop-tests): Add strnlen.
32526 * string/tester.c (test_strnlen): Add a few more test cases.
32527 * string/tst-strlen.c: Better error reporting.
32528
32529 * sysdeps/x86_64/strnlen.S: New file.
32530
8e96b93a
UD
325312010-07-24 Ulrich Drepper <drepper@redhat.com>
32532
32533 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32534 lower-latency instructions.
32535
dbc676d4
UD
325362010-07-23 Ulrich Drepper <drepper@redhat.com>
32537
32538 * string/test-strcasestr.c: New file.
32539 * string/test-strstr.c: New file.
32540 * string/Makefile (strop-tests): Add strstr and strcasestr.
32541 * string/str-two-way.h: Don't undefine MAX.
32542 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32543
f6a31e0e
AS
325442010-07-21 Andreas Schwab <schwab@redhat.com>
32545
32546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32547 strcasestr-nonascii.
32548 (CFLAGS-strcasestr-nonascii.c): Define.
32549 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32550 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32551 Remove unused attribute.
32552
5dbc3b6c
RM
325532010-07-20 Roland McGrath <roland@redhat.com>
32554
32555 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32556 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32557 ld.so.cache was broken. With it, there is no way to disable dsocaps
32558 like LD_HWCAP_MASK can disable hwcaps.
32559
23d101d8
EPM
325602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32561
32562 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32563
cc9f2e47
UD
325642010-07-16 Ulrich Drepper <drepper@redhat.com>
32565
32566 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32567 call in strcasestr.
32568 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32569 __strcasestr_sse42_nonascii.
32570 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32571 strcasestr-nonascii.c.
32572 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32573
77c1b069
LM
325742010-06-15 Luis Machado <luisgpm@br.ibm.com>
32575
32576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32578 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32580
440566c3
UD
325812010-07-09 Ulrich Drepper <drepper@redhat.com>
32582
32583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32584 fcntl.
32585
5be9d05d
AS
325862010-07-06 Andreas Schwab <schwab@redhat.com>
32587
c30b7ee2 32588 [BZ #11577]
5be9d05d
AS
32589 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32590 dl_signal_cerror.
32591
8a492a67
UD
325922010-07-06 Ulrich Drepper <drepper@redhat.com>
32593
32594 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32595 _PC_PIPE_BUF using F_GETPIPE_SZ.
32596
713df3d5
RM
325972010-07-05 Roland McGrath <roland@redhat.com>
32598
32599 * manual/arith.texi (Rounding Functions): Fix rint description
32600 implicit in round description.
32601
702e8f14
UD
326022010-07-02 Ulrich Drepper <drepper@redhat.com>
32603
32604 * elf/Makefile: Fix linking for a few tests to make recent linker
32605 happy.
32606
52ed8be9
AS
326072010-06-30 Andreas Schwab <schwab@redhat.com>
32608
32609 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32610 $(common-objpfx)libc_nonshared.a.
32611
f47c9a11
LM
326122010-06-21 Luis Machado <luisgpm@br.ibm.com>
32613
32614 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32615 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32616 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32617 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32618 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32619 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32620 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32621 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32636 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32637 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32638 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32639 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32640 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32641 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32642 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32643 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32644 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32645 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32646 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32647 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32662
6fb8cbcb
L
326632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32666 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32667 * string/memmove.c (memmove): Renamed to ...
32668 (MEMMOVE): ...this. Default to memmove.
32669 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32670 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32671 (END_CHK): Define.
32672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32673 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32674 mempcpy-ssse3-back memmove-ssse3-back.
32675 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32678 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32679 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32680 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32681 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32682 * sysdeps/x86_64/multiarch/memmove.c: New file.
32683 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32684 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32685 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32686 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32687 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32688 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32689 Define.
32690 (index_Fast_Copy_Backward): Define.
32691 (HAS_ARCH_FEATURE): Define.
32692 (HAS_FAST_REP_STRING): Define.
32693 (HAS_FAST_COPY_BACKWARD): Define.
32694
4e733bac 326952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32696
32697 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32698 Restore proper fallback handling.
32699
63c4ed22
UD
327002010-06-19 Ulrich Drepper <drepper@redhat.com>
32701
ac2b484c
UD
32702 [BZ #11701]
32703 * posix/group_member.c (__group_member): Correct checking loop.
32704
63c4ed22
UD
32705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32706 OOM in getpwuid_r correctly. Return error number when the caller
32707 should return, otherwise -1.
32708 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32709 call returning > 0 value.
32710 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32711
765ade4b
AS
327122010-06-07 Andreas Schwab <schwab@redhat.com>
32713
32714 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32715 libc_nonshared.a from targets in modules-names.
32716
80da2e09
KS
327172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32718
32719 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32720 requires it.
32721
158db122
LM
327222010-06-10 Luis Machado <luisgpm@br.ibm.com>
32723
32724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32726 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32728
caa78cf8
AS
327292010-06-02 Andreas Schwab <schwab@redhat.com>
32730
32731 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32732
b2ef2c01
UD
327332010-06-14 Ulrich Drepper <drepper@redhat.com>
32734
32735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32736 and F_GETPIPE_SZ.
32737 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32743
fbd643b6
RM
327442010-06-14 Roland McGrath <roland@redhat.com>
32745
32746 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32747
f32f2869
JJ
327482010-06-07 Jakub Jelinek <jakub@redhat.com>
32749
32750 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32751 __REDIRECT followed by __THROW.
32752 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32753 * posix/getopt.h (getopt): Likewise.
32754
2a50c078
EPM
327552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32756
32757 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32758 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32759 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32760 in AT_FLAGS.
32761 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32762 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32763
eb5ad2eb
LM
327642010-05-28 Luis Machado <luisgpm@br.ibm.com>
32765
32766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32767
3c88fe1e
L
327682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32769
32770 [BZ #11640]
32771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32772 Properly check family and model.
32773
d2f73151
TY
327742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32775
32776 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32777
ebd2e13d
LM
327782010-05-24 Luis Machado <luisgpm@br.ibm.com>
32779
32780 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32781
b32b8b45
UD
327822010-05-21 Ulrich Drepper <drepper@redhat.com>
32783
32784 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32785 symbol reference.
32786
9acbe24d
AS
327872010-05-19 Andreas Schwab <schwab@redhat.com>
32788
32789 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32790 symbol reference.
32791
f0ccf6ea
AS
327922010-05-21 Andreas Schwab <schwab@redhat.com>
32793
3d04ff3a
AS
32794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32795 and internal_recvmmsg.
32796 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32797 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32798 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32799 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32800
f0ccf6ea
AS
32801 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32802 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32803 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32804
5b08ac57
AS
328052010-05-20 Andreas Schwab <schwab@redhat.com>
32806
32807 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32808
4828935d
LM
328092010-05-17 Luis Machado <luisgpm@br.ibm.com>
32810
32811 POWER7 optimizations.
32812 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32813 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32814
373d545e
UD
328152010-05-19 Ulrich Drepper <drepper@redhat.com>
32816
32817 * version.h: Update for 2.13 development version.
32818
21a2b1ae
AS
328192010-05-12 Andrew Stubbs <ams@codesourcery.com>
32820
32821 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32822 exceptions. Return 0.
32823
3f7dcb2b
RM
328242010-05-07 Roland McGrath <roland@redhat.com>
32825
32826 * elf/ldconfig.c (main): Add a const.
32827
5f24d53a 328282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32829
a160f8d8
UD
32830 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32831 (args_options): Add no-idn option.
32832 (ahosts_keys_int): Add idn_flags to ai_flags.
32833 (parse_option): Handle 'i' option to clear idn_flags.
32834
5f24d53a
UD
32835 * malloc/malloc.c (_int_free): Possible race in the most recently
32836 added check. Only act on the data if no current modification
32837 happened.
265bb1ce
UD
32838
32839See ChangeLog.17 for earlier changes.